]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/stc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / stc / stc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxRect swig_types[0]
234 #define SWIGTYPE_p_wxColour swig_types[1]
235 #define SWIGTYPE_p_wxObject swig_types[2]
236 #define SWIGTYPE_p_wxScrollBar swig_types[3]
237 #define SWIGTYPE_p_wxStyledTextEvent swig_types[4]
238 #define SWIGTYPE_p_wxWindow swig_types[5]
239 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
240 #define SWIGTYPE_p_wxBitmap swig_types[7]
241 #define SWIGTYPE_p_void swig_types[8]
242 #define SWIGTYPE_p_wxPoint swig_types[9]
243 #define SWIGTYPE_p_wxDC swig_types[10]
244 #define SWIGTYPE_p_char swig_types[11]
245 #define SWIGTYPE_p_wxDragResult swig_types[12]
246 #define SWIGTYPE_p_wxEvtHandler swig_types[13]
247 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[14]
248 #define SWIGTYPE_p_wxFont swig_types[15]
249 #define SWIGTYPE_p_wxControl swig_types[16]
250 #define SWIGTYPE_p_wxEvent swig_types[17]
251 #define SWIGTYPE_p_int swig_types[18]
252 #define SWIGTYPE_p_wxMemoryBuffer swig_types[19]
253 static swig_type_info *swig_types[21];
254
255 /* -------- TYPES TABLE (END) -------- */
256
257
258 /*-----------------------------------------------
259 @(target):= _stc.so
260 ------------------------------------------------*/
261 #define SWIG_init init_stc
262
263 #define SWIG_name "_stc"
264
265 #include <limits.h>
266 #include <float.h>
267 #include <string.h>
268
269 #ifndef SWIGSTATIC
270 #ifdef __cplusplus
271 #define SWIGSTATIC(a) static inline a
272 #else
273 #define SWIGSTATIC(a) static a
274 #endif
275 #endif
276
277 #ifndef numeric_cast
278 #ifdef __cplusplus
279 #ifdef HAVE_NUMERIC_CAST
280 #define numeric_cast(type,a) numeric_cast<type>(a)
281 #else
282 #define numeric_cast(type,a) static_cast<type>(a)
283 #endif
284 #else
285 #define numeric_cast(type,a) (type)(a)
286 #endif
287 #endif
288
289
290
291 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
292 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
293 #define SWIG_PyObj_FromShort PyInt_FromLong
294 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
295 #define SWIG_PyObj_FromInt PyInt_FromLong
296 #define SWIG_PyObj_FromLong PyInt_FromLong
297 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
298 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
299 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
300 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
301
302
303 #include "wx/wxPython/wxPython.h"
304 #include "wx/wxPython/pyclasses.h"
305 #include <wx/stc/stc.h>
306
307
308 static const wxString wxPySTCNameStr(wxSTCNameStr);
309
310 SWIGSTATIC(int)
311 SWIG_PyObj_AsInt(PyObject *obj)
312 {
313 return numeric_cast(int,
314 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
315 }
316
317
318 SWIGSTATIC(long)
319 SWIG_PyObj_AsLong(PyObject * obj)
320 {
321 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
322 }
323
324
325 SWIGSTATIC(bool)
326 SWIG_PyObj_AsBool(PyObject *obj)
327 {
328 return PyObject_IsTrue(obj) ? true : false;
329 }
330
331
332 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
333 PyObject* o2;
334 PyObject* o3;
335
336 if (!target) {
337 target = o;
338 } else if (target == Py_None) {
339 Py_DECREF(Py_None);
340 target = o;
341 } else {
342 if (!PyTuple_Check(target)) {
343 o2 = target;
344 target = PyTuple_New(1);
345 PyTuple_SetItem(target, 0, o2);
346 }
347 o3 = PyTuple_New(1);
348 PyTuple_SetItem(o3, 0, o);
349
350 o2 = target;
351 target = PySequence_Concat(o2, o3);
352 Py_DECREF(o2);
353 Py_DECREF(o3);
354 }
355 return target;
356 }
357
358 #ifdef __cplusplus
359 extern "C" {
360 #endif
361 static int _wrap_STCNameStr_set(PyObject *) {
362 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
363 return 1;
364 }
365
366
367 static PyObject *_wrap_STCNameStr_get() {
368 PyObject *pyobj;
369
370 {
371 #if wxUSE_UNICODE
372 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
373 #else
374 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
375 #endif
376 }
377 return pyobj;
378 }
379
380
381 static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
382 PyObject *resultobj;
383 wxWindow *arg1 = (wxWindow *) 0 ;
384 int arg2 ;
385 wxPoint const &arg3_defvalue = wxDefaultPosition ;
386 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
387 wxSize const &arg4_defvalue = wxDefaultSize ;
388 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
389 long arg5 = (long) 0 ;
390 wxString const &arg6_defvalue = wxPySTCNameStr ;
391 wxString *arg6 = (wxString *) &arg6_defvalue ;
392 wxStyledTextCtrl *result;
393 wxPoint temp3 ;
394 wxSize temp4 ;
395 bool temp6 = False ;
396 PyObject * obj0 = 0 ;
397 PyObject * obj1 = 0 ;
398 PyObject * obj2 = 0 ;
399 PyObject * obj3 = 0 ;
400 PyObject * obj4 = 0 ;
401 PyObject * obj5 = 0 ;
402 char *kwnames[] = {
403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
404 };
405
406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
408 {
409 arg2 = (int) SWIG_PyObj_AsInt(obj1);
410 if (PyErr_Occurred()) SWIG_fail;
411 }
412 if (obj2) {
413 {
414 arg3 = &temp3;
415 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
416 }
417 }
418 if (obj3) {
419 {
420 arg4 = &temp4;
421 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
422 }
423 }
424 if (obj4) {
425 {
426 arg5 = (long) SWIG_PyObj_AsLong(obj4);
427 if (PyErr_Occurred()) SWIG_fail;
428 }
429 }
430 if (obj5) {
431 {
432 arg6 = wxString_in_helper(obj5);
433 if (arg6 == NULL) SWIG_fail;
434 temp6 = True;
435 }
436 }
437 {
438 PyThreadState* __tstate = wxPyBeginAllowThreads();
439 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
440
441 wxPyEndAllowThreads(__tstate);
442 if (PyErr_Occurred()) SWIG_fail;
443 }
444 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
445 {
446 if (temp6)
447 delete arg6;
448 }
449 return resultobj;
450 fail:
451 {
452 if (temp6)
453 delete arg6;
454 }
455 return NULL;
456 }
457
458
459 static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
460 PyObject *resultobj;
461 wxStyledTextCtrl *result;
462 char *kwnames[] = {
463 NULL
464 };
465
466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
467 {
468 PyThreadState* __tstate = wxPyBeginAllowThreads();
469 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
470
471 wxPyEndAllowThreads(__tstate);
472 if (PyErr_Occurred()) SWIG_fail;
473 }
474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
475 return resultobj;
476 fail:
477 return NULL;
478 }
479
480
481 static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
482 PyObject *resultobj;
483 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
484 wxWindow *arg2 = (wxWindow *) 0 ;
485 int arg3 ;
486 wxPoint const &arg4_defvalue = wxDefaultPosition ;
487 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
488 wxSize const &arg5_defvalue = wxDefaultSize ;
489 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
490 long arg6 = (long) 0 ;
491 wxString const &arg7_defvalue = wxSTCNameStr ;
492 wxString *arg7 = (wxString *) &arg7_defvalue ;
493 wxPoint temp4 ;
494 wxSize temp5 ;
495 bool temp7 = False ;
496 PyObject * obj0 = 0 ;
497 PyObject * obj1 = 0 ;
498 PyObject * obj2 = 0 ;
499 PyObject * obj3 = 0 ;
500 PyObject * obj4 = 0 ;
501 PyObject * obj5 = 0 ;
502 PyObject * obj6 = 0 ;
503 char *kwnames[] = {
504 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
505 };
506
507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
510 {
511 arg3 = (int) SWIG_PyObj_AsInt(obj2);
512 if (PyErr_Occurred()) SWIG_fail;
513 }
514 if (obj3) {
515 {
516 arg4 = &temp4;
517 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
518 }
519 }
520 if (obj4) {
521 {
522 arg5 = &temp5;
523 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
524 }
525 }
526 if (obj5) {
527 {
528 arg6 = (long) SWIG_PyObj_AsLong(obj5);
529 if (PyErr_Occurred()) SWIG_fail;
530 }
531 }
532 if (obj6) {
533 {
534 arg7 = wxString_in_helper(obj6);
535 if (arg7 == NULL) SWIG_fail;
536 temp7 = True;
537 }
538 }
539 {
540 PyThreadState* __tstate = wxPyBeginAllowThreads();
541 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
542
543 wxPyEndAllowThreads(__tstate);
544 if (PyErr_Occurred()) SWIG_fail;
545 }
546 Py_INCREF(Py_None); resultobj = Py_None;
547 {
548 if (temp7)
549 delete arg7;
550 }
551 return resultobj;
552 fail:
553 {
554 if (temp7)
555 delete arg7;
556 }
557 return NULL;
558 }
559
560
561 static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
562 PyObject *resultobj;
563 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
564 wxString *arg2 = 0 ;
565 bool temp2 = False ;
566 PyObject * obj0 = 0 ;
567 PyObject * obj1 = 0 ;
568 char *kwnames[] = {
569 (char *) "self",(char *) "text", NULL
570 };
571
572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
574 {
575 arg2 = wxString_in_helper(obj1);
576 if (arg2 == NULL) SWIG_fail;
577 temp2 = True;
578 }
579 {
580 PyThreadState* __tstate = wxPyBeginAllowThreads();
581 (arg1)->AddText((wxString const &)*arg2);
582
583 wxPyEndAllowThreads(__tstate);
584 if (PyErr_Occurred()) SWIG_fail;
585 }
586 Py_INCREF(Py_None); resultobj = Py_None;
587 {
588 if (temp2)
589 delete arg2;
590 }
591 return resultobj;
592 fail:
593 {
594 if (temp2)
595 delete arg2;
596 }
597 return NULL;
598 }
599
600
601 static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
602 PyObject *resultobj;
603 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
604 wxMemoryBuffer *arg2 = 0 ;
605 PyObject * obj0 = 0 ;
606 PyObject * obj1 = 0 ;
607 char *kwnames[] = {
608 (char *) "self",(char *) "data", NULL
609 };
610
611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
613 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMemoryBuffer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
614 if (arg2 == NULL) {
615 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
616 }
617 {
618 PyThreadState* __tstate = wxPyBeginAllowThreads();
619 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
620
621 wxPyEndAllowThreads(__tstate);
622 if (PyErr_Occurred()) SWIG_fail;
623 }
624 Py_INCREF(Py_None); resultobj = Py_None;
625 return resultobj;
626 fail:
627 return NULL;
628 }
629
630
631 static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
632 PyObject *resultobj;
633 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
634 int arg2 ;
635 wxString *arg3 = 0 ;
636 bool temp3 = False ;
637 PyObject * obj0 = 0 ;
638 PyObject * obj1 = 0 ;
639 PyObject * obj2 = 0 ;
640 char *kwnames[] = {
641 (char *) "self",(char *) "pos",(char *) "text", NULL
642 };
643
644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
646 {
647 arg2 = (int) SWIG_PyObj_AsInt(obj1);
648 if (PyErr_Occurred()) SWIG_fail;
649 }
650 {
651 arg3 = wxString_in_helper(obj2);
652 if (arg3 == NULL) SWIG_fail;
653 temp3 = True;
654 }
655 {
656 PyThreadState* __tstate = wxPyBeginAllowThreads();
657 (arg1)->InsertText(arg2,(wxString const &)*arg3);
658
659 wxPyEndAllowThreads(__tstate);
660 if (PyErr_Occurred()) SWIG_fail;
661 }
662 Py_INCREF(Py_None); resultobj = Py_None;
663 {
664 if (temp3)
665 delete arg3;
666 }
667 return resultobj;
668 fail:
669 {
670 if (temp3)
671 delete arg3;
672 }
673 return NULL;
674 }
675
676
677 static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
678 PyObject *resultobj;
679 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
680 PyObject * obj0 = 0 ;
681 char *kwnames[] = {
682 (char *) "self", NULL
683 };
684
685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
687 {
688 PyThreadState* __tstate = wxPyBeginAllowThreads();
689 (arg1)->ClearAll();
690
691 wxPyEndAllowThreads(__tstate);
692 if (PyErr_Occurred()) SWIG_fail;
693 }
694 Py_INCREF(Py_None); resultobj = Py_None;
695 return resultobj;
696 fail:
697 return NULL;
698 }
699
700
701 static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
702 PyObject *resultobj;
703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
704 PyObject * obj0 = 0 ;
705 char *kwnames[] = {
706 (char *) "self", NULL
707 };
708
709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
711 {
712 PyThreadState* __tstate = wxPyBeginAllowThreads();
713 (arg1)->ClearDocumentStyle();
714
715 wxPyEndAllowThreads(__tstate);
716 if (PyErr_Occurred()) SWIG_fail;
717 }
718 Py_INCREF(Py_None); resultobj = Py_None;
719 return resultobj;
720 fail:
721 return NULL;
722 }
723
724
725 static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
726 PyObject *resultobj;
727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
728 int result;
729 PyObject * obj0 = 0 ;
730 char *kwnames[] = {
731 (char *) "self", NULL
732 };
733
734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
736 {
737 PyThreadState* __tstate = wxPyBeginAllowThreads();
738 result = (int)(arg1)->GetLength();
739
740 wxPyEndAllowThreads(__tstate);
741 if (PyErr_Occurred()) SWIG_fail;
742 }
743 resultobj = SWIG_PyObj_FromInt((int)result);
744 return resultobj;
745 fail:
746 return NULL;
747 }
748
749
750 static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
751 PyObject *resultobj;
752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
753 int arg2 ;
754 int result;
755 PyObject * obj0 = 0 ;
756 PyObject * obj1 = 0 ;
757 char *kwnames[] = {
758 (char *) "self",(char *) "pos", NULL
759 };
760
761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
763 {
764 arg2 = (int) SWIG_PyObj_AsInt(obj1);
765 if (PyErr_Occurred()) SWIG_fail;
766 }
767 {
768 PyThreadState* __tstate = wxPyBeginAllowThreads();
769 result = (int)(arg1)->GetCharAt(arg2);
770
771 wxPyEndAllowThreads(__tstate);
772 if (PyErr_Occurred()) SWIG_fail;
773 }
774 resultobj = SWIG_PyObj_FromInt((int)result);
775 return resultobj;
776 fail:
777 return NULL;
778 }
779
780
781 static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
782 PyObject *resultobj;
783 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
784 int result;
785 PyObject * obj0 = 0 ;
786 char *kwnames[] = {
787 (char *) "self", NULL
788 };
789
790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
792 {
793 PyThreadState* __tstate = wxPyBeginAllowThreads();
794 result = (int)(arg1)->GetCurrentPos();
795
796 wxPyEndAllowThreads(__tstate);
797 if (PyErr_Occurred()) SWIG_fail;
798 }
799 resultobj = SWIG_PyObj_FromInt((int)result);
800 return resultobj;
801 fail:
802 return NULL;
803 }
804
805
806 static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
807 PyObject *resultobj;
808 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
809 int result;
810 PyObject * obj0 = 0 ;
811 char *kwnames[] = {
812 (char *) "self", NULL
813 };
814
815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
817 {
818 PyThreadState* __tstate = wxPyBeginAllowThreads();
819 result = (int)(arg1)->GetAnchor();
820
821 wxPyEndAllowThreads(__tstate);
822 if (PyErr_Occurred()) SWIG_fail;
823 }
824 resultobj = SWIG_PyObj_FromInt((int)result);
825 return resultobj;
826 fail:
827 return NULL;
828 }
829
830
831 static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
832 PyObject *resultobj;
833 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
834 int arg2 ;
835 int result;
836 PyObject * obj0 = 0 ;
837 PyObject * obj1 = 0 ;
838 char *kwnames[] = {
839 (char *) "self",(char *) "pos", NULL
840 };
841
842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
844 {
845 arg2 = (int) SWIG_PyObj_AsInt(obj1);
846 if (PyErr_Occurred()) SWIG_fail;
847 }
848 {
849 PyThreadState* __tstate = wxPyBeginAllowThreads();
850 result = (int)(arg1)->GetStyleAt(arg2);
851
852 wxPyEndAllowThreads(__tstate);
853 if (PyErr_Occurred()) SWIG_fail;
854 }
855 resultobj = SWIG_PyObj_FromInt((int)result);
856 return resultobj;
857 fail:
858 return NULL;
859 }
860
861
862 static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
863 PyObject *resultobj;
864 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
865 PyObject * obj0 = 0 ;
866 char *kwnames[] = {
867 (char *) "self", NULL
868 };
869
870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
872 {
873 PyThreadState* __tstate = wxPyBeginAllowThreads();
874 (arg1)->Redo();
875
876 wxPyEndAllowThreads(__tstate);
877 if (PyErr_Occurred()) SWIG_fail;
878 }
879 Py_INCREF(Py_None); resultobj = Py_None;
880 return resultobj;
881 fail:
882 return NULL;
883 }
884
885
886 static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
887 PyObject *resultobj;
888 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
889 bool arg2 ;
890 PyObject * obj0 = 0 ;
891 PyObject * obj1 = 0 ;
892 char *kwnames[] = {
893 (char *) "self",(char *) "collectUndo", NULL
894 };
895
896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
898 {
899 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
900 if (PyErr_Occurred()) SWIG_fail;
901 }
902 {
903 PyThreadState* __tstate = wxPyBeginAllowThreads();
904 (arg1)->SetUndoCollection(arg2);
905
906 wxPyEndAllowThreads(__tstate);
907 if (PyErr_Occurred()) SWIG_fail;
908 }
909 Py_INCREF(Py_None); resultobj = Py_None;
910 return resultobj;
911 fail:
912 return NULL;
913 }
914
915
916 static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
917 PyObject *resultobj;
918 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
919 PyObject * obj0 = 0 ;
920 char *kwnames[] = {
921 (char *) "self", NULL
922 };
923
924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
926 {
927 PyThreadState* __tstate = wxPyBeginAllowThreads();
928 (arg1)->SelectAll();
929
930 wxPyEndAllowThreads(__tstate);
931 if (PyErr_Occurred()) SWIG_fail;
932 }
933 Py_INCREF(Py_None); resultobj = Py_None;
934 return resultobj;
935 fail:
936 return NULL;
937 }
938
939
940 static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
941 PyObject *resultobj;
942 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
943 PyObject * obj0 = 0 ;
944 char *kwnames[] = {
945 (char *) "self", NULL
946 };
947
948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
950 {
951 PyThreadState* __tstate = wxPyBeginAllowThreads();
952 (arg1)->SetSavePoint();
953
954 wxPyEndAllowThreads(__tstate);
955 if (PyErr_Occurred()) SWIG_fail;
956 }
957 Py_INCREF(Py_None); resultobj = Py_None;
958 return resultobj;
959 fail:
960 return NULL;
961 }
962
963
964 static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
965 PyObject *resultobj;
966 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
967 int arg2 ;
968 int arg3 ;
969 wxMemoryBuffer result;
970 PyObject * obj0 = 0 ;
971 PyObject * obj1 = 0 ;
972 PyObject * obj2 = 0 ;
973 char *kwnames[] = {
974 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
975 };
976
977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
979 {
980 arg2 = (int) SWIG_PyObj_AsInt(obj1);
981 if (PyErr_Occurred()) SWIG_fail;
982 }
983 {
984 arg3 = (int) SWIG_PyObj_AsInt(obj2);
985 if (PyErr_Occurred()) SWIG_fail;
986 }
987 {
988 PyThreadState* __tstate = wxPyBeginAllowThreads();
989 result = (arg1)->GetStyledText(arg2,arg3);
990
991 wxPyEndAllowThreads(__tstate);
992 if (PyErr_Occurred()) SWIG_fail;
993 }
994 {
995 wxMemoryBuffer * resultptr;
996 resultptr = new wxMemoryBuffer((wxMemoryBuffer &) result);
997 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMemoryBuffer, 1);
998 }
999 return resultobj;
1000 fail:
1001 return NULL;
1002 }
1003
1004
1005 static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
1006 PyObject *resultobj;
1007 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1008 bool result;
1009 PyObject * obj0 = 0 ;
1010 char *kwnames[] = {
1011 (char *) "self", NULL
1012 };
1013
1014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
1015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1016 {
1017 PyThreadState* __tstate = wxPyBeginAllowThreads();
1018 result = (bool)(arg1)->CanRedo();
1019
1020 wxPyEndAllowThreads(__tstate);
1021 if (PyErr_Occurred()) SWIG_fail;
1022 }
1023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1024 return resultobj;
1025 fail:
1026 return NULL;
1027 }
1028
1029
1030 static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1031 PyObject *resultobj;
1032 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1033 int arg2 ;
1034 int result;
1035 PyObject * obj0 = 0 ;
1036 PyObject * obj1 = 0 ;
1037 char *kwnames[] = {
1038 (char *) "self",(char *) "handle", NULL
1039 };
1040
1041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
1042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1043 {
1044 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1045 if (PyErr_Occurred()) SWIG_fail;
1046 }
1047 {
1048 PyThreadState* __tstate = wxPyBeginAllowThreads();
1049 result = (int)(arg1)->MarkerLineFromHandle(arg2);
1050
1051 wxPyEndAllowThreads(__tstate);
1052 if (PyErr_Occurred()) SWIG_fail;
1053 }
1054 resultobj = SWIG_PyObj_FromInt((int)result);
1055 return resultobj;
1056 fail:
1057 return NULL;
1058 }
1059
1060
1061 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1062 PyObject *resultobj;
1063 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1064 int arg2 ;
1065 PyObject * obj0 = 0 ;
1066 PyObject * obj1 = 0 ;
1067 char *kwnames[] = {
1068 (char *) "self",(char *) "handle", NULL
1069 };
1070
1071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
1072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1073 {
1074 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1075 if (PyErr_Occurred()) SWIG_fail;
1076 }
1077 {
1078 PyThreadState* __tstate = wxPyBeginAllowThreads();
1079 (arg1)->MarkerDeleteHandle(arg2);
1080
1081 wxPyEndAllowThreads(__tstate);
1082 if (PyErr_Occurred()) SWIG_fail;
1083 }
1084 Py_INCREF(Py_None); resultobj = Py_None;
1085 return resultobj;
1086 fail:
1087 return NULL;
1088 }
1089
1090
1091 static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
1092 PyObject *resultobj;
1093 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1094 bool result;
1095 PyObject * obj0 = 0 ;
1096 char *kwnames[] = {
1097 (char *) "self", NULL
1098 };
1099
1100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
1101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1102 {
1103 PyThreadState* __tstate = wxPyBeginAllowThreads();
1104 result = (bool)(arg1)->GetUndoCollection();
1105
1106 wxPyEndAllowThreads(__tstate);
1107 if (PyErr_Occurred()) SWIG_fail;
1108 }
1109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1110 return resultobj;
1111 fail:
1112 return NULL;
1113 }
1114
1115
1116 static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1117 PyObject *resultobj;
1118 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1119 int result;
1120 PyObject * obj0 = 0 ;
1121 char *kwnames[] = {
1122 (char *) "self", NULL
1123 };
1124
1125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
1126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1127 {
1128 PyThreadState* __tstate = wxPyBeginAllowThreads();
1129 result = (int)(arg1)->GetViewWhiteSpace();
1130
1131 wxPyEndAllowThreads(__tstate);
1132 if (PyErr_Occurred()) SWIG_fail;
1133 }
1134 resultobj = SWIG_PyObj_FromInt((int)result);
1135 return resultobj;
1136 fail:
1137 return NULL;
1138 }
1139
1140
1141 static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1142 PyObject *resultobj;
1143 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1144 int arg2 ;
1145 PyObject * obj0 = 0 ;
1146 PyObject * obj1 = 0 ;
1147 char *kwnames[] = {
1148 (char *) "self",(char *) "viewWS", NULL
1149 };
1150
1151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
1152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1153 {
1154 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1155 if (PyErr_Occurred()) SWIG_fail;
1156 }
1157 {
1158 PyThreadState* __tstate = wxPyBeginAllowThreads();
1159 (arg1)->SetViewWhiteSpace(arg2);
1160
1161 wxPyEndAllowThreads(__tstate);
1162 if (PyErr_Occurred()) SWIG_fail;
1163 }
1164 Py_INCREF(Py_None); resultobj = Py_None;
1165 return resultobj;
1166 fail:
1167 return NULL;
1168 }
1169
1170
1171 static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1172 PyObject *resultobj;
1173 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1174 wxPoint arg2 ;
1175 int result;
1176 wxPoint *argp2 ;
1177 PyObject * obj0 = 0 ;
1178 PyObject * obj1 = 0 ;
1179 char *kwnames[] = {
1180 (char *) "self",(char *) "pt", NULL
1181 };
1182
1183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
1184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1185 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1186 arg2 = *argp2;
1187 {
1188 PyThreadState* __tstate = wxPyBeginAllowThreads();
1189 result = (int)(arg1)->PositionFromPoint(arg2);
1190
1191 wxPyEndAllowThreads(__tstate);
1192 if (PyErr_Occurred()) SWIG_fail;
1193 }
1194 resultobj = SWIG_PyObj_FromInt((int)result);
1195 return resultobj;
1196 fail:
1197 return NULL;
1198 }
1199
1200
1201 static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
1202 PyObject *resultobj;
1203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1204 int arg2 ;
1205 int arg3 ;
1206 int result;
1207 PyObject * obj0 = 0 ;
1208 PyObject * obj1 = 0 ;
1209 PyObject * obj2 = 0 ;
1210 char *kwnames[] = {
1211 (char *) "self",(char *) "x",(char *) "y", NULL
1212 };
1213
1214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
1215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1216 {
1217 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1218 if (PyErr_Occurred()) SWIG_fail;
1219 }
1220 {
1221 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1222 if (PyErr_Occurred()) SWIG_fail;
1223 }
1224 {
1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
1226 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
1227
1228 wxPyEndAllowThreads(__tstate);
1229 if (PyErr_Occurred()) SWIG_fail;
1230 }
1231 resultobj = SWIG_PyObj_FromInt((int)result);
1232 return resultobj;
1233 fail:
1234 return NULL;
1235 }
1236
1237
1238 static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1239 PyObject *resultobj;
1240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1241 int arg2 ;
1242 PyObject * obj0 = 0 ;
1243 PyObject * obj1 = 0 ;
1244 char *kwnames[] = {
1245 (char *) "self",(char *) "line", NULL
1246 };
1247
1248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
1249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1250 {
1251 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1252 if (PyErr_Occurred()) SWIG_fail;
1253 }
1254 {
1255 PyThreadState* __tstate = wxPyBeginAllowThreads();
1256 (arg1)->GotoLine(arg2);
1257
1258 wxPyEndAllowThreads(__tstate);
1259 if (PyErr_Occurred()) SWIG_fail;
1260 }
1261 Py_INCREF(Py_None); resultobj = Py_None;
1262 return resultobj;
1263 fail:
1264 return NULL;
1265 }
1266
1267
1268 static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1269 PyObject *resultobj;
1270 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1271 int arg2 ;
1272 PyObject * obj0 = 0 ;
1273 PyObject * obj1 = 0 ;
1274 char *kwnames[] = {
1275 (char *) "self",(char *) "pos", NULL
1276 };
1277
1278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
1279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1280 {
1281 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1282 if (PyErr_Occurred()) SWIG_fail;
1283 }
1284 {
1285 PyThreadState* __tstate = wxPyBeginAllowThreads();
1286 (arg1)->GotoPos(arg2);
1287
1288 wxPyEndAllowThreads(__tstate);
1289 if (PyErr_Occurred()) SWIG_fail;
1290 }
1291 Py_INCREF(Py_None); resultobj = Py_None;
1292 return resultobj;
1293 fail:
1294 return NULL;
1295 }
1296
1297
1298 static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
1299 PyObject *resultobj;
1300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1301 int arg2 ;
1302 PyObject * obj0 = 0 ;
1303 PyObject * obj1 = 0 ;
1304 char *kwnames[] = {
1305 (char *) "self",(char *) "posAnchor", NULL
1306 };
1307
1308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
1309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1310 {
1311 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1312 if (PyErr_Occurred()) SWIG_fail;
1313 }
1314 {
1315 PyThreadState* __tstate = wxPyBeginAllowThreads();
1316 (arg1)->SetAnchor(arg2);
1317
1318 wxPyEndAllowThreads(__tstate);
1319 if (PyErr_Occurred()) SWIG_fail;
1320 }
1321 Py_INCREF(Py_None); resultobj = Py_None;
1322 return resultobj;
1323 fail:
1324 return NULL;
1325 }
1326
1327
1328 static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1329 PyObject *resultobj;
1330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1331 int *arg2 = (int *) 0 ;
1332 wxString result;
1333 int temp2 ;
1334 PyObject * obj0 = 0 ;
1335 char *kwnames[] = {
1336 (char *) "self", NULL
1337 };
1338
1339 arg2 = &temp2;
1340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
1341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1342 {
1343 PyThreadState* __tstate = wxPyBeginAllowThreads();
1344 result = (arg1)->GetCurLine(arg2);
1345
1346 wxPyEndAllowThreads(__tstate);
1347 if (PyErr_Occurred()) SWIG_fail;
1348 }
1349 {
1350 #if wxUSE_UNICODE
1351 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1352 #else
1353 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1354 #endif
1355 }
1356 {
1357 PyObject *o = PyInt_FromLong((long) (*arg2));
1358 resultobj = t_output_helper(resultobj,o);
1359 }
1360 return resultobj;
1361 fail:
1362 return NULL;
1363 }
1364
1365
1366 static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
1367 PyObject *resultobj;
1368 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1369 int result;
1370 PyObject * obj0 = 0 ;
1371 char *kwnames[] = {
1372 (char *) "self", NULL
1373 };
1374
1375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
1376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1377 {
1378 PyThreadState* __tstate = wxPyBeginAllowThreads();
1379 result = (int)(arg1)->GetEndStyled();
1380
1381 wxPyEndAllowThreads(__tstate);
1382 if (PyErr_Occurred()) SWIG_fail;
1383 }
1384 resultobj = SWIG_PyObj_FromInt((int)result);
1385 return resultobj;
1386 fail:
1387 return NULL;
1388 }
1389
1390
1391 static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
1392 PyObject *resultobj;
1393 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1394 int arg2 ;
1395 PyObject * obj0 = 0 ;
1396 PyObject * obj1 = 0 ;
1397 char *kwnames[] = {
1398 (char *) "self",(char *) "eolMode", NULL
1399 };
1400
1401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
1402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1403 {
1404 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1405 if (PyErr_Occurred()) SWIG_fail;
1406 }
1407 {
1408 PyThreadState* __tstate = wxPyBeginAllowThreads();
1409 (arg1)->ConvertEOLs(arg2);
1410
1411 wxPyEndAllowThreads(__tstate);
1412 if (PyErr_Occurred()) SWIG_fail;
1413 }
1414 Py_INCREF(Py_None); resultobj = Py_None;
1415 return resultobj;
1416 fail:
1417 return NULL;
1418 }
1419
1420
1421 static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1422 PyObject *resultobj;
1423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1424 int result;
1425 PyObject * obj0 = 0 ;
1426 char *kwnames[] = {
1427 (char *) "self", NULL
1428 };
1429
1430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
1431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1432 {
1433 PyThreadState* __tstate = wxPyBeginAllowThreads();
1434 result = (int)(arg1)->GetEOLMode();
1435
1436 wxPyEndAllowThreads(__tstate);
1437 if (PyErr_Occurred()) SWIG_fail;
1438 }
1439 resultobj = SWIG_PyObj_FromInt((int)result);
1440 return resultobj;
1441 fail:
1442 return NULL;
1443 }
1444
1445
1446 static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1447 PyObject *resultobj;
1448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1449 int arg2 ;
1450 PyObject * obj0 = 0 ;
1451 PyObject * obj1 = 0 ;
1452 char *kwnames[] = {
1453 (char *) "self",(char *) "eolMode", NULL
1454 };
1455
1456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
1457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1458 {
1459 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1460 if (PyErr_Occurred()) SWIG_fail;
1461 }
1462 {
1463 PyThreadState* __tstate = wxPyBeginAllowThreads();
1464 (arg1)->SetEOLMode(arg2);
1465
1466 wxPyEndAllowThreads(__tstate);
1467 if (PyErr_Occurred()) SWIG_fail;
1468 }
1469 Py_INCREF(Py_None); resultobj = Py_None;
1470 return resultobj;
1471 fail:
1472 return NULL;
1473 }
1474
1475
1476 static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1477 PyObject *resultobj;
1478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1479 int arg2 ;
1480 int arg3 ;
1481 PyObject * obj0 = 0 ;
1482 PyObject * obj1 = 0 ;
1483 PyObject * obj2 = 0 ;
1484 char *kwnames[] = {
1485 (char *) "self",(char *) "pos",(char *) "mask", NULL
1486 };
1487
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1490 {
1491 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1492 if (PyErr_Occurred()) SWIG_fail;
1493 }
1494 {
1495 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1496 if (PyErr_Occurred()) SWIG_fail;
1497 }
1498 {
1499 PyThreadState* __tstate = wxPyBeginAllowThreads();
1500 (arg1)->StartStyling(arg2,arg3);
1501
1502 wxPyEndAllowThreads(__tstate);
1503 if (PyErr_Occurred()) SWIG_fail;
1504 }
1505 Py_INCREF(Py_None); resultobj = Py_None;
1506 return resultobj;
1507 fail:
1508 return NULL;
1509 }
1510
1511
1512 static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1513 PyObject *resultobj;
1514 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1515 int arg2 ;
1516 int arg3 ;
1517 PyObject * obj0 = 0 ;
1518 PyObject * obj1 = 0 ;
1519 PyObject * obj2 = 0 ;
1520 char *kwnames[] = {
1521 (char *) "self",(char *) "length",(char *) "style", NULL
1522 };
1523
1524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1526 {
1527 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1528 if (PyErr_Occurred()) SWIG_fail;
1529 }
1530 {
1531 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1532 if (PyErr_Occurred()) SWIG_fail;
1533 }
1534 {
1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
1536 (arg1)->SetStyling(arg2,arg3);
1537
1538 wxPyEndAllowThreads(__tstate);
1539 if (PyErr_Occurred()) SWIG_fail;
1540 }
1541 Py_INCREF(Py_None); resultobj = Py_None;
1542 return resultobj;
1543 fail:
1544 return NULL;
1545 }
1546
1547
1548 static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject *resultobj;
1550 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1551 bool result;
1552 PyObject * obj0 = 0 ;
1553 char *kwnames[] = {
1554 (char *) "self", NULL
1555 };
1556
1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
1558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1559 {
1560 PyThreadState* __tstate = wxPyBeginAllowThreads();
1561 result = (bool)(arg1)->GetBufferedDraw();
1562
1563 wxPyEndAllowThreads(__tstate);
1564 if (PyErr_Occurred()) SWIG_fail;
1565 }
1566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1567 return resultobj;
1568 fail:
1569 return NULL;
1570 }
1571
1572
1573 static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1574 PyObject *resultobj;
1575 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1576 bool arg2 ;
1577 PyObject * obj0 = 0 ;
1578 PyObject * obj1 = 0 ;
1579 char *kwnames[] = {
1580 (char *) "self",(char *) "buffered", NULL
1581 };
1582
1583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
1584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1585 {
1586 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
1587 if (PyErr_Occurred()) SWIG_fail;
1588 }
1589 {
1590 PyThreadState* __tstate = wxPyBeginAllowThreads();
1591 (arg1)->SetBufferedDraw(arg2);
1592
1593 wxPyEndAllowThreads(__tstate);
1594 if (PyErr_Occurred()) SWIG_fail;
1595 }
1596 Py_INCREF(Py_None); resultobj = Py_None;
1597 return resultobj;
1598 fail:
1599 return NULL;
1600 }
1601
1602
1603 static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1604 PyObject *resultobj;
1605 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1606 int arg2 ;
1607 PyObject * obj0 = 0 ;
1608 PyObject * obj1 = 0 ;
1609 char *kwnames[] = {
1610 (char *) "self",(char *) "tabWidth", NULL
1611 };
1612
1613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
1614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1615 {
1616 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1617 if (PyErr_Occurred()) SWIG_fail;
1618 }
1619 {
1620 PyThreadState* __tstate = wxPyBeginAllowThreads();
1621 (arg1)->SetTabWidth(arg2);
1622
1623 wxPyEndAllowThreads(__tstate);
1624 if (PyErr_Occurred()) SWIG_fail;
1625 }
1626 Py_INCREF(Py_None); resultobj = Py_None;
1627 return resultobj;
1628 fail:
1629 return NULL;
1630 }
1631
1632
1633 static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1634 PyObject *resultobj;
1635 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1636 int result;
1637 PyObject * obj0 = 0 ;
1638 char *kwnames[] = {
1639 (char *) "self", NULL
1640 };
1641
1642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
1643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1644 {
1645 PyThreadState* __tstate = wxPyBeginAllowThreads();
1646 result = (int)(arg1)->GetTabWidth();
1647
1648 wxPyEndAllowThreads(__tstate);
1649 if (PyErr_Occurred()) SWIG_fail;
1650 }
1651 resultobj = SWIG_PyObj_FromInt((int)result);
1652 return resultobj;
1653 fail:
1654 return NULL;
1655 }
1656
1657
1658 static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1659 PyObject *resultobj;
1660 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1661 int arg2 ;
1662 PyObject * obj0 = 0 ;
1663 PyObject * obj1 = 0 ;
1664 char *kwnames[] = {
1665 (char *) "self",(char *) "codePage", NULL
1666 };
1667
1668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
1669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1670 {
1671 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
1674 {
1675 PyThreadState* __tstate = wxPyBeginAllowThreads();
1676 (arg1)->SetCodePage(arg2);
1677
1678 wxPyEndAllowThreads(__tstate);
1679 if (PyErr_Occurred()) SWIG_fail;
1680 }
1681 Py_INCREF(Py_None); resultobj = Py_None;
1682 return resultobj;
1683 fail:
1684 return NULL;
1685 }
1686
1687
1688 static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
1689 PyObject *resultobj;
1690 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1691 int arg2 ;
1692 int arg3 ;
1693 wxColour const &arg4_defvalue = wxNullColour ;
1694 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
1695 wxColour const &arg5_defvalue = wxNullColour ;
1696 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
1697 wxColour temp4 ;
1698 wxColour temp5 ;
1699 PyObject * obj0 = 0 ;
1700 PyObject * obj1 = 0 ;
1701 PyObject * obj2 = 0 ;
1702 PyObject * obj3 = 0 ;
1703 PyObject * obj4 = 0 ;
1704 char *kwnames[] = {
1705 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1706 };
1707
1708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
1709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1710 {
1711 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
1714 {
1715 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1716 if (PyErr_Occurred()) SWIG_fail;
1717 }
1718 if (obj3) {
1719 {
1720 arg4 = &temp4;
1721 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
1722 }
1723 }
1724 if (obj4) {
1725 {
1726 arg5 = &temp5;
1727 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
1728 }
1729 }
1730 {
1731 PyThreadState* __tstate = wxPyBeginAllowThreads();
1732 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
1733
1734 wxPyEndAllowThreads(__tstate);
1735 if (PyErr_Occurred()) SWIG_fail;
1736 }
1737 Py_INCREF(Py_None); resultobj = Py_None;
1738 return resultobj;
1739 fail:
1740 return NULL;
1741 }
1742
1743
1744 static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1745 PyObject *resultobj;
1746 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1747 int arg2 ;
1748 wxColour *arg3 = 0 ;
1749 wxColour temp3 ;
1750 PyObject * obj0 = 0 ;
1751 PyObject * obj1 = 0 ;
1752 PyObject * obj2 = 0 ;
1753 char *kwnames[] = {
1754 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1755 };
1756
1757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1759 {
1760 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1761 if (PyErr_Occurred()) SWIG_fail;
1762 }
1763 {
1764 arg3 = &temp3;
1765 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1766 }
1767 {
1768 PyThreadState* __tstate = wxPyBeginAllowThreads();
1769 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
1770
1771 wxPyEndAllowThreads(__tstate);
1772 if (PyErr_Occurred()) SWIG_fail;
1773 }
1774 Py_INCREF(Py_None); resultobj = Py_None;
1775 return resultobj;
1776 fail:
1777 return NULL;
1778 }
1779
1780
1781 static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1782 PyObject *resultobj;
1783 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1784 int arg2 ;
1785 wxColour *arg3 = 0 ;
1786 wxColour temp3 ;
1787 PyObject * obj0 = 0 ;
1788 PyObject * obj1 = 0 ;
1789 PyObject * obj2 = 0 ;
1790 char *kwnames[] = {
1791 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1792 };
1793
1794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1796 {
1797 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1798 if (PyErr_Occurred()) SWIG_fail;
1799 }
1800 {
1801 arg3 = &temp3;
1802 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1803 }
1804 {
1805 PyThreadState* __tstate = wxPyBeginAllowThreads();
1806 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
1807
1808 wxPyEndAllowThreads(__tstate);
1809 if (PyErr_Occurred()) SWIG_fail;
1810 }
1811 Py_INCREF(Py_None); resultobj = Py_None;
1812 return resultobj;
1813 fail:
1814 return NULL;
1815 }
1816
1817
1818 static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
1819 PyObject *resultobj;
1820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1821 int arg2 ;
1822 int arg3 ;
1823 int result;
1824 PyObject * obj0 = 0 ;
1825 PyObject * obj1 = 0 ;
1826 PyObject * obj2 = 0 ;
1827 char *kwnames[] = {
1828 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1829 };
1830
1831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
1832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1833 {
1834 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1835 if (PyErr_Occurred()) SWIG_fail;
1836 }
1837 {
1838 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1839 if (PyErr_Occurred()) SWIG_fail;
1840 }
1841 {
1842 PyThreadState* __tstate = wxPyBeginAllowThreads();
1843 result = (int)(arg1)->MarkerAdd(arg2,arg3);
1844
1845 wxPyEndAllowThreads(__tstate);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 }
1848 resultobj = SWIG_PyObj_FromInt((int)result);
1849 return resultobj;
1850 fail:
1851 return NULL;
1852 }
1853
1854
1855 static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1856 PyObject *resultobj;
1857 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1858 int arg2 ;
1859 int arg3 ;
1860 PyObject * obj0 = 0 ;
1861 PyObject * obj1 = 0 ;
1862 PyObject * obj2 = 0 ;
1863 char *kwnames[] = {
1864 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1865 };
1866
1867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
1868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1869 {
1870 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1871 if (PyErr_Occurred()) SWIG_fail;
1872 }
1873 {
1874 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1875 if (PyErr_Occurred()) SWIG_fail;
1876 }
1877 {
1878 PyThreadState* __tstate = wxPyBeginAllowThreads();
1879 (arg1)->MarkerDelete(arg2,arg3);
1880
1881 wxPyEndAllowThreads(__tstate);
1882 if (PyErr_Occurred()) SWIG_fail;
1883 }
1884 Py_INCREF(Py_None); resultobj = Py_None;
1885 return resultobj;
1886 fail:
1887 return NULL;
1888 }
1889
1890
1891 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1892 PyObject *resultobj;
1893 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1894 int arg2 ;
1895 PyObject * obj0 = 0 ;
1896 PyObject * obj1 = 0 ;
1897 char *kwnames[] = {
1898 (char *) "self",(char *) "markerNumber", NULL
1899 };
1900
1901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
1902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1903 {
1904 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1905 if (PyErr_Occurred()) SWIG_fail;
1906 }
1907 {
1908 PyThreadState* __tstate = wxPyBeginAllowThreads();
1909 (arg1)->MarkerDeleteAll(arg2);
1910
1911 wxPyEndAllowThreads(__tstate);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 }
1914 Py_INCREF(Py_None); resultobj = Py_None;
1915 return resultobj;
1916 fail:
1917 return NULL;
1918 }
1919
1920
1921 static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1924 int arg2 ;
1925 int result;
1926 PyObject * obj0 = 0 ;
1927 PyObject * obj1 = 0 ;
1928 char *kwnames[] = {
1929 (char *) "self",(char *) "line", NULL
1930 };
1931
1932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
1933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1934 {
1935 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
1938 {
1939 PyThreadState* __tstate = wxPyBeginAllowThreads();
1940 result = (int)(arg1)->MarkerGet(arg2);
1941
1942 wxPyEndAllowThreads(__tstate);
1943 if (PyErr_Occurred()) SWIG_fail;
1944 }
1945 resultobj = SWIG_PyObj_FromInt((int)result);
1946 return resultobj;
1947 fail:
1948 return NULL;
1949 }
1950
1951
1952 static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
1953 PyObject *resultobj;
1954 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1955 int arg2 ;
1956 int arg3 ;
1957 int result;
1958 PyObject * obj0 = 0 ;
1959 PyObject * obj1 = 0 ;
1960 PyObject * obj2 = 0 ;
1961 char *kwnames[] = {
1962 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1963 };
1964
1965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
1966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1967 {
1968 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1969 if (PyErr_Occurred()) SWIG_fail;
1970 }
1971 {
1972 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1973 if (PyErr_Occurred()) SWIG_fail;
1974 }
1975 {
1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
1977 result = (int)(arg1)->MarkerNext(arg2,arg3);
1978
1979 wxPyEndAllowThreads(__tstate);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 resultobj = SWIG_PyObj_FromInt((int)result);
1983 return resultobj;
1984 fail:
1985 return NULL;
1986 }
1987
1988
1989 static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject *resultobj;
1991 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1992 int arg2 ;
1993 int arg3 ;
1994 int result;
1995 PyObject * obj0 = 0 ;
1996 PyObject * obj1 = 0 ;
1997 PyObject * obj2 = 0 ;
1998 char *kwnames[] = {
1999 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2000 };
2001
2002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
2003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2004 {
2005 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 }
2008 {
2009 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2010 if (PyErr_Occurred()) SWIG_fail;
2011 }
2012 {
2013 PyThreadState* __tstate = wxPyBeginAllowThreads();
2014 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
2015
2016 wxPyEndAllowThreads(__tstate);
2017 if (PyErr_Occurred()) SWIG_fail;
2018 }
2019 resultobj = SWIG_PyObj_FromInt((int)result);
2020 return resultobj;
2021 fail:
2022 return NULL;
2023 }
2024
2025
2026 static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2027 PyObject *resultobj;
2028 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2029 int arg2 ;
2030 wxBitmap *arg3 = 0 ;
2031 PyObject * obj0 = 0 ;
2032 PyObject * obj1 = 0 ;
2033 PyObject * obj2 = 0 ;
2034 char *kwnames[] = {
2035 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
2036 };
2037
2038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2040 {
2041 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2042 if (PyErr_Occurred()) SWIG_fail;
2043 }
2044 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2045 if (arg3 == NULL) {
2046 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2047 }
2048 {
2049 PyThreadState* __tstate = wxPyBeginAllowThreads();
2050 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
2051
2052 wxPyEndAllowThreads(__tstate);
2053 if (PyErr_Occurred()) SWIG_fail;
2054 }
2055 Py_INCREF(Py_None); resultobj = Py_None;
2056 return resultobj;
2057 fail:
2058 return NULL;
2059 }
2060
2061
2062 static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2063 PyObject *resultobj;
2064 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2065 int arg2 ;
2066 int arg3 ;
2067 PyObject * obj0 = 0 ;
2068 PyObject * obj1 = 0 ;
2069 PyObject * obj2 = 0 ;
2070 char *kwnames[] = {
2071 (char *) "self",(char *) "margin",(char *) "marginType", NULL
2072 };
2073
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
2075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2076 {
2077 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2078 if (PyErr_Occurred()) SWIG_fail;
2079 }
2080 {
2081 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2082 if (PyErr_Occurred()) SWIG_fail;
2083 }
2084 {
2085 PyThreadState* __tstate = wxPyBeginAllowThreads();
2086 (arg1)->SetMarginType(arg2,arg3);
2087
2088 wxPyEndAllowThreads(__tstate);
2089 if (PyErr_Occurred()) SWIG_fail;
2090 }
2091 Py_INCREF(Py_None); resultobj = Py_None;
2092 return resultobj;
2093 fail:
2094 return NULL;
2095 }
2096
2097
2098 static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2099 PyObject *resultobj;
2100 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2101 int arg2 ;
2102 int result;
2103 PyObject * obj0 = 0 ;
2104 PyObject * obj1 = 0 ;
2105 char *kwnames[] = {
2106 (char *) "self",(char *) "margin", NULL
2107 };
2108
2109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
2110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2111 {
2112 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
2115 {
2116 PyThreadState* __tstate = wxPyBeginAllowThreads();
2117 result = (int)(arg1)->GetMarginType(arg2);
2118
2119 wxPyEndAllowThreads(__tstate);
2120 if (PyErr_Occurred()) SWIG_fail;
2121 }
2122 resultobj = SWIG_PyObj_FromInt((int)result);
2123 return resultobj;
2124 fail:
2125 return NULL;
2126 }
2127
2128
2129 static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2130 PyObject *resultobj;
2131 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2132 int arg2 ;
2133 int arg3 ;
2134 PyObject * obj0 = 0 ;
2135 PyObject * obj1 = 0 ;
2136 PyObject * obj2 = 0 ;
2137 char *kwnames[] = {
2138 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
2139 };
2140
2141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2143 {
2144 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2145 if (PyErr_Occurred()) SWIG_fail;
2146 }
2147 {
2148 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2149 if (PyErr_Occurred()) SWIG_fail;
2150 }
2151 {
2152 PyThreadState* __tstate = wxPyBeginAllowThreads();
2153 (arg1)->SetMarginWidth(arg2,arg3);
2154
2155 wxPyEndAllowThreads(__tstate);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 }
2158 Py_INCREF(Py_None); resultobj = Py_None;
2159 return resultobj;
2160 fail:
2161 return NULL;
2162 }
2163
2164
2165 static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2166 PyObject *resultobj;
2167 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2168 int arg2 ;
2169 int result;
2170 PyObject * obj0 = 0 ;
2171 PyObject * obj1 = 0 ;
2172 char *kwnames[] = {
2173 (char *) "self",(char *) "margin", NULL
2174 };
2175
2176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
2177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2178 {
2179 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2180 if (PyErr_Occurred()) SWIG_fail;
2181 }
2182 {
2183 PyThreadState* __tstate = wxPyBeginAllowThreads();
2184 result = (int)(arg1)->GetMarginWidth(arg2);
2185
2186 wxPyEndAllowThreads(__tstate);
2187 if (PyErr_Occurred()) SWIG_fail;
2188 }
2189 resultobj = SWIG_PyObj_FromInt((int)result);
2190 return resultobj;
2191 fail:
2192 return NULL;
2193 }
2194
2195
2196 static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2197 PyObject *resultobj;
2198 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2199 int arg2 ;
2200 int arg3 ;
2201 PyObject * obj0 = 0 ;
2202 PyObject * obj1 = 0 ;
2203 PyObject * obj2 = 0 ;
2204 char *kwnames[] = {
2205 (char *) "self",(char *) "margin",(char *) "mask", NULL
2206 };
2207
2208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
2209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2210 {
2211 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2212 if (PyErr_Occurred()) SWIG_fail;
2213 }
2214 {
2215 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2216 if (PyErr_Occurred()) SWIG_fail;
2217 }
2218 {
2219 PyThreadState* __tstate = wxPyBeginAllowThreads();
2220 (arg1)->SetMarginMask(arg2,arg3);
2221
2222 wxPyEndAllowThreads(__tstate);
2223 if (PyErr_Occurred()) SWIG_fail;
2224 }
2225 Py_INCREF(Py_None); resultobj = Py_None;
2226 return resultobj;
2227 fail:
2228 return NULL;
2229 }
2230
2231
2232 static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2233 PyObject *resultobj;
2234 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2235 int arg2 ;
2236 int result;
2237 PyObject * obj0 = 0 ;
2238 PyObject * obj1 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self",(char *) "margin", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 {
2246 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2247 if (PyErr_Occurred()) SWIG_fail;
2248 }
2249 {
2250 PyThreadState* __tstate = wxPyBeginAllowThreads();
2251 result = (int)(arg1)->GetMarginMask(arg2);
2252
2253 wxPyEndAllowThreads(__tstate);
2254 if (PyErr_Occurred()) SWIG_fail;
2255 }
2256 resultobj = SWIG_PyObj_FromInt((int)result);
2257 return resultobj;
2258 fail:
2259 return NULL;
2260 }
2261
2262
2263 static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2264 PyObject *resultobj;
2265 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2266 int arg2 ;
2267 bool arg3 ;
2268 PyObject * obj0 = 0 ;
2269 PyObject * obj1 = 0 ;
2270 PyObject * obj2 = 0 ;
2271 char *kwnames[] = {
2272 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
2273 };
2274
2275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
2276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2277 {
2278 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2279 if (PyErr_Occurred()) SWIG_fail;
2280 }
2281 {
2282 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2283 if (PyErr_Occurred()) SWIG_fail;
2284 }
2285 {
2286 PyThreadState* __tstate = wxPyBeginAllowThreads();
2287 (arg1)->SetMarginSensitive(arg2,arg3);
2288
2289 wxPyEndAllowThreads(__tstate);
2290 if (PyErr_Occurred()) SWIG_fail;
2291 }
2292 Py_INCREF(Py_None); resultobj = Py_None;
2293 return resultobj;
2294 fail:
2295 return NULL;
2296 }
2297
2298
2299 static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2300 PyObject *resultobj;
2301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2302 int arg2 ;
2303 bool result;
2304 PyObject * obj0 = 0 ;
2305 PyObject * obj1 = 0 ;
2306 char *kwnames[] = {
2307 (char *) "self",(char *) "margin", NULL
2308 };
2309
2310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
2311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2312 {
2313 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 {
2317 PyThreadState* __tstate = wxPyBeginAllowThreads();
2318 result = (bool)(arg1)->GetMarginSensitive(arg2);
2319
2320 wxPyEndAllowThreads(__tstate);
2321 if (PyErr_Occurred()) SWIG_fail;
2322 }
2323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2324 return resultobj;
2325 fail:
2326 return NULL;
2327 }
2328
2329
2330 static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2331 PyObject *resultobj;
2332 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2333 PyObject * obj0 = 0 ;
2334 char *kwnames[] = {
2335 (char *) "self", NULL
2336 };
2337
2338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
2339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2340 {
2341 PyThreadState* __tstate = wxPyBeginAllowThreads();
2342 (arg1)->StyleClearAll();
2343
2344 wxPyEndAllowThreads(__tstate);
2345 if (PyErr_Occurred()) SWIG_fail;
2346 }
2347 Py_INCREF(Py_None); resultobj = Py_None;
2348 return resultobj;
2349 fail:
2350 return NULL;
2351 }
2352
2353
2354 static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2355 PyObject *resultobj;
2356 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2357 int arg2 ;
2358 wxColour *arg3 = 0 ;
2359 wxColour temp3 ;
2360 PyObject * obj0 = 0 ;
2361 PyObject * obj1 = 0 ;
2362 PyObject * obj2 = 0 ;
2363 char *kwnames[] = {
2364 (char *) "self",(char *) "style",(char *) "fore", NULL
2365 };
2366
2367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2369 {
2370 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2371 if (PyErr_Occurred()) SWIG_fail;
2372 }
2373 {
2374 arg3 = &temp3;
2375 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2376 }
2377 {
2378 PyThreadState* __tstate = wxPyBeginAllowThreads();
2379 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
2380
2381 wxPyEndAllowThreads(__tstate);
2382 if (PyErr_Occurred()) SWIG_fail;
2383 }
2384 Py_INCREF(Py_None); resultobj = Py_None;
2385 return resultobj;
2386 fail:
2387 return NULL;
2388 }
2389
2390
2391 static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2392 PyObject *resultobj;
2393 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2394 int arg2 ;
2395 wxColour *arg3 = 0 ;
2396 wxColour temp3 ;
2397 PyObject * obj0 = 0 ;
2398 PyObject * obj1 = 0 ;
2399 PyObject * obj2 = 0 ;
2400 char *kwnames[] = {
2401 (char *) "self",(char *) "style",(char *) "back", NULL
2402 };
2403
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2406 {
2407 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2408 if (PyErr_Occurred()) SWIG_fail;
2409 }
2410 {
2411 arg3 = &temp3;
2412 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2413 }
2414 {
2415 PyThreadState* __tstate = wxPyBeginAllowThreads();
2416 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
2417
2418 wxPyEndAllowThreads(__tstate);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 }
2421 Py_INCREF(Py_None); resultobj = Py_None;
2422 return resultobj;
2423 fail:
2424 return NULL;
2425 }
2426
2427
2428 static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2429 PyObject *resultobj;
2430 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2431 int arg2 ;
2432 bool arg3 ;
2433 PyObject * obj0 = 0 ;
2434 PyObject * obj1 = 0 ;
2435 PyObject * obj2 = 0 ;
2436 char *kwnames[] = {
2437 (char *) "self",(char *) "style",(char *) "bold", NULL
2438 };
2439
2440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
2441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2442 {
2443 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2444 if (PyErr_Occurred()) SWIG_fail;
2445 }
2446 {
2447 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2448 if (PyErr_Occurred()) SWIG_fail;
2449 }
2450 {
2451 PyThreadState* __tstate = wxPyBeginAllowThreads();
2452 (arg1)->StyleSetBold(arg2,arg3);
2453
2454 wxPyEndAllowThreads(__tstate);
2455 if (PyErr_Occurred()) SWIG_fail;
2456 }
2457 Py_INCREF(Py_None); resultobj = Py_None;
2458 return resultobj;
2459 fail:
2460 return NULL;
2461 }
2462
2463
2464 static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2465 PyObject *resultobj;
2466 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2467 int arg2 ;
2468 bool arg3 ;
2469 PyObject * obj0 = 0 ;
2470 PyObject * obj1 = 0 ;
2471 PyObject * obj2 = 0 ;
2472 char *kwnames[] = {
2473 (char *) "self",(char *) "style",(char *) "italic", NULL
2474 };
2475
2476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
2477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2478 {
2479 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2480 if (PyErr_Occurred()) SWIG_fail;
2481 }
2482 {
2483 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 {
2487 PyThreadState* __tstate = wxPyBeginAllowThreads();
2488 (arg1)->StyleSetItalic(arg2,arg3);
2489
2490 wxPyEndAllowThreads(__tstate);
2491 if (PyErr_Occurred()) SWIG_fail;
2492 }
2493 Py_INCREF(Py_None); resultobj = Py_None;
2494 return resultobj;
2495 fail:
2496 return NULL;
2497 }
2498
2499
2500 static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2501 PyObject *resultobj;
2502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2503 int arg2 ;
2504 int arg3 ;
2505 PyObject * obj0 = 0 ;
2506 PyObject * obj1 = 0 ;
2507 PyObject * obj2 = 0 ;
2508 char *kwnames[] = {
2509 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2510 };
2511
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2514 {
2515 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2516 if (PyErr_Occurred()) SWIG_fail;
2517 }
2518 {
2519 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 }
2522 {
2523 PyThreadState* __tstate = wxPyBeginAllowThreads();
2524 (arg1)->StyleSetSize(arg2,arg3);
2525
2526 wxPyEndAllowThreads(__tstate);
2527 if (PyErr_Occurred()) SWIG_fail;
2528 }
2529 Py_INCREF(Py_None); resultobj = Py_None;
2530 return resultobj;
2531 fail:
2532 return NULL;
2533 }
2534
2535
2536 static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
2537 PyObject *resultobj;
2538 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2539 int arg2 ;
2540 wxString *arg3 = 0 ;
2541 bool temp3 = False ;
2542 PyObject * obj0 = 0 ;
2543 PyObject * obj1 = 0 ;
2544 PyObject * obj2 = 0 ;
2545 char *kwnames[] = {
2546 (char *) "self",(char *) "style",(char *) "fontName", NULL
2547 };
2548
2549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2551 {
2552 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2553 if (PyErr_Occurred()) SWIG_fail;
2554 }
2555 {
2556 arg3 = wxString_in_helper(obj2);
2557 if (arg3 == NULL) SWIG_fail;
2558 temp3 = True;
2559 }
2560 {
2561 PyThreadState* __tstate = wxPyBeginAllowThreads();
2562 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
2563
2564 wxPyEndAllowThreads(__tstate);
2565 if (PyErr_Occurred()) SWIG_fail;
2566 }
2567 Py_INCREF(Py_None); resultobj = Py_None;
2568 {
2569 if (temp3)
2570 delete arg3;
2571 }
2572 return resultobj;
2573 fail:
2574 {
2575 if (temp3)
2576 delete arg3;
2577 }
2578 return NULL;
2579 }
2580
2581
2582 static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
2583 PyObject *resultobj;
2584 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2585 int arg2 ;
2586 bool arg3 ;
2587 PyObject * obj0 = 0 ;
2588 PyObject * obj1 = 0 ;
2589 PyObject * obj2 = 0 ;
2590 char *kwnames[] = {
2591 (char *) "self",(char *) "style",(char *) "filled", NULL
2592 };
2593
2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
2595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2596 {
2597 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
2600 {
2601 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2602 if (PyErr_Occurred()) SWIG_fail;
2603 }
2604 {
2605 PyThreadState* __tstate = wxPyBeginAllowThreads();
2606 (arg1)->StyleSetEOLFilled(arg2,arg3);
2607
2608 wxPyEndAllowThreads(__tstate);
2609 if (PyErr_Occurred()) SWIG_fail;
2610 }
2611 Py_INCREF(Py_None); resultobj = Py_None;
2612 return resultobj;
2613 fail:
2614 return NULL;
2615 }
2616
2617
2618 static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
2619 PyObject *resultobj;
2620 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2621 PyObject * obj0 = 0 ;
2622 char *kwnames[] = {
2623 (char *) "self", NULL
2624 };
2625
2626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
2627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2628 {
2629 PyThreadState* __tstate = wxPyBeginAllowThreads();
2630 (arg1)->StyleResetDefault();
2631
2632 wxPyEndAllowThreads(__tstate);
2633 if (PyErr_Occurred()) SWIG_fail;
2634 }
2635 Py_INCREF(Py_None); resultobj = Py_None;
2636 return resultobj;
2637 fail:
2638 return NULL;
2639 }
2640
2641
2642 static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
2643 PyObject *resultobj;
2644 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2645 int arg2 ;
2646 bool arg3 ;
2647 PyObject * obj0 = 0 ;
2648 PyObject * obj1 = 0 ;
2649 PyObject * obj2 = 0 ;
2650 char *kwnames[] = {
2651 (char *) "self",(char *) "style",(char *) "underline", NULL
2652 };
2653
2654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
2655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2656 {
2657 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 }
2660 {
2661 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2662 if (PyErr_Occurred()) SWIG_fail;
2663 }
2664 {
2665 PyThreadState* __tstate = wxPyBeginAllowThreads();
2666 (arg1)->StyleSetUnderline(arg2,arg3);
2667
2668 wxPyEndAllowThreads(__tstate);
2669 if (PyErr_Occurred()) SWIG_fail;
2670 }
2671 Py_INCREF(Py_None); resultobj = Py_None;
2672 return resultobj;
2673 fail:
2674 return NULL;
2675 }
2676
2677
2678 static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
2679 PyObject *resultobj;
2680 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2681 int arg2 ;
2682 int arg3 ;
2683 PyObject * obj0 = 0 ;
2684 PyObject * obj1 = 0 ;
2685 PyObject * obj2 = 0 ;
2686 char *kwnames[] = {
2687 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2688 };
2689
2690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
2691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2692 {
2693 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2694 if (PyErr_Occurred()) SWIG_fail;
2695 }
2696 {
2697 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2698 if (PyErr_Occurred()) SWIG_fail;
2699 }
2700 {
2701 PyThreadState* __tstate = wxPyBeginAllowThreads();
2702 (arg1)->StyleSetCase(arg2,arg3);
2703
2704 wxPyEndAllowThreads(__tstate);
2705 if (PyErr_Occurred()) SWIG_fail;
2706 }
2707 Py_INCREF(Py_None); resultobj = Py_None;
2708 return resultobj;
2709 fail:
2710 return NULL;
2711 }
2712
2713
2714 static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) {
2715 PyObject *resultobj;
2716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2717 int arg2 ;
2718 int arg3 ;
2719 PyObject * obj0 = 0 ;
2720 PyObject * obj1 = 0 ;
2721 PyObject * obj2 = 0 ;
2722 char *kwnames[] = {
2723 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2724 };
2725
2726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
2727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2728 {
2729 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2730 if (PyErr_Occurred()) SWIG_fail;
2731 }
2732 {
2733 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
2736 {
2737 PyThreadState* __tstate = wxPyBeginAllowThreads();
2738 (arg1)->StyleSetCharacterSet(arg2,arg3);
2739
2740 wxPyEndAllowThreads(__tstate);
2741 if (PyErr_Occurred()) SWIG_fail;
2742 }
2743 Py_INCREF(Py_None); resultobj = Py_None;
2744 return resultobj;
2745 fail:
2746 return NULL;
2747 }
2748
2749
2750 static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
2751 PyObject *resultobj;
2752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2753 int arg2 ;
2754 bool arg3 ;
2755 PyObject * obj0 = 0 ;
2756 PyObject * obj1 = 0 ;
2757 PyObject * obj2 = 0 ;
2758 char *kwnames[] = {
2759 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2760 };
2761
2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
2763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2764 {
2765 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2766 if (PyErr_Occurred()) SWIG_fail;
2767 }
2768 {
2769 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
2770 if (PyErr_Occurred()) SWIG_fail;
2771 }
2772 {
2773 PyThreadState* __tstate = wxPyBeginAllowThreads();
2774 (arg1)->StyleSetHotSpot(arg2,arg3);
2775
2776 wxPyEndAllowThreads(__tstate);
2777 if (PyErr_Occurred()) SWIG_fail;
2778 }
2779 Py_INCREF(Py_None); resultobj = Py_None;
2780 return resultobj;
2781 fail:
2782 return NULL;
2783 }
2784
2785
2786 static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2787 PyObject *resultobj;
2788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2789 bool arg2 ;
2790 wxColour *arg3 = 0 ;
2791 wxColour temp3 ;
2792 PyObject * obj0 = 0 ;
2793 PyObject * obj1 = 0 ;
2794 PyObject * obj2 = 0 ;
2795 char *kwnames[] = {
2796 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2797 };
2798
2799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2801 {
2802 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2803 if (PyErr_Occurred()) SWIG_fail;
2804 }
2805 {
2806 arg3 = &temp3;
2807 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2808 }
2809 {
2810 PyThreadState* __tstate = wxPyBeginAllowThreads();
2811 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
2812
2813 wxPyEndAllowThreads(__tstate);
2814 if (PyErr_Occurred()) SWIG_fail;
2815 }
2816 Py_INCREF(Py_None); resultobj = Py_None;
2817 return resultobj;
2818 fail:
2819 return NULL;
2820 }
2821
2822
2823 static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2824 PyObject *resultobj;
2825 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2826 bool arg2 ;
2827 wxColour *arg3 = 0 ;
2828 wxColour temp3 ;
2829 PyObject * obj0 = 0 ;
2830 PyObject * obj1 = 0 ;
2831 PyObject * obj2 = 0 ;
2832 char *kwnames[] = {
2833 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2834 };
2835
2836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2838 {
2839 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2840 if (PyErr_Occurred()) SWIG_fail;
2841 }
2842 {
2843 arg3 = &temp3;
2844 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2845 }
2846 {
2847 PyThreadState* __tstate = wxPyBeginAllowThreads();
2848 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
2849
2850 wxPyEndAllowThreads(__tstate);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 }
2853 Py_INCREF(Py_None); resultobj = Py_None;
2854 return resultobj;
2855 fail:
2856 return NULL;
2857 }
2858
2859
2860 static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2861 PyObject *resultobj;
2862 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2863 wxColour *arg2 = 0 ;
2864 wxColour temp2 ;
2865 PyObject * obj0 = 0 ;
2866 PyObject * obj1 = 0 ;
2867 char *kwnames[] = {
2868 (char *) "self",(char *) "fore", NULL
2869 };
2870
2871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
2872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2873 {
2874 arg2 = &temp2;
2875 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2876 }
2877 {
2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
2879 (arg1)->SetCaretForeground((wxColour const &)*arg2);
2880
2881 wxPyEndAllowThreads(__tstate);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
2884 Py_INCREF(Py_None); resultobj = Py_None;
2885 return resultobj;
2886 fail:
2887 return NULL;
2888 }
2889
2890
2891 static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
2892 PyObject *resultobj;
2893 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2894 int arg2 ;
2895 int arg3 ;
2896 int arg4 ;
2897 PyObject * obj0 = 0 ;
2898 PyObject * obj1 = 0 ;
2899 PyObject * obj2 = 0 ;
2900 PyObject * obj3 = 0 ;
2901 char *kwnames[] = {
2902 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2903 };
2904
2905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2907 {
2908 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2909 if (PyErr_Occurred()) SWIG_fail;
2910 }
2911 {
2912 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2913 if (PyErr_Occurred()) SWIG_fail;
2914 }
2915 {
2916 arg4 = (int) SWIG_PyObj_AsInt(obj3);
2917 if (PyErr_Occurred()) SWIG_fail;
2918 }
2919 {
2920 PyThreadState* __tstate = wxPyBeginAllowThreads();
2921 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
2922
2923 wxPyEndAllowThreads(__tstate);
2924 if (PyErr_Occurred()) SWIG_fail;
2925 }
2926 Py_INCREF(Py_None); resultobj = Py_None;
2927 return resultobj;
2928 fail:
2929 return NULL;
2930 }
2931
2932
2933 static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
2934 PyObject *resultobj;
2935 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2936 int arg2 ;
2937 int arg3 ;
2938 PyObject * obj0 = 0 ;
2939 PyObject * obj1 = 0 ;
2940 PyObject * obj2 = 0 ;
2941 char *kwnames[] = {
2942 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2943 };
2944
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
2946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2947 {
2948 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2949 if (PyErr_Occurred()) SWIG_fail;
2950 }
2951 {
2952 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 {
2956 PyThreadState* __tstate = wxPyBeginAllowThreads();
2957 (arg1)->CmdKeyClear(arg2,arg3);
2958
2959 wxPyEndAllowThreads(__tstate);
2960 if (PyErr_Occurred()) SWIG_fail;
2961 }
2962 Py_INCREF(Py_None); resultobj = Py_None;
2963 return resultobj;
2964 fail:
2965 return NULL;
2966 }
2967
2968
2969 static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2970 PyObject *resultobj;
2971 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2972 PyObject * obj0 = 0 ;
2973 char *kwnames[] = {
2974 (char *) "self", NULL
2975 };
2976
2977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
2978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2979 {
2980 PyThreadState* __tstate = wxPyBeginAllowThreads();
2981 (arg1)->CmdKeyClearAll();
2982
2983 wxPyEndAllowThreads(__tstate);
2984 if (PyErr_Occurred()) SWIG_fail;
2985 }
2986 Py_INCREF(Py_None); resultobj = Py_None;
2987 return resultobj;
2988 fail:
2989 return NULL;
2990 }
2991
2992
2993 static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
2994 PyObject *resultobj;
2995 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2996 int arg2 ;
2997 char *arg3 ;
2998 PyObject * obj0 = 0 ;
2999 PyObject * obj1 = 0 ;
3000 PyObject * obj2 = 0 ;
3001 char *kwnames[] = {
3002 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
3003 };
3004
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
3006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3007 {
3008 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3009 if (PyErr_Occurred()) SWIG_fail;
3010 }
3011 {
3012 arg3 = SWIG_PyObj_AsCharPtr(obj2, SWIGTYPE_p_char);
3013 if (PyErr_Occurred()) SWIG_fail;
3014 }
3015 {
3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
3017 (arg1)->SetStyleBytes(arg2,arg3);
3018
3019 wxPyEndAllowThreads(__tstate);
3020 if (PyErr_Occurred()) SWIG_fail;
3021 }
3022 Py_INCREF(Py_None); resultobj = Py_None;
3023 return resultobj;
3024 fail:
3025 return NULL;
3026 }
3027
3028
3029 static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3030 PyObject *resultobj;
3031 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3032 int arg2 ;
3033 bool arg3 ;
3034 PyObject * obj0 = 0 ;
3035 PyObject * obj1 = 0 ;
3036 PyObject * obj2 = 0 ;
3037 char *kwnames[] = {
3038 (char *) "self",(char *) "style",(char *) "visible", NULL
3039 };
3040
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
3042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3043 {
3044 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3045 if (PyErr_Occurred()) SWIG_fail;
3046 }
3047 {
3048 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 }
3051 {
3052 PyThreadState* __tstate = wxPyBeginAllowThreads();
3053 (arg1)->StyleSetVisible(arg2,arg3);
3054
3055 wxPyEndAllowThreads(__tstate);
3056 if (PyErr_Occurred()) SWIG_fail;
3057 }
3058 Py_INCREF(Py_None); resultobj = Py_None;
3059 return resultobj;
3060 fail:
3061 return NULL;
3062 }
3063
3064
3065 static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3066 PyObject *resultobj;
3067 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3068 int result;
3069 PyObject * obj0 = 0 ;
3070 char *kwnames[] = {
3071 (char *) "self", NULL
3072 };
3073
3074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
3075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3076 {
3077 PyThreadState* __tstate = wxPyBeginAllowThreads();
3078 result = (int)(arg1)->GetCaretPeriod();
3079
3080 wxPyEndAllowThreads(__tstate);
3081 if (PyErr_Occurred()) SWIG_fail;
3082 }
3083 resultobj = SWIG_PyObj_FromInt((int)result);
3084 return resultobj;
3085 fail:
3086 return NULL;
3087 }
3088
3089
3090 static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3091 PyObject *resultobj;
3092 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3093 int arg2 ;
3094 PyObject * obj0 = 0 ;
3095 PyObject * obj1 = 0 ;
3096 char *kwnames[] = {
3097 (char *) "self",(char *) "periodMilliseconds", NULL
3098 };
3099
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
3101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3102 {
3103 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3104 if (PyErr_Occurred()) SWIG_fail;
3105 }
3106 {
3107 PyThreadState* __tstate = wxPyBeginAllowThreads();
3108 (arg1)->SetCaretPeriod(arg2);
3109
3110 wxPyEndAllowThreads(__tstate);
3111 if (PyErr_Occurred()) SWIG_fail;
3112 }
3113 Py_INCREF(Py_None); resultobj = Py_None;
3114 return resultobj;
3115 fail:
3116 return NULL;
3117 }
3118
3119
3120 static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
3121 PyObject *resultobj;
3122 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3123 wxString *arg2 = 0 ;
3124 bool temp2 = False ;
3125 PyObject * obj0 = 0 ;
3126 PyObject * obj1 = 0 ;
3127 char *kwnames[] = {
3128 (char *) "self",(char *) "characters", NULL
3129 };
3130
3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
3132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3133 {
3134 arg2 = wxString_in_helper(obj1);
3135 if (arg2 == NULL) SWIG_fail;
3136 temp2 = True;
3137 }
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 (arg1)->SetWordChars((wxString const &)*arg2);
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
3145 Py_INCREF(Py_None); resultobj = Py_None;
3146 {
3147 if (temp2)
3148 delete arg2;
3149 }
3150 return resultobj;
3151 fail:
3152 {
3153 if (temp2)
3154 delete arg2;
3155 }
3156 return NULL;
3157 }
3158
3159
3160 static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3161 PyObject *resultobj;
3162 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3163 PyObject * obj0 = 0 ;
3164 char *kwnames[] = {
3165 (char *) "self", NULL
3166 };
3167
3168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
3169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3170 {
3171 PyThreadState* __tstate = wxPyBeginAllowThreads();
3172 (arg1)->BeginUndoAction();
3173
3174 wxPyEndAllowThreads(__tstate);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 Py_INCREF(Py_None); resultobj = Py_None;
3178 return resultobj;
3179 fail:
3180 return NULL;
3181 }
3182
3183
3184 static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3185 PyObject *resultobj;
3186 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3187 PyObject * obj0 = 0 ;
3188 char *kwnames[] = {
3189 (char *) "self", NULL
3190 };
3191
3192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
3193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3194 {
3195 PyThreadState* __tstate = wxPyBeginAllowThreads();
3196 (arg1)->EndUndoAction();
3197
3198 wxPyEndAllowThreads(__tstate);
3199 if (PyErr_Occurred()) SWIG_fail;
3200 }
3201 Py_INCREF(Py_None); resultobj = Py_None;
3202 return resultobj;
3203 fail:
3204 return NULL;
3205 }
3206
3207
3208 static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3209 PyObject *resultobj;
3210 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3211 int arg2 ;
3212 int arg3 ;
3213 PyObject * obj0 = 0 ;
3214 PyObject * obj1 = 0 ;
3215 PyObject * obj2 = 0 ;
3216 char *kwnames[] = {
3217 (char *) "self",(char *) "indic",(char *) "style", NULL
3218 };
3219
3220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
3221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3222 {
3223 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 }
3226 {
3227 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3228 if (PyErr_Occurred()) SWIG_fail;
3229 }
3230 {
3231 PyThreadState* __tstate = wxPyBeginAllowThreads();
3232 (arg1)->IndicatorSetStyle(arg2,arg3);
3233
3234 wxPyEndAllowThreads(__tstate);
3235 if (PyErr_Occurred()) SWIG_fail;
3236 }
3237 Py_INCREF(Py_None); resultobj = Py_None;
3238 return resultobj;
3239 fail:
3240 return NULL;
3241 }
3242
3243
3244 static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3245 PyObject *resultobj;
3246 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3247 int arg2 ;
3248 int result;
3249 PyObject * obj0 = 0 ;
3250 PyObject * obj1 = 0 ;
3251 char *kwnames[] = {
3252 (char *) "self",(char *) "indic", NULL
3253 };
3254
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
3256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3257 {
3258 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 {
3262 PyThreadState* __tstate = wxPyBeginAllowThreads();
3263 result = (int)(arg1)->IndicatorGetStyle(arg2);
3264
3265 wxPyEndAllowThreads(__tstate);
3266 if (PyErr_Occurred()) SWIG_fail;
3267 }
3268 resultobj = SWIG_PyObj_FromInt((int)result);
3269 return resultobj;
3270 fail:
3271 return NULL;
3272 }
3273
3274
3275 static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3278 int arg2 ;
3279 wxColour *arg3 = 0 ;
3280 wxColour temp3 ;
3281 PyObject * obj0 = 0 ;
3282 PyObject * obj1 = 0 ;
3283 PyObject * obj2 = 0 ;
3284 char *kwnames[] = {
3285 (char *) "self",(char *) "indic",(char *) "fore", NULL
3286 };
3287
3288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3290 {
3291 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3292 if (PyErr_Occurred()) SWIG_fail;
3293 }
3294 {
3295 arg3 = &temp3;
3296 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3297 }
3298 {
3299 PyThreadState* __tstate = wxPyBeginAllowThreads();
3300 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
3301
3302 wxPyEndAllowThreads(__tstate);
3303 if (PyErr_Occurred()) SWIG_fail;
3304 }
3305 Py_INCREF(Py_None); resultobj = Py_None;
3306 return resultobj;
3307 fail:
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3315 int arg2 ;
3316 wxColour result;
3317 PyObject * obj0 = 0 ;
3318 PyObject * obj1 = 0 ;
3319 char *kwnames[] = {
3320 (char *) "self",(char *) "indic", NULL
3321 };
3322
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
3324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3325 {
3326 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3327 if (PyErr_Occurred()) SWIG_fail;
3328 }
3329 {
3330 PyThreadState* __tstate = wxPyBeginAllowThreads();
3331 result = (arg1)->IndicatorGetForeground(arg2);
3332
3333 wxPyEndAllowThreads(__tstate);
3334 if (PyErr_Occurred()) SWIG_fail;
3335 }
3336 {
3337 wxColour * resultptr;
3338 resultptr = new wxColour((wxColour &) result);
3339 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3340 }
3341 return resultobj;
3342 fail:
3343 return NULL;
3344 }
3345
3346
3347 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3348 PyObject *resultobj;
3349 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3350 bool arg2 ;
3351 wxColour *arg3 = 0 ;
3352 wxColour temp3 ;
3353 PyObject * obj0 = 0 ;
3354 PyObject * obj1 = 0 ;
3355 PyObject * obj2 = 0 ;
3356 char *kwnames[] = {
3357 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
3358 };
3359
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3362 {
3363 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3364 if (PyErr_Occurred()) SWIG_fail;
3365 }
3366 {
3367 arg3 = &temp3;
3368 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3369 }
3370 {
3371 PyThreadState* __tstate = wxPyBeginAllowThreads();
3372 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
3373
3374 wxPyEndAllowThreads(__tstate);
3375 if (PyErr_Occurred()) SWIG_fail;
3376 }
3377 Py_INCREF(Py_None); resultobj = Py_None;
3378 return resultobj;
3379 fail:
3380 return NULL;
3381 }
3382
3383
3384 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3385 PyObject *resultobj;
3386 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3387 bool arg2 ;
3388 wxColour *arg3 = 0 ;
3389 wxColour temp3 ;
3390 PyObject * obj0 = 0 ;
3391 PyObject * obj1 = 0 ;
3392 PyObject * obj2 = 0 ;
3393 char *kwnames[] = {
3394 (char *) "self",(char *) "useSetting",(char *) "back", NULL
3395 };
3396
3397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3399 {
3400 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 }
3403 {
3404 arg3 = &temp3;
3405 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3406 }
3407 {
3408 PyThreadState* __tstate = wxPyBeginAllowThreads();
3409 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
3410
3411 wxPyEndAllowThreads(__tstate);
3412 if (PyErr_Occurred()) SWIG_fail;
3413 }
3414 Py_INCREF(Py_None); resultobj = Py_None;
3415 return resultobj;
3416 fail:
3417 return NULL;
3418 }
3419
3420
3421 static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3422 PyObject *resultobj;
3423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3424 int arg2 ;
3425 PyObject * obj0 = 0 ;
3426 PyObject * obj1 = 0 ;
3427 char *kwnames[] = {
3428 (char *) "self",(char *) "bits", NULL
3429 };
3430
3431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
3432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3433 {
3434 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3435 if (PyErr_Occurred()) SWIG_fail;
3436 }
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 (arg1)->SetStyleBits(arg2);
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 Py_INCREF(Py_None); resultobj = Py_None;
3445 return resultobj;
3446 fail:
3447 return NULL;
3448 }
3449
3450
3451 static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3452 PyObject *resultobj;
3453 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3454 int result;
3455 PyObject * obj0 = 0 ;
3456 char *kwnames[] = {
3457 (char *) "self", NULL
3458 };
3459
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
3461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 result = (int)(arg1)->GetStyleBits();
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 resultobj = SWIG_PyObj_FromInt((int)result);
3470 return resultobj;
3471 fail:
3472 return NULL;
3473 }
3474
3475
3476 static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3477 PyObject *resultobj;
3478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3479 int arg2 ;
3480 int arg3 ;
3481 PyObject * obj0 = 0 ;
3482 PyObject * obj1 = 0 ;
3483 PyObject * obj2 = 0 ;
3484 char *kwnames[] = {
3485 (char *) "self",(char *) "line",(char *) "state", NULL
3486 };
3487
3488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
3489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3490 {
3491 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3492 if (PyErr_Occurred()) SWIG_fail;
3493 }
3494 {
3495 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3496 if (PyErr_Occurred()) SWIG_fail;
3497 }
3498 {
3499 PyThreadState* __tstate = wxPyBeginAllowThreads();
3500 (arg1)->SetLineState(arg2,arg3);
3501
3502 wxPyEndAllowThreads(__tstate);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
3505 Py_INCREF(Py_None); resultobj = Py_None;
3506 return resultobj;
3507 fail:
3508 return NULL;
3509 }
3510
3511
3512 static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3513 PyObject *resultobj;
3514 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3515 int arg2 ;
3516 int result;
3517 PyObject * obj0 = 0 ;
3518 PyObject * obj1 = 0 ;
3519 char *kwnames[] = {
3520 (char *) "self",(char *) "line", NULL
3521 };
3522
3523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
3524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3525 {
3526 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3527 if (PyErr_Occurred()) SWIG_fail;
3528 }
3529 {
3530 PyThreadState* __tstate = wxPyBeginAllowThreads();
3531 result = (int)(arg1)->GetLineState(arg2);
3532
3533 wxPyEndAllowThreads(__tstate);
3534 if (PyErr_Occurred()) SWIG_fail;
3535 }
3536 resultobj = SWIG_PyObj_FromInt((int)result);
3537 return resultobj;
3538 fail:
3539 return NULL;
3540 }
3541
3542
3543 static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3544 PyObject *resultobj;
3545 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3546 int result;
3547 PyObject * obj0 = 0 ;
3548 char *kwnames[] = {
3549 (char *) "self", NULL
3550 };
3551
3552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
3553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3554 {
3555 PyThreadState* __tstate = wxPyBeginAllowThreads();
3556 result = (int)(arg1)->GetMaxLineState();
3557
3558 wxPyEndAllowThreads(__tstate);
3559 if (PyErr_Occurred()) SWIG_fail;
3560 }
3561 resultobj = SWIG_PyObj_FromInt((int)result);
3562 return resultobj;
3563 fail:
3564 return NULL;
3565 }
3566
3567
3568 static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3569 PyObject *resultobj;
3570 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3571 bool result;
3572 PyObject * obj0 = 0 ;
3573 char *kwnames[] = {
3574 (char *) "self", NULL
3575 };
3576
3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
3578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3579 {
3580 PyThreadState* __tstate = wxPyBeginAllowThreads();
3581 result = (bool)(arg1)->GetCaretLineVisible();
3582
3583 wxPyEndAllowThreads(__tstate);
3584 if (PyErr_Occurred()) SWIG_fail;
3585 }
3586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3587 return resultobj;
3588 fail:
3589 return NULL;
3590 }
3591
3592
3593 static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3594 PyObject *resultobj;
3595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3596 bool arg2 ;
3597 PyObject * obj0 = 0 ;
3598 PyObject * obj1 = 0 ;
3599 char *kwnames[] = {
3600 (char *) "self",(char *) "show", NULL
3601 };
3602
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
3604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3605 {
3606 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3607 if (PyErr_Occurred()) SWIG_fail;
3608 }
3609 {
3610 PyThreadState* __tstate = wxPyBeginAllowThreads();
3611 (arg1)->SetCaretLineVisible(arg2);
3612
3613 wxPyEndAllowThreads(__tstate);
3614 if (PyErr_Occurred()) SWIG_fail;
3615 }
3616 Py_INCREF(Py_None); resultobj = Py_None;
3617 return resultobj;
3618 fail:
3619 return NULL;
3620 }
3621
3622
3623 static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3624 PyObject *resultobj;
3625 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3626 wxColour result;
3627 PyObject * obj0 = 0 ;
3628 char *kwnames[] = {
3629 (char *) "self", NULL
3630 };
3631
3632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
3633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3634 {
3635 PyThreadState* __tstate = wxPyBeginAllowThreads();
3636 result = (arg1)->GetCaretLineBack();
3637
3638 wxPyEndAllowThreads(__tstate);
3639 if (PyErr_Occurred()) SWIG_fail;
3640 }
3641 {
3642 wxColour * resultptr;
3643 resultptr = new wxColour((wxColour &) result);
3644 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3645 }
3646 return resultobj;
3647 fail:
3648 return NULL;
3649 }
3650
3651
3652 static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3653 PyObject *resultobj;
3654 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3655 wxColour *arg2 = 0 ;
3656 wxColour temp2 ;
3657 PyObject * obj0 = 0 ;
3658 PyObject * obj1 = 0 ;
3659 char *kwnames[] = {
3660 (char *) "self",(char *) "back", NULL
3661 };
3662
3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
3664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3665 {
3666 arg2 = &temp2;
3667 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3668 }
3669 {
3670 PyThreadState* __tstate = wxPyBeginAllowThreads();
3671 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
3672
3673 wxPyEndAllowThreads(__tstate);
3674 if (PyErr_Occurred()) SWIG_fail;
3675 }
3676 Py_INCREF(Py_None); resultobj = Py_None;
3677 return resultobj;
3678 fail:
3679 return NULL;
3680 }
3681
3682
3683 static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) {
3684 PyObject *resultobj;
3685 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3686 int arg2 ;
3687 bool arg3 ;
3688 PyObject * obj0 = 0 ;
3689 PyObject * obj1 = 0 ;
3690 PyObject * obj2 = 0 ;
3691 char *kwnames[] = {
3692 (char *) "self",(char *) "style",(char *) "changeable", NULL
3693 };
3694
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
3696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3697 {
3698 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 {
3702 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 {
3706 PyThreadState* __tstate = wxPyBeginAllowThreads();
3707 (arg1)->StyleSetChangeable(arg2,arg3);
3708
3709 wxPyEndAllowThreads(__tstate);
3710 if (PyErr_Occurred()) SWIG_fail;
3711 }
3712 Py_INCREF(Py_None); resultobj = Py_None;
3713 return resultobj;
3714 fail:
3715 return NULL;
3716 }
3717
3718
3719 static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3720 PyObject *resultobj;
3721 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3722 int arg2 ;
3723 wxString *arg3 = 0 ;
3724 bool temp3 = False ;
3725 PyObject * obj0 = 0 ;
3726 PyObject * obj1 = 0 ;
3727 PyObject * obj2 = 0 ;
3728 char *kwnames[] = {
3729 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3730 };
3731
3732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
3733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3734 {
3735 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
3738 {
3739 arg3 = wxString_in_helper(obj2);
3740 if (arg3 == NULL) SWIG_fail;
3741 temp3 = True;
3742 }
3743 {
3744 PyThreadState* __tstate = wxPyBeginAllowThreads();
3745 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
3746
3747 wxPyEndAllowThreads(__tstate);
3748 if (PyErr_Occurred()) SWIG_fail;
3749 }
3750 Py_INCREF(Py_None); resultobj = Py_None;
3751 {
3752 if (temp3)
3753 delete arg3;
3754 }
3755 return resultobj;
3756 fail:
3757 {
3758 if (temp3)
3759 delete arg3;
3760 }
3761 return NULL;
3762 }
3763
3764
3765 static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
3766 PyObject *resultobj;
3767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3768 PyObject * obj0 = 0 ;
3769 char *kwnames[] = {
3770 (char *) "self", NULL
3771 };
3772
3773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
3774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3775 {
3776 PyThreadState* __tstate = wxPyBeginAllowThreads();
3777 (arg1)->AutoCompCancel();
3778
3779 wxPyEndAllowThreads(__tstate);
3780 if (PyErr_Occurred()) SWIG_fail;
3781 }
3782 Py_INCREF(Py_None); resultobj = Py_None;
3783 return resultobj;
3784 fail:
3785 return NULL;
3786 }
3787
3788
3789 static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3790 PyObject *resultobj;
3791 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3792 bool result;
3793 PyObject * obj0 = 0 ;
3794 char *kwnames[] = {
3795 (char *) "self", NULL
3796 };
3797
3798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
3799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3800 {
3801 PyThreadState* __tstate = wxPyBeginAllowThreads();
3802 result = (bool)(arg1)->AutoCompActive();
3803
3804 wxPyEndAllowThreads(__tstate);
3805 if (PyErr_Occurred()) SWIG_fail;
3806 }
3807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3808 return resultobj;
3809 fail:
3810 return NULL;
3811 }
3812
3813
3814 static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3815 PyObject *resultobj;
3816 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3817 int result;
3818 PyObject * obj0 = 0 ;
3819 char *kwnames[] = {
3820 (char *) "self", NULL
3821 };
3822
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
3824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3825 {
3826 PyThreadState* __tstate = wxPyBeginAllowThreads();
3827 result = (int)(arg1)->AutoCompPosStart();
3828
3829 wxPyEndAllowThreads(__tstate);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 resultobj = SWIG_PyObj_FromInt((int)result);
3833 return resultobj;
3834 fail:
3835 return NULL;
3836 }
3837
3838
3839 static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
3840 PyObject *resultobj;
3841 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3842 PyObject * obj0 = 0 ;
3843 char *kwnames[] = {
3844 (char *) "self", NULL
3845 };
3846
3847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
3848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3849 {
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 (arg1)->AutoCompComplete();
3852
3853 wxPyEndAllowThreads(__tstate);
3854 if (PyErr_Occurred()) SWIG_fail;
3855 }
3856 Py_INCREF(Py_None); resultobj = Py_None;
3857 return resultobj;
3858 fail:
3859 return NULL;
3860 }
3861
3862
3863 static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
3864 PyObject *resultobj;
3865 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3866 wxString *arg2 = 0 ;
3867 bool temp2 = False ;
3868 PyObject * obj0 = 0 ;
3869 PyObject * obj1 = 0 ;
3870 char *kwnames[] = {
3871 (char *) "self",(char *) "characterSet", NULL
3872 };
3873
3874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
3875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3876 {
3877 arg2 = wxString_in_helper(obj1);
3878 if (arg2 == NULL) SWIG_fail;
3879 temp2 = True;
3880 }
3881 {
3882 PyThreadState* __tstate = wxPyBeginAllowThreads();
3883 (arg1)->AutoCompStops((wxString const &)*arg2);
3884
3885 wxPyEndAllowThreads(__tstate);
3886 if (PyErr_Occurred()) SWIG_fail;
3887 }
3888 Py_INCREF(Py_None); resultobj = Py_None;
3889 {
3890 if (temp2)
3891 delete arg2;
3892 }
3893 return resultobj;
3894 fail:
3895 {
3896 if (temp2)
3897 delete arg2;
3898 }
3899 return NULL;
3900 }
3901
3902
3903 static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3904 PyObject *resultobj;
3905 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3906 int arg2 ;
3907 PyObject * obj0 = 0 ;
3908 PyObject * obj1 = 0 ;
3909 char *kwnames[] = {
3910 (char *) "self",(char *) "separatorCharacter", NULL
3911 };
3912
3913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
3914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3915 {
3916 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3917 if (PyErr_Occurred()) SWIG_fail;
3918 }
3919 {
3920 PyThreadState* __tstate = wxPyBeginAllowThreads();
3921 (arg1)->AutoCompSetSeparator(arg2);
3922
3923 wxPyEndAllowThreads(__tstate);
3924 if (PyErr_Occurred()) SWIG_fail;
3925 }
3926 Py_INCREF(Py_None); resultobj = Py_None;
3927 return resultobj;
3928 fail:
3929 return NULL;
3930 }
3931
3932
3933 static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3934 PyObject *resultobj;
3935 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3936 int result;
3937 PyObject * obj0 = 0 ;
3938 char *kwnames[] = {
3939 (char *) "self", NULL
3940 };
3941
3942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
3943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3944 {
3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
3946 result = (int)(arg1)->AutoCompGetSeparator();
3947
3948 wxPyEndAllowThreads(__tstate);
3949 if (PyErr_Occurred()) SWIG_fail;
3950 }
3951 resultobj = SWIG_PyObj_FromInt((int)result);
3952 return resultobj;
3953 fail:
3954 return NULL;
3955 }
3956
3957
3958 static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
3959 PyObject *resultobj;
3960 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3961 wxString *arg2 = 0 ;
3962 bool temp2 = False ;
3963 PyObject * obj0 = 0 ;
3964 PyObject * obj1 = 0 ;
3965 char *kwnames[] = {
3966 (char *) "self",(char *) "text", NULL
3967 };
3968
3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
3970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3971 {
3972 arg2 = wxString_in_helper(obj1);
3973 if (arg2 == NULL) SWIG_fail;
3974 temp2 = True;
3975 }
3976 {
3977 PyThreadState* __tstate = wxPyBeginAllowThreads();
3978 (arg1)->AutoCompSelect((wxString const &)*arg2);
3979
3980 wxPyEndAllowThreads(__tstate);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 Py_INCREF(Py_None); resultobj = Py_None;
3984 {
3985 if (temp2)
3986 delete arg2;
3987 }
3988 return resultobj;
3989 fail:
3990 {
3991 if (temp2)
3992 delete arg2;
3993 }
3994 return NULL;
3995 }
3996
3997
3998 static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3999 PyObject *resultobj;
4000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4001 bool arg2 ;
4002 PyObject * obj0 = 0 ;
4003 PyObject * obj1 = 0 ;
4004 char *kwnames[] = {
4005 (char *) "self",(char *) "cancel", NULL
4006 };
4007
4008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
4009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4010 {
4011 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 {
4015 PyThreadState* __tstate = wxPyBeginAllowThreads();
4016 (arg1)->AutoCompSetCancelAtStart(arg2);
4017
4018 wxPyEndAllowThreads(__tstate);
4019 if (PyErr_Occurred()) SWIG_fail;
4020 }
4021 Py_INCREF(Py_None); resultobj = Py_None;
4022 return resultobj;
4023 fail:
4024 return NULL;
4025 }
4026
4027
4028 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4029 PyObject *resultobj;
4030 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4031 bool result;
4032 PyObject * obj0 = 0 ;
4033 char *kwnames[] = {
4034 (char *) "self", NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
4038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4039 {
4040 PyThreadState* __tstate = wxPyBeginAllowThreads();
4041 result = (bool)(arg1)->AutoCompGetCancelAtStart();
4042
4043 wxPyEndAllowThreads(__tstate);
4044 if (PyErr_Occurred()) SWIG_fail;
4045 }
4046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4047 return resultobj;
4048 fail:
4049 return NULL;
4050 }
4051
4052
4053 static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
4054 PyObject *resultobj;
4055 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4056 wxString *arg2 = 0 ;
4057 bool temp2 = False ;
4058 PyObject * obj0 = 0 ;
4059 PyObject * obj1 = 0 ;
4060 char *kwnames[] = {
4061 (char *) "self",(char *) "characterSet", NULL
4062 };
4063
4064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
4065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4066 {
4067 arg2 = wxString_in_helper(obj1);
4068 if (arg2 == NULL) SWIG_fail;
4069 temp2 = True;
4070 }
4071 {
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
4074
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 Py_INCREF(Py_None); resultobj = Py_None;
4079 {
4080 if (temp2)
4081 delete arg2;
4082 }
4083 return resultobj;
4084 fail:
4085 {
4086 if (temp2)
4087 delete arg2;
4088 }
4089 return NULL;
4090 }
4091
4092
4093 static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4094 PyObject *resultobj;
4095 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4096 bool arg2 ;
4097 PyObject * obj0 = 0 ;
4098 PyObject * obj1 = 0 ;
4099 char *kwnames[] = {
4100 (char *) "self",(char *) "chooseSingle", NULL
4101 };
4102
4103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
4104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4105 {
4106 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4107 if (PyErr_Occurred()) SWIG_fail;
4108 }
4109 {
4110 PyThreadState* __tstate = wxPyBeginAllowThreads();
4111 (arg1)->AutoCompSetChooseSingle(arg2);
4112
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 Py_INCREF(Py_None); resultobj = Py_None;
4117 return resultobj;
4118 fail:
4119 return NULL;
4120 }
4121
4122
4123 static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4124 PyObject *resultobj;
4125 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4126 bool result;
4127 PyObject * obj0 = 0 ;
4128 char *kwnames[] = {
4129 (char *) "self", NULL
4130 };
4131
4132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
4133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4134 {
4135 PyThreadState* __tstate = wxPyBeginAllowThreads();
4136 result = (bool)(arg1)->AutoCompGetChooseSingle();
4137
4138 wxPyEndAllowThreads(__tstate);
4139 if (PyErr_Occurred()) SWIG_fail;
4140 }
4141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4142 return resultobj;
4143 fail:
4144 return NULL;
4145 }
4146
4147
4148 static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4149 PyObject *resultobj;
4150 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4151 bool arg2 ;
4152 PyObject * obj0 = 0 ;
4153 PyObject * obj1 = 0 ;
4154 char *kwnames[] = {
4155 (char *) "self",(char *) "ignoreCase", NULL
4156 };
4157
4158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
4159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4160 {
4161 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4162 if (PyErr_Occurred()) SWIG_fail;
4163 }
4164 {
4165 PyThreadState* __tstate = wxPyBeginAllowThreads();
4166 (arg1)->AutoCompSetIgnoreCase(arg2);
4167
4168 wxPyEndAllowThreads(__tstate);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 }
4171 Py_INCREF(Py_None); resultobj = Py_None;
4172 return resultobj;
4173 fail:
4174 return NULL;
4175 }
4176
4177
4178 static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4179 PyObject *resultobj;
4180 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4181 bool result;
4182 PyObject * obj0 = 0 ;
4183 char *kwnames[] = {
4184 (char *) "self", NULL
4185 };
4186
4187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
4188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4189 {
4190 PyThreadState* __tstate = wxPyBeginAllowThreads();
4191 result = (bool)(arg1)->AutoCompGetIgnoreCase();
4192
4193 wxPyEndAllowThreads(__tstate);
4194 if (PyErr_Occurred()) SWIG_fail;
4195 }
4196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4197 return resultobj;
4198 fail:
4199 return NULL;
4200 }
4201
4202
4203 static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
4204 PyObject *resultobj;
4205 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4206 int arg2 ;
4207 wxString *arg3 = 0 ;
4208 bool temp3 = False ;
4209 PyObject * obj0 = 0 ;
4210 PyObject * obj1 = 0 ;
4211 PyObject * obj2 = 0 ;
4212 char *kwnames[] = {
4213 (char *) "self",(char *) "listType",(char *) "itemList", NULL
4214 };
4215
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
4217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4218 {
4219 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4220 if (PyErr_Occurred()) SWIG_fail;
4221 }
4222 {
4223 arg3 = wxString_in_helper(obj2);
4224 if (arg3 == NULL) SWIG_fail;
4225 temp3 = True;
4226 }
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 Py_INCREF(Py_None); resultobj = Py_None;
4235 {
4236 if (temp3)
4237 delete arg3;
4238 }
4239 return resultobj;
4240 fail:
4241 {
4242 if (temp3)
4243 delete arg3;
4244 }
4245 return NULL;
4246 }
4247
4248
4249 static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj;
4251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4252 bool arg2 ;
4253 PyObject * obj0 = 0 ;
4254 PyObject * obj1 = 0 ;
4255 char *kwnames[] = {
4256 (char *) "self",(char *) "autoHide", NULL
4257 };
4258
4259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
4260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4261 {
4262 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 {
4266 PyThreadState* __tstate = wxPyBeginAllowThreads();
4267 (arg1)->AutoCompSetAutoHide(arg2);
4268
4269 wxPyEndAllowThreads(__tstate);
4270 if (PyErr_Occurred()) SWIG_fail;
4271 }
4272 Py_INCREF(Py_None); resultobj = Py_None;
4273 return resultobj;
4274 fail:
4275 return NULL;
4276 }
4277
4278
4279 static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4280 PyObject *resultobj;
4281 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4282 bool result;
4283 PyObject * obj0 = 0 ;
4284 char *kwnames[] = {
4285 (char *) "self", NULL
4286 };
4287
4288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
4289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4290 {
4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
4292 result = (bool)(arg1)->AutoCompGetAutoHide();
4293
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
4297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4298 return resultobj;
4299 fail:
4300 return NULL;
4301 }
4302
4303
4304 static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4305 PyObject *resultobj;
4306 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4307 bool arg2 ;
4308 PyObject * obj0 = 0 ;
4309 PyObject * obj1 = 0 ;
4310 char *kwnames[] = {
4311 (char *) "self",(char *) "dropRestOfWord", NULL
4312 };
4313
4314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
4315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4316 {
4317 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4318 if (PyErr_Occurred()) SWIG_fail;
4319 }
4320 {
4321 PyThreadState* __tstate = wxPyBeginAllowThreads();
4322 (arg1)->AutoCompSetDropRestOfWord(arg2);
4323
4324 wxPyEndAllowThreads(__tstate);
4325 if (PyErr_Occurred()) SWIG_fail;
4326 }
4327 Py_INCREF(Py_None); resultobj = Py_None;
4328 return resultobj;
4329 fail:
4330 return NULL;
4331 }
4332
4333
4334 static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4335 PyObject *resultobj;
4336 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4337 bool result;
4338 PyObject * obj0 = 0 ;
4339 char *kwnames[] = {
4340 (char *) "self", NULL
4341 };
4342
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
4344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4345 {
4346 PyThreadState* __tstate = wxPyBeginAllowThreads();
4347 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
4348
4349 wxPyEndAllowThreads(__tstate);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4353 return resultobj;
4354 fail:
4355 return NULL;
4356 }
4357
4358
4359 static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
4360 PyObject *resultobj;
4361 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4362 int arg2 ;
4363 wxBitmap *arg3 = 0 ;
4364 PyObject * obj0 = 0 ;
4365 PyObject * obj1 = 0 ;
4366 PyObject * obj2 = 0 ;
4367 char *kwnames[] = {
4368 (char *) "self",(char *) "type",(char *) "bmp", NULL
4369 };
4370
4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
4372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4373 {
4374 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4377 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4378 if (arg3 == NULL) {
4379 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4380 }
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4388 Py_INCREF(Py_None); resultobj = Py_None;
4389 return resultobj;
4390 fail:
4391 return NULL;
4392 }
4393
4394
4395 static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
4396 PyObject *resultobj;
4397 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4398 PyObject * obj0 = 0 ;
4399 char *kwnames[] = {
4400 (char *) "self", NULL
4401 };
4402
4403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
4404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4405 {
4406 PyThreadState* __tstate = wxPyBeginAllowThreads();
4407 (arg1)->ClearRegisteredImages();
4408
4409 wxPyEndAllowThreads(__tstate);
4410 if (PyErr_Occurred()) SWIG_fail;
4411 }
4412 Py_INCREF(Py_None); resultobj = Py_None;
4413 return resultobj;
4414 fail:
4415 return NULL;
4416 }
4417
4418
4419 static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4420 PyObject *resultobj;
4421 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4422 int result;
4423 PyObject * obj0 = 0 ;
4424 char *kwnames[] = {
4425 (char *) "self", NULL
4426 };
4427
4428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
4429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4430 {
4431 PyThreadState* __tstate = wxPyBeginAllowThreads();
4432 result = (int)(arg1)->AutoCompGetTypeSeparator();
4433
4434 wxPyEndAllowThreads(__tstate);
4435 if (PyErr_Occurred()) SWIG_fail;
4436 }
4437 resultobj = SWIG_PyObj_FromInt((int)result);
4438 return resultobj;
4439 fail:
4440 return NULL;
4441 }
4442
4443
4444 static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4445 PyObject *resultobj;
4446 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4447 int arg2 ;
4448 PyObject * obj0 = 0 ;
4449 PyObject * obj1 = 0 ;
4450 char *kwnames[] = {
4451 (char *) "self",(char *) "separatorCharacter", NULL
4452 };
4453
4454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
4455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4456 {
4457 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 {
4461 PyThreadState* __tstate = wxPyBeginAllowThreads();
4462 (arg1)->AutoCompSetTypeSeparator(arg2);
4463
4464 wxPyEndAllowThreads(__tstate);
4465 if (PyErr_Occurred()) SWIG_fail;
4466 }
4467 Py_INCREF(Py_None); resultobj = Py_None;
4468 return resultobj;
4469 fail:
4470 return NULL;
4471 }
4472
4473
4474 static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4475 PyObject *resultobj;
4476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4477 int arg2 ;
4478 PyObject * obj0 = 0 ;
4479 PyObject * obj1 = 0 ;
4480 char *kwnames[] = {
4481 (char *) "self",(char *) "indentSize", NULL
4482 };
4483
4484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
4485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4486 {
4487 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4488 if (PyErr_Occurred()) SWIG_fail;
4489 }
4490 {
4491 PyThreadState* __tstate = wxPyBeginAllowThreads();
4492 (arg1)->SetIndent(arg2);
4493
4494 wxPyEndAllowThreads(__tstate);
4495 if (PyErr_Occurred()) SWIG_fail;
4496 }
4497 Py_INCREF(Py_None); resultobj = Py_None;
4498 return resultobj;
4499 fail:
4500 return NULL;
4501 }
4502
4503
4504 static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4505 PyObject *resultobj;
4506 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4507 int result;
4508 PyObject * obj0 = 0 ;
4509 char *kwnames[] = {
4510 (char *) "self", NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
4514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4515 {
4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
4517 result = (int)(arg1)->GetIndent();
4518
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 }
4522 resultobj = SWIG_PyObj_FromInt((int)result);
4523 return resultobj;
4524 fail:
4525 return NULL;
4526 }
4527
4528
4529 static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4530 PyObject *resultobj;
4531 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4532 bool arg2 ;
4533 PyObject * obj0 = 0 ;
4534 PyObject * obj1 = 0 ;
4535 char *kwnames[] = {
4536 (char *) "self",(char *) "useTabs", NULL
4537 };
4538
4539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
4540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4541 {
4542 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 (arg1)->SetUseTabs(arg2);
4548
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 Py_INCREF(Py_None); resultobj = Py_None;
4553 return resultobj;
4554 fail:
4555 return NULL;
4556 }
4557
4558
4559 static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4562 bool result;
4563 PyObject * obj0 = 0 ;
4564 char *kwnames[] = {
4565 (char *) "self", NULL
4566 };
4567
4568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
4569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4570 {
4571 PyThreadState* __tstate = wxPyBeginAllowThreads();
4572 result = (bool)(arg1)->GetUseTabs();
4573
4574 wxPyEndAllowThreads(__tstate);
4575 if (PyErr_Occurred()) SWIG_fail;
4576 }
4577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4578 return resultobj;
4579 fail:
4580 return NULL;
4581 }
4582
4583
4584 static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4585 PyObject *resultobj;
4586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4587 int arg2 ;
4588 int arg3 ;
4589 PyObject * obj0 = 0 ;
4590 PyObject * obj1 = 0 ;
4591 PyObject * obj2 = 0 ;
4592 char *kwnames[] = {
4593 (char *) "self",(char *) "line",(char *) "indentSize", NULL
4594 };
4595
4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
4597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4598 {
4599 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 {
4603 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 (arg1)->SetLineIndentation(arg2,arg3);
4609
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 Py_INCREF(Py_None); resultobj = Py_None;
4614 return resultobj;
4615 fail:
4616 return NULL;
4617 }
4618
4619
4620 static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4621 PyObject *resultobj;
4622 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4623 int arg2 ;
4624 int result;
4625 PyObject * obj0 = 0 ;
4626 PyObject * obj1 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "self",(char *) "line", NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
4632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4633 {
4634 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4635 if (PyErr_Occurred()) SWIG_fail;
4636 }
4637 {
4638 PyThreadState* __tstate = wxPyBeginAllowThreads();
4639 result = (int)(arg1)->GetLineIndentation(arg2);
4640
4641 wxPyEndAllowThreads(__tstate);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 }
4644 resultobj = SWIG_PyObj_FromInt((int)result);
4645 return resultobj;
4646 fail:
4647 return NULL;
4648 }
4649
4650
4651 static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4652 PyObject *resultobj;
4653 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4654 int arg2 ;
4655 int result;
4656 PyObject * obj0 = 0 ;
4657 PyObject * obj1 = 0 ;
4658 char *kwnames[] = {
4659 (char *) "self",(char *) "line", NULL
4660 };
4661
4662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
4663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4664 {
4665 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 {
4669 PyThreadState* __tstate = wxPyBeginAllowThreads();
4670 result = (int)(arg1)->GetLineIndentPosition(arg2);
4671
4672 wxPyEndAllowThreads(__tstate);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 }
4675 resultobj = SWIG_PyObj_FromInt((int)result);
4676 return resultobj;
4677 fail:
4678 return NULL;
4679 }
4680
4681
4682 static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4683 PyObject *resultobj;
4684 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4685 int arg2 ;
4686 int result;
4687 PyObject * obj0 = 0 ;
4688 PyObject * obj1 = 0 ;
4689 char *kwnames[] = {
4690 (char *) "self",(char *) "pos", NULL
4691 };
4692
4693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
4694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4695 {
4696 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 result = (int)(arg1)->GetColumn(arg2);
4702
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 resultobj = SWIG_PyObj_FromInt((int)result);
4707 return resultobj;
4708 fail:
4709 return NULL;
4710 }
4711
4712
4713 static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4714 PyObject *resultobj;
4715 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4716 bool arg2 ;
4717 PyObject * obj0 = 0 ;
4718 PyObject * obj1 = 0 ;
4719 char *kwnames[] = {
4720 (char *) "self",(char *) "show", NULL
4721 };
4722
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
4724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4725 {
4726 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 {
4730 PyThreadState* __tstate = wxPyBeginAllowThreads();
4731 (arg1)->SetUseHorizontalScrollBar(arg2);
4732
4733 wxPyEndAllowThreads(__tstate);
4734 if (PyErr_Occurred()) SWIG_fail;
4735 }
4736 Py_INCREF(Py_None); resultobj = Py_None;
4737 return resultobj;
4738 fail:
4739 return NULL;
4740 }
4741
4742
4743 static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4744 PyObject *resultobj;
4745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4746 bool result;
4747 PyObject * obj0 = 0 ;
4748 char *kwnames[] = {
4749 (char *) "self", NULL
4750 };
4751
4752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
4753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4754 {
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 result = (bool)(arg1)->GetUseHorizontalScrollBar();
4757
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 }
4761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4762 return resultobj;
4763 fail:
4764 return NULL;
4765 }
4766
4767
4768 static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4769 PyObject *resultobj;
4770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4771 bool arg2 ;
4772 PyObject * obj0 = 0 ;
4773 PyObject * obj1 = 0 ;
4774 char *kwnames[] = {
4775 (char *) "self",(char *) "show", NULL
4776 };
4777
4778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
4779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4780 {
4781 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 {
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 (arg1)->SetIndentationGuides(arg2);
4787
4788 wxPyEndAllowThreads(__tstate);
4789 if (PyErr_Occurred()) SWIG_fail;
4790 }
4791 Py_INCREF(Py_None); resultobj = Py_None;
4792 return resultobj;
4793 fail:
4794 return NULL;
4795 }
4796
4797
4798 static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4799 PyObject *resultobj;
4800 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4801 bool result;
4802 PyObject * obj0 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "self", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4809 {
4810 PyThreadState* __tstate = wxPyBeginAllowThreads();
4811 result = (bool)(arg1)->GetIndentationGuides();
4812
4813 wxPyEndAllowThreads(__tstate);
4814 if (PyErr_Occurred()) SWIG_fail;
4815 }
4816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4817 return resultobj;
4818 fail:
4819 return NULL;
4820 }
4821
4822
4823 static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4824 PyObject *resultobj;
4825 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4826 int arg2 ;
4827 PyObject * obj0 = 0 ;
4828 PyObject * obj1 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self",(char *) "column", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
4834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4835 {
4836 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 (arg1)->SetHighlightGuide(arg2);
4842
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 Py_INCREF(Py_None); resultobj = Py_None;
4847 return resultobj;
4848 fail:
4849 return NULL;
4850 }
4851
4852
4853 static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4856 int result;
4857 PyObject * obj0 = 0 ;
4858 char *kwnames[] = {
4859 (char *) "self", NULL
4860 };
4861
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
4863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4864 {
4865 PyThreadState* __tstate = wxPyBeginAllowThreads();
4866 result = (int)(arg1)->GetHighlightGuide();
4867
4868 wxPyEndAllowThreads(__tstate);
4869 if (PyErr_Occurred()) SWIG_fail;
4870 }
4871 resultobj = SWIG_PyObj_FromInt((int)result);
4872 return resultobj;
4873 fail:
4874 return NULL;
4875 }
4876
4877
4878 static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4879 PyObject *resultobj;
4880 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4881 int arg2 ;
4882 int result;
4883 PyObject * obj0 = 0 ;
4884 PyObject * obj1 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self",(char *) "line", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
4890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4891 {
4892 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 }
4895 {
4896 PyThreadState* __tstate = wxPyBeginAllowThreads();
4897 result = (int)(arg1)->GetLineEndPosition(arg2);
4898
4899 wxPyEndAllowThreads(__tstate);
4900 if (PyErr_Occurred()) SWIG_fail;
4901 }
4902 resultobj = SWIG_PyObj_FromInt((int)result);
4903 return resultobj;
4904 fail:
4905 return NULL;
4906 }
4907
4908
4909 static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4910 PyObject *resultobj;
4911 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4912 int result;
4913 PyObject * obj0 = 0 ;
4914 char *kwnames[] = {
4915 (char *) "self", NULL
4916 };
4917
4918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
4919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4920 {
4921 PyThreadState* __tstate = wxPyBeginAllowThreads();
4922 result = (int)(arg1)->GetCodePage();
4923
4924 wxPyEndAllowThreads(__tstate);
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
4927 resultobj = SWIG_PyObj_FromInt((int)result);
4928 return resultobj;
4929 fail:
4930 return NULL;
4931 }
4932
4933
4934 static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4935 PyObject *resultobj;
4936 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4937 wxColour result;
4938 PyObject * obj0 = 0 ;
4939 char *kwnames[] = {
4940 (char *) "self", NULL
4941 };
4942
4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
4944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4945 {
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 result = (arg1)->GetCaretForeground();
4948
4949 wxPyEndAllowThreads(__tstate);
4950 if (PyErr_Occurred()) SWIG_fail;
4951 }
4952 {
4953 wxColour * resultptr;
4954 resultptr = new wxColour((wxColour &) result);
4955 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4956 }
4957 return resultobj;
4958 fail:
4959 return NULL;
4960 }
4961
4962
4963 static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4964 PyObject *resultobj;
4965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4966 bool result;
4967 PyObject * obj0 = 0 ;
4968 char *kwnames[] = {
4969 (char *) "self", NULL
4970 };
4971
4972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
4973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4974 {
4975 PyThreadState* __tstate = wxPyBeginAllowThreads();
4976 result = (bool)(arg1)->GetReadOnly();
4977
4978 wxPyEndAllowThreads(__tstate);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 }
4981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4982 return resultobj;
4983 fail:
4984 return NULL;
4985 }
4986
4987
4988 static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4989 PyObject *resultobj;
4990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4991 int arg2 ;
4992 PyObject * obj0 = 0 ;
4993 PyObject * obj1 = 0 ;
4994 char *kwnames[] = {
4995 (char *) "self",(char *) "pos", NULL
4996 };
4997
4998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
4999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5000 {
5001 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5002 if (PyErr_Occurred()) SWIG_fail;
5003 }
5004 {
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 (arg1)->SetCurrentPos(arg2);
5007
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 Py_INCREF(Py_None); resultobj = Py_None;
5012 return resultobj;
5013 fail:
5014 return NULL;
5015 }
5016
5017
5018 static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj;
5020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5021 int arg2 ;
5022 PyObject * obj0 = 0 ;
5023 PyObject * obj1 = 0 ;
5024 char *kwnames[] = {
5025 (char *) "self",(char *) "pos", NULL
5026 };
5027
5028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
5029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5030 {
5031 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5032 if (PyErr_Occurred()) SWIG_fail;
5033 }
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 (arg1)->SetSelectionStart(arg2);
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 Py_INCREF(Py_None); resultobj = Py_None;
5042 return resultobj;
5043 fail:
5044 return NULL;
5045 }
5046
5047
5048 static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5049 PyObject *resultobj;
5050 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5051 int result;
5052 PyObject * obj0 = 0 ;
5053 char *kwnames[] = {
5054 (char *) "self", NULL
5055 };
5056
5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
5058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5059 {
5060 PyThreadState* __tstate = wxPyBeginAllowThreads();
5061 result = (int)(arg1)->GetSelectionStart();
5062
5063 wxPyEndAllowThreads(__tstate);
5064 if (PyErr_Occurred()) SWIG_fail;
5065 }
5066 resultobj = SWIG_PyObj_FromInt((int)result);
5067 return resultobj;
5068 fail:
5069 return NULL;
5070 }
5071
5072
5073 static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5074 PyObject *resultobj;
5075 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5076 int arg2 ;
5077 PyObject * obj0 = 0 ;
5078 PyObject * obj1 = 0 ;
5079 char *kwnames[] = {
5080 (char *) "self",(char *) "pos", NULL
5081 };
5082
5083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
5084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5085 {
5086 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5087 if (PyErr_Occurred()) SWIG_fail;
5088 }
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 (arg1)->SetSelectionEnd(arg2);
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 }
5096 Py_INCREF(Py_None); resultobj = Py_None;
5097 return resultobj;
5098 fail:
5099 return NULL;
5100 }
5101
5102
5103 static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5104 PyObject *resultobj;
5105 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5106 int result;
5107 PyObject * obj0 = 0 ;
5108 char *kwnames[] = {
5109 (char *) "self", NULL
5110 };
5111
5112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
5113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5114 {
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 result = (int)(arg1)->GetSelectionEnd();
5117
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 resultobj = SWIG_PyObj_FromInt((int)result);
5122 return resultobj;
5123 fail:
5124 return NULL;
5125 }
5126
5127
5128 static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5129 PyObject *resultobj;
5130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5131 int arg2 ;
5132 PyObject * obj0 = 0 ;
5133 PyObject * obj1 = 0 ;
5134 char *kwnames[] = {
5135 (char *) "self",(char *) "magnification", NULL
5136 };
5137
5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
5139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5140 {
5141 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5142 if (PyErr_Occurred()) SWIG_fail;
5143 }
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 (arg1)->SetPrintMagnification(arg2);
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
5151 Py_INCREF(Py_None); resultobj = Py_None;
5152 return resultobj;
5153 fail:
5154 return NULL;
5155 }
5156
5157
5158 static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5159 PyObject *resultobj;
5160 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5161 int result;
5162 PyObject * obj0 = 0 ;
5163 char *kwnames[] = {
5164 (char *) "self", NULL
5165 };
5166
5167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
5168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 result = (int)(arg1)->GetPrintMagnification();
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 resultobj = SWIG_PyObj_FromInt((int)result);
5177 return resultobj;
5178 fail:
5179 return NULL;
5180 }
5181
5182
5183 static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5184 PyObject *resultobj;
5185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5186 int arg2 ;
5187 PyObject * obj0 = 0 ;
5188 PyObject * obj1 = 0 ;
5189 char *kwnames[] = {
5190 (char *) "self",(char *) "mode", NULL
5191 };
5192
5193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
5194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5195 {
5196 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 (arg1)->SetPrintColourMode(arg2);
5202
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 Py_INCREF(Py_None); resultobj = Py_None;
5207 return resultobj;
5208 fail:
5209 return NULL;
5210 }
5211
5212
5213 static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5214 PyObject *resultobj;
5215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5216 int result;
5217 PyObject * obj0 = 0 ;
5218 char *kwnames[] = {
5219 (char *) "self", NULL
5220 };
5221
5222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
5223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5224 {
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 result = (int)(arg1)->GetPrintColourMode();
5227
5228 wxPyEndAllowThreads(__tstate);
5229 if (PyErr_Occurred()) SWIG_fail;
5230 }
5231 resultobj = SWIG_PyObj_FromInt((int)result);
5232 return resultobj;
5233 fail:
5234 return NULL;
5235 }
5236
5237
5238 static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
5239 PyObject *resultobj;
5240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5241 int arg2 ;
5242 int arg3 ;
5243 wxString *arg4 = 0 ;
5244 int arg5 = (int) 0 ;
5245 int result;
5246 bool temp4 = False ;
5247 PyObject * obj0 = 0 ;
5248 PyObject * obj1 = 0 ;
5249 PyObject * obj2 = 0 ;
5250 PyObject * obj3 = 0 ;
5251 PyObject * obj4 = 0 ;
5252 char *kwnames[] = {
5253 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
5254 };
5255
5256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5258 {
5259 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5260 if (PyErr_Occurred()) SWIG_fail;
5261 }
5262 {
5263 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 {
5267 arg4 = wxString_in_helper(obj3);
5268 if (arg4 == NULL) SWIG_fail;
5269 temp4 = True;
5270 }
5271 if (obj4) {
5272 {
5273 arg5 = (int) SWIG_PyObj_AsInt(obj4);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 }
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
5280
5281 wxPyEndAllowThreads(__tstate);
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 resultobj = SWIG_PyObj_FromInt((int)result);
5285 {
5286 if (temp4)
5287 delete arg4;
5288 }
5289 return resultobj;
5290 fail:
5291 {
5292 if (temp4)
5293 delete arg4;
5294 }
5295 return NULL;
5296 }
5297
5298
5299 static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5300 PyObject *resultobj;
5301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5302 bool arg2 ;
5303 int arg3 ;
5304 int arg4 ;
5305 wxDC *arg5 = (wxDC *) 0 ;
5306 wxDC *arg6 = (wxDC *) 0 ;
5307 wxRect arg7 ;
5308 wxRect arg8 ;
5309 int result;
5310 wxRect *argp7 ;
5311 wxRect *argp8 ;
5312 PyObject * obj0 = 0 ;
5313 PyObject * obj1 = 0 ;
5314 PyObject * obj2 = 0 ;
5315 PyObject * obj3 = 0 ;
5316 PyObject * obj4 = 0 ;
5317 PyObject * obj5 = 0 ;
5318 PyObject * obj6 = 0 ;
5319 PyObject * obj7 = 0 ;
5320 char *kwnames[] = {
5321 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
5322 };
5323
5324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5326 {
5327 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
5328 if (PyErr_Occurred()) SWIG_fail;
5329 }
5330 {
5331 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5332 if (PyErr_Occurred()) SWIG_fail;
5333 }
5334 {
5335 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
5338 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5339 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5340 if ((SWIG_ConvertPtr(obj6,(void **) &argp7, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5341 arg7 = *argp7;
5342 if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5343 arg8 = *argp8;
5344 {
5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
5346 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5347
5348 wxPyEndAllowThreads(__tstate);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 }
5351 resultobj = SWIG_PyObj_FromInt((int)result);
5352 return resultobj;
5353 fail:
5354 return NULL;
5355 }
5356
5357
5358 static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5359 PyObject *resultobj;
5360 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5361 int result;
5362 PyObject * obj0 = 0 ;
5363 char *kwnames[] = {
5364 (char *) "self", NULL
5365 };
5366
5367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
5368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 result = (int)(arg1)->GetFirstVisibleLine();
5372
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 resultobj = SWIG_PyObj_FromInt((int)result);
5377 return resultobj;
5378 fail:
5379 return NULL;
5380 }
5381
5382
5383 static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5384 PyObject *resultobj;
5385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5386 int arg2 ;
5387 wxString result;
5388 PyObject * obj0 = 0 ;
5389 PyObject * obj1 = 0 ;
5390 char *kwnames[] = {
5391 (char *) "self",(char *) "line", NULL
5392 };
5393
5394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
5395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5396 {
5397 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5398 if (PyErr_Occurred()) SWIG_fail;
5399 }
5400 {
5401 PyThreadState* __tstate = wxPyBeginAllowThreads();
5402 result = (arg1)->GetLine(arg2);
5403
5404 wxPyEndAllowThreads(__tstate);
5405 if (PyErr_Occurred()) SWIG_fail;
5406 }
5407 {
5408 #if wxUSE_UNICODE
5409 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5410 #else
5411 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5412 #endif
5413 }
5414 return resultobj;
5415 fail:
5416 return NULL;
5417 }
5418
5419
5420 static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5423 int result;
5424 PyObject * obj0 = 0 ;
5425 char *kwnames[] = {
5426 (char *) "self", NULL
5427 };
5428
5429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
5430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5431 {
5432 PyThreadState* __tstate = wxPyBeginAllowThreads();
5433 result = (int)(arg1)->GetLineCount();
5434
5435 wxPyEndAllowThreads(__tstate);
5436 if (PyErr_Occurred()) SWIG_fail;
5437 }
5438 resultobj = SWIG_PyObj_FromInt((int)result);
5439 return resultobj;
5440 fail:
5441 return NULL;
5442 }
5443
5444
5445 static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5446 PyObject *resultobj;
5447 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5448 int arg2 ;
5449 PyObject * obj0 = 0 ;
5450 PyObject * obj1 = 0 ;
5451 char *kwnames[] = {
5452 (char *) "self",(char *) "pixelWidth", NULL
5453 };
5454
5455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
5456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5457 {
5458 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 (arg1)->SetMarginLeft(arg2);
5464
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 Py_INCREF(Py_None); resultobj = Py_None;
5469 return resultobj;
5470 fail:
5471 return NULL;
5472 }
5473
5474
5475 static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5476 PyObject *resultobj;
5477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5478 int result;
5479 PyObject * obj0 = 0 ;
5480 char *kwnames[] = {
5481 (char *) "self", NULL
5482 };
5483
5484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
5485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 result = (int)(arg1)->GetMarginLeft();
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 resultobj = SWIG_PyObj_FromInt((int)result);
5494 return resultobj;
5495 fail:
5496 return NULL;
5497 }
5498
5499
5500 static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5501 PyObject *resultobj;
5502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5503 int arg2 ;
5504 PyObject * obj0 = 0 ;
5505 PyObject * obj1 = 0 ;
5506 char *kwnames[] = {
5507 (char *) "self",(char *) "pixelWidth", NULL
5508 };
5509
5510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
5511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5512 {
5513 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 (arg1)->SetMarginRight(arg2);
5519
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 Py_INCREF(Py_None); resultobj = Py_None;
5524 return resultobj;
5525 fail:
5526 return NULL;
5527 }
5528
5529
5530 static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5531 PyObject *resultobj;
5532 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5533 int result;
5534 PyObject * obj0 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "self", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
5540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 result = (int)(arg1)->GetMarginRight();
5544
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 resultobj = SWIG_PyObj_FromInt((int)result);
5549 return resultobj;
5550 fail:
5551 return NULL;
5552 }
5553
5554
5555 static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
5556 PyObject *resultobj;
5557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5558 bool result;
5559 PyObject * obj0 = 0 ;
5560 char *kwnames[] = {
5561 (char *) "self", NULL
5562 };
5563
5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
5565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 result = (bool)(arg1)->GetModify();
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5574 return resultobj;
5575 fail:
5576 return NULL;
5577 }
5578
5579
5580 static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5581 PyObject *resultobj;
5582 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5583 int arg2 ;
5584 int arg3 ;
5585 PyObject * obj0 = 0 ;
5586 PyObject * obj1 = 0 ;
5587 PyObject * obj2 = 0 ;
5588 char *kwnames[] = {
5589 (char *) "self",(char *) "start",(char *) "end", NULL
5590 };
5591
5592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5594 {
5595 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 {
5599 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5600 if (PyErr_Occurred()) SWIG_fail;
5601 }
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 (arg1)->SetSelection(arg2,arg3);
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 Py_INCREF(Py_None); resultobj = Py_None;
5610 return resultobj;
5611 fail:
5612 return NULL;
5613 }
5614
5615
5616 static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
5617 PyObject *resultobj;
5618 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5619 wxString result;
5620 PyObject * obj0 = 0 ;
5621 char *kwnames[] = {
5622 (char *) "self", NULL
5623 };
5624
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
5626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 result = (arg1)->GetSelectedText();
5630
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 {
5635 #if wxUSE_UNICODE
5636 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5637 #else
5638 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5639 #endif
5640 }
5641 return resultobj;
5642 fail:
5643 return NULL;
5644 }
5645
5646
5647 static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5648 PyObject *resultobj;
5649 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5650 int arg2 ;
5651 int arg3 ;
5652 wxString result;
5653 PyObject * obj0 = 0 ;
5654 PyObject * obj1 = 0 ;
5655 PyObject * obj2 = 0 ;
5656 char *kwnames[] = {
5657 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
5658 };
5659
5660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
5661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5662 {
5663 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5664 if (PyErr_Occurred()) SWIG_fail;
5665 }
5666 {
5667 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (arg1)->GetTextRange(arg2,arg3);
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 {
5678 #if wxUSE_UNICODE
5679 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5680 #else
5681 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5682 #endif
5683 }
5684 return resultobj;
5685 fail:
5686 return NULL;
5687 }
5688
5689
5690 static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5691 PyObject *resultobj;
5692 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5693 bool arg2 ;
5694 PyObject * obj0 = 0 ;
5695 PyObject * obj1 = 0 ;
5696 char *kwnames[] = {
5697 (char *) "self",(char *) "normal", NULL
5698 };
5699
5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
5701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5702 {
5703 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 }
5706 {
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 (arg1)->HideSelection(arg2);
5709
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 Py_INCREF(Py_None); resultobj = Py_None;
5714 return resultobj;
5715 fail:
5716 return NULL;
5717 }
5718
5719
5720 static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5721 PyObject *resultobj;
5722 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5723 int arg2 ;
5724 int result;
5725 PyObject * obj0 = 0 ;
5726 PyObject * obj1 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "pos", NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
5732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5733 {
5734 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 }
5737 {
5738 PyThreadState* __tstate = wxPyBeginAllowThreads();
5739 result = (int)(arg1)->LineFromPosition(arg2);
5740
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
5744 resultobj = SWIG_PyObj_FromInt((int)result);
5745 return resultobj;
5746 fail:
5747 return NULL;
5748 }
5749
5750
5751 static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject *resultobj;
5753 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5754 int arg2 ;
5755 int result;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "self",(char *) "line", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
5763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5764 {
5765 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 {
5769 PyThreadState* __tstate = wxPyBeginAllowThreads();
5770 result = (int)(arg1)->PositionFromLine(arg2);
5771
5772 wxPyEndAllowThreads(__tstate);
5773 if (PyErr_Occurred()) SWIG_fail;
5774 }
5775 resultobj = SWIG_PyObj_FromInt((int)result);
5776 return resultobj;
5777 fail:
5778 return NULL;
5779 }
5780
5781
5782 static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5783 PyObject *resultobj;
5784 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5785 int arg2 ;
5786 int arg3 ;
5787 PyObject * obj0 = 0 ;
5788 PyObject * obj1 = 0 ;
5789 PyObject * obj2 = 0 ;
5790 char *kwnames[] = {
5791 (char *) "self",(char *) "columns",(char *) "lines", NULL
5792 };
5793
5794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
5795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5796 {
5797 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 {
5801 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 {
5805 PyThreadState* __tstate = wxPyBeginAllowThreads();
5806 (arg1)->LineScroll(arg2,arg3);
5807
5808 wxPyEndAllowThreads(__tstate);
5809 if (PyErr_Occurred()) SWIG_fail;
5810 }
5811 Py_INCREF(Py_None); resultobj = Py_None;
5812 return resultobj;
5813 fail:
5814 return NULL;
5815 }
5816
5817
5818 static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5819 PyObject *resultobj;
5820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5821 PyObject * obj0 = 0 ;
5822 char *kwnames[] = {
5823 (char *) "self", NULL
5824 };
5825
5826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
5827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5828 {
5829 PyThreadState* __tstate = wxPyBeginAllowThreads();
5830 (arg1)->EnsureCaretVisible();
5831
5832 wxPyEndAllowThreads(__tstate);
5833 if (PyErr_Occurred()) SWIG_fail;
5834 }
5835 Py_INCREF(Py_None); resultobj = Py_None;
5836 return resultobj;
5837 fail:
5838 return NULL;
5839 }
5840
5841
5842 static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5843 PyObject *resultobj;
5844 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5845 wxString *arg2 = 0 ;
5846 bool temp2 = False ;
5847 PyObject * obj0 = 0 ;
5848 PyObject * obj1 = 0 ;
5849 char *kwnames[] = {
5850 (char *) "self",(char *) "text", NULL
5851 };
5852
5853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
5854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5855 {
5856 arg2 = wxString_in_helper(obj1);
5857 if (arg2 == NULL) SWIG_fail;
5858 temp2 = True;
5859 }
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 (arg1)->ReplaceSelection((wxString const &)*arg2);
5863
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 Py_INCREF(Py_None); resultobj = Py_None;
5868 {
5869 if (temp2)
5870 delete arg2;
5871 }
5872 return resultobj;
5873 fail:
5874 {
5875 if (temp2)
5876 delete arg2;
5877 }
5878 return NULL;
5879 }
5880
5881
5882 static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5883 PyObject *resultobj;
5884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5885 bool arg2 ;
5886 PyObject * obj0 = 0 ;
5887 PyObject * obj1 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self",(char *) "readOnly", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
5893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5894 {
5895 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
5896 if (PyErr_Occurred()) SWIG_fail;
5897 }
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 (arg1)->SetReadOnly(arg2);
5901
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 Py_INCREF(Py_None); resultobj = Py_None;
5906 return resultobj;
5907 fail:
5908 return NULL;
5909 }
5910
5911
5912 static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj;
5914 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5915 bool result;
5916 PyObject * obj0 = 0 ;
5917 char *kwnames[] = {
5918 (char *) "self", NULL
5919 };
5920
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
5922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5923 {
5924 PyThreadState* __tstate = wxPyBeginAllowThreads();
5925 result = (bool)(arg1)->CanPaste();
5926
5927 wxPyEndAllowThreads(__tstate);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
5930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5931 return resultobj;
5932 fail:
5933 return NULL;
5934 }
5935
5936
5937 static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5938 PyObject *resultobj;
5939 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5940 bool result;
5941 PyObject * obj0 = 0 ;
5942 char *kwnames[] = {
5943 (char *) "self", NULL
5944 };
5945
5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
5947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 result = (bool)(arg1)->CanUndo();
5951
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5956 return resultobj;
5957 fail:
5958 return NULL;
5959 }
5960
5961
5962 static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
5963 PyObject *resultobj;
5964 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5965 PyObject * obj0 = 0 ;
5966 char *kwnames[] = {
5967 (char *) "self", NULL
5968 };
5969
5970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
5971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 (arg1)->EmptyUndoBuffer();
5975
5976 wxPyEndAllowThreads(__tstate);
5977 if (PyErr_Occurred()) SWIG_fail;
5978 }
5979 Py_INCREF(Py_None); resultobj = Py_None;
5980 return resultobj;
5981 fail:
5982 return NULL;
5983 }
5984
5985
5986 static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
5987 PyObject *resultobj;
5988 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5989 PyObject * obj0 = 0 ;
5990 char *kwnames[] = {
5991 (char *) "self", NULL
5992 };
5993
5994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
5995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 (arg1)->Undo();
5999
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 Py_INCREF(Py_None); resultobj = Py_None;
6004 return resultobj;
6005 fail:
6006 return NULL;
6007 }
6008
6009
6010 static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
6011 PyObject *resultobj;
6012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6013 PyObject * obj0 = 0 ;
6014 char *kwnames[] = {
6015 (char *) "self", NULL
6016 };
6017
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
6019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 (arg1)->Cut();
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 Py_INCREF(Py_None); resultobj = Py_None;
6028 return resultobj;
6029 fail:
6030 return NULL;
6031 }
6032
6033
6034 static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj;
6036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6037 PyObject * obj0 = 0 ;
6038 char *kwnames[] = {
6039 (char *) "self", NULL
6040 };
6041
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
6043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 (arg1)->Copy();
6047
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 }
6051 Py_INCREF(Py_None); resultobj = Py_None;
6052 return resultobj;
6053 fail:
6054 return NULL;
6055 }
6056
6057
6058 static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
6059 PyObject *resultobj;
6060 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6061 PyObject * obj0 = 0 ;
6062 char *kwnames[] = {
6063 (char *) "self", NULL
6064 };
6065
6066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
6067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6068 {
6069 PyThreadState* __tstate = wxPyBeginAllowThreads();
6070 (arg1)->Paste();
6071
6072 wxPyEndAllowThreads(__tstate);
6073 if (PyErr_Occurred()) SWIG_fail;
6074 }
6075 Py_INCREF(Py_None); resultobj = Py_None;
6076 return resultobj;
6077 fail:
6078 return NULL;
6079 }
6080
6081
6082 static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6083 PyObject *resultobj;
6084 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6085 PyObject * obj0 = 0 ;
6086 char *kwnames[] = {
6087 (char *) "self", NULL
6088 };
6089
6090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
6091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6092 {
6093 PyThreadState* __tstate = wxPyBeginAllowThreads();
6094 (arg1)->Clear();
6095
6096 wxPyEndAllowThreads(__tstate);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
6099 Py_INCREF(Py_None); resultobj = Py_None;
6100 return resultobj;
6101 fail:
6102 return NULL;
6103 }
6104
6105
6106 static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6107 PyObject *resultobj;
6108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6109 wxString *arg2 = 0 ;
6110 bool temp2 = False ;
6111 PyObject * obj0 = 0 ;
6112 PyObject * obj1 = 0 ;
6113 char *kwnames[] = {
6114 (char *) "self",(char *) "text", NULL
6115 };
6116
6117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
6118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6119 {
6120 arg2 = wxString_in_helper(obj1);
6121 if (arg2 == NULL) SWIG_fail;
6122 temp2 = True;
6123 }
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
6126 (arg1)->SetText((wxString const &)*arg2);
6127
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 Py_INCREF(Py_None); resultobj = Py_None;
6132 {
6133 if (temp2)
6134 delete arg2;
6135 }
6136 return resultobj;
6137 fail:
6138 {
6139 if (temp2)
6140 delete arg2;
6141 }
6142 return NULL;
6143 }
6144
6145
6146 static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6147 PyObject *resultobj;
6148 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6149 wxString result;
6150 PyObject * obj0 = 0 ;
6151 char *kwnames[] = {
6152 (char *) "self", NULL
6153 };
6154
6155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
6156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6157 {
6158 PyThreadState* __tstate = wxPyBeginAllowThreads();
6159 result = (arg1)->GetText();
6160
6161 wxPyEndAllowThreads(__tstate);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 {
6165 #if wxUSE_UNICODE
6166 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6167 #else
6168 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6169 #endif
6170 }
6171 return resultobj;
6172 fail:
6173 return NULL;
6174 }
6175
6176
6177 static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6178 PyObject *resultobj;
6179 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6180 int result;
6181 PyObject * obj0 = 0 ;
6182 char *kwnames[] = {
6183 (char *) "self", NULL
6184 };
6185
6186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
6187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6188 {
6189 PyThreadState* __tstate = wxPyBeginAllowThreads();
6190 result = (int)(arg1)->GetTextLength();
6191
6192 wxPyEndAllowThreads(__tstate);
6193 if (PyErr_Occurred()) SWIG_fail;
6194 }
6195 resultobj = SWIG_PyObj_FromInt((int)result);
6196 return resultobj;
6197 fail:
6198 return NULL;
6199 }
6200
6201
6202 static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6203 PyObject *resultobj;
6204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6205 bool arg2 ;
6206 PyObject * obj0 = 0 ;
6207 PyObject * obj1 = 0 ;
6208 char *kwnames[] = {
6209 (char *) "self",(char *) "overtype", NULL
6210 };
6211
6212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
6213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6214 {
6215 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
6216 if (PyErr_Occurred()) SWIG_fail;
6217 }
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 (arg1)->SetOvertype(arg2);
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 Py_INCREF(Py_None); resultobj = Py_None;
6226 return resultobj;
6227 fail:
6228 return NULL;
6229 }
6230
6231
6232 static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6233 PyObject *resultobj;
6234 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6235 bool result;
6236 PyObject * obj0 = 0 ;
6237 char *kwnames[] = {
6238 (char *) "self", NULL
6239 };
6240
6241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
6242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6243 {
6244 PyThreadState* __tstate = wxPyBeginAllowThreads();
6245 result = (bool)(arg1)->GetOvertype();
6246
6247 wxPyEndAllowThreads(__tstate);
6248 if (PyErr_Occurred()) SWIG_fail;
6249 }
6250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6251 return resultobj;
6252 fail:
6253 return NULL;
6254 }
6255
6256
6257 static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6258 PyObject *resultobj;
6259 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6260 int arg2 ;
6261 PyObject * obj0 = 0 ;
6262 PyObject * obj1 = 0 ;
6263 char *kwnames[] = {
6264 (char *) "self",(char *) "pixelWidth", NULL
6265 };
6266
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
6268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6269 {
6270 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 {
6274 PyThreadState* __tstate = wxPyBeginAllowThreads();
6275 (arg1)->SetCaretWidth(arg2);
6276
6277 wxPyEndAllowThreads(__tstate);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 }
6280 Py_INCREF(Py_None); resultobj = Py_None;
6281 return resultobj;
6282 fail:
6283 return NULL;
6284 }
6285
6286
6287 static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6288 PyObject *resultobj;
6289 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6290 int result;
6291 PyObject * obj0 = 0 ;
6292 char *kwnames[] = {
6293 (char *) "self", NULL
6294 };
6295
6296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
6297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6298 {
6299 PyThreadState* __tstate = wxPyBeginAllowThreads();
6300 result = (int)(arg1)->GetCaretWidth();
6301
6302 wxPyEndAllowThreads(__tstate);
6303 if (PyErr_Occurred()) SWIG_fail;
6304 }
6305 resultobj = SWIG_PyObj_FromInt((int)result);
6306 return resultobj;
6307 fail:
6308 return NULL;
6309 }
6310
6311
6312 static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6313 PyObject *resultobj;
6314 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6315 int arg2 ;
6316 PyObject * obj0 = 0 ;
6317 PyObject * obj1 = 0 ;
6318 char *kwnames[] = {
6319 (char *) "self",(char *) "pos", NULL
6320 };
6321
6322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
6323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6324 {
6325 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 {
6329 PyThreadState* __tstate = wxPyBeginAllowThreads();
6330 (arg1)->SetTargetStart(arg2);
6331
6332 wxPyEndAllowThreads(__tstate);
6333 if (PyErr_Occurred()) SWIG_fail;
6334 }
6335 Py_INCREF(Py_None); resultobj = Py_None;
6336 return resultobj;
6337 fail:
6338 return NULL;
6339 }
6340
6341
6342 static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6343 PyObject *resultobj;
6344 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6345 int result;
6346 PyObject * obj0 = 0 ;
6347 char *kwnames[] = {
6348 (char *) "self", NULL
6349 };
6350
6351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
6352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6353 {
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 result = (int)(arg1)->GetTargetStart();
6356
6357 wxPyEndAllowThreads(__tstate);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 resultobj = SWIG_PyObj_FromInt((int)result);
6361 return resultobj;
6362 fail:
6363 return NULL;
6364 }
6365
6366
6367 static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6370 int arg2 ;
6371 PyObject * obj0 = 0 ;
6372 PyObject * obj1 = 0 ;
6373 char *kwnames[] = {
6374 (char *) "self",(char *) "pos", NULL
6375 };
6376
6377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
6378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6379 {
6380 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 (arg1)->SetTargetEnd(arg2);
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 }
6390 Py_INCREF(Py_None); resultobj = Py_None;
6391 return resultobj;
6392 fail:
6393 return NULL;
6394 }
6395
6396
6397 static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6398 PyObject *resultobj;
6399 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6400 int result;
6401 PyObject * obj0 = 0 ;
6402 char *kwnames[] = {
6403 (char *) "self", NULL
6404 };
6405
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
6407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6408 {
6409 PyThreadState* __tstate = wxPyBeginAllowThreads();
6410 result = (int)(arg1)->GetTargetEnd();
6411
6412 wxPyEndAllowThreads(__tstate);
6413 if (PyErr_Occurred()) SWIG_fail;
6414 }
6415 resultobj = SWIG_PyObj_FromInt((int)result);
6416 return resultobj;
6417 fail:
6418 return NULL;
6419 }
6420
6421
6422 static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6423 PyObject *resultobj;
6424 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6425 wxString *arg2 = 0 ;
6426 int result;
6427 bool temp2 = False ;
6428 PyObject * obj0 = 0 ;
6429 PyObject * obj1 = 0 ;
6430 char *kwnames[] = {
6431 (char *) "self",(char *) "text", NULL
6432 };
6433
6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
6435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6436 {
6437 arg2 = wxString_in_helper(obj1);
6438 if (arg2 == NULL) SWIG_fail;
6439 temp2 = True;
6440 }
6441 {
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
6444
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 resultobj = SWIG_PyObj_FromInt((int)result);
6449 {
6450 if (temp2)
6451 delete arg2;
6452 }
6453 return resultobj;
6454 fail:
6455 {
6456 if (temp2)
6457 delete arg2;
6458 }
6459 return NULL;
6460 }
6461
6462
6463 static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
6464 PyObject *resultobj;
6465 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6466 wxString *arg2 = 0 ;
6467 int result;
6468 bool temp2 = False ;
6469 PyObject * obj0 = 0 ;
6470 PyObject * obj1 = 0 ;
6471 char *kwnames[] = {
6472 (char *) "self",(char *) "text", NULL
6473 };
6474
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
6476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6477 {
6478 arg2 = wxString_in_helper(obj1);
6479 if (arg2 == NULL) SWIG_fail;
6480 temp2 = True;
6481 }
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 resultobj = SWIG_PyObj_FromInt((int)result);
6490 {
6491 if (temp2)
6492 delete arg2;
6493 }
6494 return resultobj;
6495 fail:
6496 {
6497 if (temp2)
6498 delete arg2;
6499 }
6500 return NULL;
6501 }
6502
6503
6504 static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6505 PyObject *resultobj;
6506 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6507 wxString *arg2 = 0 ;
6508 int result;
6509 bool temp2 = False ;
6510 PyObject * obj0 = 0 ;
6511 PyObject * obj1 = 0 ;
6512 char *kwnames[] = {
6513 (char *) "self",(char *) "text", NULL
6514 };
6515
6516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
6517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6518 {
6519 arg2 = wxString_in_helper(obj1);
6520 if (arg2 == NULL) SWIG_fail;
6521 temp2 = True;
6522 }
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 resultobj = SWIG_PyObj_FromInt((int)result);
6531 {
6532 if (temp2)
6533 delete arg2;
6534 }
6535 return resultobj;
6536 fail:
6537 {
6538 if (temp2)
6539 delete arg2;
6540 }
6541 return NULL;
6542 }
6543
6544
6545 static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6546 PyObject *resultobj;
6547 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6548 int arg2 ;
6549 PyObject * obj0 = 0 ;
6550 PyObject * obj1 = 0 ;
6551 char *kwnames[] = {
6552 (char *) "self",(char *) "flags", NULL
6553 };
6554
6555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
6556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6557 {
6558 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 (arg1)->SetSearchFlags(arg2);
6564
6565 wxPyEndAllowThreads(__tstate);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 Py_INCREF(Py_None); resultobj = Py_None;
6569 return resultobj;
6570 fail:
6571 return NULL;
6572 }
6573
6574
6575 static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6576 PyObject *resultobj;
6577 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6578 int result;
6579 PyObject * obj0 = 0 ;
6580 char *kwnames[] = {
6581 (char *) "self", NULL
6582 };
6583
6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
6585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 result = (int)(arg1)->GetSearchFlags();
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 resultobj = SWIG_PyObj_FromInt((int)result);
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj;
6602 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6603 int arg2 ;
6604 wxString *arg3 = 0 ;
6605 bool temp3 = False ;
6606 PyObject * obj0 = 0 ;
6607 PyObject * obj1 = 0 ;
6608 PyObject * obj2 = 0 ;
6609 char *kwnames[] = {
6610 (char *) "self",(char *) "pos",(char *) "definition", NULL
6611 };
6612
6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6615 {
6616 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6617 if (PyErr_Occurred()) SWIG_fail;
6618 }
6619 {
6620 arg3 = wxString_in_helper(obj2);
6621 if (arg3 == NULL) SWIG_fail;
6622 temp3 = True;
6623 }
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 Py_INCREF(Py_None); resultobj = Py_None;
6632 {
6633 if (temp3)
6634 delete arg3;
6635 }
6636 return resultobj;
6637 fail:
6638 {
6639 if (temp3)
6640 delete arg3;
6641 }
6642 return NULL;
6643 }
6644
6645
6646 static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
6647 PyObject *resultobj;
6648 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6649 PyObject * obj0 = 0 ;
6650 char *kwnames[] = {
6651 (char *) "self", NULL
6652 };
6653
6654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
6655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 (arg1)->CallTipCancel();
6659
6660 wxPyEndAllowThreads(__tstate);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 Py_INCREF(Py_None); resultobj = Py_None;
6664 return resultobj;
6665 fail:
6666 return NULL;
6667 }
6668
6669
6670 static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6671 PyObject *resultobj;
6672 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6673 bool result;
6674 PyObject * obj0 = 0 ;
6675 char *kwnames[] = {
6676 (char *) "self", NULL
6677 };
6678
6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
6680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 result = (bool)(arg1)->CallTipActive();
6684
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6689 return resultobj;
6690 fail:
6691 return NULL;
6692 }
6693
6694
6695 static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6696 PyObject *resultobj;
6697 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6698 int result;
6699 PyObject * obj0 = 0 ;
6700 char *kwnames[] = {
6701 (char *) "self", NULL
6702 };
6703
6704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
6705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6706 {
6707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6708 result = (int)(arg1)->CallTipPosAtStart();
6709
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 }
6713 resultobj = SWIG_PyObj_FromInt((int)result);
6714 return resultobj;
6715 fail:
6716 return NULL;
6717 }
6718
6719
6720 static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6721 PyObject *resultobj;
6722 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6723 int arg2 ;
6724 int arg3 ;
6725 PyObject * obj0 = 0 ;
6726 PyObject * obj1 = 0 ;
6727 PyObject * obj2 = 0 ;
6728 char *kwnames[] = {
6729 (char *) "self",(char *) "start",(char *) "end", NULL
6730 };
6731
6732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
6733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6734 {
6735 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6736 if (PyErr_Occurred()) SWIG_fail;
6737 }
6738 {
6739 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 {
6743 PyThreadState* __tstate = wxPyBeginAllowThreads();
6744 (arg1)->CallTipSetHighlight(arg2,arg3);
6745
6746 wxPyEndAllowThreads(__tstate);
6747 if (PyErr_Occurred()) SWIG_fail;
6748 }
6749 Py_INCREF(Py_None); resultobj = Py_None;
6750 return resultobj;
6751 fail:
6752 return NULL;
6753 }
6754
6755
6756 static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
6757 PyObject *resultobj;
6758 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6759 wxColour *arg2 = 0 ;
6760 wxColour temp2 ;
6761 PyObject * obj0 = 0 ;
6762 PyObject * obj1 = 0 ;
6763 char *kwnames[] = {
6764 (char *) "self",(char *) "back", NULL
6765 };
6766
6767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
6768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6769 {
6770 arg2 = &temp2;
6771 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6772 }
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
6776
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
6780 Py_INCREF(Py_None); resultobj = Py_None;
6781 return resultobj;
6782 fail:
6783 return NULL;
6784 }
6785
6786
6787 static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
6788 PyObject *resultobj;
6789 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6790 wxColour *arg2 = 0 ;
6791 wxColour temp2 ;
6792 PyObject * obj0 = 0 ;
6793 PyObject * obj1 = 0 ;
6794 char *kwnames[] = {
6795 (char *) "self",(char *) "fore", NULL
6796 };
6797
6798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
6799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6800 {
6801 arg2 = &temp2;
6802 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6803 }
6804 {
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
6807
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 Py_INCREF(Py_None); resultobj = Py_None;
6812 return resultobj;
6813 fail:
6814 return NULL;
6815 }
6816
6817
6818 static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj;
6820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6821 wxColour *arg2 = 0 ;
6822 wxColour temp2 ;
6823 PyObject * obj0 = 0 ;
6824 PyObject * obj1 = 0 ;
6825 char *kwnames[] = {
6826 (char *) "self",(char *) "fore", NULL
6827 };
6828
6829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
6830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6831 {
6832 arg2 = &temp2;
6833 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6834 }
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 Py_INCREF(Py_None); resultobj = Py_None;
6843 return resultobj;
6844 fail:
6845 return NULL;
6846 }
6847
6848
6849 static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6850 PyObject *resultobj;
6851 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6852 int arg2 ;
6853 int result;
6854 PyObject * obj0 = 0 ;
6855 PyObject * obj1 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self",(char *) "line", NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
6861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6862 {
6863 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 result = (int)(arg1)->VisibleFromDocLine(arg2);
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 resultobj = SWIG_PyObj_FromInt((int)result);
6874 return resultobj;
6875 fail:
6876 return NULL;
6877 }
6878
6879
6880 static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6883 int arg2 ;
6884 int result;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self",(char *) "lineDisplay", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
6892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6893 {
6894 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 result = (int)(arg1)->DocLineFromVisible(arg2);
6900
6901 wxPyEndAllowThreads(__tstate);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 }
6904 resultobj = SWIG_PyObj_FromInt((int)result);
6905 return resultobj;
6906 fail:
6907 return NULL;
6908 }
6909
6910
6911 static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6912 PyObject *resultobj;
6913 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6914 int arg2 ;
6915 int arg3 ;
6916 PyObject * obj0 = 0 ;
6917 PyObject * obj1 = 0 ;
6918 PyObject * obj2 = 0 ;
6919 char *kwnames[] = {
6920 (char *) "self",(char *) "line",(char *) "level", NULL
6921 };
6922
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
6924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6925 {
6926 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
6929 {
6930 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6931 if (PyErr_Occurred()) SWIG_fail;
6932 }
6933 {
6934 PyThreadState* __tstate = wxPyBeginAllowThreads();
6935 (arg1)->SetFoldLevel(arg2,arg3);
6936
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 Py_INCREF(Py_None); resultobj = Py_None;
6941 return resultobj;
6942 fail:
6943 return NULL;
6944 }
6945
6946
6947 static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6948 PyObject *resultobj;
6949 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6950 int arg2 ;
6951 int result;
6952 PyObject * obj0 = 0 ;
6953 PyObject * obj1 = 0 ;
6954 char *kwnames[] = {
6955 (char *) "self",(char *) "line", NULL
6956 };
6957
6958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
6959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6960 {
6961 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6962 if (PyErr_Occurred()) SWIG_fail;
6963 }
6964 {
6965 PyThreadState* __tstate = wxPyBeginAllowThreads();
6966 result = (int)(arg1)->GetFoldLevel(arg2);
6967
6968 wxPyEndAllowThreads(__tstate);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 }
6971 resultobj = SWIG_PyObj_FromInt((int)result);
6972 return resultobj;
6973 fail:
6974 return NULL;
6975 }
6976
6977
6978 static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6979 PyObject *resultobj;
6980 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6981 int arg2 ;
6982 int arg3 ;
6983 int result;
6984 PyObject * obj0 = 0 ;
6985 PyObject * obj1 = 0 ;
6986 PyObject * obj2 = 0 ;
6987 char *kwnames[] = {
6988 (char *) "self",(char *) "line",(char *) "level", NULL
6989 };
6990
6991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
6992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6993 {
6994 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6995 if (PyErr_Occurred()) SWIG_fail;
6996 }
6997 {
6998 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6999 if (PyErr_Occurred()) SWIG_fail;
7000 }
7001 {
7002 PyThreadState* __tstate = wxPyBeginAllowThreads();
7003 result = (int)(arg1)->GetLastChild(arg2,arg3);
7004
7005 wxPyEndAllowThreads(__tstate);
7006 if (PyErr_Occurred()) SWIG_fail;
7007 }
7008 resultobj = SWIG_PyObj_FromInt((int)result);
7009 return resultobj;
7010 fail:
7011 return NULL;
7012 }
7013
7014
7015 static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
7016 PyObject *resultobj;
7017 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7018 int arg2 ;
7019 int result;
7020 PyObject * obj0 = 0 ;
7021 PyObject * obj1 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "self",(char *) "line", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7028 {
7029 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7030 if (PyErr_Occurred()) SWIG_fail;
7031 }
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 result = (int)(arg1)->GetFoldParent(arg2);
7035
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
7039 resultobj = SWIG_PyObj_FromInt((int)result);
7040 return resultobj;
7041 fail:
7042 return NULL;
7043 }
7044
7045
7046 static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7047 PyObject *resultobj;
7048 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7049 int arg2 ;
7050 int arg3 ;
7051 PyObject * obj0 = 0 ;
7052 PyObject * obj1 = 0 ;
7053 PyObject * obj2 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7060 {
7061 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7062 if (PyErr_Occurred()) SWIG_fail;
7063 }
7064 {
7065 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7066 if (PyErr_Occurred()) SWIG_fail;
7067 }
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 (arg1)->ShowLines(arg2,arg3);
7071
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 Py_INCREF(Py_None); resultobj = Py_None;
7076 return resultobj;
7077 fail:
7078 return NULL;
7079 }
7080
7081
7082 static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7083 PyObject *resultobj;
7084 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7085 int arg2 ;
7086 int arg3 ;
7087 PyObject * obj0 = 0 ;
7088 PyObject * obj1 = 0 ;
7089 PyObject * obj2 = 0 ;
7090 char *kwnames[] = {
7091 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7096 {
7097 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7098 if (PyErr_Occurred()) SWIG_fail;
7099 }
7100 {
7101 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 {
7105 PyThreadState* __tstate = wxPyBeginAllowThreads();
7106 (arg1)->HideLines(arg2,arg3);
7107
7108 wxPyEndAllowThreads(__tstate);
7109 if (PyErr_Occurred()) SWIG_fail;
7110 }
7111 Py_INCREF(Py_None); resultobj = Py_None;
7112 return resultobj;
7113 fail:
7114 return NULL;
7115 }
7116
7117
7118 static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7119 PyObject *resultobj;
7120 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7121 int arg2 ;
7122 bool result;
7123 PyObject * obj0 = 0 ;
7124 PyObject * obj1 = 0 ;
7125 char *kwnames[] = {
7126 (char *) "self",(char *) "line", NULL
7127 };
7128
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
7130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7131 {
7132 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 {
7136 PyThreadState* __tstate = wxPyBeginAllowThreads();
7137 result = (bool)(arg1)->GetLineVisible(arg2);
7138
7139 wxPyEndAllowThreads(__tstate);
7140 if (PyErr_Occurred()) SWIG_fail;
7141 }
7142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7143 return resultobj;
7144 fail:
7145 return NULL;
7146 }
7147
7148
7149 static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7150 PyObject *resultobj;
7151 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7152 int arg2 ;
7153 bool arg3 ;
7154 PyObject * obj0 = 0 ;
7155 PyObject * obj1 = 0 ;
7156 PyObject * obj2 = 0 ;
7157 char *kwnames[] = {
7158 (char *) "self",(char *) "line",(char *) "expanded", NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
7162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7163 {
7164 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
7167 {
7168 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 }
7171 {
7172 PyThreadState* __tstate = wxPyBeginAllowThreads();
7173 (arg1)->SetFoldExpanded(arg2,arg3);
7174
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 Py_INCREF(Py_None); resultobj = Py_None;
7179 return resultobj;
7180 fail:
7181 return NULL;
7182 }
7183
7184
7185 static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7186 PyObject *resultobj;
7187 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7188 int arg2 ;
7189 bool result;
7190 PyObject * obj0 = 0 ;
7191 PyObject * obj1 = 0 ;
7192 char *kwnames[] = {
7193 (char *) "self",(char *) "line", NULL
7194 };
7195
7196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
7197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7198 {
7199 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
7202 {
7203 PyThreadState* __tstate = wxPyBeginAllowThreads();
7204 result = (bool)(arg1)->GetFoldExpanded(arg2);
7205
7206 wxPyEndAllowThreads(__tstate);
7207 if (PyErr_Occurred()) SWIG_fail;
7208 }
7209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7210 return resultobj;
7211 fail:
7212 return NULL;
7213 }
7214
7215
7216 static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
7217 PyObject *resultobj;
7218 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7219 int arg2 ;
7220 PyObject * obj0 = 0 ;
7221 PyObject * obj1 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "self",(char *) "line", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
7227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7228 {
7229 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7230 if (PyErr_Occurred()) SWIG_fail;
7231 }
7232 {
7233 PyThreadState* __tstate = wxPyBeginAllowThreads();
7234 (arg1)->ToggleFold(arg2);
7235
7236 wxPyEndAllowThreads(__tstate);
7237 if (PyErr_Occurred()) SWIG_fail;
7238 }
7239 Py_INCREF(Py_None); resultobj = Py_None;
7240 return resultobj;
7241 fail:
7242 return NULL;
7243 }
7244
7245
7246 static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7247 PyObject *resultobj;
7248 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7249 int arg2 ;
7250 PyObject * obj0 = 0 ;
7251 PyObject * obj1 = 0 ;
7252 char *kwnames[] = {
7253 (char *) "self",(char *) "line", NULL
7254 };
7255
7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7258 {
7259 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7260 if (PyErr_Occurred()) SWIG_fail;
7261 }
7262 {
7263 PyThreadState* __tstate = wxPyBeginAllowThreads();
7264 (arg1)->EnsureVisible(arg2);
7265
7266 wxPyEndAllowThreads(__tstate);
7267 if (PyErr_Occurred()) SWIG_fail;
7268 }
7269 Py_INCREF(Py_None); resultobj = Py_None;
7270 return resultobj;
7271 fail:
7272 return NULL;
7273 }
7274
7275
7276 static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7277 PyObject *resultobj;
7278 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7279 int arg2 ;
7280 PyObject * obj0 = 0 ;
7281 PyObject * obj1 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "self",(char *) "flags", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
7287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7288 {
7289 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 }
7292 {
7293 PyThreadState* __tstate = wxPyBeginAllowThreads();
7294 (arg1)->SetFoldFlags(arg2);
7295
7296 wxPyEndAllowThreads(__tstate);
7297 if (PyErr_Occurred()) SWIG_fail;
7298 }
7299 Py_INCREF(Py_None); resultobj = Py_None;
7300 return resultobj;
7301 fail:
7302 return NULL;
7303 }
7304
7305
7306 static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
7307 PyObject *resultobj;
7308 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7309 int arg2 ;
7310 PyObject * obj0 = 0 ;
7311 PyObject * obj1 = 0 ;
7312 char *kwnames[] = {
7313 (char *) "self",(char *) "line", NULL
7314 };
7315
7316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
7317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7318 {
7319 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 (arg1)->EnsureVisibleEnforcePolicy(arg2);
7325
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 Py_INCREF(Py_None); resultobj = Py_None;
7330 return resultobj;
7331 fail:
7332 return NULL;
7333 }
7334
7335
7336 static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7337 PyObject *resultobj;
7338 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7339 bool arg2 ;
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "self",(char *) "tabIndents", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
7347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7348 {
7349 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7350 if (PyErr_Occurred()) SWIG_fail;
7351 }
7352 {
7353 PyThreadState* __tstate = wxPyBeginAllowThreads();
7354 (arg1)->SetTabIndents(arg2);
7355
7356 wxPyEndAllowThreads(__tstate);
7357 if (PyErr_Occurred()) SWIG_fail;
7358 }
7359 Py_INCREF(Py_None); resultobj = Py_None;
7360 return resultobj;
7361 fail:
7362 return NULL;
7363 }
7364
7365
7366 static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7367 PyObject *resultobj;
7368 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7369 bool result;
7370 PyObject * obj0 = 0 ;
7371 char *kwnames[] = {
7372 (char *) "self", NULL
7373 };
7374
7375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
7376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7377 {
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 result = (bool)(arg1)->GetTabIndents();
7380
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7385 return resultobj;
7386 fail:
7387 return NULL;
7388 }
7389
7390
7391 static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj;
7393 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7394 bool arg2 ;
7395 PyObject * obj0 = 0 ;
7396 PyObject * obj1 = 0 ;
7397 char *kwnames[] = {
7398 (char *) "self",(char *) "bsUnIndents", NULL
7399 };
7400
7401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
7402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7403 {
7404 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 (arg1)->SetBackSpaceUnIndents(arg2);
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 Py_INCREF(Py_None); resultobj = Py_None;
7415 return resultobj;
7416 fail:
7417 return NULL;
7418 }
7419
7420
7421 static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7422 PyObject *resultobj;
7423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7424 bool result;
7425 PyObject * obj0 = 0 ;
7426 char *kwnames[] = {
7427 (char *) "self", NULL
7428 };
7429
7430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
7431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7432 {
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 result = (bool)(arg1)->GetBackSpaceUnIndents();
7435
7436 wxPyEndAllowThreads(__tstate);
7437 if (PyErr_Occurred()) SWIG_fail;
7438 }
7439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7440 return resultobj;
7441 fail:
7442 return NULL;
7443 }
7444
7445
7446 static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7447 PyObject *resultobj;
7448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7449 int arg2 ;
7450 PyObject * obj0 = 0 ;
7451 PyObject * obj1 = 0 ;
7452 char *kwnames[] = {
7453 (char *) "self",(char *) "periodMilliseconds", NULL
7454 };
7455
7456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
7457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7458 {
7459 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7460 if (PyErr_Occurred()) SWIG_fail;
7461 }
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 (arg1)->SetMouseDwellTime(arg2);
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
7469 Py_INCREF(Py_None); resultobj = Py_None;
7470 return resultobj;
7471 fail:
7472 return NULL;
7473 }
7474
7475
7476 static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7477 PyObject *resultobj;
7478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7479 int result;
7480 PyObject * obj0 = 0 ;
7481 char *kwnames[] = {
7482 (char *) "self", NULL
7483 };
7484
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
7486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7487 {
7488 PyThreadState* __tstate = wxPyBeginAllowThreads();
7489 result = (int)(arg1)->GetMouseDwellTime();
7490
7491 wxPyEndAllowThreads(__tstate);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 resultobj = SWIG_PyObj_FromInt((int)result);
7495 return resultobj;
7496 fail:
7497 return NULL;
7498 }
7499
7500
7501 static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj;
7503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7504 int arg2 ;
7505 bool arg3 ;
7506 int result;
7507 PyObject * obj0 = 0 ;
7508 PyObject * obj1 = 0 ;
7509 PyObject * obj2 = 0 ;
7510 char *kwnames[] = {
7511 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7512 };
7513
7514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7516 {
7517 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 {
7521 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 }
7524 {
7525 PyThreadState* __tstate = wxPyBeginAllowThreads();
7526 result = (int)(arg1)->WordStartPosition(arg2,arg3);
7527
7528 wxPyEndAllowThreads(__tstate);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
7531 resultobj = SWIG_PyObj_FromInt((int)result);
7532 return resultobj;
7533 fail:
7534 return NULL;
7535 }
7536
7537
7538 static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7539 PyObject *resultobj;
7540 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7541 int arg2 ;
7542 bool arg3 ;
7543 int result;
7544 PyObject * obj0 = 0 ;
7545 PyObject * obj1 = 0 ;
7546 PyObject * obj2 = 0 ;
7547 char *kwnames[] = {
7548 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7549 };
7550
7551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7553 {
7554 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7555 if (PyErr_Occurred()) SWIG_fail;
7556 }
7557 {
7558 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
7559 if (PyErr_Occurred()) SWIG_fail;
7560 }
7561 {
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 result = (int)(arg1)->WordEndPosition(arg2,arg3);
7564
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 }
7568 resultobj = SWIG_PyObj_FromInt((int)result);
7569 return resultobj;
7570 fail:
7571 return NULL;
7572 }
7573
7574
7575 static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7576 PyObject *resultobj;
7577 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7578 int arg2 ;
7579 PyObject * obj0 = 0 ;
7580 PyObject * obj1 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "self",(char *) "mode", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
7586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7587 {
7588 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 (arg1)->SetWrapMode(arg2);
7594
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 Py_INCREF(Py_None); resultobj = Py_None;
7599 return resultobj;
7600 fail:
7601 return NULL;
7602 }
7603
7604
7605 static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7606 PyObject *resultobj;
7607 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7608 int result;
7609 PyObject * obj0 = 0 ;
7610 char *kwnames[] = {
7611 (char *) "self", NULL
7612 };
7613
7614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
7615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 result = (int)(arg1)->GetWrapMode();
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 resultobj = SWIG_PyObj_FromInt((int)result);
7624 return resultobj;
7625 fail:
7626 return NULL;
7627 }
7628
7629
7630 static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7631 PyObject *resultobj;
7632 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7633 int arg2 ;
7634 PyObject * obj0 = 0 ;
7635 PyObject * obj1 = 0 ;
7636 char *kwnames[] = {
7637 (char *) "self",(char *) "mode", NULL
7638 };
7639
7640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
7641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7642 {
7643 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 (arg1)->SetLayoutCache(arg2);
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 Py_INCREF(Py_None); resultobj = Py_None;
7654 return resultobj;
7655 fail:
7656 return NULL;
7657 }
7658
7659
7660 static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7661 PyObject *resultobj;
7662 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7663 int result;
7664 PyObject * obj0 = 0 ;
7665 char *kwnames[] = {
7666 (char *) "self", NULL
7667 };
7668
7669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
7670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 result = (int)(arg1)->GetLayoutCache();
7674
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
7678 resultobj = SWIG_PyObj_FromInt((int)result);
7679 return resultobj;
7680 fail:
7681 return NULL;
7682 }
7683
7684
7685 static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7686 PyObject *resultobj;
7687 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7688 int arg2 ;
7689 PyObject * obj0 = 0 ;
7690 PyObject * obj1 = 0 ;
7691 char *kwnames[] = {
7692 (char *) "self",(char *) "pixelWidth", NULL
7693 };
7694
7695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
7696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7697 {
7698 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
7701 {
7702 PyThreadState* __tstate = wxPyBeginAllowThreads();
7703 (arg1)->SetScrollWidth(arg2);
7704
7705 wxPyEndAllowThreads(__tstate);
7706 if (PyErr_Occurred()) SWIG_fail;
7707 }
7708 Py_INCREF(Py_None); resultobj = Py_None;
7709 return resultobj;
7710 fail:
7711 return NULL;
7712 }
7713
7714
7715 static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj;
7717 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7718 int result;
7719 PyObject * obj0 = 0 ;
7720 char *kwnames[] = {
7721 (char *) "self", NULL
7722 };
7723
7724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
7725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7726 {
7727 PyThreadState* __tstate = wxPyBeginAllowThreads();
7728 result = (int)(arg1)->GetScrollWidth();
7729
7730 wxPyEndAllowThreads(__tstate);
7731 if (PyErr_Occurred()) SWIG_fail;
7732 }
7733 resultobj = SWIG_PyObj_FromInt((int)result);
7734 return resultobj;
7735 fail:
7736 return NULL;
7737 }
7738
7739
7740 static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7741 PyObject *resultobj;
7742 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7743 int arg2 ;
7744 wxString *arg3 = 0 ;
7745 int result;
7746 bool temp3 = False ;
7747 PyObject * obj0 = 0 ;
7748 PyObject * obj1 = 0 ;
7749 PyObject * obj2 = 0 ;
7750 char *kwnames[] = {
7751 (char *) "self",(char *) "style",(char *) "text", NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
7755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7756 {
7757 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 {
7761 arg3 = wxString_in_helper(obj2);
7762 if (arg3 == NULL) SWIG_fail;
7763 temp3 = True;
7764 }
7765 {
7766 PyThreadState* __tstate = wxPyBeginAllowThreads();
7767 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
7768
7769 wxPyEndAllowThreads(__tstate);
7770 if (PyErr_Occurred()) SWIG_fail;
7771 }
7772 resultobj = SWIG_PyObj_FromInt((int)result);
7773 {
7774 if (temp3)
7775 delete arg3;
7776 }
7777 return resultobj;
7778 fail:
7779 {
7780 if (temp3)
7781 delete arg3;
7782 }
7783 return NULL;
7784 }
7785
7786
7787 static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7788 PyObject *resultobj;
7789 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7790 bool arg2 ;
7791 PyObject * obj0 = 0 ;
7792 PyObject * obj1 = 0 ;
7793 char *kwnames[] = {
7794 (char *) "self",(char *) "endAtLastLine", NULL
7795 };
7796
7797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
7798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7799 {
7800 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7801 if (PyErr_Occurred()) SWIG_fail;
7802 }
7803 {
7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
7805 (arg1)->SetEndAtLastLine(arg2);
7806
7807 wxPyEndAllowThreads(__tstate);
7808 if (PyErr_Occurred()) SWIG_fail;
7809 }
7810 Py_INCREF(Py_None); resultobj = Py_None;
7811 return resultobj;
7812 fail:
7813 return NULL;
7814 }
7815
7816
7817 static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7818 PyObject *resultobj;
7819 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7820 int result;
7821 PyObject * obj0 = 0 ;
7822 char *kwnames[] = {
7823 (char *) "self", NULL
7824 };
7825
7826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
7827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7828 {
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 result = (int)(arg1)->GetEndAtLastLine();
7831
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 resultobj = SWIG_PyObj_FromInt((int)result);
7836 return resultobj;
7837 fail:
7838 return NULL;
7839 }
7840
7841
7842 static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7843 PyObject *resultobj;
7844 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7845 int arg2 ;
7846 int result;
7847 PyObject * obj0 = 0 ;
7848 PyObject * obj1 = 0 ;
7849 char *kwnames[] = {
7850 (char *) "self",(char *) "line", NULL
7851 };
7852
7853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
7854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7855 {
7856 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7857 if (PyErr_Occurred()) SWIG_fail;
7858 }
7859 {
7860 PyThreadState* __tstate = wxPyBeginAllowThreads();
7861 result = (int)(arg1)->TextHeight(arg2);
7862
7863 wxPyEndAllowThreads(__tstate);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
7866 resultobj = SWIG_PyObj_FromInt((int)result);
7867 return resultobj;
7868 fail:
7869 return NULL;
7870 }
7871
7872
7873 static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7874 PyObject *resultobj;
7875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7876 bool arg2 ;
7877 PyObject * obj0 = 0 ;
7878 PyObject * obj1 = 0 ;
7879 char *kwnames[] = {
7880 (char *) "self",(char *) "show", NULL
7881 };
7882
7883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
7884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7885 {
7886 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 }
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
7891 (arg1)->SetUseVerticalScrollBar(arg2);
7892
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 Py_INCREF(Py_None); resultobj = Py_None;
7897 return resultobj;
7898 fail:
7899 return NULL;
7900 }
7901
7902
7903 static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7904 PyObject *resultobj;
7905 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7906 bool result;
7907 PyObject * obj0 = 0 ;
7908 char *kwnames[] = {
7909 (char *) "self", NULL
7910 };
7911
7912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
7913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7914 {
7915 PyThreadState* __tstate = wxPyBeginAllowThreads();
7916 result = (bool)(arg1)->GetUseVerticalScrollBar();
7917
7918 wxPyEndAllowThreads(__tstate);
7919 if (PyErr_Occurred()) SWIG_fail;
7920 }
7921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7922 return resultobj;
7923 fail:
7924 return NULL;
7925 }
7926
7927
7928 static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7929 PyObject *resultobj;
7930 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7931 int arg2 ;
7932 wxString *arg3 = 0 ;
7933 bool temp3 = False ;
7934 PyObject * obj0 = 0 ;
7935 PyObject * obj1 = 0 ;
7936 PyObject * obj2 = 0 ;
7937 char *kwnames[] = {
7938 (char *) "self",(char *) "length",(char *) "text", NULL
7939 };
7940
7941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7943 {
7944 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 {
7948 arg3 = wxString_in_helper(obj2);
7949 if (arg3 == NULL) SWIG_fail;
7950 temp3 = True;
7951 }
7952 {
7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
7954 (arg1)->AppendText(arg2,(wxString const &)*arg3);
7955
7956 wxPyEndAllowThreads(__tstate);
7957 if (PyErr_Occurred()) SWIG_fail;
7958 }
7959 Py_INCREF(Py_None); resultobj = Py_None;
7960 {
7961 if (temp3)
7962 delete arg3;
7963 }
7964 return resultobj;
7965 fail:
7966 {
7967 if (temp3)
7968 delete arg3;
7969 }
7970 return NULL;
7971 }
7972
7973
7974 static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7975 PyObject *resultobj;
7976 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7977 bool result;
7978 PyObject * obj0 = 0 ;
7979 char *kwnames[] = {
7980 (char *) "self", NULL
7981 };
7982
7983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
7984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7985 {
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 result = (bool)(arg1)->GetTwoPhaseDraw();
7988
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7993 return resultobj;
7994 fail:
7995 return NULL;
7996 }
7997
7998
7999 static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8000 PyObject *resultobj;
8001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8002 bool arg2 ;
8003 PyObject * obj0 = 0 ;
8004 PyObject * obj1 = 0 ;
8005 char *kwnames[] = {
8006 (char *) "self",(char *) "twoPhase", NULL
8007 };
8008
8009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
8010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8011 {
8012 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 (arg1)->SetTwoPhaseDraw(arg2);
8018
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 Py_INCREF(Py_None); resultobj = Py_None;
8023 return resultobj;
8024 fail:
8025 return NULL;
8026 }
8027
8028
8029 static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8030 PyObject *resultobj;
8031 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8032 PyObject * obj0 = 0 ;
8033 char *kwnames[] = {
8034 (char *) "self", NULL
8035 };
8036
8037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
8038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8039 {
8040 PyThreadState* __tstate = wxPyBeginAllowThreads();
8041 (arg1)->TargetFromSelection();
8042
8043 wxPyEndAllowThreads(__tstate);
8044 if (PyErr_Occurred()) SWIG_fail;
8045 }
8046 Py_INCREF(Py_None); resultobj = Py_None;
8047 return resultobj;
8048 fail:
8049 return NULL;
8050 }
8051
8052
8053 static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8054 PyObject *resultobj;
8055 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8056 PyObject * obj0 = 0 ;
8057 char *kwnames[] = {
8058 (char *) "self", NULL
8059 };
8060
8061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
8062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 (arg1)->LinesJoin();
8066
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
8070 Py_INCREF(Py_None); resultobj = Py_None;
8071 return resultobj;
8072 fail:
8073 return NULL;
8074 }
8075
8076
8077 static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8080 int arg2 ;
8081 PyObject * obj0 = 0 ;
8082 PyObject * obj1 = 0 ;
8083 char *kwnames[] = {
8084 (char *) "self",(char *) "pixelWidth", NULL
8085 };
8086
8087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
8088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8089 {
8090 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 {
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 (arg1)->LinesSplit(arg2);
8096
8097 wxPyEndAllowThreads(__tstate);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 }
8100 Py_INCREF(Py_None); resultobj = Py_None;
8101 return resultobj;
8102 fail:
8103 return NULL;
8104 }
8105
8106
8107 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8108 PyObject *resultobj;
8109 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8110 bool arg2 ;
8111 wxColour *arg3 = 0 ;
8112 wxColour temp3 ;
8113 PyObject * obj0 = 0 ;
8114 PyObject * obj1 = 0 ;
8115 PyObject * obj2 = 0 ;
8116 char *kwnames[] = {
8117 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8118 };
8119
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8122 {
8123 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 {
8127 arg3 = &temp3;
8128 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8129 }
8130 {
8131 PyThreadState* __tstate = wxPyBeginAllowThreads();
8132 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
8133
8134 wxPyEndAllowThreads(__tstate);
8135 if (PyErr_Occurred()) SWIG_fail;
8136 }
8137 Py_INCREF(Py_None); resultobj = Py_None;
8138 return resultobj;
8139 fail:
8140 return NULL;
8141 }
8142
8143
8144 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8145 PyObject *resultobj;
8146 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8147 bool arg2 ;
8148 wxColour *arg3 = 0 ;
8149 wxColour temp3 ;
8150 PyObject * obj0 = 0 ;
8151 PyObject * obj1 = 0 ;
8152 PyObject * obj2 = 0 ;
8153 char *kwnames[] = {
8154 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8155 };
8156
8157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8159 {
8160 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 {
8164 arg3 = &temp3;
8165 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8166 }
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
8170
8171 wxPyEndAllowThreads(__tstate);
8172 if (PyErr_Occurred()) SWIG_fail;
8173 }
8174 Py_INCREF(Py_None); resultobj = Py_None;
8175 return resultobj;
8176 fail:
8177 return NULL;
8178 }
8179
8180
8181 static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
8182 PyObject *resultobj;
8183 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8184 PyObject * obj0 = 0 ;
8185 char *kwnames[] = {
8186 (char *) "self", NULL
8187 };
8188
8189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
8190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 (arg1)->LineDuplicate();
8194
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
8198 Py_INCREF(Py_None); resultobj = Py_None;
8199 return resultobj;
8200 fail:
8201 return NULL;
8202 }
8203
8204
8205 static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
8206 PyObject *resultobj;
8207 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8208 PyObject * obj0 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
8214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8215 {
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 (arg1)->HomeDisplay();
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 Py_INCREF(Py_None); resultobj = Py_None;
8223 return resultobj;
8224 fail:
8225 return NULL;
8226 }
8227
8228
8229 static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8230 PyObject *resultobj;
8231 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8232 PyObject * obj0 = 0 ;
8233 char *kwnames[] = {
8234 (char *) "self", NULL
8235 };
8236
8237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
8238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 (arg1)->HomeDisplayExtend();
8242
8243 wxPyEndAllowThreads(__tstate);
8244 if (PyErr_Occurred()) SWIG_fail;
8245 }
8246 Py_INCREF(Py_None); resultobj = Py_None;
8247 return resultobj;
8248 fail:
8249 return NULL;
8250 }
8251
8252
8253 static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
8254 PyObject *resultobj;
8255 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8256 PyObject * obj0 = 0 ;
8257 char *kwnames[] = {
8258 (char *) "self", NULL
8259 };
8260
8261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
8262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8263 {
8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
8265 (arg1)->LineEndDisplay();
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 Py_INCREF(Py_None); resultobj = Py_None;
8271 return resultobj;
8272 fail:
8273 return NULL;
8274 }
8275
8276
8277 static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8278 PyObject *resultobj;
8279 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8280 PyObject * obj0 = 0 ;
8281 char *kwnames[] = {
8282 (char *) "self", NULL
8283 };
8284
8285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
8286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8287 {
8288 PyThreadState* __tstate = wxPyBeginAllowThreads();
8289 (arg1)->LineEndDisplayExtend();
8290
8291 wxPyEndAllowThreads(__tstate);
8292 if (PyErr_Occurred()) SWIG_fail;
8293 }
8294 Py_INCREF(Py_None); resultobj = Py_None;
8295 return resultobj;
8296 fail:
8297 return NULL;
8298 }
8299
8300
8301 static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8302 PyObject *resultobj;
8303 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8304 PyObject * obj0 = 0 ;
8305 char *kwnames[] = {
8306 (char *) "self", NULL
8307 };
8308
8309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
8310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8311 {
8312 PyThreadState* __tstate = wxPyBeginAllowThreads();
8313 (arg1)->LineCopy();
8314
8315 wxPyEndAllowThreads(__tstate);
8316 if (PyErr_Occurred()) SWIG_fail;
8317 }
8318 Py_INCREF(Py_None); resultobj = Py_None;
8319 return resultobj;
8320 fail:
8321 return NULL;
8322 }
8323
8324
8325 static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
8326 PyObject *resultobj;
8327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8328 PyObject * obj0 = 0 ;
8329 char *kwnames[] = {
8330 (char *) "self", NULL
8331 };
8332
8333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
8334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8335 {
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 (arg1)->MoveCaretInsideView();
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 Py_INCREF(Py_None); resultobj = Py_None;
8343 return resultobj;
8344 fail:
8345 return NULL;
8346 }
8347
8348
8349 static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8350 PyObject *resultobj;
8351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8352 int arg2 ;
8353 int result;
8354 PyObject * obj0 = 0 ;
8355 PyObject * obj1 = 0 ;
8356 char *kwnames[] = {
8357 (char *) "self",(char *) "line", NULL
8358 };
8359
8360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
8361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8362 {
8363 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 }
8366 {
8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
8368 result = (int)(arg1)->LineLength(arg2);
8369
8370 wxPyEndAllowThreads(__tstate);
8371 if (PyErr_Occurred()) SWIG_fail;
8372 }
8373 resultobj = SWIG_PyObj_FromInt((int)result);
8374 return resultobj;
8375 fail:
8376 return NULL;
8377 }
8378
8379
8380 static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8381 PyObject *resultobj;
8382 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8383 int arg2 ;
8384 int arg3 ;
8385 PyObject * obj0 = 0 ;
8386 PyObject * obj1 = 0 ;
8387 PyObject * obj2 = 0 ;
8388 char *kwnames[] = {
8389 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
8390 };
8391
8392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8394 {
8395 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 {
8399 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 }
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 (arg1)->BraceHighlight(arg2,arg3);
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 Py_INCREF(Py_None); resultobj = Py_None;
8410 return resultobj;
8411 fail:
8412 return NULL;
8413 }
8414
8415
8416 static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
8417 PyObject *resultobj;
8418 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8419 int arg2 ;
8420 PyObject * obj0 = 0 ;
8421 PyObject * obj1 = 0 ;
8422 char *kwnames[] = {
8423 (char *) "self",(char *) "pos", NULL
8424 };
8425
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
8427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8428 {
8429 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8430 if (PyErr_Occurred()) SWIG_fail;
8431 }
8432 {
8433 PyThreadState* __tstate = wxPyBeginAllowThreads();
8434 (arg1)->BraceBadLight(arg2);
8435
8436 wxPyEndAllowThreads(__tstate);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 }
8439 Py_INCREF(Py_None); resultobj = Py_None;
8440 return resultobj;
8441 fail:
8442 return NULL;
8443 }
8444
8445
8446 static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8447 PyObject *resultobj;
8448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8449 int arg2 ;
8450 int result;
8451 PyObject * obj0 = 0 ;
8452 PyObject * obj1 = 0 ;
8453 char *kwnames[] = {
8454 (char *) "self",(char *) "pos", NULL
8455 };
8456
8457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
8458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8459 {
8460 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8461 if (PyErr_Occurred()) SWIG_fail;
8462 }
8463 {
8464 PyThreadState* __tstate = wxPyBeginAllowThreads();
8465 result = (int)(arg1)->BraceMatch(arg2);
8466
8467 wxPyEndAllowThreads(__tstate);
8468 if (PyErr_Occurred()) SWIG_fail;
8469 }
8470 resultobj = SWIG_PyObj_FromInt((int)result);
8471 return resultobj;
8472 fail:
8473 return NULL;
8474 }
8475
8476
8477 static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
8478 PyObject *resultobj;
8479 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8480 bool result;
8481 PyObject * obj0 = 0 ;
8482 char *kwnames[] = {
8483 (char *) "self", NULL
8484 };
8485
8486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
8487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8488 {
8489 PyThreadState* __tstate = wxPyBeginAllowThreads();
8490 result = (bool)(arg1)->GetViewEOL();
8491
8492 wxPyEndAllowThreads(__tstate);
8493 if (PyErr_Occurred()) SWIG_fail;
8494 }
8495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8496 return resultobj;
8497 fail:
8498 return NULL;
8499 }
8500
8501
8502 static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
8503 PyObject *resultobj;
8504 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8505 bool arg2 ;
8506 PyObject * obj0 = 0 ;
8507 PyObject * obj1 = 0 ;
8508 char *kwnames[] = {
8509 (char *) "self",(char *) "visible", NULL
8510 };
8511
8512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
8513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8514 {
8515 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 }
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 (arg1)->SetViewEOL(arg2);
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 Py_INCREF(Py_None); resultobj = Py_None;
8526 return resultobj;
8527 fail:
8528 return NULL;
8529 }
8530
8531
8532 static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
8533 PyObject *resultobj;
8534 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8535 void *result;
8536 PyObject * obj0 = 0 ;
8537 char *kwnames[] = {
8538 (char *) "self", NULL
8539 };
8540
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
8542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8543 {
8544 PyThreadState* __tstate = wxPyBeginAllowThreads();
8545 result = (void *)(arg1)->GetDocPointer();
8546
8547 wxPyEndAllowThreads(__tstate);
8548 if (PyErr_Occurred()) SWIG_fail;
8549 }
8550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
8551 return resultobj;
8552 fail:
8553 return NULL;
8554 }
8555
8556
8557 static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
8558 PyObject *resultobj;
8559 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8560 void *arg2 = (void *) 0 ;
8561 PyObject * obj0 = 0 ;
8562 PyObject * obj1 = 0 ;
8563 char *kwnames[] = {
8564 (char *) "self",(char *) "docPointer", NULL
8565 };
8566
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
8568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8570 {
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 (arg1)->SetDocPointer(arg2);
8573
8574 wxPyEndAllowThreads(__tstate);
8575 if (PyErr_Occurred()) SWIG_fail;
8576 }
8577 Py_INCREF(Py_None); resultobj = Py_None;
8578 return resultobj;
8579 fail:
8580 return NULL;
8581 }
8582
8583
8584 static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8585 PyObject *resultobj;
8586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8587 int arg2 ;
8588 PyObject * obj0 = 0 ;
8589 PyObject * obj1 = 0 ;
8590 char *kwnames[] = {
8591 (char *) "self",(char *) "mask", NULL
8592 };
8593
8594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
8595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8596 {
8597 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 (arg1)->SetModEventMask(arg2);
8603
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
8607 Py_INCREF(Py_None); resultobj = Py_None;
8608 return resultobj;
8609 fail:
8610 return NULL;
8611 }
8612
8613
8614 static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8615 PyObject *resultobj;
8616 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8617 int result;
8618 PyObject * obj0 = 0 ;
8619 char *kwnames[] = {
8620 (char *) "self", NULL
8621 };
8622
8623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
8624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8625 {
8626 PyThreadState* __tstate = wxPyBeginAllowThreads();
8627 result = (int)(arg1)->GetEdgeColumn();
8628
8629 wxPyEndAllowThreads(__tstate);
8630 if (PyErr_Occurred()) SWIG_fail;
8631 }
8632 resultobj = SWIG_PyObj_FromInt((int)result);
8633 return resultobj;
8634 fail:
8635 return NULL;
8636 }
8637
8638
8639 static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8640 PyObject *resultobj;
8641 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8642 int arg2 ;
8643 PyObject * obj0 = 0 ;
8644 PyObject * obj1 = 0 ;
8645 char *kwnames[] = {
8646 (char *) "self",(char *) "column", NULL
8647 };
8648
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
8650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8651 {
8652 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 {
8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
8657 (arg1)->SetEdgeColumn(arg2);
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 Py_INCREF(Py_None); resultobj = Py_None;
8663 return resultobj;
8664 fail:
8665 return NULL;
8666 }
8667
8668
8669 static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8670 PyObject *resultobj;
8671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8672 int result;
8673 PyObject * obj0 = 0 ;
8674 char *kwnames[] = {
8675 (char *) "self", NULL
8676 };
8677
8678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
8679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 result = (int)(arg1)->GetEdgeMode();
8683
8684 wxPyEndAllowThreads(__tstate);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 resultobj = SWIG_PyObj_FromInt((int)result);
8688 return resultobj;
8689 fail:
8690 return NULL;
8691 }
8692
8693
8694 static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8695 PyObject *resultobj;
8696 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8697 int arg2 ;
8698 PyObject * obj0 = 0 ;
8699 PyObject * obj1 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "self",(char *) "mode", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
8705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8706 {
8707 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8708 if (PyErr_Occurred()) SWIG_fail;
8709 }
8710 {
8711 PyThreadState* __tstate = wxPyBeginAllowThreads();
8712 (arg1)->SetEdgeMode(arg2);
8713
8714 wxPyEndAllowThreads(__tstate);
8715 if (PyErr_Occurred()) SWIG_fail;
8716 }
8717 Py_INCREF(Py_None); resultobj = Py_None;
8718 return resultobj;
8719 fail:
8720 return NULL;
8721 }
8722
8723
8724 static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8725 PyObject *resultobj;
8726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8727 wxColour result;
8728 PyObject * obj0 = 0 ;
8729 char *kwnames[] = {
8730 (char *) "self", NULL
8731 };
8732
8733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
8734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 result = (arg1)->GetEdgeColour();
8738
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 {
8743 wxColour * resultptr;
8744 resultptr = new wxColour((wxColour &) result);
8745 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
8746 }
8747 return resultobj;
8748 fail:
8749 return NULL;
8750 }
8751
8752
8753 static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8756 wxColour *arg2 = 0 ;
8757 wxColour temp2 ;
8758 PyObject * obj0 = 0 ;
8759 PyObject * obj1 = 0 ;
8760 char *kwnames[] = {
8761 (char *) "self",(char *) "edgeColour", NULL
8762 };
8763
8764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
8765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8766 {
8767 arg2 = &temp2;
8768 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8769 }
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 (arg1)->SetEdgeColour((wxColour const &)*arg2);
8773
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 Py_INCREF(Py_None); resultobj = Py_None;
8778 return resultobj;
8779 fail:
8780 return NULL;
8781 }
8782
8783
8784 static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
8785 PyObject *resultobj;
8786 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8787 PyObject * obj0 = 0 ;
8788 char *kwnames[] = {
8789 (char *) "self", NULL
8790 };
8791
8792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
8793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8794 {
8795 PyThreadState* __tstate = wxPyBeginAllowThreads();
8796 (arg1)->SearchAnchor();
8797
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 Py_INCREF(Py_None); resultobj = Py_None;
8802 return resultobj;
8803 fail:
8804 return NULL;
8805 }
8806
8807
8808 static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
8809 PyObject *resultobj;
8810 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8811 int arg2 ;
8812 wxString *arg3 = 0 ;
8813 int result;
8814 bool temp3 = False ;
8815 PyObject * obj0 = 0 ;
8816 PyObject * obj1 = 0 ;
8817 PyObject * obj2 = 0 ;
8818 char *kwnames[] = {
8819 (char *) "self",(char *) "flags",(char *) "text", NULL
8820 };
8821
8822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
8823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8824 {
8825 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 }
8828 {
8829 arg3 = wxString_in_helper(obj2);
8830 if (arg3 == NULL) SWIG_fail;
8831 temp3 = True;
8832 }
8833 {
8834 PyThreadState* __tstate = wxPyBeginAllowThreads();
8835 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
8836
8837 wxPyEndAllowThreads(__tstate);
8838 if (PyErr_Occurred()) SWIG_fail;
8839 }
8840 resultobj = SWIG_PyObj_FromInt((int)result);
8841 {
8842 if (temp3)
8843 delete arg3;
8844 }
8845 return resultobj;
8846 fail:
8847 {
8848 if (temp3)
8849 delete arg3;
8850 }
8851 return NULL;
8852 }
8853
8854
8855 static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
8856 PyObject *resultobj;
8857 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8858 int arg2 ;
8859 wxString *arg3 = 0 ;
8860 int result;
8861 bool temp3 = False ;
8862 PyObject * obj0 = 0 ;
8863 PyObject * obj1 = 0 ;
8864 PyObject * obj2 = 0 ;
8865 char *kwnames[] = {
8866 (char *) "self",(char *) "flags",(char *) "text", NULL
8867 };
8868
8869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
8870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8871 {
8872 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8873 if (PyErr_Occurred()) SWIG_fail;
8874 }
8875 {
8876 arg3 = wxString_in_helper(obj2);
8877 if (arg3 == NULL) SWIG_fail;
8878 temp3 = True;
8879 }
8880 {
8881 PyThreadState* __tstate = wxPyBeginAllowThreads();
8882 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
8883
8884 wxPyEndAllowThreads(__tstate);
8885 if (PyErr_Occurred()) SWIG_fail;
8886 }
8887 resultobj = SWIG_PyObj_FromInt((int)result);
8888 {
8889 if (temp3)
8890 delete arg3;
8891 }
8892 return resultobj;
8893 fail:
8894 {
8895 if (temp3)
8896 delete arg3;
8897 }
8898 return NULL;
8899 }
8900
8901
8902 static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
8903 PyObject *resultobj;
8904 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8905 int result;
8906 PyObject * obj0 = 0 ;
8907 char *kwnames[] = {
8908 (char *) "self", NULL
8909 };
8910
8911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
8912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 result = (int)(arg1)->LinesOnScreen();
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 resultobj = SWIG_PyObj_FromInt((int)result);
8921 return resultobj;
8922 fail:
8923 return NULL;
8924 }
8925
8926
8927 static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj;
8929 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8930 bool arg2 ;
8931 PyObject * obj0 = 0 ;
8932 PyObject * obj1 = 0 ;
8933 char *kwnames[] = {
8934 (char *) "self",(char *) "allowPopUp", NULL
8935 };
8936
8937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
8938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8939 {
8940 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 {
8944 PyThreadState* __tstate = wxPyBeginAllowThreads();
8945 (arg1)->UsePopUp(arg2);
8946
8947 wxPyEndAllowThreads(__tstate);
8948 if (PyErr_Occurred()) SWIG_fail;
8949 }
8950 Py_INCREF(Py_None); resultobj = Py_None;
8951 return resultobj;
8952 fail:
8953 return NULL;
8954 }
8955
8956
8957 static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8958 PyObject *resultobj;
8959 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8960 bool result;
8961 PyObject * obj0 = 0 ;
8962 char *kwnames[] = {
8963 (char *) "self", NULL
8964 };
8965
8966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
8967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
8970 result = (bool)(arg1)->SelectionIsRectangle();
8971
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8976 return resultobj;
8977 fail:
8978 return NULL;
8979 }
8980
8981
8982 static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
8983 PyObject *resultobj;
8984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8985 int arg2 ;
8986 PyObject * obj0 = 0 ;
8987 PyObject * obj1 = 0 ;
8988 char *kwnames[] = {
8989 (char *) "self",(char *) "zoom", NULL
8990 };
8991
8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
8993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8994 {
8995 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 {
8999 PyThreadState* __tstate = wxPyBeginAllowThreads();
9000 (arg1)->SetZoom(arg2);
9001
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 Py_INCREF(Py_None); resultobj = Py_None;
9006 return resultobj;
9007 fail:
9008 return NULL;
9009 }
9010
9011
9012 static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
9013 PyObject *resultobj;
9014 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9015 int result;
9016 PyObject * obj0 = 0 ;
9017 char *kwnames[] = {
9018 (char *) "self", NULL
9019 };
9020
9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
9022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 result = (int)(arg1)->GetZoom();
9026
9027 wxPyEndAllowThreads(__tstate);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 }
9030 resultobj = SWIG_PyObj_FromInt((int)result);
9031 return resultobj;
9032 fail:
9033 return NULL;
9034 }
9035
9036
9037 static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
9038 PyObject *resultobj;
9039 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9040 void *result;
9041 PyObject * obj0 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "self", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
9047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 result = (void *)(arg1)->CreateDocument();
9051
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
9056 return resultobj;
9057 fail:
9058 return NULL;
9059 }
9060
9061
9062 static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
9063 PyObject *resultobj;
9064 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9065 void *arg2 = (void *) 0 ;
9066 PyObject * obj0 = 0 ;
9067 PyObject * obj1 = 0 ;
9068 char *kwnames[] = {
9069 (char *) "self",(char *) "docPointer", NULL
9070 };
9071
9072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
9073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9075 {
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
9077 (arg1)->AddRefDocument(arg2);
9078
9079 wxPyEndAllowThreads(__tstate);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 }
9082 Py_INCREF(Py_None); resultobj = Py_None;
9083 return resultobj;
9084 fail:
9085 return NULL;
9086 }
9087
9088
9089 static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
9090 PyObject *resultobj;
9091 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9092 void *arg2 = (void *) 0 ;
9093 PyObject * obj0 = 0 ;
9094 PyObject * obj1 = 0 ;
9095 char *kwnames[] = {
9096 (char *) "self",(char *) "docPointer", NULL
9097 };
9098
9099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
9100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9102 {
9103 PyThreadState* __tstate = wxPyBeginAllowThreads();
9104 (arg1)->ReleaseDocument(arg2);
9105
9106 wxPyEndAllowThreads(__tstate);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 }
9109 Py_INCREF(Py_None); resultobj = Py_None;
9110 return resultobj;
9111 fail:
9112 return NULL;
9113 }
9114
9115
9116 static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9117 PyObject *resultobj;
9118 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9119 int result;
9120 PyObject * obj0 = 0 ;
9121 char *kwnames[] = {
9122 (char *) "self", NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
9126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 result = (int)(arg1)->GetModEventMask();
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 resultobj = SWIG_PyObj_FromInt((int)result);
9135 return resultobj;
9136 fail:
9137 return NULL;
9138 }
9139
9140
9141 static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
9142 PyObject *resultobj;
9143 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9144 bool arg2 ;
9145 PyObject * obj0 = 0 ;
9146 PyObject * obj1 = 0 ;
9147 char *kwnames[] = {
9148 (char *) "self",(char *) "focus", NULL
9149 };
9150
9151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
9152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9153 {
9154 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 {
9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
9159 (arg1)->SetSTCFocus(arg2);
9160
9161 wxPyEndAllowThreads(__tstate);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 }
9164 Py_INCREF(Py_None); resultobj = Py_None;
9165 return resultobj;
9166 fail:
9167 return NULL;
9168 }
9169
9170
9171 static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj;
9173 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9174 bool result;
9175 PyObject * obj0 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
9181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9182 {
9183 PyThreadState* __tstate = wxPyBeginAllowThreads();
9184 result = (bool)(arg1)->GetSTCFocus();
9185
9186 wxPyEndAllowThreads(__tstate);
9187 if (PyErr_Occurred()) SWIG_fail;
9188 }
9189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9190 return resultobj;
9191 fail:
9192 return NULL;
9193 }
9194
9195
9196 static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
9197 PyObject *resultobj;
9198 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9199 int arg2 ;
9200 PyObject * obj0 = 0 ;
9201 PyObject * obj1 = 0 ;
9202 char *kwnames[] = {
9203 (char *) "self",(char *) "statusCode", NULL
9204 };
9205
9206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
9207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9208 {
9209 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 }
9212 {
9213 PyThreadState* __tstate = wxPyBeginAllowThreads();
9214 (arg1)->SetStatus(arg2);
9215
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 Py_INCREF(Py_None); resultobj = Py_None;
9220 return resultobj;
9221 fail:
9222 return NULL;
9223 }
9224
9225
9226 static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
9227 PyObject *resultobj;
9228 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9229 int result;
9230 PyObject * obj0 = 0 ;
9231 char *kwnames[] = {
9232 (char *) "self", NULL
9233 };
9234
9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
9236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 result = (int)(arg1)->GetStatus();
9240
9241 wxPyEndAllowThreads(__tstate);
9242 if (PyErr_Occurred()) SWIG_fail;
9243 }
9244 resultobj = SWIG_PyObj_FromInt((int)result);
9245 return resultobj;
9246 fail:
9247 return NULL;
9248 }
9249
9250
9251 static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
9252 PyObject *resultobj;
9253 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9254 bool arg2 ;
9255 PyObject * obj0 = 0 ;
9256 PyObject * obj1 = 0 ;
9257 char *kwnames[] = {
9258 (char *) "self",(char *) "captures", NULL
9259 };
9260
9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
9262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9263 {
9264 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9265 if (PyErr_Occurred()) SWIG_fail;
9266 }
9267 {
9268 PyThreadState* __tstate = wxPyBeginAllowThreads();
9269 (arg1)->SetMouseDownCaptures(arg2);
9270
9271 wxPyEndAllowThreads(__tstate);
9272 if (PyErr_Occurred()) SWIG_fail;
9273 }
9274 Py_INCREF(Py_None); resultobj = Py_None;
9275 return resultobj;
9276 fail:
9277 return NULL;
9278 }
9279
9280
9281 static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
9282 PyObject *resultobj;
9283 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9284 bool result;
9285 PyObject * obj0 = 0 ;
9286 char *kwnames[] = {
9287 (char *) "self", NULL
9288 };
9289
9290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
9291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9292 {
9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
9294 result = (bool)(arg1)->GetMouseDownCaptures();
9295
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
9299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9300 return resultobj;
9301 fail:
9302 return NULL;
9303 }
9304
9305
9306 static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9307 PyObject *resultobj;
9308 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9309 int arg2 ;
9310 PyObject * obj0 = 0 ;
9311 PyObject * obj1 = 0 ;
9312 char *kwnames[] = {
9313 (char *) "self",(char *) "cursorType", NULL
9314 };
9315
9316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
9317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9318 {
9319 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 (arg1)->SetSTCCursor(arg2);
9325
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 Py_INCREF(Py_None); resultobj = Py_None;
9330 return resultobj;
9331 fail:
9332 return NULL;
9333 }
9334
9335
9336 static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9337 PyObject *resultobj;
9338 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9339 int result;
9340 PyObject * obj0 = 0 ;
9341 char *kwnames[] = {
9342 (char *) "self", NULL
9343 };
9344
9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
9346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9347 {
9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
9349 result = (int)(arg1)->GetSTCCursor();
9350
9351 wxPyEndAllowThreads(__tstate);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
9354 resultobj = SWIG_PyObj_FromInt((int)result);
9355 return resultobj;
9356 fail:
9357 return NULL;
9358 }
9359
9360
9361 static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
9362 PyObject *resultobj;
9363 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9364 int arg2 ;
9365 PyObject * obj0 = 0 ;
9366 PyObject * obj1 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "self",(char *) "symbol", NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
9372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9373 {
9374 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
9377 {
9378 PyThreadState* __tstate = wxPyBeginAllowThreads();
9379 (arg1)->SetControlCharSymbol(arg2);
9380
9381 wxPyEndAllowThreads(__tstate);
9382 if (PyErr_Occurred()) SWIG_fail;
9383 }
9384 Py_INCREF(Py_None); resultobj = Py_None;
9385 return resultobj;
9386 fail:
9387 return NULL;
9388 }
9389
9390
9391 static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
9392 PyObject *resultobj;
9393 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9394 int result;
9395 PyObject * obj0 = 0 ;
9396 char *kwnames[] = {
9397 (char *) "self", NULL
9398 };
9399
9400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
9401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
9404 result = (int)(arg1)->GetControlCharSymbol();
9405
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
9409 resultobj = SWIG_PyObj_FromInt((int)result);
9410 return resultobj;
9411 fail:
9412 return NULL;
9413 }
9414
9415
9416 static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9417 PyObject *resultobj;
9418 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9419 PyObject * obj0 = 0 ;
9420 char *kwnames[] = {
9421 (char *) "self", NULL
9422 };
9423
9424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
9425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9426 {
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 (arg1)->WordPartLeft();
9429
9430 wxPyEndAllowThreads(__tstate);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
9433 Py_INCREF(Py_None); resultobj = Py_None;
9434 return resultobj;
9435 fail:
9436 return NULL;
9437 }
9438
9439
9440 static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9441 PyObject *resultobj;
9442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9443 PyObject * obj0 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "self", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
9449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 (arg1)->WordPartLeftExtend();
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 Py_INCREF(Py_None); resultobj = Py_None;
9458 return resultobj;
9459 fail:
9460 return NULL;
9461 }
9462
9463
9464 static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9467 PyObject * obj0 = 0 ;
9468 char *kwnames[] = {
9469 (char *) "self", NULL
9470 };
9471
9472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
9473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9474 {
9475 PyThreadState* __tstate = wxPyBeginAllowThreads();
9476 (arg1)->WordPartRight();
9477
9478 wxPyEndAllowThreads(__tstate);
9479 if (PyErr_Occurred()) SWIG_fail;
9480 }
9481 Py_INCREF(Py_None); resultobj = Py_None;
9482 return resultobj;
9483 fail:
9484 return NULL;
9485 }
9486
9487
9488 static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9489 PyObject *resultobj;
9490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9491 PyObject * obj0 = 0 ;
9492 char *kwnames[] = {
9493 (char *) "self", NULL
9494 };
9495
9496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
9497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9498 {
9499 PyThreadState* __tstate = wxPyBeginAllowThreads();
9500 (arg1)->WordPartRightExtend();
9501
9502 wxPyEndAllowThreads(__tstate);
9503 if (PyErr_Occurred()) SWIG_fail;
9504 }
9505 Py_INCREF(Py_None); resultobj = Py_None;
9506 return resultobj;
9507 fail:
9508 return NULL;
9509 }
9510
9511
9512 static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
9513 PyObject *resultobj;
9514 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9515 int arg2 ;
9516 int arg3 ;
9517 PyObject * obj0 = 0 ;
9518 PyObject * obj1 = 0 ;
9519 PyObject * obj2 = 0 ;
9520 char *kwnames[] = {
9521 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
9522 };
9523
9524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9526 {
9527 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9528 if (PyErr_Occurred()) SWIG_fail;
9529 }
9530 {
9531 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9532 if (PyErr_Occurred()) SWIG_fail;
9533 }
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 (arg1)->SetVisiblePolicy(arg2,arg3);
9537
9538 wxPyEndAllowThreads(__tstate);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 Py_INCREF(Py_None); resultobj = Py_None;
9542 return resultobj;
9543 fail:
9544 return NULL;
9545 }
9546
9547
9548 static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9549 PyObject *resultobj;
9550 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9551 PyObject * obj0 = 0 ;
9552 char *kwnames[] = {
9553 (char *) "self", NULL
9554 };
9555
9556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
9557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9558 {
9559 PyThreadState* __tstate = wxPyBeginAllowThreads();
9560 (arg1)->DelLineLeft();
9561
9562 wxPyEndAllowThreads(__tstate);
9563 if (PyErr_Occurred()) SWIG_fail;
9564 }
9565 Py_INCREF(Py_None); resultobj = Py_None;
9566 return resultobj;
9567 fail:
9568 return NULL;
9569 }
9570
9571
9572 static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9573 PyObject *resultobj;
9574 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9575 PyObject * obj0 = 0 ;
9576 char *kwnames[] = {
9577 (char *) "self", NULL
9578 };
9579
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
9581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9582 {
9583 PyThreadState* __tstate = wxPyBeginAllowThreads();
9584 (arg1)->DelLineRight();
9585
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 Py_INCREF(Py_None); resultobj = Py_None;
9590 return resultobj;
9591 fail:
9592 return NULL;
9593 }
9594
9595
9596 static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
9597 PyObject *resultobj;
9598 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9599 int arg2 ;
9600 PyObject * obj0 = 0 ;
9601 PyObject * obj1 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "self",(char *) "newOffset", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
9607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9608 {
9609 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9610 if (PyErr_Occurred()) SWIG_fail;
9611 }
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 (arg1)->SetXOffset(arg2);
9615
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 Py_INCREF(Py_None); resultobj = Py_None;
9620 return resultobj;
9621 fail:
9622 return NULL;
9623 }
9624
9625
9626 static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
9627 PyObject *resultobj;
9628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9629 int result;
9630 PyObject * obj0 = 0 ;
9631 char *kwnames[] = {
9632 (char *) "self", NULL
9633 };
9634
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
9636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9637 {
9638 PyThreadState* __tstate = wxPyBeginAllowThreads();
9639 result = (int)(arg1)->GetXOffset();
9640
9641 wxPyEndAllowThreads(__tstate);
9642 if (PyErr_Occurred()) SWIG_fail;
9643 }
9644 resultobj = SWIG_PyObj_FromInt((int)result);
9645 return resultobj;
9646 fail:
9647 return NULL;
9648 }
9649
9650
9651 static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
9652 PyObject *resultobj;
9653 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9654 PyObject * obj0 = 0 ;
9655 char *kwnames[] = {
9656 (char *) "self", NULL
9657 };
9658
9659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
9660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 (arg1)->ChooseCaretX();
9664
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 Py_INCREF(Py_None); resultobj = Py_None;
9669 return resultobj;
9670 fail:
9671 return NULL;
9672 }
9673
9674
9675 static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
9676 PyObject *resultobj;
9677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9678 int arg2 ;
9679 int arg3 ;
9680 PyObject * obj0 = 0 ;
9681 PyObject * obj1 = 0 ;
9682 PyObject * obj2 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9689 {
9690 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 {
9694 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 }
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 (arg1)->SetXCaretPolicy(arg2,arg3);
9700
9701 wxPyEndAllowThreads(__tstate);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 Py_INCREF(Py_None); resultobj = Py_None;
9705 return resultobj;
9706 fail:
9707 return NULL;
9708 }
9709
9710
9711 static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9714 int arg2 ;
9715 int arg3 ;
9716 PyObject * obj0 = 0 ;
9717 PyObject * obj1 = 0 ;
9718 PyObject * obj2 = 0 ;
9719 char *kwnames[] = {
9720 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
9721 };
9722
9723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9725 {
9726 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 {
9730 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9731 if (PyErr_Occurred()) SWIG_fail;
9732 }
9733 {
9734 PyThreadState* __tstate = wxPyBeginAllowThreads();
9735 (arg1)->SetYCaretPolicy(arg2,arg3);
9736
9737 wxPyEndAllowThreads(__tstate);
9738 if (PyErr_Occurred()) SWIG_fail;
9739 }
9740 Py_INCREF(Py_None); resultobj = Py_None;
9741 return resultobj;
9742 fail:
9743 return NULL;
9744 }
9745
9746
9747 static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9748 PyObject *resultobj;
9749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9750 int arg2 ;
9751 PyObject * obj0 = 0 ;
9752 PyObject * obj1 = 0 ;
9753 char *kwnames[] = {
9754 (char *) "self",(char *) "mode", NULL
9755 };
9756
9757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
9758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9759 {
9760 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 {
9764 PyThreadState* __tstate = wxPyBeginAllowThreads();
9765 (arg1)->SetPrintWrapMode(arg2);
9766
9767 wxPyEndAllowThreads(__tstate);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 }
9770 Py_INCREF(Py_None); resultobj = Py_None;
9771 return resultobj;
9772 fail:
9773 return NULL;
9774 }
9775
9776
9777 static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9778 PyObject *resultobj;
9779 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9780 int result;
9781 PyObject * obj0 = 0 ;
9782 char *kwnames[] = {
9783 (char *) "self", NULL
9784 };
9785
9786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
9787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 result = (int)(arg1)->GetPrintWrapMode();
9791
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 }
9795 resultobj = SWIG_PyObj_FromInt((int)result);
9796 return resultobj;
9797 fail:
9798 return NULL;
9799 }
9800
9801
9802 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
9803 PyObject *resultobj;
9804 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9805 bool arg2 ;
9806 wxColour *arg3 = 0 ;
9807 wxColour temp3 ;
9808 PyObject * obj0 = 0 ;
9809 PyObject * obj1 = 0 ;
9810 PyObject * obj2 = 0 ;
9811 char *kwnames[] = {
9812 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
9813 };
9814
9815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
9816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9817 {
9818 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9819 if (PyErr_Occurred()) SWIG_fail;
9820 }
9821 {
9822 arg3 = &temp3;
9823 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9824 }
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 Py_INCREF(Py_None); resultobj = Py_None;
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj;
9841 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9842 bool arg2 ;
9843 wxColour *arg3 = 0 ;
9844 wxColour temp3 ;
9845 PyObject * obj0 = 0 ;
9846 PyObject * obj1 = 0 ;
9847 PyObject * obj2 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self",(char *) "useSetting",(char *) "back", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
9853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9854 {
9855 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 {
9859 arg3 = &temp3;
9860 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9861 }
9862 {
9863 PyThreadState* __tstate = wxPyBeginAllowThreads();
9864 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
9865
9866 wxPyEndAllowThreads(__tstate);
9867 if (PyErr_Occurred()) SWIG_fail;
9868 }
9869 Py_INCREF(Py_None); resultobj = Py_None;
9870 return resultobj;
9871 fail:
9872 return NULL;
9873 }
9874
9875
9876 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
9877 PyObject *resultobj;
9878 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9879 bool arg2 ;
9880 PyObject * obj0 = 0 ;
9881 PyObject * obj1 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self",(char *) "underline", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9888 {
9889 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 {
9893 PyThreadState* __tstate = wxPyBeginAllowThreads();
9894 (arg1)->SetHotspotActiveUnderline(arg2);
9895
9896 wxPyEndAllowThreads(__tstate);
9897 if (PyErr_Occurred()) SWIG_fail;
9898 }
9899 Py_INCREF(Py_None); resultobj = Py_None;
9900 return resultobj;
9901 fail:
9902 return NULL;
9903 }
9904
9905
9906 static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
9907 PyObject *resultobj;
9908 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9909 int arg2 ;
9910 int result;
9911 PyObject * obj0 = 0 ;
9912 PyObject * obj1 = 0 ;
9913 char *kwnames[] = {
9914 (char *) "self",(char *) "pos", NULL
9915 };
9916
9917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
9918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9919 {
9920 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 }
9923 {
9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
9925 result = (int)(arg1)->PositionBefore(arg2);
9926
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
9930 resultobj = SWIG_PyObj_FromInt((int)result);
9931 return resultobj;
9932 fail:
9933 return NULL;
9934 }
9935
9936
9937 static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) {
9938 PyObject *resultobj;
9939 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9940 int arg2 ;
9941 int result;
9942 PyObject * obj0 = 0 ;
9943 PyObject * obj1 = 0 ;
9944 char *kwnames[] = {
9945 (char *) "self",(char *) "pos", NULL
9946 };
9947
9948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
9949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9950 {
9951 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 {
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 result = (int)(arg1)->PositionAfter(arg2);
9957
9958 wxPyEndAllowThreads(__tstate);
9959 if (PyErr_Occurred()) SWIG_fail;
9960 }
9961 resultobj = SWIG_PyObj_FromInt((int)result);
9962 return resultobj;
9963 fail:
9964 return NULL;
9965 }
9966
9967
9968 static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9969 PyObject *resultobj;
9970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9971 int arg2 ;
9972 int arg3 ;
9973 PyObject * obj0 = 0 ;
9974 PyObject * obj1 = 0 ;
9975 PyObject * obj2 = 0 ;
9976 char *kwnames[] = {
9977 (char *) "self",(char *) "start",(char *) "end", NULL
9978 };
9979
9980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9982 {
9983 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9984 if (PyErr_Occurred()) SWIG_fail;
9985 }
9986 {
9987 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9988 if (PyErr_Occurred()) SWIG_fail;
9989 }
9990 {
9991 PyThreadState* __tstate = wxPyBeginAllowThreads();
9992 (arg1)->CopyRange(arg2,arg3);
9993
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 Py_INCREF(Py_None); resultobj = Py_None;
9998 return resultobj;
9999 fail:
10000 return NULL;
10001 }
10002
10003
10004 static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj;
10006 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10007 int arg2 ;
10008 wxString *arg3 = 0 ;
10009 bool temp3 = False ;
10010 PyObject * obj0 = 0 ;
10011 PyObject * obj1 = 0 ;
10012 PyObject * obj2 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "self",(char *) "length",(char *) "text", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10019 {
10020 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10021 if (PyErr_Occurred()) SWIG_fail;
10022 }
10023 {
10024 arg3 = wxString_in_helper(obj2);
10025 if (arg3 == NULL) SWIG_fail;
10026 temp3 = True;
10027 }
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 (arg1)->CopyText(arg2,(wxString const &)*arg3);
10031
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 Py_INCREF(Py_None); resultobj = Py_None;
10036 {
10037 if (temp3)
10038 delete arg3;
10039 }
10040 return resultobj;
10041 fail:
10042 {
10043 if (temp3)
10044 delete arg3;
10045 }
10046 return NULL;
10047 }
10048
10049
10050 static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
10051 PyObject *resultobj;
10052 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10053 PyObject * obj0 = 0 ;
10054 char *kwnames[] = {
10055 (char *) "self", NULL
10056 };
10057
10058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
10059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10060 {
10061 PyThreadState* __tstate = wxPyBeginAllowThreads();
10062 (arg1)->StartRecord();
10063
10064 wxPyEndAllowThreads(__tstate);
10065 if (PyErr_Occurred()) SWIG_fail;
10066 }
10067 Py_INCREF(Py_None); resultobj = Py_None;
10068 return resultobj;
10069 fail:
10070 return NULL;
10071 }
10072
10073
10074 static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
10075 PyObject *resultobj;
10076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10077 PyObject * obj0 = 0 ;
10078 char *kwnames[] = {
10079 (char *) "self", NULL
10080 };
10081
10082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
10083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10084 {
10085 PyThreadState* __tstate = wxPyBeginAllowThreads();
10086 (arg1)->StopRecord();
10087
10088 wxPyEndAllowThreads(__tstate);
10089 if (PyErr_Occurred()) SWIG_fail;
10090 }
10091 Py_INCREF(Py_None); resultobj = Py_None;
10092 return resultobj;
10093 fail:
10094 return NULL;
10095 }
10096
10097
10098 static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
10099 PyObject *resultobj;
10100 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10101 int arg2 ;
10102 PyObject * obj0 = 0 ;
10103 PyObject * obj1 = 0 ;
10104 char *kwnames[] = {
10105 (char *) "self",(char *) "lexer", NULL
10106 };
10107
10108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
10109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10110 {
10111 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 {
10115 PyThreadState* __tstate = wxPyBeginAllowThreads();
10116 (arg1)->SetLexer(arg2);
10117
10118 wxPyEndAllowThreads(__tstate);
10119 if (PyErr_Occurred()) SWIG_fail;
10120 }
10121 Py_INCREF(Py_None); resultobj = Py_None;
10122 return resultobj;
10123 fail:
10124 return NULL;
10125 }
10126
10127
10128 static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
10129 PyObject *resultobj;
10130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10131 int result;
10132 PyObject * obj0 = 0 ;
10133 char *kwnames[] = {
10134 (char *) "self", NULL
10135 };
10136
10137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
10138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10139 {
10140 PyThreadState* __tstate = wxPyBeginAllowThreads();
10141 result = (int)(arg1)->GetLexer();
10142
10143 wxPyEndAllowThreads(__tstate);
10144 if (PyErr_Occurred()) SWIG_fail;
10145 }
10146 resultobj = SWIG_PyObj_FromInt((int)result);
10147 return resultobj;
10148 fail:
10149 return NULL;
10150 }
10151
10152
10153 static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
10154 PyObject *resultobj;
10155 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10156 int arg2 ;
10157 int arg3 ;
10158 PyObject * obj0 = 0 ;
10159 PyObject * obj1 = 0 ;
10160 PyObject * obj2 = 0 ;
10161 char *kwnames[] = {
10162 (char *) "self",(char *) "start",(char *) "end", NULL
10163 };
10164
10165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
10166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10167 {
10168 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
10171 {
10172 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10173 if (PyErr_Occurred()) SWIG_fail;
10174 }
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 (arg1)->Colourise(arg2,arg3);
10178
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 Py_INCREF(Py_None); resultobj = Py_None;
10183 return resultobj;
10184 fail:
10185 return NULL;
10186 }
10187
10188
10189 static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
10190 PyObject *resultobj;
10191 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10192 wxString *arg2 = 0 ;
10193 wxString *arg3 = 0 ;
10194 bool temp2 = False ;
10195 bool temp3 = False ;
10196 PyObject * obj0 = 0 ;
10197 PyObject * obj1 = 0 ;
10198 PyObject * obj2 = 0 ;
10199 char *kwnames[] = {
10200 (char *) "self",(char *) "key",(char *) "value", NULL
10201 };
10202
10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
10204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10205 {
10206 arg2 = wxString_in_helper(obj1);
10207 if (arg2 == NULL) SWIG_fail;
10208 temp2 = True;
10209 }
10210 {
10211 arg3 = wxString_in_helper(obj2);
10212 if (arg3 == NULL) SWIG_fail;
10213 temp3 = True;
10214 }
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
10218
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 Py_INCREF(Py_None); resultobj = Py_None;
10223 {
10224 if (temp2)
10225 delete arg2;
10226 }
10227 {
10228 if (temp3)
10229 delete arg3;
10230 }
10231 return resultobj;
10232 fail:
10233 {
10234 if (temp2)
10235 delete arg2;
10236 }
10237 {
10238 if (temp3)
10239 delete arg3;
10240 }
10241 return NULL;
10242 }
10243
10244
10245 static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10248 int arg2 ;
10249 wxString *arg3 = 0 ;
10250 bool temp3 = False ;
10251 PyObject * obj0 = 0 ;
10252 PyObject * obj1 = 0 ;
10253 PyObject * obj2 = 0 ;
10254 char *kwnames[] = {
10255 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
10256 };
10257
10258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
10259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10260 {
10261 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 {
10265 arg3 = wxString_in_helper(obj2);
10266 if (arg3 == NULL) SWIG_fail;
10267 temp3 = True;
10268 }
10269 {
10270 PyThreadState* __tstate = wxPyBeginAllowThreads();
10271 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
10272
10273 wxPyEndAllowThreads(__tstate);
10274 if (PyErr_Occurred()) SWIG_fail;
10275 }
10276 Py_INCREF(Py_None); resultobj = Py_None;
10277 {
10278 if (temp3)
10279 delete arg3;
10280 }
10281 return resultobj;
10282 fail:
10283 {
10284 if (temp3)
10285 delete arg3;
10286 }
10287 return NULL;
10288 }
10289
10290
10291 static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
10292 PyObject *resultobj;
10293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10294 wxString *arg2 = 0 ;
10295 bool temp2 = False ;
10296 PyObject * obj0 = 0 ;
10297 PyObject * obj1 = 0 ;
10298 char *kwnames[] = {
10299 (char *) "self",(char *) "language", NULL
10300 };
10301
10302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
10303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10304 {
10305 arg2 = wxString_in_helper(obj1);
10306 if (arg2 == NULL) SWIG_fail;
10307 temp2 = True;
10308 }
10309 {
10310 PyThreadState* __tstate = wxPyBeginAllowThreads();
10311 (arg1)->SetLexerLanguage((wxString const &)*arg2);
10312
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 Py_INCREF(Py_None); resultobj = Py_None;
10317 {
10318 if (temp2)
10319 delete arg2;
10320 }
10321 return resultobj;
10322 fail:
10323 {
10324 if (temp2)
10325 delete arg2;
10326 }
10327 return NULL;
10328 }
10329
10330
10331 static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10332 PyObject *resultobj;
10333 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10334 int result;
10335 PyObject * obj0 = 0 ;
10336 char *kwnames[] = {
10337 (char *) "self", NULL
10338 };
10339
10340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
10341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10342 {
10343 PyThreadState* __tstate = wxPyBeginAllowThreads();
10344 result = (int)(arg1)->GetCurrentLine();
10345
10346 wxPyEndAllowThreads(__tstate);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 }
10349 resultobj = SWIG_PyObj_FromInt((int)result);
10350 return resultobj;
10351 fail:
10352 return NULL;
10353 }
10354
10355
10356 static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
10357 PyObject *resultobj;
10358 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10359 int arg2 ;
10360 wxString *arg3 = 0 ;
10361 bool temp3 = False ;
10362 PyObject * obj0 = 0 ;
10363 PyObject * obj1 = 0 ;
10364 PyObject * obj2 = 0 ;
10365 char *kwnames[] = {
10366 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
10367 };
10368
10369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
10370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10371 {
10372 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10373 if (PyErr_Occurred()) SWIG_fail;
10374 }
10375 {
10376 arg3 = wxString_in_helper(obj2);
10377 if (arg3 == NULL) SWIG_fail;
10378 temp3 = True;
10379 }
10380 {
10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
10382 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
10383
10384 wxPyEndAllowThreads(__tstate);
10385 if (PyErr_Occurred()) SWIG_fail;
10386 }
10387 Py_INCREF(Py_None); resultobj = Py_None;
10388 {
10389 if (temp3)
10390 delete arg3;
10391 }
10392 return resultobj;
10393 fail:
10394 {
10395 if (temp3)
10396 delete arg3;
10397 }
10398 return NULL;
10399 }
10400
10401
10402 static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10403 PyObject *resultobj;
10404 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10405 int arg2 ;
10406 wxFont *arg3 = 0 ;
10407 PyObject * obj0 = 0 ;
10408 PyObject * obj1 = 0 ;
10409 PyObject * obj2 = 0 ;
10410 char *kwnames[] = {
10411 (char *) "self",(char *) "styleNum",(char *) "font", NULL
10412 };
10413
10414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
10415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10416 {
10417 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 }
10420 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10421 if (arg3 == NULL) {
10422 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10423 }
10424 {
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 (arg1)->StyleSetFont(arg2,*arg3);
10427
10428 wxPyEndAllowThreads(__tstate);
10429 if (PyErr_Occurred()) SWIG_fail;
10430 }
10431 Py_INCREF(Py_None); resultobj = Py_None;
10432 return resultobj;
10433 fail:
10434 return NULL;
10435 }
10436
10437
10438 static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10439 PyObject *resultobj;
10440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10441 int arg2 ;
10442 int arg3 ;
10443 wxString *arg4 = 0 ;
10444 bool arg5 ;
10445 bool arg6 ;
10446 bool arg7 ;
10447 bool temp4 = False ;
10448 PyObject * obj0 = 0 ;
10449 PyObject * obj1 = 0 ;
10450 PyObject * obj2 = 0 ;
10451 PyObject * obj3 = 0 ;
10452 PyObject * obj4 = 0 ;
10453 PyObject * obj5 = 0 ;
10454 PyObject * obj6 = 0 ;
10455 char *kwnames[] = {
10456 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
10457 };
10458
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10461 {
10462 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10463 if (PyErr_Occurred()) SWIG_fail;
10464 }
10465 {
10466 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10467 if (PyErr_Occurred()) SWIG_fail;
10468 }
10469 {
10470 arg4 = wxString_in_helper(obj3);
10471 if (arg4 == NULL) SWIG_fail;
10472 temp4 = True;
10473 }
10474 {
10475 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
10476 if (PyErr_Occurred()) SWIG_fail;
10477 }
10478 {
10479 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
10480 if (PyErr_Occurred()) SWIG_fail;
10481 }
10482 {
10483 arg7 = (bool) SWIG_PyObj_AsBool(obj6);
10484 if (PyErr_Occurred()) SWIG_fail;
10485 }
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
10489
10490 wxPyEndAllowThreads(__tstate);
10491 if (PyErr_Occurred()) SWIG_fail;
10492 }
10493 Py_INCREF(Py_None); resultobj = Py_None;
10494 {
10495 if (temp4)
10496 delete arg4;
10497 }
10498 return resultobj;
10499 fail:
10500 {
10501 if (temp4)
10502 delete arg4;
10503 }
10504 return NULL;
10505 }
10506
10507
10508 static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
10509 PyObject *resultobj;
10510 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10511 int arg2 ;
10512 PyObject * obj0 = 0 ;
10513 PyObject * obj1 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "self",(char *) "cmd", NULL
10516 };
10517
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
10519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10520 {
10521 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 (arg1)->CmdKeyExecute(arg2);
10527
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 Py_INCREF(Py_None); resultobj = Py_None;
10532 return resultobj;
10533 fail:
10534 return NULL;
10535 }
10536
10537
10538 static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10539 PyObject *resultobj;
10540 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10541 int arg2 ;
10542 int arg3 ;
10543 PyObject * obj0 = 0 ;
10544 PyObject * obj1 = 0 ;
10545 PyObject * obj2 = 0 ;
10546 char *kwnames[] = {
10547 (char *) "self",(char *) "left",(char *) "right", NULL
10548 };
10549
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
10551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10552 {
10553 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 {
10557 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 }
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 (arg1)->SetMargins(arg2,arg3);
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 Py_INCREF(Py_None); resultobj = Py_None;
10568 return resultobj;
10569 fail:
10570 return NULL;
10571 }
10572
10573
10574 static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10575 PyObject *resultobj;
10576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10577 int *arg2 = (int *) 0 ;
10578 int *arg3 = (int *) 0 ;
10579 int temp2 ;
10580 int temp3 ;
10581 PyObject * obj0 = 0 ;
10582 char *kwnames[] = {
10583 (char *) "self", NULL
10584 };
10585
10586 arg2 = &temp2;
10587 arg3 = &temp3;
10588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 (arg1)->GetSelection(arg2,arg3);
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 Py_INCREF(Py_None); resultobj = Py_None;
10598 {
10599 PyObject *o = PyInt_FromLong((long) (*arg2));
10600 resultobj = t_output_helper(resultobj,o);
10601 }
10602 {
10603 PyObject *o = PyInt_FromLong((long) (*arg3));
10604 resultobj = t_output_helper(resultobj,o);
10605 }
10606 return resultobj;
10607 fail:
10608 return NULL;
10609 }
10610
10611
10612 static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10613 PyObject *resultobj;
10614 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10615 int arg2 ;
10616 wxPoint result;
10617 PyObject * obj0 = 0 ;
10618 PyObject * obj1 = 0 ;
10619 char *kwnames[] = {
10620 (char *) "self",(char *) "pos", NULL
10621 };
10622
10623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
10624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10625 {
10626 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10627 if (PyErr_Occurred()) SWIG_fail;
10628 }
10629 {
10630 PyThreadState* __tstate = wxPyBeginAllowThreads();
10631 result = (arg1)->PointFromPosition(arg2);
10632
10633 wxPyEndAllowThreads(__tstate);
10634 if (PyErr_Occurred()) SWIG_fail;
10635 }
10636 {
10637 wxPoint * resultptr;
10638 resultptr = new wxPoint((wxPoint &) result);
10639 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
10640 }
10641 return resultobj;
10642 fail:
10643 return NULL;
10644 }
10645
10646
10647 static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10648 PyObject *resultobj;
10649 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10650 int arg2 ;
10651 PyObject * obj0 = 0 ;
10652 PyObject * obj1 = 0 ;
10653 char *kwnames[] = {
10654 (char *) "self",(char *) "line", NULL
10655 };
10656
10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
10658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10659 {
10660 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 }
10663 {
10664 PyThreadState* __tstate = wxPyBeginAllowThreads();
10665 (arg1)->ScrollToLine(arg2);
10666
10667 wxPyEndAllowThreads(__tstate);
10668 if (PyErr_Occurred()) SWIG_fail;
10669 }
10670 Py_INCREF(Py_None); resultobj = Py_None;
10671 return resultobj;
10672 fail:
10673 return NULL;
10674 }
10675
10676
10677 static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10678 PyObject *resultobj;
10679 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10680 int arg2 ;
10681 PyObject * obj0 = 0 ;
10682 PyObject * obj1 = 0 ;
10683 char *kwnames[] = {
10684 (char *) "self",(char *) "column", NULL
10685 };
10686
10687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
10688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10689 {
10690 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 {
10694 PyThreadState* __tstate = wxPyBeginAllowThreads();
10695 (arg1)->ScrollToColumn(arg2);
10696
10697 wxPyEndAllowThreads(__tstate);
10698 if (PyErr_Occurred()) SWIG_fail;
10699 }
10700 Py_INCREF(Py_None); resultobj = Py_None;
10701 return resultobj;
10702 fail:
10703 return NULL;
10704 }
10705
10706
10707 static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
10708 PyObject *resultobj;
10709 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10710 int arg2 ;
10711 long arg3 = (long) 0 ;
10712 long arg4 = (long) 0 ;
10713 long result;
10714 PyObject * obj0 = 0 ;
10715 PyObject * obj1 = 0 ;
10716 PyObject * obj2 = 0 ;
10717 PyObject * obj3 = 0 ;
10718 char *kwnames[] = {
10719 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10724 {
10725 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 if (obj2) {
10729 {
10730 arg3 = (long) SWIG_PyObj_AsLong(obj2);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
10733 }
10734 if (obj3) {
10735 {
10736 arg4 = (long) SWIG_PyObj_AsLong(obj3);
10737 if (PyErr_Occurred()) SWIG_fail;
10738 }
10739 }
10740 {
10741 PyThreadState* __tstate = wxPyBeginAllowThreads();
10742 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
10743
10744 wxPyEndAllowThreads(__tstate);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 resultobj = SWIG_PyObj_FromLong((long)result);
10748 return resultobj;
10749 fail:
10750 return NULL;
10751 }
10752
10753
10754 static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10755 PyObject *resultobj;
10756 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10757 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
10758 PyObject * obj0 = 0 ;
10759 PyObject * obj1 = 0 ;
10760 char *kwnames[] = {
10761 (char *) "self",(char *) "bar", NULL
10762 };
10763
10764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
10765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10767 {
10768 PyThreadState* __tstate = wxPyBeginAllowThreads();
10769 (arg1)->SetVScrollBar(arg2);
10770
10771 wxPyEndAllowThreads(__tstate);
10772 if (PyErr_Occurred()) SWIG_fail;
10773 }
10774 Py_INCREF(Py_None); resultobj = Py_None;
10775 return resultobj;
10776 fail:
10777 return NULL;
10778 }
10779
10780
10781 static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10782 PyObject *resultobj;
10783 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10784 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
10785 PyObject * obj0 = 0 ;
10786 PyObject * obj1 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self",(char *) "bar", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
10792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10793 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 (arg1)->SetHScrollBar(arg2);
10797
10798 wxPyEndAllowThreads(__tstate);
10799 if (PyErr_Occurred()) SWIG_fail;
10800 }
10801 Py_INCREF(Py_None); resultobj = Py_None;
10802 return resultobj;
10803 fail:
10804 return NULL;
10805 }
10806
10807
10808 static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
10809 PyObject *resultobj;
10810 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10811 bool result;
10812 PyObject * obj0 = 0 ;
10813 char *kwnames[] = {
10814 (char *) "self", NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
10818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 result = (bool)(arg1)->GetLastKeydownProcessed();
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10827 return resultobj;
10828 fail:
10829 return NULL;
10830 }
10831
10832
10833 static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
10834 PyObject *resultobj;
10835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10836 bool arg2 ;
10837 PyObject * obj0 = 0 ;
10838 PyObject * obj1 = 0 ;
10839 char *kwnames[] = {
10840 (char *) "self",(char *) "val", NULL
10841 };
10842
10843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
10844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10845 {
10846 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 {
10850 PyThreadState* __tstate = wxPyBeginAllowThreads();
10851 (arg1)->SetLastKeydownProcessed(arg2);
10852
10853 wxPyEndAllowThreads(__tstate);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 }
10856 Py_INCREF(Py_None); resultobj = Py_None;
10857 return resultobj;
10858 fail:
10859 return NULL;
10860 }
10861
10862
10863 static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10864 PyObject *resultobj;
10865 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10866 wxString *arg2 = 0 ;
10867 bool result;
10868 bool temp2 = False ;
10869 PyObject * obj0 = 0 ;
10870 PyObject * obj1 = 0 ;
10871 char *kwnames[] = {
10872 (char *) "self",(char *) "filename", NULL
10873 };
10874
10875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
10876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10877 {
10878 arg2 = wxString_in_helper(obj1);
10879 if (arg2 == NULL) SWIG_fail;
10880 temp2 = True;
10881 }
10882 {
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
10885
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10890 {
10891 if (temp2)
10892 delete arg2;
10893 }
10894 return resultobj;
10895 fail:
10896 {
10897 if (temp2)
10898 delete arg2;
10899 }
10900 return NULL;
10901 }
10902
10903
10904 static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
10905 PyObject *resultobj;
10906 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10907 wxString *arg2 = 0 ;
10908 bool result;
10909 bool temp2 = False ;
10910 PyObject * obj0 = 0 ;
10911 PyObject * obj1 = 0 ;
10912 char *kwnames[] = {
10913 (char *) "self",(char *) "filename", NULL
10914 };
10915
10916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
10917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10918 {
10919 arg2 = wxString_in_helper(obj1);
10920 if (arg2 == NULL) SWIG_fail;
10921 temp2 = True;
10922 }
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
10926
10927 wxPyEndAllowThreads(__tstate);
10928 if (PyErr_Occurred()) SWIG_fail;
10929 }
10930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10931 {
10932 if (temp2)
10933 delete arg2;
10934 }
10935 return resultobj;
10936 fail:
10937 {
10938 if (temp2)
10939 delete arg2;
10940 }
10941 return NULL;
10942 }
10943
10944
10945 static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
10946 PyObject *resultobj;
10947 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10948 int arg2 ;
10949 int arg3 ;
10950 wxDragResult arg4 ;
10951 wxDragResult result;
10952 wxDragResult *argp4 ;
10953 PyObject * obj0 = 0 ;
10954 PyObject * obj1 = 0 ;
10955 PyObject * obj2 = 0 ;
10956 PyObject * obj3 = 0 ;
10957 char *kwnames[] = {
10958 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
10959 };
10960
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10963 {
10964 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 {
10968 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10969 if (PyErr_Occurred()) SWIG_fail;
10970 }
10971 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
10972 arg4 = *argp4;
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 result = (arg1)->DoDragOver(arg2,arg3,arg4);
10976
10977 wxPyEndAllowThreads(__tstate);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 }
10980 {
10981 wxDragResult * resultptr;
10982 resultptr = new wxDragResult((wxDragResult &) result);
10983 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1);
10984 }
10985 return resultobj;
10986 fail:
10987 return NULL;
10988 }
10989
10990
10991 static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) {
10992 PyObject *resultobj;
10993 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10994 long arg2 ;
10995 long arg3 ;
10996 wxString *arg4 = 0 ;
10997 bool result;
10998 bool temp4 = False ;
10999 PyObject * obj0 = 0 ;
11000 PyObject * obj1 = 0 ;
11001 PyObject * obj2 = 0 ;
11002 PyObject * obj3 = 0 ;
11003 char *kwnames[] = {
11004 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
11005 };
11006
11007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11009 {
11010 arg2 = (long) SWIG_PyObj_AsLong(obj1);
11011 if (PyErr_Occurred()) SWIG_fail;
11012 }
11013 {
11014 arg3 = (long) SWIG_PyObj_AsLong(obj2);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 {
11018 arg4 = wxString_in_helper(obj3);
11019 if (arg4 == NULL) SWIG_fail;
11020 temp4 = True;
11021 }
11022 {
11023 PyThreadState* __tstate = wxPyBeginAllowThreads();
11024 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
11025
11026 wxPyEndAllowThreads(__tstate);
11027 if (PyErr_Occurred()) SWIG_fail;
11028 }
11029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11030 {
11031 if (temp4)
11032 delete arg4;
11033 }
11034 return resultobj;
11035 fail:
11036 {
11037 if (temp4)
11038 delete arg4;
11039 }
11040 return NULL;
11041 }
11042
11043
11044 static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) {
11045 PyObject *obj;
11046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11047 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
11048 Py_INCREF(obj);
11049 return Py_BuildValue((char *)"");
11050 }
11051 static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11052 PyObject *resultobj;
11053 wxEventType arg1 = (wxEventType) 0 ;
11054 int arg2 = (int) 0 ;
11055 wxStyledTextEvent *result;
11056 PyObject * obj0 = 0 ;
11057 PyObject * obj1 = 0 ;
11058 char *kwnames[] = {
11059 (char *) "commandType",(char *) "id", NULL
11060 };
11061
11062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
11063 if (obj0) {
11064 {
11065 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
11066 if (PyErr_Occurred()) SWIG_fail;
11067 }
11068 }
11069 if (obj1) {
11070 {
11071 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11072 if (PyErr_Occurred()) SWIG_fail;
11073 }
11074 }
11075 {
11076 PyThreadState* __tstate = wxPyBeginAllowThreads();
11077 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
11078
11079 wxPyEndAllowThreads(__tstate);
11080 if (PyErr_Occurred()) SWIG_fail;
11081 }
11082 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextEvent, 1);
11083 return resultobj;
11084 fail:
11085 return NULL;
11086 }
11087
11088
11089 static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11090 PyObject *resultobj;
11091 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11092 PyObject * obj0 = 0 ;
11093 char *kwnames[] = {
11094 (char *) "self", NULL
11095 };
11096
11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
11098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 delete arg1;
11102
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 Py_INCREF(Py_None); resultobj = Py_None;
11107 return resultobj;
11108 fail:
11109 return NULL;
11110 }
11111
11112
11113 static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11114 PyObject *resultobj;
11115 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11116 int arg2 ;
11117 PyObject * obj0 = 0 ;
11118 PyObject * obj1 = 0 ;
11119 char *kwnames[] = {
11120 (char *) "self",(char *) "pos", NULL
11121 };
11122
11123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11125 {
11126 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 }
11129 {
11130 PyThreadState* __tstate = wxPyBeginAllowThreads();
11131 (arg1)->SetPosition(arg2);
11132
11133 wxPyEndAllowThreads(__tstate);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 }
11136 Py_INCREF(Py_None); resultobj = Py_None;
11137 return resultobj;
11138 fail:
11139 return NULL;
11140 }
11141
11142
11143 static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
11144 PyObject *resultobj;
11145 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11146 int arg2 ;
11147 PyObject * obj0 = 0 ;
11148 PyObject * obj1 = 0 ;
11149 char *kwnames[] = {
11150 (char *) "self",(char *) "k", NULL
11151 };
11152
11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
11154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11155 {
11156 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 }
11159 {
11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
11161 (arg1)->SetKey(arg2);
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 Py_INCREF(Py_None); resultobj = Py_None;
11167 return resultobj;
11168 fail:
11169 return NULL;
11170 }
11171
11172
11173 static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
11174 PyObject *resultobj;
11175 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11176 int arg2 ;
11177 PyObject * obj0 = 0 ;
11178 PyObject * obj1 = 0 ;
11179 char *kwnames[] = {
11180 (char *) "self",(char *) "m", NULL
11181 };
11182
11183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
11184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11185 {
11186 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11187 if (PyErr_Occurred()) SWIG_fail;
11188 }
11189 {
11190 PyThreadState* __tstate = wxPyBeginAllowThreads();
11191 (arg1)->SetModifiers(arg2);
11192
11193 wxPyEndAllowThreads(__tstate);
11194 if (PyErr_Occurred()) SWIG_fail;
11195 }
11196 Py_INCREF(Py_None); resultobj = Py_None;
11197 return resultobj;
11198 fail:
11199 return NULL;
11200 }
11201
11202
11203 static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
11204 PyObject *resultobj;
11205 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11206 int arg2 ;
11207 PyObject * obj0 = 0 ;
11208 PyObject * obj1 = 0 ;
11209 char *kwnames[] = {
11210 (char *) "self",(char *) "t", NULL
11211 };
11212
11213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
11214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11215 {
11216 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 (arg1)->SetModificationType(arg2);
11222
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 Py_INCREF(Py_None); resultobj = Py_None;
11227 return resultobj;
11228 fail:
11229 return NULL;
11230 }
11231
11232
11233 static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
11234 PyObject *resultobj;
11235 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11236 wxString *arg2 = 0 ;
11237 bool temp2 = False ;
11238 PyObject * obj0 = 0 ;
11239 PyObject * obj1 = 0 ;
11240 char *kwnames[] = {
11241 (char *) "self",(char *) "t", NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
11245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11246 {
11247 arg2 = wxString_in_helper(obj1);
11248 if (arg2 == NULL) SWIG_fail;
11249 temp2 = True;
11250 }
11251 {
11252 PyThreadState* __tstate = wxPyBeginAllowThreads();
11253 (arg1)->SetText((wxString const &)*arg2);
11254
11255 wxPyEndAllowThreads(__tstate);
11256 if (PyErr_Occurred()) SWIG_fail;
11257 }
11258 Py_INCREF(Py_None); resultobj = Py_None;
11259 {
11260 if (temp2)
11261 delete arg2;
11262 }
11263 return resultobj;
11264 fail:
11265 {
11266 if (temp2)
11267 delete arg2;
11268 }
11269 return NULL;
11270 }
11271
11272
11273 static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11274 PyObject *resultobj;
11275 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11276 int arg2 ;
11277 PyObject * obj0 = 0 ;
11278 PyObject * obj1 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "self",(char *) "len", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
11284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11285 {
11286 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 {
11290 PyThreadState* __tstate = wxPyBeginAllowThreads();
11291 (arg1)->SetLength(arg2);
11292
11293 wxPyEndAllowThreads(__tstate);
11294 if (PyErr_Occurred()) SWIG_fail;
11295 }
11296 Py_INCREF(Py_None); resultobj = Py_None;
11297 return resultobj;
11298 fail:
11299 return NULL;
11300 }
11301
11302
11303 static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
11304 PyObject *resultobj;
11305 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11306 int arg2 ;
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
11309 char *kwnames[] = {
11310 (char *) "self",(char *) "num", NULL
11311 };
11312
11313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
11314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11315 {
11316 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 {
11320 PyThreadState* __tstate = wxPyBeginAllowThreads();
11321 (arg1)->SetLinesAdded(arg2);
11322
11323 wxPyEndAllowThreads(__tstate);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
11326 Py_INCREF(Py_None); resultobj = Py_None;
11327 return resultobj;
11328 fail:
11329 return NULL;
11330 }
11331
11332
11333 static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
11334 PyObject *resultobj;
11335 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11336 int arg2 ;
11337 PyObject * obj0 = 0 ;
11338 PyObject * obj1 = 0 ;
11339 char *kwnames[] = {
11340 (char *) "self",(char *) "val", NULL
11341 };
11342
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
11344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11345 {
11346 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 (arg1)->SetLine(arg2);
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 Py_INCREF(Py_None); resultobj = Py_None;
11357 return resultobj;
11358 fail:
11359 return NULL;
11360 }
11361
11362
11363 static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj;
11365 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11366 int arg2 ;
11367 PyObject * obj0 = 0 ;
11368 PyObject * obj1 = 0 ;
11369 char *kwnames[] = {
11370 (char *) "self",(char *) "val", NULL
11371 };
11372
11373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
11374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11375 {
11376 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 }
11379 {
11380 PyThreadState* __tstate = wxPyBeginAllowThreads();
11381 (arg1)->SetFoldLevelNow(arg2);
11382
11383 wxPyEndAllowThreads(__tstate);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 Py_INCREF(Py_None); resultobj = Py_None;
11387 return resultobj;
11388 fail:
11389 return NULL;
11390 }
11391
11392
11393 static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
11394 PyObject *resultobj;
11395 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11396 int arg2 ;
11397 PyObject * obj0 = 0 ;
11398 PyObject * obj1 = 0 ;
11399 char *kwnames[] = {
11400 (char *) "self",(char *) "val", NULL
11401 };
11402
11403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
11404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11405 {
11406 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11407 if (PyErr_Occurred()) SWIG_fail;
11408 }
11409 {
11410 PyThreadState* __tstate = wxPyBeginAllowThreads();
11411 (arg1)->SetFoldLevelPrev(arg2);
11412
11413 wxPyEndAllowThreads(__tstate);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 }
11416 Py_INCREF(Py_None); resultobj = Py_None;
11417 return resultobj;
11418 fail:
11419 return NULL;
11420 }
11421
11422
11423 static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
11424 PyObject *resultobj;
11425 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11426 int arg2 ;
11427 PyObject * obj0 = 0 ;
11428 PyObject * obj1 = 0 ;
11429 char *kwnames[] = {
11430 (char *) "self",(char *) "val", NULL
11431 };
11432
11433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
11434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11435 {
11436 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11437 if (PyErr_Occurred()) SWIG_fail;
11438 }
11439 {
11440 PyThreadState* __tstate = wxPyBeginAllowThreads();
11441 (arg1)->SetMargin(arg2);
11442
11443 wxPyEndAllowThreads(__tstate);
11444 if (PyErr_Occurred()) SWIG_fail;
11445 }
11446 Py_INCREF(Py_None); resultobj = Py_None;
11447 return resultobj;
11448 fail:
11449 return NULL;
11450 }
11451
11452
11453 static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11454 PyObject *resultobj;
11455 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11456 int arg2 ;
11457 PyObject * obj0 = 0 ;
11458 PyObject * obj1 = 0 ;
11459 char *kwnames[] = {
11460 (char *) "self",(char *) "val", NULL
11461 };
11462
11463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11465 {
11466 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11467 if (PyErr_Occurred()) SWIG_fail;
11468 }
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 (arg1)->SetMessage(arg2);
11472
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 Py_INCREF(Py_None); resultobj = Py_None;
11477 return resultobj;
11478 fail:
11479 return NULL;
11480 }
11481
11482
11483 static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
11484 PyObject *resultobj;
11485 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11486 int arg2 ;
11487 PyObject * obj0 = 0 ;
11488 PyObject * obj1 = 0 ;
11489 char *kwnames[] = {
11490 (char *) "self",(char *) "val", NULL
11491 };
11492
11493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
11494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11495 {
11496 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 (arg1)->SetWParam(arg2);
11502
11503 wxPyEndAllowThreads(__tstate);
11504 if (PyErr_Occurred()) SWIG_fail;
11505 }
11506 Py_INCREF(Py_None); resultobj = Py_None;
11507 return resultobj;
11508 fail:
11509 return NULL;
11510 }
11511
11512
11513 static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
11514 PyObject *resultobj;
11515 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11516 int arg2 ;
11517 PyObject * obj0 = 0 ;
11518 PyObject * obj1 = 0 ;
11519 char *kwnames[] = {
11520 (char *) "self",(char *) "val", NULL
11521 };
11522
11523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
11524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11525 {
11526 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11527 if (PyErr_Occurred()) SWIG_fail;
11528 }
11529 {
11530 PyThreadState* __tstate = wxPyBeginAllowThreads();
11531 (arg1)->SetLParam(arg2);
11532
11533 wxPyEndAllowThreads(__tstate);
11534 if (PyErr_Occurred()) SWIG_fail;
11535 }
11536 Py_INCREF(Py_None); resultobj = Py_None;
11537 return resultobj;
11538 fail:
11539 return NULL;
11540 }
11541
11542
11543 static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
11544 PyObject *resultobj;
11545 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11546 int arg2 ;
11547 PyObject * obj0 = 0 ;
11548 PyObject * obj1 = 0 ;
11549 char *kwnames[] = {
11550 (char *) "self",(char *) "val", NULL
11551 };
11552
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
11554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11555 {
11556 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 (arg1)->SetListType(arg2);
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 Py_INCREF(Py_None); resultobj = Py_None;
11567 return resultobj;
11568 fail:
11569 return NULL;
11570 }
11571
11572
11573 static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
11574 PyObject *resultobj;
11575 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11576 int arg2 ;
11577 PyObject * obj0 = 0 ;
11578 PyObject * obj1 = 0 ;
11579 char *kwnames[] = {
11580 (char *) "self",(char *) "val", NULL
11581 };
11582
11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
11584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11585 {
11586 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
11589 {
11590 PyThreadState* __tstate = wxPyBeginAllowThreads();
11591 (arg1)->SetX(arg2);
11592
11593 wxPyEndAllowThreads(__tstate);
11594 if (PyErr_Occurred()) SWIG_fail;
11595 }
11596 Py_INCREF(Py_None); resultobj = Py_None;
11597 return resultobj;
11598 fail:
11599 return NULL;
11600 }
11601
11602
11603 static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
11604 PyObject *resultobj;
11605 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11606 int arg2 ;
11607 PyObject * obj0 = 0 ;
11608 PyObject * obj1 = 0 ;
11609 char *kwnames[] = {
11610 (char *) "self",(char *) "val", NULL
11611 };
11612
11613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
11614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11615 {
11616 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 }
11619 {
11620 PyThreadState* __tstate = wxPyBeginAllowThreads();
11621 (arg1)->SetY(arg2);
11622
11623 wxPyEndAllowThreads(__tstate);
11624 if (PyErr_Occurred()) SWIG_fail;
11625 }
11626 Py_INCREF(Py_None); resultobj = Py_None;
11627 return resultobj;
11628 fail:
11629 return NULL;
11630 }
11631
11632
11633 static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
11634 PyObject *resultobj;
11635 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11636 wxString *arg2 = 0 ;
11637 bool temp2 = False ;
11638 PyObject * obj0 = 0 ;
11639 PyObject * obj1 = 0 ;
11640 char *kwnames[] = {
11641 (char *) "self",(char *) "val", NULL
11642 };
11643
11644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
11645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11646 {
11647 arg2 = wxString_in_helper(obj1);
11648 if (arg2 == NULL) SWIG_fail;
11649 temp2 = True;
11650 }
11651 {
11652 PyThreadState* __tstate = wxPyBeginAllowThreads();
11653 (arg1)->SetDragText((wxString const &)*arg2);
11654
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 Py_INCREF(Py_None); resultobj = Py_None;
11659 {
11660 if (temp2)
11661 delete arg2;
11662 }
11663 return resultobj;
11664 fail:
11665 {
11666 if (temp2)
11667 delete arg2;
11668 }
11669 return NULL;
11670 }
11671
11672
11673 static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11674 PyObject *resultobj;
11675 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11676 bool arg2 ;
11677 PyObject * obj0 = 0 ;
11678 PyObject * obj1 = 0 ;
11679 char *kwnames[] = {
11680 (char *) "self",(char *) "val", NULL
11681 };
11682
11683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
11684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11685 {
11686 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11687 if (PyErr_Occurred()) SWIG_fail;
11688 }
11689 {
11690 PyThreadState* __tstate = wxPyBeginAllowThreads();
11691 (arg1)->SetDragAllowMove(arg2);
11692
11693 wxPyEndAllowThreads(__tstate);
11694 if (PyErr_Occurred()) SWIG_fail;
11695 }
11696 Py_INCREF(Py_None); resultobj = Py_None;
11697 return resultobj;
11698 fail:
11699 return NULL;
11700 }
11701
11702
11703 static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
11704 PyObject *resultobj;
11705 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11706 wxDragResult arg2 ;
11707 wxDragResult *argp2 ;
11708 PyObject * obj0 = 0 ;
11709 PyObject * obj1 = 0 ;
11710 char *kwnames[] = {
11711 (char *) "self",(char *) "val", NULL
11712 };
11713
11714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
11715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11716 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
11717 arg2 = *argp2;
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 (arg1)->SetDragResult(arg2);
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 Py_INCREF(Py_None); resultobj = Py_None;
11726 return resultobj;
11727 fail:
11728 return NULL;
11729 }
11730
11731
11732 static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11733 PyObject *resultobj;
11734 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11735 int result;
11736 PyObject * obj0 = 0 ;
11737 char *kwnames[] = {
11738 (char *) "self", NULL
11739 };
11740
11741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
11742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
11746
11747 wxPyEndAllowThreads(__tstate);
11748 if (PyErr_Occurred()) SWIG_fail;
11749 }
11750 resultobj = SWIG_PyObj_FromInt((int)result);
11751 return resultobj;
11752 fail:
11753 return NULL;
11754 }
11755
11756
11757 static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
11758 PyObject *resultobj;
11759 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11760 int result;
11761 PyObject * obj0 = 0 ;
11762 char *kwnames[] = {
11763 (char *) "self", NULL
11764 };
11765
11766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
11767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11768 {
11769 PyThreadState* __tstate = wxPyBeginAllowThreads();
11770 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
11771
11772 wxPyEndAllowThreads(__tstate);
11773 if (PyErr_Occurred()) SWIG_fail;
11774 }
11775 resultobj = SWIG_PyObj_FromInt((int)result);
11776 return resultobj;
11777 fail:
11778 return NULL;
11779 }
11780
11781
11782 static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
11783 PyObject *resultobj;
11784 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11785 int result;
11786 PyObject * obj0 = 0 ;
11787 char *kwnames[] = {
11788 (char *) "self", NULL
11789 };
11790
11791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
11792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11793 {
11794 PyThreadState* __tstate = wxPyBeginAllowThreads();
11795 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
11796
11797 wxPyEndAllowThreads(__tstate);
11798 if (PyErr_Occurred()) SWIG_fail;
11799 }
11800 resultobj = SWIG_PyObj_FromInt((int)result);
11801 return resultobj;
11802 fail:
11803 return NULL;
11804 }
11805
11806
11807 static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
11808 PyObject *resultobj;
11809 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11810 int result;
11811 PyObject * obj0 = 0 ;
11812 char *kwnames[] = {
11813 (char *) "self", NULL
11814 };
11815
11816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
11817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11818 {
11819 PyThreadState* __tstate = wxPyBeginAllowThreads();
11820 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
11821
11822 wxPyEndAllowThreads(__tstate);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
11825 resultobj = SWIG_PyObj_FromInt((int)result);
11826 return resultobj;
11827 fail:
11828 return NULL;
11829 }
11830
11831
11832 static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
11833 PyObject *resultobj;
11834 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11835 wxString result;
11836 PyObject * obj0 = 0 ;
11837 char *kwnames[] = {
11838 (char *) "self", NULL
11839 };
11840
11841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
11842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 result = ((wxStyledTextEvent const *)arg1)->GetText();
11846
11847 wxPyEndAllowThreads(__tstate);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 }
11850 {
11851 #if wxUSE_UNICODE
11852 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11853 #else
11854 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11855 #endif
11856 }
11857 return resultobj;
11858 fail:
11859 return NULL;
11860 }
11861
11862
11863 static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11864 PyObject *resultobj;
11865 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11866 int result;
11867 PyObject * obj0 = 0 ;
11868 char *kwnames[] = {
11869 (char *) "self", NULL
11870 };
11871
11872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
11873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11874 {
11875 PyThreadState* __tstate = wxPyBeginAllowThreads();
11876 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
11877
11878 wxPyEndAllowThreads(__tstate);
11879 if (PyErr_Occurred()) SWIG_fail;
11880 }
11881 resultobj = SWIG_PyObj_FromInt((int)result);
11882 return resultobj;
11883 fail:
11884 return NULL;
11885 }
11886
11887
11888 static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
11889 PyObject *resultobj;
11890 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11891 int result;
11892 PyObject * obj0 = 0 ;
11893 char *kwnames[] = {
11894 (char *) "self", NULL
11895 };
11896
11897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
11898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11899 {
11900 PyThreadState* __tstate = wxPyBeginAllowThreads();
11901 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
11902
11903 wxPyEndAllowThreads(__tstate);
11904 if (PyErr_Occurred()) SWIG_fail;
11905 }
11906 resultobj = SWIG_PyObj_FromInt((int)result);
11907 return resultobj;
11908 fail:
11909 return NULL;
11910 }
11911
11912
11913 static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
11914 PyObject *resultobj;
11915 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11916 int result;
11917 PyObject * obj0 = 0 ;
11918 char *kwnames[] = {
11919 (char *) "self", NULL
11920 };
11921
11922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
11923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
11927
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 resultobj = SWIG_PyObj_FromInt((int)result);
11932 return resultobj;
11933 fail:
11934 return NULL;
11935 }
11936
11937
11938 static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
11939 PyObject *resultobj;
11940 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11941 int result;
11942 PyObject * obj0 = 0 ;
11943 char *kwnames[] = {
11944 (char *) "self", NULL
11945 };
11946
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
11948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
11952
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = SWIG_PyObj_FromInt((int)result);
11957 return resultobj;
11958 fail:
11959 return NULL;
11960 }
11961
11962
11963 static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj;
11965 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11966 int result;
11967 PyObject * obj0 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "self", NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
11973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 resultobj = SWIG_PyObj_FromInt((int)result);
11982 return resultobj;
11983 fail:
11984 return NULL;
11985 }
11986
11987
11988 static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
11989 PyObject *resultobj;
11990 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11991 int result;
11992 PyObject * obj0 = 0 ;
11993 char *kwnames[] = {
11994 (char *) "self", NULL
11995 };
11996
11997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
11998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11999 {
12000 PyThreadState* __tstate = wxPyBeginAllowThreads();
12001 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
12002
12003 wxPyEndAllowThreads(__tstate);
12004 if (PyErr_Occurred()) SWIG_fail;
12005 }
12006 resultobj = SWIG_PyObj_FromInt((int)result);
12007 return resultobj;
12008 fail:
12009 return NULL;
12010 }
12011
12012
12013 static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12014 PyObject *resultobj;
12015 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12016 int result;
12017 PyObject * obj0 = 0 ;
12018 char *kwnames[] = {
12019 (char *) "self", NULL
12020 };
12021
12022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
12023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12024 {
12025 PyThreadState* __tstate = wxPyBeginAllowThreads();
12026 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
12027
12028 wxPyEndAllowThreads(__tstate);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
12031 resultobj = SWIG_PyObj_FromInt((int)result);
12032 return resultobj;
12033 fail:
12034 return NULL;
12035 }
12036
12037
12038 static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
12039 PyObject *resultobj;
12040 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12041 int result;
12042 PyObject * obj0 = 0 ;
12043 char *kwnames[] = {
12044 (char *) "self", NULL
12045 };
12046
12047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
12048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 resultobj = SWIG_PyObj_FromInt((int)result);
12057 return resultobj;
12058 fail:
12059 return NULL;
12060 }
12061
12062
12063 static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
12064 PyObject *resultobj;
12065 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12066 int result;
12067 PyObject * obj0 = 0 ;
12068 char *kwnames[] = {
12069 (char *) "self", NULL
12070 };
12071
12072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
12073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12074 {
12075 PyThreadState* __tstate = wxPyBeginAllowThreads();
12076 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
12077
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
12081 resultobj = SWIG_PyObj_FromInt((int)result);
12082 return resultobj;
12083 fail:
12084 return NULL;
12085 }
12086
12087
12088 static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
12089 PyObject *resultobj;
12090 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12091 int result;
12092 PyObject * obj0 = 0 ;
12093 char *kwnames[] = {
12094 (char *) "self", NULL
12095 };
12096
12097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
12098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12099 {
12100 PyThreadState* __tstate = wxPyBeginAllowThreads();
12101 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
12102
12103 wxPyEndAllowThreads(__tstate);
12104 if (PyErr_Occurred()) SWIG_fail;
12105 }
12106 resultobj = SWIG_PyObj_FromInt((int)result);
12107 return resultobj;
12108 fail:
12109 return NULL;
12110 }
12111
12112
12113 static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
12114 PyObject *resultobj;
12115 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12116 int result;
12117 PyObject * obj0 = 0 ;
12118 char *kwnames[] = {
12119 (char *) "self", NULL
12120 };
12121
12122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
12123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
12127
12128 wxPyEndAllowThreads(__tstate);
12129 if (PyErr_Occurred()) SWIG_fail;
12130 }
12131 resultobj = SWIG_PyObj_FromInt((int)result);
12132 return resultobj;
12133 fail:
12134 return NULL;
12135 }
12136
12137
12138 static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
12139 PyObject *resultobj;
12140 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12141 int result;
12142 PyObject * obj0 = 0 ;
12143 char *kwnames[] = {
12144 (char *) "self", NULL
12145 };
12146
12147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
12148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
12151 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
12152
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 resultobj = SWIG_PyObj_FromInt((int)result);
12157 return resultobj;
12158 fail:
12159 return NULL;
12160 }
12161
12162
12163 static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
12164 PyObject *resultobj;
12165 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12166 wxString result;
12167 PyObject * obj0 = 0 ;
12168 char *kwnames[] = {
12169 (char *) "self", NULL
12170 };
12171
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
12173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12174 {
12175 PyThreadState* __tstate = wxPyBeginAllowThreads();
12176 result = (arg1)->GetDragText();
12177
12178 wxPyEndAllowThreads(__tstate);
12179 if (PyErr_Occurred()) SWIG_fail;
12180 }
12181 {
12182 #if wxUSE_UNICODE
12183 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12184 #else
12185 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12186 #endif
12187 }
12188 return resultobj;
12189 fail:
12190 return NULL;
12191 }
12192
12193
12194 static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj;
12196 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12197 bool result;
12198 PyObject * obj0 = 0 ;
12199 char *kwnames[] = {
12200 (char *) "self", NULL
12201 };
12202
12203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
12204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12205 {
12206 PyThreadState* __tstate = wxPyBeginAllowThreads();
12207 result = (bool)(arg1)->GetDragAllowMove();
12208
12209 wxPyEndAllowThreads(__tstate);
12210 if (PyErr_Occurred()) SWIG_fail;
12211 }
12212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12213 return resultobj;
12214 fail:
12215 return NULL;
12216 }
12217
12218
12219 static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
12220 PyObject *resultobj;
12221 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12222 wxDragResult result;
12223 PyObject * obj0 = 0 ;
12224 char *kwnames[] = {
12225 (char *) "self", NULL
12226 };
12227
12228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
12229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12230 {
12231 PyThreadState* __tstate = wxPyBeginAllowThreads();
12232 result = (arg1)->GetDragResult();
12233
12234 wxPyEndAllowThreads(__tstate);
12235 if (PyErr_Occurred()) SWIG_fail;
12236 }
12237 {
12238 wxDragResult * resultptr;
12239 resultptr = new wxDragResult((wxDragResult &) result);
12240 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1);
12241 }
12242 return resultobj;
12243 fail:
12244 return NULL;
12245 }
12246
12247
12248 static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
12249 PyObject *resultobj;
12250 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12251 bool result;
12252 PyObject * obj0 = 0 ;
12253 char *kwnames[] = {
12254 (char *) "self", NULL
12255 };
12256
12257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
12258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12259 {
12260 PyThreadState* __tstate = wxPyBeginAllowThreads();
12261 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
12262
12263 wxPyEndAllowThreads(__tstate);
12264 if (PyErr_Occurred()) SWIG_fail;
12265 }
12266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12267 return resultobj;
12268 fail:
12269 return NULL;
12270 }
12271
12272
12273 static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12274 PyObject *resultobj;
12275 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12276 bool result;
12277 PyObject * obj0 = 0 ;
12278 char *kwnames[] = {
12279 (char *) "self", NULL
12280 };
12281
12282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
12283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12284 {
12285 PyThreadState* __tstate = wxPyBeginAllowThreads();
12286 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
12287
12288 wxPyEndAllowThreads(__tstate);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12292 return resultobj;
12293 fail:
12294 return NULL;
12295 }
12296
12297
12298 static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
12299 PyObject *resultobj;
12300 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12301 bool result;
12302 PyObject * obj0 = 0 ;
12303 char *kwnames[] = {
12304 (char *) "self", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
12308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12309 {
12310 PyThreadState* __tstate = wxPyBeginAllowThreads();
12311 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
12312
12313 wxPyEndAllowThreads(__tstate);
12314 if (PyErr_Occurred()) SWIG_fail;
12315 }
12316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12317 return resultobj;
12318 fail:
12319 return NULL;
12320 }
12321
12322
12323 static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12324 PyObject *resultobj;
12325 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12326 wxEvent *result;
12327 PyObject * obj0 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
12333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12334 {
12335 PyThreadState* __tstate = wxPyBeginAllowThreads();
12336 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
12337
12338 wxPyEndAllowThreads(__tstate);
12339 if (PyErr_Occurred()) SWIG_fail;
12340 }
12341 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
12342 return resultobj;
12343 fail:
12344 return NULL;
12345 }
12346
12347
12348 static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) {
12349 PyObject *obj;
12350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12351 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
12352 Py_INCREF(obj);
12353 return Py_BuildValue((char *)"");
12354 }
12355 static PyMethodDef SwigMethods[] = {
12356 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
12357 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
12358 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12359 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
12360 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
12361 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
12362 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
12363 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
12364 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
12365 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
12366 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
12367 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
12368 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
12369 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
12370 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
12371 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
12372 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
12373 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
12374 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
12375 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
12376 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
12377 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
12378 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
12379 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
12380 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
12381 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
12382 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
12383 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
12384 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
12385 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
12386 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
12387 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
12388 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
12389 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
12390 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
12391 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
12392 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
12393 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
12394 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
12395 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
12396 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
12397 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
12398 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
12399 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
12400 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
12401 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
12402 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
12403 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
12404 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
12405 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
12406 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
12407 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
12408 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
12409 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
12410 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
12411 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
12412 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
12413 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
12414 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
12415 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
12416 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
12417 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
12418 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
12419 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
12420 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
12421 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
12422 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
12423 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
12424 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
12425 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
12426 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
12427 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
12428 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
12429 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
12430 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
12431 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
12432 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
12433 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
12434 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
12435 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
12436 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
12437 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
12438 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
12439 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
12440 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
12441 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
12442 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
12443 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
12444 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
12445 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS },
12446 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS },
12447 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
12448 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
12449 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
12450 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
12451 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
12452 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
12453 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
12454 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
12455 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
12456 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS },
12457 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
12458 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
12459 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
12460 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
12461 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
12462 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
12463 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
12464 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
12465 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
12466 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
12467 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
12468 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
12469 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
12470 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
12471 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
12472 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
12473 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
12474 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
12475 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
12476 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
12477 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
12478 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
12479 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
12480 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
12481 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
12482 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
12483 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
12484 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
12485 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
12486 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
12487 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
12488 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
12489 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
12490 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
12491 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
12492 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
12493 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
12494 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
12495 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
12496 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
12497 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
12498 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
12499 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
12500 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
12501 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
12502 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
12503 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
12504 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
12505 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
12506 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
12507 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
12508 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
12509 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
12510 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
12511 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
12512 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
12513 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
12514 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
12515 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
12516 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
12517 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
12518 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
12519 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
12520 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
12521 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
12522 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
12523 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
12524 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
12525 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
12526 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
12527 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
12528 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
12529 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
12530 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
12531 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
12532 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
12533 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
12534 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
12535 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
12536 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
12537 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
12538 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
12539 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
12540 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
12541 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
12542 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
12543 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
12544 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
12545 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
12546 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
12547 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
12548 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
12549 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
12550 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
12551 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
12552 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
12553 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
12554 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
12555 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
12556 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
12557 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
12558 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
12559 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
12560 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
12561 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
12562 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
12563 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
12564 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
12565 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
12566 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
12567 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
12568 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
12569 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
12570 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
12571 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
12572 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
12573 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
12574 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
12575 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
12576 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
12577 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
12578 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
12579 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
12580 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
12581 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
12582 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS },
12583 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS },
12584 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS },
12585 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS },
12586 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS },
12587 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS },
12588 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS },
12589 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS },
12590 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS },
12591 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
12592 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
12593 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
12594 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
12595 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
12596 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
12597 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
12598 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
12599 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
12600 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
12601 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
12602 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
12603 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
12604 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
12605 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
12606 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
12607 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
12608 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS },
12609 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS },
12610 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
12611 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
12612 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
12613 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
12614 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
12615 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
12616 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
12617 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
12618 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
12619 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
12620 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
12621 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
12622 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
12623 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
12624 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
12625 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
12626 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
12627 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
12628 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
12629 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
12630 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
12631 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
12632 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
12633 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
12634 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
12635 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
12636 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
12637 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
12638 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
12639 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
12640 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
12641 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
12642 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
12643 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
12644 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS },
12645 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS },
12646 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
12647 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
12648 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
12649 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
12650 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
12651 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
12652 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
12653 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
12654 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
12655 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
12656 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
12657 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
12658 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
12659 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
12660 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
12661 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
12662 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
12663 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
12664 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
12665 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS },
12666 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS },
12667 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS },
12668 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS },
12669 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
12670 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
12671 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
12672 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
12673 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
12674 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
12675 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
12676 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
12677 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
12678 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
12679 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
12680 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
12681 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
12682 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
12683 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
12684 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
12685 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
12686 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
12687 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
12688 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
12689 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
12690 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
12691 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
12692 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
12693 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
12694 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS },
12695 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS },
12696 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS },
12697 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
12698 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
12699 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
12700 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
12701 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
12702 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
12703 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
12704 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
12705 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
12706 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
12707 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
12708 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
12709 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
12710 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
12711 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
12712 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
12713 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
12714 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
12715 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
12716 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
12717 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
12718 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
12719 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12720 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
12721 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
12722 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
12723 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
12724 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
12725 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
12726 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
12727 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
12728 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
12729 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
12730 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
12731 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
12732 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
12733 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
12734 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
12735 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
12736 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
12737 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
12738 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
12739 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
12740 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
12741 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
12742 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
12743 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS },
12744 { NULL, NULL }
12745 };
12746
12747
12748 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12749
12750 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12751 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12752 }
12753 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12754 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12755 }
12756 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12757 return (void *)((wxObject *) ((wxSizerItem *) x));
12758 }
12759 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12760 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12761 }
12762 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12763 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12764 }
12765 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12766 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12767 }
12768 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12769 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12770 }
12771 static void *_p_wxSizerTo_p_wxObject(void *x) {
12772 return (void *)((wxObject *) ((wxSizer *) x));
12773 }
12774 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12775 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12776 }
12777 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12778 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12779 }
12780 static void *_p_wxEventTo_p_wxObject(void *x) {
12781 return (void *)((wxObject *) ((wxEvent *) x));
12782 }
12783 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12784 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
12785 }
12786 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
12787 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
12788 }
12789 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
12790 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
12791 }
12792 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12793 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12794 }
12795 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12796 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12797 }
12798 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
12799 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
12800 }
12801 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12802 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12803 }
12804 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12805 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12806 }
12807 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12808 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12809 }
12810 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12811 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12812 }
12813 static void *_p_wxControlTo_p_wxObject(void *x) {
12814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
12815 }
12816 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12817 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12818 }
12819 static void *_p_wxFSFileTo_p_wxObject(void *x) {
12820 return (void *)((wxObject *) ((wxFSFile *) x));
12821 }
12822 static void *_p_wxPySizerTo_p_wxObject(void *x) {
12823 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
12824 }
12825 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
12826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
12827 }
12828 static void *_p_wxPyEventTo_p_wxObject(void *x) {
12829 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12830 }
12831 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12832 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12833 }
12834 static void *_p_wxShowEventTo_p_wxObject(void *x) {
12835 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12836 }
12837 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
12838 return (void *)((wxObject *) ((wxMenuItem *) x));
12839 }
12840 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
12841 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
12842 }
12843 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
12844 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
12845 }
12846 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
12847 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
12848 }
12849 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
12850 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
12851 }
12852 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
12853 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
12854 }
12855 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
12856 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
12857 }
12858 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
12859 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
12860 }
12861 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
12862 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
12863 }
12864 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12865 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12866 }
12867 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12868 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12869 }
12870 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12871 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12872 }
12873 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12874 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12875 }
12876 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12877 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12878 }
12879 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12880 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12881 }
12882 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12883 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12884 }
12885 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12886 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12887 }
12888 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12889 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12890 }
12891 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12892 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12893 }
12894 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12895 return (void *)((wxObject *) ((wxImageHandler *) x));
12896 }
12897 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12898 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12899 }
12900 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12901 return (void *)((wxObject *) ((wxEvtHandler *) x));
12902 }
12903 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
12904 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
12905 }
12906 static void *_p_wxImageTo_p_wxObject(void *x) {
12907 return (void *)((wxObject *) ((wxImage *) x));
12908 }
12909 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12910 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12911 }
12912 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12913 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12914 }
12915 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
12916 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
12917 }
12918 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
12919 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
12920 }
12921 static void *_p_wxWindowTo_p_wxObject(void *x) {
12922 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12923 }
12924 static void *_p_wxMenuTo_p_wxObject(void *x) {
12925 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12926 }
12927 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12929 }
12930 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12931 return (void *)((wxObject *) ((wxFileSystem *) x));
12932 }
12933 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12935 }
12936 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12937 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12938 }
12939 static void *_p_wxPyAppTo_p_wxObject(void *x) {
12940 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
12941 }
12942 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12943 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
12944 }
12945 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
12946 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
12947 }
12948 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
12949 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
12950 }
12951 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12952 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12953 }
12954 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12955 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12956 }
12957 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12958 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12959 }
12960 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12961 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12962 }
12963 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12964 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12965 }
12966 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
12967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12968 }
12969 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
12970 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
12971 }
12972 static void *_p_wxValidatorTo_p_wxObject(void *x) {
12973 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
12974 }
12975 static void *_p_wxControlTo_p_wxWindow(void *x) {
12976 return (void *)((wxWindow *) ((wxControl *) x));
12977 }
12978 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
12979 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
12980 }
12981 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
12982 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
12983 }
12984 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
12985 return (void *)((wxWindow *) ((wxMenuBar *) x));
12986 }
12987 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
12988 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
12989 }
12990 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
12991 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
12992 }
12993 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
12994 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
12995 }
12996 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
12997 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
12998 }
12999 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
13000 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
13001 }
13002 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
13003 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13004 }
13005 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
13006 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
13007 }
13008 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
13009 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
13010 }
13011 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
13012 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
13013 }
13014 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
13015 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
13016 }
13017 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13018 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13019 }
13020 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13021 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13022 }
13023 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13024 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13025 }
13026 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
13027 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
13028 }
13029 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13030 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13031 }
13032 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13033 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13034 }
13035 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13036 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13037 }
13038 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13039 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13040 }
13041 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
13042 return (void *)((wxControl *) ((wxControlWithItems *) x));
13043 }
13044 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
13045 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
13046 }
13047 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
13048 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
13049 }
13050 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
13051 return (void *)((wxEvent *) ((wxMenuEvent *) x));
13052 }
13053 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
13054 return (void *)((wxEvent *) ((wxCloseEvent *) x));
13055 }
13056 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
13057 return (void *)((wxEvent *) ((wxMouseEvent *) x));
13058 }
13059 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
13060 return (void *)((wxEvent *) ((wxEraseEvent *) x));
13061 }
13062 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
13063 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
13064 }
13065 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
13066 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
13067 }
13068 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
13069 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
13070 }
13071 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
13072 return (void *)((wxEvent *) ((wxPyEvent *) x));
13073 }
13074 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
13075 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
13076 }
13077 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
13078 return (void *)((wxEvent *) ((wxIdleEvent *) x));
13079 }
13080 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
13081 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
13082 }
13083 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
13084 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
13085 }
13086 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
13087 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
13088 }
13089 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
13090 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
13091 }
13092 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
13093 return (void *)((wxEvent *) ((wxActivateEvent *) x));
13094 }
13095 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
13096 return (void *)((wxEvent *) ((wxSizeEvent *) x));
13097 }
13098 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
13099 return (void *)((wxEvent *) ((wxMoveEvent *) x));
13100 }
13101 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
13102 return (void *)((wxEvent *) ((wxPaintEvent *) x));
13103 }
13104 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
13105 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
13106 }
13107 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
13108 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
13109 }
13110 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
13111 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
13112 }
13113 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
13114 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
13115 }
13116 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
13117 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
13118 }
13119 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
13120 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
13121 }
13122 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
13123 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
13124 }
13125 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
13126 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
13127 }
13128 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
13129 return (void *)((wxEvent *) ((wxFocusEvent *) x));
13130 }
13131 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
13132 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
13133 }
13134 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
13135 return (void *)((wxEvent *) ((wxShowEvent *) x));
13136 }
13137 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
13138 return (void *)((wxEvent *) ((wxCommandEvent *) x));
13139 }
13140 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
13141 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
13142 }
13143 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
13144 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13145 }
13146 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
13147 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
13148 }
13149 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
13150 return (void *)((wxEvent *) ((wxKeyEvent *) x));
13151 }
13152 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
13153 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
13154 }
13155 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
13156 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
13157 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}};
13158 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
13159 static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0},{"_p_wxStyledTextEvent"},{0}};
13160 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}};
13161 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}};
13162 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
13163 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
13164 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
13165 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
13166 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
13167 static swig_type_info _swigt__p_wxDragResult[] = {{"_p_wxDragResult", 0, "wxDragResult *", 0},{"_p_wxDragResult"},{0}};
13168 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{0}};
13169 static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0},{"_p_wxStyledTextCtrl"},{0}};
13170 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
13171 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}};
13172 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
13173 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13174 static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0},{"_p_wxMemoryBuffer"},{0}};
13175
13176 static swig_type_info *swig_types_initial[] = {
13177 _swigt__p_wxRect,
13178 _swigt__p_wxColour,
13179 _swigt__p_wxObject,
13180 _swigt__p_wxScrollBar,
13181 _swigt__p_wxStyledTextEvent,
13182 _swigt__p_wxWindow,
13183 _swigt__p_wxCommandEvent,
13184 _swigt__p_wxBitmap,
13185 _swigt__p_void,
13186 _swigt__p_wxPoint,
13187 _swigt__p_wxDC,
13188 _swigt__p_char,
13189 _swigt__p_wxDragResult,
13190 _swigt__p_wxEvtHandler,
13191 _swigt__p_wxStyledTextCtrl,
13192 _swigt__p_wxFont,
13193 _swigt__p_wxControl,
13194 _swigt__p_wxEvent,
13195 _swigt__p_int,
13196 _swigt__p_wxMemoryBuffer,
13197 0
13198 };
13199
13200
13201 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13202
13203 static swig_const_info swig_const_table[] = {
13204 {0}};
13205
13206 #ifdef __cplusplus
13207 }
13208 #endif
13209
13210 #ifdef __cplusplus
13211 extern "C"
13212 #endif
13213 SWIGEXPORT(void) SWIG_init(void) {
13214 static PyObject *SWIG_globals = 0;
13215 static int typeinit = 0;
13216 PyObject *m, *d;
13217 int i;
13218 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
13219 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13220 d = PyModule_GetDict(m);
13221
13222 if (!typeinit) {
13223 for (i = 0; swig_types_initial[i]; i++) {
13224 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
13225 }
13226 typeinit = 1;
13227 }
13228 SWIG_InstallConstants(d,swig_const_table);
13229
13230 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
13231 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
13232 PyDict_SetItemString(d,"STC_USE_DND", SWIG_PyObj_FromInt((int)1));
13233 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_PyObj_FromInt((int)1));
13234 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_PyObj_FromInt((int)-1));
13235 PyDict_SetItemString(d,"STC_START", SWIG_PyObj_FromInt((int)2000));
13236 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_PyObj_FromInt((int)3000));
13237 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_PyObj_FromInt((int)4000));
13238 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_PyObj_FromInt((int)0));
13239 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_PyObj_FromInt((int)1));
13240 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_PyObj_FromInt((int)2));
13241 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_PyObj_FromInt((int)0));
13242 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_PyObj_FromInt((int)1));
13243 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_PyObj_FromInt((int)2));
13244 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_PyObj_FromInt((int)65001));
13245 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_PyObj_FromInt((int)1));
13246 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_PyObj_FromInt((int)31));
13247 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_PyObj_FromInt((int)0));
13248 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_PyObj_FromInt((int)1));
13249 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_PyObj_FromInt((int)2));
13250 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_PyObj_FromInt((int)3));
13251 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_PyObj_FromInt((int)4));
13252 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_PyObj_FromInt((int)5));
13253 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_PyObj_FromInt((int)6));
13254 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_PyObj_FromInt((int)7));
13255 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_PyObj_FromInt((int)8));
13256 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_PyObj_FromInt((int)9));
13257 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_PyObj_FromInt((int)10));
13258 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_PyObj_FromInt((int)11));
13259 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_PyObj_FromInt((int)12));
13260 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_PyObj_FromInt((int)13));
13261 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_PyObj_FromInt((int)14));
13262 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_PyObj_FromInt((int)15));
13263 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_PyObj_FromInt((int)16));
13264 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_PyObj_FromInt((int)17));
13265 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_PyObj_FromInt((int)18));
13266 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_PyObj_FromInt((int)19));
13267 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_PyObj_FromInt((int)20));
13268 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_PyObj_FromInt((int)21));
13269 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_PyObj_FromInt((int)22));
13270 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_PyObj_FromInt((int)23));
13271 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_PyObj_FromInt((int)24));
13272 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_PyObj_FromInt((int)25));
13273 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_PyObj_FromInt((int)10000));
13274 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_PyObj_FromInt((int)25));
13275 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_PyObj_FromInt((int)26));
13276 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_PyObj_FromInt((int)27));
13277 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_PyObj_FromInt((int)28));
13278 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_PyObj_FromInt((int)29));
13279 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_PyObj_FromInt((int)30));
13280 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_PyObj_FromInt((int)31));
13281 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_PyObj_FromInt((int)0xFE000000));
13282 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_PyObj_FromInt((int)0));
13283 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_PyObj_FromInt((int)1));
13284 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_PyObj_FromInt((int)32));
13285 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_PyObj_FromInt((int)33));
13286 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_PyObj_FromInt((int)34));
13287 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_PyObj_FromInt((int)35));
13288 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_PyObj_FromInt((int)36));
13289 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_PyObj_FromInt((int)37));
13290 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_PyObj_FromInt((int)39));
13291 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_PyObj_FromInt((int)127));
13292 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_PyObj_FromInt((int)0));
13293 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_PyObj_FromInt((int)1));
13294 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_PyObj_FromInt((int)186));
13295 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_PyObj_FromInt((int)136));
13296 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_PyObj_FromInt((int)238));
13297 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_PyObj_FromInt((int)134));
13298 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_PyObj_FromInt((int)161));
13299 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_PyObj_FromInt((int)129));
13300 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_PyObj_FromInt((int)77));
13301 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_PyObj_FromInt((int)255));
13302 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_PyObj_FromInt((int)204));
13303 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_PyObj_FromInt((int)128));
13304 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_PyObj_FromInt((int)2));
13305 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_PyObj_FromInt((int)162));
13306 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_PyObj_FromInt((int)130));
13307 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_PyObj_FromInt((int)177));
13308 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_PyObj_FromInt((int)178));
13309 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_PyObj_FromInt((int)163));
13310 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_PyObj_FromInt((int)222));
13311 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_PyObj_FromInt((int)0));
13312 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_PyObj_FromInt((int)1));
13313 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_PyObj_FromInt((int)2));
13314 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_PyObj_FromInt((int)7));
13315 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_PyObj_FromInt((int)0));
13316 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_PyObj_FromInt((int)1));
13317 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_PyObj_FromInt((int)2));
13318 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_PyObj_FromInt((int)3));
13319 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_PyObj_FromInt((int)4));
13320 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_PyObj_FromInt((int)5));
13321 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_PyObj_FromInt((int)0x20));
13322 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_PyObj_FromInt((int)0x40));
13323 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_PyObj_FromInt((int)0x80));
13324 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_PyObj_FromInt((int)0xE0));
13325 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_PyObj_FromInt((int)0));
13326 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_PyObj_FromInt((int)1));
13327 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_PyObj_FromInt((int)2));
13328 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_PyObj_FromInt((int)3));
13329 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_PyObj_FromInt((int)4));
13330 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_PyObj_FromInt((int)2));
13331 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_PyObj_FromInt((int)4));
13332 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_PyObj_FromInt((int)0x00100000));
13333 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_PyObj_FromInt((int)0x00200000));
13334 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_PyObj_FromInt((int)0x00400000));
13335 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_PyObj_FromInt((int)0x400));
13336 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_PyObj_FromInt((int)0x1000));
13337 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_PyObj_FromInt((int)0x2000));
13338 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_PyObj_FromInt((int)0x4000));
13339 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_PyObj_FromInt((int)0x8000));
13340 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_PyObj_FromInt((int)0x10000));
13341 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_PyObj_FromInt((int)0x20000));
13342 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_PyObj_FromInt((int)0x0FFF));
13343 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_PyObj_FromInt((int)0x0002));
13344 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_PyObj_FromInt((int)0x0004));
13345 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_PyObj_FromInt((int)0x0008));
13346 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_PyObj_FromInt((int)0x0010));
13347 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_PyObj_FromInt((int)0x0040));
13348 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_PyObj_FromInt((int)0x0001));
13349 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_PyObj_FromInt((int)10000000));
13350 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_PyObj_FromInt((int)0));
13351 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_PyObj_FromInt((int)1));
13352 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_PyObj_FromInt((int)0));
13353 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_PyObj_FromInt((int)1));
13354 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_PyObj_FromInt((int)2));
13355 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_PyObj_FromInt((int)3));
13356 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_PyObj_FromInt((int)0));
13357 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_PyObj_FromInt((int)1));
13358 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_PyObj_FromInt((int)2));
13359 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_PyObj_FromInt((int)-1));
13360 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_PyObj_FromInt((int)4));
13361 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_PyObj_FromInt((int)0x01));
13362 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_PyObj_FromInt((int)0x04));
13363 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_PyObj_FromInt((int)0x01));
13364 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_PyObj_FromInt((int)0x04));
13365 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_PyObj_FromInt((int)0x10));
13366 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_PyObj_FromInt((int)0x08));
13367 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_PyObj_FromInt((int)8));
13368 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_PyObj_FromInt((int)0x1));
13369 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_PyObj_FromInt((int)0x2));
13370 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_PyObj_FromInt((int)0x4));
13371 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_PyObj_FromInt((int)0x8));
13372 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_PyObj_FromInt((int)0x10));
13373 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_PyObj_FromInt((int)0x20));
13374 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_PyObj_FromInt((int)0x40));
13375 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_PyObj_FromInt((int)0x100));
13376 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_PyObj_FromInt((int)0x200));
13377 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_PyObj_FromInt((int)0x400));
13378 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_PyObj_FromInt((int)0x800));
13379 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_PyObj_FromInt((int)0xF77));
13380 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_PyObj_FromInt((int)300));
13381 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_PyObj_FromInt((int)301));
13382 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_PyObj_FromInt((int)302));
13383 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_PyObj_FromInt((int)303));
13384 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_PyObj_FromInt((int)304));
13385 PyDict_SetItemString(d,"STC_KEY_END", SWIG_PyObj_FromInt((int)305));
13386 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_PyObj_FromInt((int)306));
13387 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_PyObj_FromInt((int)307));
13388 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_PyObj_FromInt((int)308));
13389 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_PyObj_FromInt((int)309));
13390 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_PyObj_FromInt((int)7));
13391 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_PyObj_FromInt((int)8));
13392 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_PyObj_FromInt((int)9));
13393 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_PyObj_FromInt((int)13));
13394 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_PyObj_FromInt((int)310));
13395 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_PyObj_FromInt((int)311));
13396 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_PyObj_FromInt((int)312));
13397 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_PyObj_FromInt((int)1));
13398 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_PyObj_FromInt((int)2));
13399 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_PyObj_FromInt((int)4));
13400 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_PyObj_FromInt((int)0));
13401 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_PyObj_FromInt((int)1));
13402 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_PyObj_FromInt((int)2));
13403 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_PyObj_FromInt((int)3));
13404 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_PyObj_FromInt((int)4));
13405 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_PyObj_FromInt((int)5));
13406 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_PyObj_FromInt((int)6));
13407 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_PyObj_FromInt((int)7));
13408 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_PyObj_FromInt((int)8));
13409 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_PyObj_FromInt((int)9));
13410 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_PyObj_FromInt((int)10));
13411 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_PyObj_FromInt((int)11));
13412 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_PyObj_FromInt((int)12));
13413 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_PyObj_FromInt((int)13));
13414 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_PyObj_FromInt((int)14));
13415 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_PyObj_FromInt((int)15));
13416 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_PyObj_FromInt((int)16));
13417 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_PyObj_FromInt((int)17));
13418 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_PyObj_FromInt((int)18));
13419 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_PyObj_FromInt((int)19));
13420 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_PyObj_FromInt((int)20));
13421 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_PyObj_FromInt((int)21));
13422 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_PyObj_FromInt((int)22));
13423 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_PyObj_FromInt((int)23));
13424 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_PyObj_FromInt((int)24));
13425 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_PyObj_FromInt((int)25));
13426 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_PyObj_FromInt((int)26));
13427 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_PyObj_FromInt((int)27));
13428 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_PyObj_FromInt((int)28));
13429 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_PyObj_FromInt((int)29));
13430 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_PyObj_FromInt((int)30));
13431 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_PyObj_FromInt((int)31));
13432 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_PyObj_FromInt((int)32));
13433 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_PyObj_FromInt((int)33));
13434 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_PyObj_FromInt((int)34));
13435 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_PyObj_FromInt((int)35));
13436 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_PyObj_FromInt((int)36));
13437 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_PyObj_FromInt((int)37));
13438 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_PyObj_FromInt((int)38));
13439 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_PyObj_FromInt((int)39));
13440 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_PyObj_FromInt((int)40));
13441 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_PyObj_FromInt((int)41));
13442 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_PyObj_FromInt((int)42));
13443 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_PyObj_FromInt((int)43));
13444 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_PyObj_FromInt((int)44));
13445 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_PyObj_FromInt((int)1000));
13446 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_PyObj_FromInt((int)0));
13447 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_PyObj_FromInt((int)1));
13448 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_PyObj_FromInt((int)2));
13449 PyDict_SetItemString(d,"STC_P_STRING", SWIG_PyObj_FromInt((int)3));
13450 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_PyObj_FromInt((int)4));
13451 PyDict_SetItemString(d,"STC_P_WORD", SWIG_PyObj_FromInt((int)5));
13452 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_PyObj_FromInt((int)6));
13453 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)7));
13454 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_PyObj_FromInt((int)8));
13455 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_PyObj_FromInt((int)9));
13456 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_PyObj_FromInt((int)10));
13457 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13458 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_PyObj_FromInt((int)12));
13459 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_PyObj_FromInt((int)13));
13460 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_PyObj_FromInt((int)0));
13461 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_PyObj_FromInt((int)1));
13462 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13463 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13464 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_PyObj_FromInt((int)4));
13465 PyDict_SetItemString(d,"STC_C_WORD", SWIG_PyObj_FromInt((int)5));
13466 PyDict_SetItemString(d,"STC_C_STRING", SWIG_PyObj_FromInt((int)6));
13467 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_PyObj_FromInt((int)7));
13468 PyDict_SetItemString(d,"STC_C_UUID", SWIG_PyObj_FromInt((int)8));
13469 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13470 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_PyObj_FromInt((int)10));
13471 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13472 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13473 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_PyObj_FromInt((int)13));
13474 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_PyObj_FromInt((int)14));
13475 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_PyObj_FromInt((int)15));
13476 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_PyObj_FromInt((int)16));
13477 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_PyObj_FromInt((int)17));
13478 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_PyObj_FromInt((int)18));
13479 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_PyObj_FromInt((int)19));
13480 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_PyObj_FromInt((int)0));
13481 PyDict_SetItemString(d,"STC_H_TAG", SWIG_PyObj_FromInt((int)1));
13482 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_PyObj_FromInt((int)2));
13483 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_PyObj_FromInt((int)3));
13484 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_PyObj_FromInt((int)4));
13485 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_PyObj_FromInt((int)5));
13486 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_PyObj_FromInt((int)6));
13487 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_PyObj_FromInt((int)7));
13488 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_PyObj_FromInt((int)8));
13489 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_PyObj_FromInt((int)9));
13490 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_PyObj_FromInt((int)10));
13491 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_PyObj_FromInt((int)11));
13492 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_PyObj_FromInt((int)12));
13493 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_PyObj_FromInt((int)13));
13494 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_PyObj_FromInt((int)14));
13495 PyDict_SetItemString(d,"STC_H_ASP", SWIG_PyObj_FromInt((int)15));
13496 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_PyObj_FromInt((int)16));
13497 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_PyObj_FromInt((int)17));
13498 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_PyObj_FromInt((int)18));
13499 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_PyObj_FromInt((int)19));
13500 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_PyObj_FromInt((int)20));
13501 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_PyObj_FromInt((int)21));
13502 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_PyObj_FromInt((int)22));
13503 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_PyObj_FromInt((int)23));
13504 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_PyObj_FromInt((int)24));
13505 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_PyObj_FromInt((int)25));
13506 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_PyObj_FromInt((int)26));
13507 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_PyObj_FromInt((int)27));
13508 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_PyObj_FromInt((int)28));
13509 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_PyObj_FromInt((int)29));
13510 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_PyObj_FromInt((int)30));
13511 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_PyObj_FromInt((int)31));
13512 PyDict_SetItemString(d,"STC_HJ_START", SWIG_PyObj_FromInt((int)40));
13513 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_PyObj_FromInt((int)41));
13514 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_PyObj_FromInt((int)42));
13515 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_PyObj_FromInt((int)43));
13516 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_PyObj_FromInt((int)44));
13517 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_PyObj_FromInt((int)45));
13518 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_PyObj_FromInt((int)46));
13519 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_PyObj_FromInt((int)47));
13520 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_PyObj_FromInt((int)48));
13521 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_PyObj_FromInt((int)49));
13522 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_PyObj_FromInt((int)50));
13523 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_PyObj_FromInt((int)51));
13524 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_PyObj_FromInt((int)52));
13525 PyDict_SetItemString(d,"STC_HJA_START", SWIG_PyObj_FromInt((int)55));
13526 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_PyObj_FromInt((int)56));
13527 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_PyObj_FromInt((int)57));
13528 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_PyObj_FromInt((int)58));
13529 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_PyObj_FromInt((int)59));
13530 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_PyObj_FromInt((int)60));
13531 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_PyObj_FromInt((int)61));
13532 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_PyObj_FromInt((int)62));
13533 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_PyObj_FromInt((int)63));
13534 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_PyObj_FromInt((int)64));
13535 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_PyObj_FromInt((int)65));
13536 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_PyObj_FromInt((int)66));
13537 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_PyObj_FromInt((int)67));
13538 PyDict_SetItemString(d,"STC_HB_START", SWIG_PyObj_FromInt((int)70));
13539 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_PyObj_FromInt((int)71));
13540 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_PyObj_FromInt((int)72));
13541 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_PyObj_FromInt((int)73));
13542 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_PyObj_FromInt((int)74));
13543 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_PyObj_FromInt((int)75));
13544 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_PyObj_FromInt((int)76));
13545 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_PyObj_FromInt((int)77));
13546 PyDict_SetItemString(d,"STC_HBA_START", SWIG_PyObj_FromInt((int)80));
13547 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_PyObj_FromInt((int)81));
13548 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_PyObj_FromInt((int)82));
13549 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_PyObj_FromInt((int)83));
13550 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_PyObj_FromInt((int)84));
13551 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_PyObj_FromInt((int)85));
13552 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_PyObj_FromInt((int)86));
13553 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_PyObj_FromInt((int)87));
13554 PyDict_SetItemString(d,"STC_HP_START", SWIG_PyObj_FromInt((int)90));
13555 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_PyObj_FromInt((int)91));
13556 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_PyObj_FromInt((int)92));
13557 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_PyObj_FromInt((int)93));
13558 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_PyObj_FromInt((int)94));
13559 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_PyObj_FromInt((int)95));
13560 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_PyObj_FromInt((int)96));
13561 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_PyObj_FromInt((int)97));
13562 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)98));
13563 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_PyObj_FromInt((int)99));
13564 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_PyObj_FromInt((int)100));
13565 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_PyObj_FromInt((int)101));
13566 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_PyObj_FromInt((int)102));
13567 PyDict_SetItemString(d,"STC_HPA_START", SWIG_PyObj_FromInt((int)105));
13568 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_PyObj_FromInt((int)106));
13569 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_PyObj_FromInt((int)107));
13570 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_PyObj_FromInt((int)108));
13571 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_PyObj_FromInt((int)109));
13572 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_PyObj_FromInt((int)110));
13573 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_PyObj_FromInt((int)111));
13574 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_PyObj_FromInt((int)112));
13575 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)113));
13576 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_PyObj_FromInt((int)114));
13577 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_PyObj_FromInt((int)115));
13578 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_PyObj_FromInt((int)116));
13579 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_PyObj_FromInt((int)117));
13580 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_PyObj_FromInt((int)118));
13581 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_PyObj_FromInt((int)119));
13582 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_PyObj_FromInt((int)120));
13583 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_PyObj_FromInt((int)121));
13584 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_PyObj_FromInt((int)122));
13585 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_PyObj_FromInt((int)123));
13586 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_PyObj_FromInt((int)124));
13587 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_PyObj_FromInt((int)125));
13588 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_PyObj_FromInt((int)126));
13589 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_PyObj_FromInt((int)127));
13590 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_PyObj_FromInt((int)0));
13591 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_PyObj_FromInt((int)1));
13592 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13593 PyDict_SetItemString(d,"STC_PL_POD", SWIG_PyObj_FromInt((int)3));
13594 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_PyObj_FromInt((int)4));
13595 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_PyObj_FromInt((int)5));
13596 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_PyObj_FromInt((int)6));
13597 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_PyObj_FromInt((int)7));
13598 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_PyObj_FromInt((int)8));
13599 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13600 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_PyObj_FromInt((int)10));
13601 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13602 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_PyObj_FromInt((int)12));
13603 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_PyObj_FromInt((int)13));
13604 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_PyObj_FromInt((int)14));
13605 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_PyObj_FromInt((int)15));
13606 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_PyObj_FromInt((int)17));
13607 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_PyObj_FromInt((int)18));
13608 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_PyObj_FromInt((int)19));
13609 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_PyObj_FromInt((int)20));
13610 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_PyObj_FromInt((int)21));
13611 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_PyObj_FromInt((int)22));
13612 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_PyObj_FromInt((int)23));
13613 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_PyObj_FromInt((int)24));
13614 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_PyObj_FromInt((int)25));
13615 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_PyObj_FromInt((int)26));
13616 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_PyObj_FromInt((int)27));
13617 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_PyObj_FromInt((int)28));
13618 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_PyObj_FromInt((int)29));
13619 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_PyObj_FromInt((int)30));
13620 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_PyObj_FromInt((int)0));
13621 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_PyObj_FromInt((int)1));
13622 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_PyObj_FromInt((int)2));
13623 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_PyObj_FromInt((int)3));
13624 PyDict_SetItemString(d,"STC_B_STRING", SWIG_PyObj_FromInt((int)4));
13625 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_PyObj_FromInt((int)5));
13626 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_PyObj_FromInt((int)6));
13627 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13628 PyDict_SetItemString(d,"STC_B_DATE", SWIG_PyObj_FromInt((int)8));
13629 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13630 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_PyObj_FromInt((int)1));
13631 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_PyObj_FromInt((int)2));
13632 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_PyObj_FromInt((int)3));
13633 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_PyObj_FromInt((int)4));
13634 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_PyObj_FromInt((int)0));
13635 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_PyObj_FromInt((int)1));
13636 PyDict_SetItemString(d,"STC_L_TAG", SWIG_PyObj_FromInt((int)2));
13637 PyDict_SetItemString(d,"STC_L_MATH", SWIG_PyObj_FromInt((int)3));
13638 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_PyObj_FromInt((int)4));
13639 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_PyObj_FromInt((int)0));
13640 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_PyObj_FromInt((int)1));
13641 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13642 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13643 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_PyObj_FromInt((int)4));
13644 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_PyObj_FromInt((int)5));
13645 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_PyObj_FromInt((int)6));
13646 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_PyObj_FromInt((int)7));
13647 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_PyObj_FromInt((int)8));
13648 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13649 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_PyObj_FromInt((int)10));
13650 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13651 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13652 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_PyObj_FromInt((int)13));
13653 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_PyObj_FromInt((int)14));
13654 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_PyObj_FromInt((int)15));
13655 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_PyObj_FromInt((int)16));
13656 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_PyObj_FromInt((int)17));
13657 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_PyObj_FromInt((int)18));
13658 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_PyObj_FromInt((int)19));
13659 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_PyObj_FromInt((int)0));
13660 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_PyObj_FromInt((int)1));
13661 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_PyObj_FromInt((int)2));
13662 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_PyObj_FromInt((int)3));
13663 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_PyObj_FromInt((int)4));
13664 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_PyObj_FromInt((int)5));
13665 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_PyObj_FromInt((int)6));
13666 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_PyObj_FromInt((int)7));
13667 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_PyObj_FromInt((int)8));
13668 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_PyObj_FromInt((int)9));
13669 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_PyObj_FromInt((int)10));
13670 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_PyObj_FromInt((int)11));
13671 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_PyObj_FromInt((int)12));
13672 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_PyObj_FromInt((int)13));
13673 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_PyObj_FromInt((int)14));
13674 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_PyObj_FromInt((int)15));
13675 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_PyObj_FromInt((int)16));
13676 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_PyObj_FromInt((int)0));
13677 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_PyObj_FromInt((int)1));
13678 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_PyObj_FromInt((int)2));
13679 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_PyObj_FromInt((int)3));
13680 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_PyObj_FromInt((int)4));
13681 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_PyObj_FromInt((int)5));
13682 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_PyObj_FromInt((int)6));
13683 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_PyObj_FromInt((int)7));
13684 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_PyObj_FromInt((int)0));
13685 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_PyObj_FromInt((int)1));
13686 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_PyObj_FromInt((int)2));
13687 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_PyObj_FromInt((int)3));
13688 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_PyObj_FromInt((int)4));
13689 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_PyObj_FromInt((int)5));
13690 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_PyObj_FromInt((int)9));
13691 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_PyObj_FromInt((int)0));
13692 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_PyObj_FromInt((int)1));
13693 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_PyObj_FromInt((int)2));
13694 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_PyObj_FromInt((int)3));
13695 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_PyObj_FromInt((int)4));
13696 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_PyObj_FromInt((int)5));
13697 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_PyObj_FromInt((int)6));
13698 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_PyObj_FromInt((int)0));
13699 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_PyObj_FromInt((int)1));
13700 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_PyObj_FromInt((int)2));
13701 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_PyObj_FromInt((int)3));
13702 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_PyObj_FromInt((int)4));
13703 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_PyObj_FromInt((int)5));
13704 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_PyObj_FromInt((int)6));
13705 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_PyObj_FromInt((int)7));
13706 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_PyObj_FromInt((int)8));
13707 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_PyObj_FromInt((int)9));
13708 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_PyObj_FromInt((int)0));
13709 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_PyObj_FromInt((int)1));
13710 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_PyObj_FromInt((int)2));
13711 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_PyObj_FromInt((int)3));
13712 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_PyObj_FromInt((int)6));
13713 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_PyObj_FromInt((int)7));
13714 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13715 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
13716 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_PyObj_FromInt((int)10));
13717 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_PyObj_FromInt((int)11));
13718 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_PyObj_FromInt((int)12));
13719 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_PyObj_FromInt((int)13));
13720 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_PyObj_FromInt((int)14));
13721 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_PyObj_FromInt((int)15));
13722 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_PyObj_FromInt((int)16));
13723 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_PyObj_FromInt((int)0));
13724 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_PyObj_FromInt((int)1));
13725 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_PyObj_FromInt((int)2));
13726 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_PyObj_FromInt((int)3));
13727 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_PyObj_FromInt((int)4));
13728 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_PyObj_FromInt((int)5));
13729 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_PyObj_FromInt((int)6));
13730 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_PyObj_FromInt((int)7));
13731 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13732 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_PyObj_FromInt((int)9));
13733 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_PyObj_FromInt((int)10));
13734 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_PyObj_FromInt((int)11));
13735 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_PyObj_FromInt((int)0));
13736 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_PyObj_FromInt((int)1));
13737 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_PyObj_FromInt((int)2));
13738 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_PyObj_FromInt((int)3));
13739 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_PyObj_FromInt((int)4));
13740 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_PyObj_FromInt((int)5));
13741 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_PyObj_FromInt((int)6));
13742 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_PyObj_FromInt((int)7));
13743 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_PyObj_FromInt((int)8));
13744 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_PyObj_FromInt((int)9));
13745 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_PyObj_FromInt((int)10));
13746 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_PyObj_FromInt((int)0));
13747 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_PyObj_FromInt((int)1));
13748 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_PyObj_FromInt((int)2));
13749 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_PyObj_FromInt((int)3));
13750 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_PyObj_FromInt((int)6));
13751 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13752 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
13753 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_PyObj_FromInt((int)10));
13754 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_PyObj_FromInt((int)0));
13755 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_PyObj_FromInt((int)1));
13756 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_PyObj_FromInt((int)2));
13757 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_PyObj_FromInt((int)3));
13758 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_PyObj_FromInt((int)4));
13759 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_PyObj_FromInt((int)5));
13760 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_PyObj_FromInt((int)6));
13761 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13762 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13763 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_PyObj_FromInt((int)0));
13764 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_PyObj_FromInt((int)1));
13765 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_PyObj_FromInt((int)2));
13766 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_PyObj_FromInt((int)3));
13767 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_PyObj_FromInt((int)4));
13768 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_PyObj_FromInt((int)5));
13769 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_PyObj_FromInt((int)6));
13770 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_PyObj_FromInt((int)7));
13771 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_PyObj_FromInt((int)8));
13772 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_PyObj_FromInt((int)9));
13773 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_PyObj_FromInt((int)10));
13774 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_PyObj_FromInt((int)0));
13775 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_PyObj_FromInt((int)1));
13776 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_PyObj_FromInt((int)2));
13777 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_PyObj_FromInt((int)3));
13778 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_PyObj_FromInt((int)4));
13779 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_PyObj_FromInt((int)5));
13780 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_PyObj_FromInt((int)6));
13781 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13782 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_PyObj_FromInt((int)0));
13783 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENT", SWIG_PyObj_FromInt((int)1));
13784 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13785 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13786 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_PyObj_FromInt((int)4));
13787 PyDict_SetItemString(d,"STC_SCRIPTOL_WORD", SWIG_PyObj_FromInt((int)5));
13788 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_PyObj_FromInt((int)6));
13789 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_PyObj_FromInt((int)7));
13790 PyDict_SetItemString(d,"STC_SCRIPTOL_UUID", SWIG_PyObj_FromInt((int)8));
13791 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13792 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_PyObj_FromInt((int)10));
13793 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13794 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13795 PyDict_SetItemString(d,"STC_SCRIPTOL_VERBATIM", SWIG_PyObj_FromInt((int)13));
13796 PyDict_SetItemString(d,"STC_SCRIPTOL_REGEX", SWIG_PyObj_FromInt((int)14));
13797 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINEDOC", SWIG_PyObj_FromInt((int)15));
13798 PyDict_SetItemString(d,"STC_SCRIPTOL_WORD2", SWIG_PyObj_FromInt((int)16));
13799 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTDOCKEYWORD", SWIG_PyObj_FromInt((int)17));
13800 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTDOCKEYWORDERROR", SWIG_PyObj_FromInt((int)18));
13801 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBASIC", SWIG_PyObj_FromInt((int)19));
13802 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_PyObj_FromInt((int)0));
13803 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_PyObj_FromInt((int)1));
13804 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_PyObj_FromInt((int)2));
13805 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_PyObj_FromInt((int)3));
13806 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_PyObj_FromInt((int)4));
13807 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_PyObj_FromInt((int)5));
13808 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_PyObj_FromInt((int)6));
13809 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_PyObj_FromInt((int)7));
13810 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_PyObj_FromInt((int)8));
13811 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_PyObj_FromInt((int)9));
13812 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_PyObj_FromInt((int)10));
13813 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_PyObj_FromInt((int)0));
13814 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_PyObj_FromInt((int)1));
13815 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_PyObj_FromInt((int)2));
13816 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_PyObj_FromInt((int)3));
13817 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_PyObj_FromInt((int)4));
13818 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_PyObj_FromInt((int)5));
13819 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_PyObj_FromInt((int)6));
13820 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13821 PyDict_SetItemString(d,"STC_F_WORD", SWIG_PyObj_FromInt((int)8));
13822 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_PyObj_FromInt((int)9));
13823 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_PyObj_FromInt((int)10));
13824 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_PyObj_FromInt((int)11));
13825 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_PyObj_FromInt((int)12));
13826 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_PyObj_FromInt((int)13));
13827 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_PyObj_FromInt((int)14));
13828 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13829 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_PyObj_FromInt((int)1));
13830 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_PyObj_FromInt((int)2));
13831 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_PyObj_FromInt((int)3));
13832 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_PyObj_FromInt((int)4));
13833 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_PyObj_FromInt((int)5));
13834 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_PyObj_FromInt((int)6));
13835 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13836 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_PyObj_FromInt((int)8));
13837 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_PyObj_FromInt((int)9));
13838 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_PyObj_FromInt((int)10));
13839 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_PyObj_FromInt((int)11));
13840 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_PyObj_FromInt((int)12));
13841 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_PyObj_FromInt((int)13));
13842 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_PyObj_FromInt((int)14));
13843 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_PyObj_FromInt((int)0));
13844 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_PyObj_FromInt((int)1));
13845 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13846 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_PyObj_FromInt((int)3));
13847 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_PyObj_FromInt((int)4));
13848 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_PyObj_FromInt((int)5));
13849 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_PyObj_FromInt((int)6));
13850 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_PyObj_FromInt((int)7));
13851 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_PyObj_FromInt((int)8));
13852 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_PyObj_FromInt((int)9));
13853 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_PyObj_FromInt((int)10));
13854 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_PyObj_FromInt((int)11));
13855 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_PyObj_FromInt((int)12));
13856 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_PyObj_FromInt((int)13));
13857 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_PyObj_FromInt((int)14));
13858 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_PyObj_FromInt((int)15));
13859 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_PyObj_FromInt((int)16));
13860 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_PyObj_FromInt((int)0));
13861 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_PyObj_FromInt((int)1));
13862 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_PyObj_FromInt((int)2));
13863 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_PyObj_FromInt((int)3));
13864 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_PyObj_FromInt((int)4));
13865 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_PyObj_FromInt((int)5));
13866 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_PyObj_FromInt((int)6));
13867 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_PyObj_FromInt((int)7));
13868 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_PyObj_FromInt((int)8));
13869 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
13870 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_PyObj_FromInt((int)10));
13871 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_PyObj_FromInt((int)0));
13872 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_PyObj_FromInt((int)1));
13873 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13874 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13875 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_PyObj_FromInt((int)4));
13876 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_PyObj_FromInt((int)5));
13877 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_PyObj_FromInt((int)6));
13878 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_PyObj_FromInt((int)7));
13879 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_PyObj_FromInt((int)8));
13880 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_PyObj_FromInt((int)9));
13881 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_PyObj_FromInt((int)10));
13882 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_PyObj_FromInt((int)11));
13883 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13884 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_PyObj_FromInt((int)1));
13885 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_PyObj_FromInt((int)2));
13886 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_PyObj_FromInt((int)3));
13887 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_PyObj_FromInt((int)4));
13888 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_PyObj_FromInt((int)5));
13889 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_PyObj_FromInt((int)6));
13890 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_PyObj_FromInt((int)7));
13891 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_PyObj_FromInt((int)8));
13892 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_PyObj_FromInt((int)9));
13893 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_PyObj_FromInt((int)10));
13894 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_PyObj_FromInt((int)11));
13895 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_PyObj_FromInt((int)12));
13896 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_PyObj_FromInt((int)13));
13897 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_PyObj_FromInt((int)14));
13898 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_PyObj_FromInt((int)15));
13899 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13900 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_PyObj_FromInt((int)1));
13901 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_PyObj_FromInt((int)2));
13902 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_PyObj_FromInt((int)3));
13903 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_PyObj_FromInt((int)4));
13904 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_PyObj_FromInt((int)5));
13905 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_PyObj_FromInt((int)6));
13906 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_PyObj_FromInt((int)7));
13907 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_PyObj_FromInt((int)8));
13908 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_PyObj_FromInt((int)9));
13909 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_PyObj_FromInt((int)10));
13910 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_PyObj_FromInt((int)11));
13911 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_PyObj_FromInt((int)12));
13912 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_PyObj_FromInt((int)13));
13913 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_PyObj_FromInt((int)0));
13914 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_PyObj_FromInt((int)1));
13915 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_PyObj_FromInt((int)2));
13916 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_PyObj_FromInt((int)3));
13917 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_PyObj_FromInt((int)4));
13918 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_PyObj_FromInt((int)5));
13919 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_PyObj_FromInt((int)6));
13920 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_PyObj_FromInt((int)7));
13921 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_PyObj_FromInt((int)8));
13922 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_PyObj_FromInt((int)9));
13923 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_PyObj_FromInt((int)10));
13924 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_PyObj_FromInt((int)11));
13925 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_PyObj_FromInt((int)12));
13926 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_PyObj_FromInt((int)13));
13927 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_PyObj_FromInt((int)14));
13928 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_PyObj_FromInt((int)15));
13929 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_PyObj_FromInt((int)16));
13930 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_PyObj_FromInt((int)17));
13931 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_PyObj_FromInt((int)2011));
13932 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_PyObj_FromInt((int)2013));
13933 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_PyObj_FromInt((int)2176));
13934 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_PyObj_FromInt((int)2177));
13935 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_PyObj_FromInt((int)2178));
13936 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_PyObj_FromInt((int)2179));
13937 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_PyObj_FromInt((int)2180));
13938 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_PyObj_FromInt((int)2300));
13939 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_PyObj_FromInt((int)2301));
13940 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_PyObj_FromInt((int)2302));
13941 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_PyObj_FromInt((int)2303));
13942 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_PyObj_FromInt((int)2304));
13943 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_PyObj_FromInt((int)2305));
13944 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_PyObj_FromInt((int)2306));
13945 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_PyObj_FromInt((int)2307));
13946 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_PyObj_FromInt((int)2308));
13947 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_PyObj_FromInt((int)2309));
13948 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_PyObj_FromInt((int)2310));
13949 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_PyObj_FromInt((int)2311));
13950 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_PyObj_FromInt((int)2312));
13951 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_PyObj_FromInt((int)2313));
13952 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_PyObj_FromInt((int)2314));
13953 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_PyObj_FromInt((int)2315));
13954 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_PyObj_FromInt((int)2316));
13955 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_PyObj_FromInt((int)2317));
13956 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_PyObj_FromInt((int)2318));
13957 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_PyObj_FromInt((int)2319));
13958 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_PyObj_FromInt((int)2320));
13959 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_PyObj_FromInt((int)2321));
13960 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_PyObj_FromInt((int)2322));
13961 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_PyObj_FromInt((int)2323));
13962 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_PyObj_FromInt((int)2324));
13963 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_PyObj_FromInt((int)2325));
13964 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_PyObj_FromInt((int)2326));
13965 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_PyObj_FromInt((int)2327));
13966 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_PyObj_FromInt((int)2328));
13967 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_PyObj_FromInt((int)2329));
13968 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_PyObj_FromInt((int)2330));
13969 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_PyObj_FromInt((int)2331));
13970 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_PyObj_FromInt((int)2332));
13971 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_PyObj_FromInt((int)2333));
13972 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_PyObj_FromInt((int)2334));
13973 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_PyObj_FromInt((int)2335));
13974 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_PyObj_FromInt((int)2336));
13975 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_PyObj_FromInt((int)2337));
13976 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_PyObj_FromInt((int)2338));
13977 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_PyObj_FromInt((int)2339));
13978 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_PyObj_FromInt((int)2404));
13979 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_PyObj_FromInt((int)2340));
13980 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_PyObj_FromInt((int)2341));
13981 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_PyObj_FromInt((int)2342));
13982 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_PyObj_FromInt((int)2343));
13983 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_PyObj_FromInt((int)2344));
13984 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_PyObj_FromInt((int)2345));
13985 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_PyObj_FromInt((int)2346));
13986 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_PyObj_FromInt((int)2347));
13987 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_PyObj_FromInt((int)2348));
13988 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_PyObj_FromInt((int)2349));
13989 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_PyObj_FromInt((int)2450));
13990 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_PyObj_FromInt((int)2451));
13991 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_PyObj_FromInt((int)2452));
13992 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_PyObj_FromInt((int)2453));
13993 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_PyObj_FromInt((int)2454));
13994 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_PyObj_FromInt((int)2390));
13995 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_PyObj_FromInt((int)2391));
13996 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_PyObj_FromInt((int)2392));
13997 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_PyObj_FromInt((int)2393));
13998 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_PyObj_FromInt((int)2395));
13999 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_PyObj_FromInt((int)2396));
14000 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_PyObj_FromInt((int)2413));
14001 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_PyObj_FromInt((int)2414));
14002 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_PyObj_FromInt((int)2415));
14003 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_PyObj_FromInt((int)2416));
14004 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_PyObj_FromInt((int)wxEVT_STC_CHANGE));
14005 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_PyObj_FromInt((int)wxEVT_STC_STYLENEEDED));
14006 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_PyObj_FromInt((int)wxEVT_STC_CHARADDED));
14007 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_PyObj_FromInt((int)wxEVT_STC_SAVEPOINTREACHED));
14008 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_PyObj_FromInt((int)wxEVT_STC_SAVEPOINTLEFT));
14009 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_PyObj_FromInt((int)wxEVT_STC_ROMODIFYATTEMPT));
14010 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_PyObj_FromInt((int)wxEVT_STC_KEY));
14011 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_DOUBLECLICK));
14012 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_PyObj_FromInt((int)wxEVT_STC_UPDATEUI));
14013 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_PyObj_FromInt((int)wxEVT_STC_MODIFIED));
14014 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_PyObj_FromInt((int)wxEVT_STC_MACRORECORD));
14015 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_MARGINCLICK));
14016 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_PyObj_FromInt((int)wxEVT_STC_NEEDSHOWN));
14017 PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", SWIG_PyObj_FromInt((int)wxEVT_STC_POSCHANGED));
14018 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_PyObj_FromInt((int)wxEVT_STC_PAINTED));
14019 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_PyObj_FromInt((int)wxEVT_STC_USERLISTSELECTION));
14020 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_PyObj_FromInt((int)wxEVT_STC_URIDROPPED));
14021 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_PyObj_FromInt((int)wxEVT_STC_DWELLSTART));
14022 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_PyObj_FromInt((int)wxEVT_STC_DWELLEND));
14023 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_PyObj_FromInt((int)wxEVT_STC_START_DRAG));
14024 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_PyObj_FromInt((int)wxEVT_STC_DRAG_OVER));
14025 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_PyObj_FromInt((int)wxEVT_STC_DO_DROP));
14026 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_PyObj_FromInt((int)wxEVT_STC_ZOOM));
14027 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_HOTSPOT_CLICK));
14028 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_HOTSPOT_DCLICK));
14029 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_CALLTIP_CLICK));
14030
14031
14032 }
14033