]> 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.20
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
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
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
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxRect swig_types[0]
213 #define SWIGTYPE_p_wxColour swig_types[1]
214 #define SWIGTYPE_p_wxObject swig_types[2]
215 #define SWIGTYPE_p_wxScrollBar swig_types[3]
216 #define SWIGTYPE_p_wxStyledTextEvent swig_types[4]
217 #define SWIGTYPE_p_wxWindow swig_types[5]
218 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
219 #define SWIGTYPE_p_wxBitmap swig_types[7]
220 #define SWIGTYPE_p_void swig_types[8]
221 #define SWIGTYPE_p_wxPoint swig_types[9]
222 #define SWIGTYPE_p_wxDC swig_types[10]
223 #define SWIGTYPE_p_wxDragResult swig_types[11]
224 #define SWIGTYPE_p_wxString swig_types[12]
225 #define SWIGTYPE_p_wxEvtHandler swig_types[13]
226 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[14]
227 #define SWIGTYPE_p_wxFont swig_types[15]
228 #define SWIGTYPE_p_wxControl swig_types[16]
229 #define SWIGTYPE_p_wxEvent swig_types[17]
230 #define SWIGTYPE_p_int swig_types[18]
231 #define SWIGTYPE_p_wxMemoryBuffer swig_types[19]
232 static swig_type_info *swig_types[21];
233
234 /* -------- TYPES TABLE (END) -------- */
235
236
237 /*-----------------------------------------------
238 @(target):= _stc.so
239 ------------------------------------------------*/
240 #define SWIG_init init_stc
241
242 #define SWIG_name "_stc"
243
244 #include "wx/wxPython/wxPython.h"
245 #include "wx/wxPython/pyclasses.h"
246 #include <wx/stc/stc.h>
247
248 DECLARE_DEF_STRING(STCNameStr);
249
250
251 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
252 PyObject* o2;
253 PyObject* o3;
254
255 if (!target) {
256 target = o;
257 } else if (target == Py_None) {
258 Py_DECREF(Py_None);
259 target = o;
260 } else {
261 if (!PyTuple_Check(target)) {
262 o2 = target;
263 target = PyTuple_New(1);
264 PyTuple_SetItem(target, 0, o2);
265 }
266 o3 = PyTuple_New(1);
267 PyTuple_SetItem(o3, 0, o);
268
269 o2 = target;
270 target = PySequence_Concat(o2, o3);
271 Py_DECREF(o2);
272 Py_DECREF(o3);
273 }
274 return target;
275 }
276
277 #ifdef __cplusplus
278 extern "C" {
279 #endif
280 static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
281 PyObject *resultobj;
282 wxWindow *arg1 = (wxWindow *) 0 ;
283 int arg2 ;
284 wxPoint const &arg3_defvalue = wxDefaultPosition ;
285 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
286 wxSize const &arg4_defvalue = wxDefaultSize ;
287 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
288 long arg5 = (long) 0 ;
289 wxString const &arg6_defvalue = wxPySTCNameStr ;
290 wxString *arg6 = (wxString *) &arg6_defvalue ;
291 wxStyledTextCtrl *result;
292 wxPoint temp3 ;
293 wxSize temp4 ;
294 bool temp6 = False ;
295 PyObject * obj0 = 0 ;
296 PyObject * obj2 = 0 ;
297 PyObject * obj3 = 0 ;
298 PyObject * obj5 = 0 ;
299 char *kwnames[] = {
300 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
301 };
302
303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StyledTextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
305 if (obj2) {
306 {
307 arg3 = &temp3;
308 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
309 }
310 }
311 if (obj3) {
312 {
313 arg4 = &temp4;
314 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
315 }
316 }
317 if (obj5) {
318 {
319 arg6 = wxString_in_helper(obj5);
320 if (arg6 == NULL) SWIG_fail;
321 temp6 = True;
322 }
323 }
324 {
325 PyThreadState* __tstate = wxPyBeginAllowThreads();
326 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
327
328 wxPyEndAllowThreads(__tstate);
329 if (PyErr_Occurred()) SWIG_fail;
330 }
331 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
332 {
333 if (temp6)
334 delete arg6;
335 }
336 return resultobj;
337 fail:
338 {
339 if (temp6)
340 delete arg6;
341 }
342 return NULL;
343 }
344
345
346 static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
347 PyObject *resultobj;
348 wxStyledTextCtrl *result;
349 char *kwnames[] = {
350 NULL
351 };
352
353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
354 {
355 PyThreadState* __tstate = wxPyBeginAllowThreads();
356 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
357
358 wxPyEndAllowThreads(__tstate);
359 if (PyErr_Occurred()) SWIG_fail;
360 }
361 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
362 return resultobj;
363 fail:
364 return NULL;
365 }
366
367
368 static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
369 PyObject *resultobj;
370 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
371 wxWindow *arg2 = (wxWindow *) 0 ;
372 int arg3 ;
373 wxPoint const &arg4_defvalue = wxDefaultPosition ;
374 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
375 wxSize const &arg5_defvalue = wxDefaultSize ;
376 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
377 long arg6 = (long) 0 ;
378 wxString const &arg7_defvalue = wxSTCNameStr ;
379 wxString *arg7 = (wxString *) &arg7_defvalue ;
380 wxPoint temp4 ;
381 wxSize temp5 ;
382 bool temp7 = False ;
383 PyObject * obj0 = 0 ;
384 PyObject * obj1 = 0 ;
385 PyObject * obj3 = 0 ;
386 PyObject * obj4 = 0 ;
387 PyObject * obj6 = 0 ;
388 char *kwnames[] = {
389 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
390 };
391
392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
394 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
395 if (obj3) {
396 {
397 arg4 = &temp4;
398 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
399 }
400 }
401 if (obj4) {
402 {
403 arg5 = &temp5;
404 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
405 }
406 }
407 if (obj6) {
408 {
409 arg7 = wxString_in_helper(obj6);
410 if (arg7 == NULL) SWIG_fail;
411 temp7 = True;
412 }
413 }
414 {
415 PyThreadState* __tstate = wxPyBeginAllowThreads();
416 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
417
418 wxPyEndAllowThreads(__tstate);
419 if (PyErr_Occurred()) SWIG_fail;
420 }
421 Py_INCREF(Py_None); resultobj = Py_None;
422 {
423 if (temp7)
424 delete arg7;
425 }
426 return resultobj;
427 fail:
428 {
429 if (temp7)
430 delete arg7;
431 }
432 return NULL;
433 }
434
435
436 static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
437 PyObject *resultobj;
438 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
439 wxString *arg2 = 0 ;
440 bool temp2 = False ;
441 PyObject * obj0 = 0 ;
442 PyObject * obj1 = 0 ;
443 char *kwnames[] = {
444 (char *) "self",(char *) "text", NULL
445 };
446
447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
449 {
450 arg2 = wxString_in_helper(obj1);
451 if (arg2 == NULL) SWIG_fail;
452 temp2 = True;
453 }
454 {
455 PyThreadState* __tstate = wxPyBeginAllowThreads();
456 (arg1)->AddText((wxString const &)*arg2);
457
458 wxPyEndAllowThreads(__tstate);
459 if (PyErr_Occurred()) SWIG_fail;
460 }
461 Py_INCREF(Py_None); resultobj = Py_None;
462 {
463 if (temp2)
464 delete arg2;
465 }
466 return resultobj;
467 fail:
468 {
469 if (temp2)
470 delete arg2;
471 }
472 return NULL;
473 }
474
475
476 static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
477 PyObject *resultobj;
478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
479 wxMemoryBuffer *arg2 = 0 ;
480 PyObject * obj0 = 0 ;
481 PyObject * obj1 = 0 ;
482 char *kwnames[] = {
483 (char *) "self",(char *) "data", NULL
484 };
485
486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
488 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMemoryBuffer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
489 if (arg2 == NULL) {
490 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
491 }
492 {
493 PyThreadState* __tstate = wxPyBeginAllowThreads();
494 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
495
496 wxPyEndAllowThreads(__tstate);
497 if (PyErr_Occurred()) SWIG_fail;
498 }
499 Py_INCREF(Py_None); resultobj = Py_None;
500 return resultobj;
501 fail:
502 return NULL;
503 }
504
505
506 static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
507 PyObject *resultobj;
508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
509 int arg2 ;
510 wxString *arg3 = 0 ;
511 bool temp3 = False ;
512 PyObject * obj0 = 0 ;
513 PyObject * obj2 = 0 ;
514 char *kwnames[] = {
515 (char *) "self",(char *) "pos",(char *) "text", NULL
516 };
517
518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_InsertText",kwnames,&obj0,&arg2,&obj2)) goto fail;
519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
520 {
521 arg3 = wxString_in_helper(obj2);
522 if (arg3 == NULL) SWIG_fail;
523 temp3 = True;
524 }
525 {
526 PyThreadState* __tstate = wxPyBeginAllowThreads();
527 (arg1)->InsertText(arg2,(wxString const &)*arg3);
528
529 wxPyEndAllowThreads(__tstate);
530 if (PyErr_Occurred()) SWIG_fail;
531 }
532 Py_INCREF(Py_None); resultobj = Py_None;
533 {
534 if (temp3)
535 delete arg3;
536 }
537 return resultobj;
538 fail:
539 {
540 if (temp3)
541 delete arg3;
542 }
543 return NULL;
544 }
545
546
547 static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
548 PyObject *resultobj;
549 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
550 PyObject * obj0 = 0 ;
551 char *kwnames[] = {
552 (char *) "self", NULL
553 };
554
555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
557 {
558 PyThreadState* __tstate = wxPyBeginAllowThreads();
559 (arg1)->ClearAll();
560
561 wxPyEndAllowThreads(__tstate);
562 if (PyErr_Occurred()) SWIG_fail;
563 }
564 Py_INCREF(Py_None); resultobj = Py_None;
565 return resultobj;
566 fail:
567 return NULL;
568 }
569
570
571 static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
572 PyObject *resultobj;
573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
574 PyObject * obj0 = 0 ;
575 char *kwnames[] = {
576 (char *) "self", NULL
577 };
578
579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
581 {
582 PyThreadState* __tstate = wxPyBeginAllowThreads();
583 (arg1)->ClearDocumentStyle();
584
585 wxPyEndAllowThreads(__tstate);
586 if (PyErr_Occurred()) SWIG_fail;
587 }
588 Py_INCREF(Py_None); resultobj = Py_None;
589 return resultobj;
590 fail:
591 return NULL;
592 }
593
594
595 static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
596 PyObject *resultobj;
597 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
598 int result;
599 PyObject * obj0 = 0 ;
600 char *kwnames[] = {
601 (char *) "self", NULL
602 };
603
604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
606 {
607 PyThreadState* __tstate = wxPyBeginAllowThreads();
608 result = (int)(arg1)->GetLength();
609
610 wxPyEndAllowThreads(__tstate);
611 if (PyErr_Occurred()) SWIG_fail;
612 }
613 resultobj = PyInt_FromLong((long)result);
614 return resultobj;
615 fail:
616 return NULL;
617 }
618
619
620 static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
621 PyObject *resultobj;
622 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
623 int arg2 ;
624 int result;
625 PyObject * obj0 = 0 ;
626 char *kwnames[] = {
627 (char *) "self",(char *) "pos", NULL
628 };
629
630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetCharAt",kwnames,&obj0,&arg2)) goto fail;
631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
632 {
633 PyThreadState* __tstate = wxPyBeginAllowThreads();
634 result = (int)(arg1)->GetCharAt(arg2);
635
636 wxPyEndAllowThreads(__tstate);
637 if (PyErr_Occurred()) SWIG_fail;
638 }
639 resultobj = PyInt_FromLong((long)result);
640 return resultobj;
641 fail:
642 return NULL;
643 }
644
645
646 static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
647 PyObject *resultobj;
648 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
649 int result;
650 PyObject * obj0 = 0 ;
651 char *kwnames[] = {
652 (char *) "self", NULL
653 };
654
655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
657 {
658 PyThreadState* __tstate = wxPyBeginAllowThreads();
659 result = (int)(arg1)->GetCurrentPos();
660
661 wxPyEndAllowThreads(__tstate);
662 if (PyErr_Occurred()) SWIG_fail;
663 }
664 resultobj = PyInt_FromLong((long)result);
665 return resultobj;
666 fail:
667 return NULL;
668 }
669
670
671 static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
672 PyObject *resultobj;
673 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
674 int result;
675 PyObject * obj0 = 0 ;
676 char *kwnames[] = {
677 (char *) "self", NULL
678 };
679
680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
682 {
683 PyThreadState* __tstate = wxPyBeginAllowThreads();
684 result = (int)(arg1)->GetAnchor();
685
686 wxPyEndAllowThreads(__tstate);
687 if (PyErr_Occurred()) SWIG_fail;
688 }
689 resultobj = PyInt_FromLong((long)result);
690 return resultobj;
691 fail:
692 return NULL;
693 }
694
695
696 static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
697 PyObject *resultobj;
698 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
699 int arg2 ;
700 int result;
701 PyObject * obj0 = 0 ;
702 char *kwnames[] = {
703 (char *) "self",(char *) "pos", NULL
704 };
705
706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&arg2)) goto fail;
707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
708 {
709 PyThreadState* __tstate = wxPyBeginAllowThreads();
710 result = (int)(arg1)->GetStyleAt(arg2);
711
712 wxPyEndAllowThreads(__tstate);
713 if (PyErr_Occurred()) SWIG_fail;
714 }
715 resultobj = PyInt_FromLong((long)result);
716 return resultobj;
717 fail:
718 return NULL;
719 }
720
721
722 static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
723 PyObject *resultobj;
724 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
725 PyObject * obj0 = 0 ;
726 char *kwnames[] = {
727 (char *) "self", NULL
728 };
729
730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
732 {
733 PyThreadState* __tstate = wxPyBeginAllowThreads();
734 (arg1)->Redo();
735
736 wxPyEndAllowThreads(__tstate);
737 if (PyErr_Occurred()) SWIG_fail;
738 }
739 Py_INCREF(Py_None); resultobj = Py_None;
740 return resultobj;
741 fail:
742 return NULL;
743 }
744
745
746 static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
747 PyObject *resultobj;
748 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
749 bool arg2 ;
750 PyObject * obj0 = 0 ;
751 PyObject * obj1 = 0 ;
752 char *kwnames[] = {
753 (char *) "self",(char *) "collectUndo", NULL
754 };
755
756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
758 arg2 = PyInt_AsLong(obj1) ? true : false;
759 if (PyErr_Occurred()) SWIG_fail;
760 {
761 PyThreadState* __tstate = wxPyBeginAllowThreads();
762 (arg1)->SetUndoCollection(arg2);
763
764 wxPyEndAllowThreads(__tstate);
765 if (PyErr_Occurred()) SWIG_fail;
766 }
767 Py_INCREF(Py_None); resultobj = Py_None;
768 return resultobj;
769 fail:
770 return NULL;
771 }
772
773
774 static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
775 PyObject *resultobj;
776 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
777 PyObject * obj0 = 0 ;
778 char *kwnames[] = {
779 (char *) "self", NULL
780 };
781
782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
784 {
785 PyThreadState* __tstate = wxPyBeginAllowThreads();
786 (arg1)->SelectAll();
787
788 wxPyEndAllowThreads(__tstate);
789 if (PyErr_Occurred()) SWIG_fail;
790 }
791 Py_INCREF(Py_None); resultobj = Py_None;
792 return resultobj;
793 fail:
794 return NULL;
795 }
796
797
798 static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
799 PyObject *resultobj;
800 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
801 PyObject * obj0 = 0 ;
802 char *kwnames[] = {
803 (char *) "self", NULL
804 };
805
806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
808 {
809 PyThreadState* __tstate = wxPyBeginAllowThreads();
810 (arg1)->SetSavePoint();
811
812 wxPyEndAllowThreads(__tstate);
813 if (PyErr_Occurred()) SWIG_fail;
814 }
815 Py_INCREF(Py_None); resultobj = Py_None;
816 return resultobj;
817 fail:
818 return NULL;
819 }
820
821
822 static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
823 PyObject *resultobj;
824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
825 int arg2 ;
826 int arg3 ;
827 wxMemoryBuffer result;
828 PyObject * obj0 = 0 ;
829 char *kwnames[] = {
830 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
831 };
832
833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetStyledText",kwnames,&obj0,&arg2,&arg3)) goto fail;
834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
835 {
836 PyThreadState* __tstate = wxPyBeginAllowThreads();
837 result = (arg1)->GetStyledText(arg2,arg3);
838
839 wxPyEndAllowThreads(__tstate);
840 if (PyErr_Occurred()) SWIG_fail;
841 }
842 {
843 wxMemoryBuffer * resultptr;
844 resultptr = new wxMemoryBuffer((wxMemoryBuffer &) result);
845 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMemoryBuffer, 1);
846 }
847 return resultobj;
848 fail:
849 return NULL;
850 }
851
852
853 static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
854 PyObject *resultobj;
855 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
856 bool result;
857 PyObject * obj0 = 0 ;
858 char *kwnames[] = {
859 (char *) "self", NULL
860 };
861
862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
864 {
865 PyThreadState* __tstate = wxPyBeginAllowThreads();
866 result = (bool)(arg1)->CanRedo();
867
868 wxPyEndAllowThreads(__tstate);
869 if (PyErr_Occurred()) SWIG_fail;
870 }
871 resultobj = PyInt_FromLong((long)result);
872 return resultobj;
873 fail:
874 return NULL;
875 }
876
877
878 static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
879 PyObject *resultobj;
880 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
881 int arg2 ;
882 int result;
883 PyObject * obj0 = 0 ;
884 char *kwnames[] = {
885 (char *) "self",(char *) "handle", NULL
886 };
887
888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&arg2)) goto fail;
889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
890 {
891 PyThreadState* __tstate = wxPyBeginAllowThreads();
892 result = (int)(arg1)->MarkerLineFromHandle(arg2);
893
894 wxPyEndAllowThreads(__tstate);
895 if (PyErr_Occurred()) SWIG_fail;
896 }
897 resultobj = PyInt_FromLong((long)result);
898 return resultobj;
899 fail:
900 return NULL;
901 }
902
903
904 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
905 PyObject *resultobj;
906 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
907 int arg2 ;
908 PyObject * obj0 = 0 ;
909 char *kwnames[] = {
910 (char *) "self",(char *) "handle", NULL
911 };
912
913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&arg2)) goto fail;
914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
915 {
916 PyThreadState* __tstate = wxPyBeginAllowThreads();
917 (arg1)->MarkerDeleteHandle(arg2);
918
919 wxPyEndAllowThreads(__tstate);
920 if (PyErr_Occurred()) SWIG_fail;
921 }
922 Py_INCREF(Py_None); resultobj = Py_None;
923 return resultobj;
924 fail:
925 return NULL;
926 }
927
928
929 static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
930 PyObject *resultobj;
931 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
932 bool result;
933 PyObject * obj0 = 0 ;
934 char *kwnames[] = {
935 (char *) "self", NULL
936 };
937
938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
940 {
941 PyThreadState* __tstate = wxPyBeginAllowThreads();
942 result = (bool)(arg1)->GetUndoCollection();
943
944 wxPyEndAllowThreads(__tstate);
945 if (PyErr_Occurred()) SWIG_fail;
946 }
947 resultobj = PyInt_FromLong((long)result);
948 return resultobj;
949 fail:
950 return NULL;
951 }
952
953
954 static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
955 PyObject *resultobj;
956 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
957 int result;
958 PyObject * obj0 = 0 ;
959 char *kwnames[] = {
960 (char *) "self", NULL
961 };
962
963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
965 {
966 PyThreadState* __tstate = wxPyBeginAllowThreads();
967 result = (int)(arg1)->GetViewWhiteSpace();
968
969 wxPyEndAllowThreads(__tstate);
970 if (PyErr_Occurred()) SWIG_fail;
971 }
972 resultobj = PyInt_FromLong((long)result);
973 return resultobj;
974 fail:
975 return NULL;
976 }
977
978
979 static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
980 PyObject *resultobj;
981 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
982 int arg2 ;
983 PyObject * obj0 = 0 ;
984 char *kwnames[] = {
985 (char *) "self",(char *) "viewWS", NULL
986 };
987
988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&arg2)) goto fail;
989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
990 {
991 PyThreadState* __tstate = wxPyBeginAllowThreads();
992 (arg1)->SetViewWhiteSpace(arg2);
993
994 wxPyEndAllowThreads(__tstate);
995 if (PyErr_Occurred()) SWIG_fail;
996 }
997 Py_INCREF(Py_None); resultobj = Py_None;
998 return resultobj;
999 fail:
1000 return NULL;
1001 }
1002
1003
1004 static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1005 PyObject *resultobj;
1006 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1007 wxPoint arg2 ;
1008 int result;
1009 wxPoint *argp2 ;
1010 PyObject * obj0 = 0 ;
1011 PyObject * obj1 = 0 ;
1012 char *kwnames[] = {
1013 (char *) "self",(char *) "pt", NULL
1014 };
1015
1016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
1017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1018 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1019 arg2 = *argp2;
1020 {
1021 PyThreadState* __tstate = wxPyBeginAllowThreads();
1022 result = (int)(arg1)->PositionFromPoint(arg2);
1023
1024 wxPyEndAllowThreads(__tstate);
1025 if (PyErr_Occurred()) SWIG_fail;
1026 }
1027 resultobj = PyInt_FromLong((long)result);
1028 return resultobj;
1029 fail:
1030 return NULL;
1031 }
1032
1033
1034 static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
1035 PyObject *resultobj;
1036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1037 int arg2 ;
1038 int arg3 ;
1039 int result;
1040 PyObject * obj0 = 0 ;
1041 char *kwnames[] = {
1042 (char *) "self",(char *) "x",(char *) "y", NULL
1043 };
1044
1045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&arg2,&arg3)) goto fail;
1046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1047 {
1048 PyThreadState* __tstate = wxPyBeginAllowThreads();
1049 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
1050
1051 wxPyEndAllowThreads(__tstate);
1052 if (PyErr_Occurred()) SWIG_fail;
1053 }
1054 resultobj = PyInt_FromLong((long)result);
1055 return resultobj;
1056 fail:
1057 return NULL;
1058 }
1059
1060
1061 static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1062 PyObject *resultobj;
1063 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1064 int arg2 ;
1065 PyObject * obj0 = 0 ;
1066 char *kwnames[] = {
1067 (char *) "self",(char *) "line", NULL
1068 };
1069
1070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GotoLine",kwnames,&obj0,&arg2)) goto fail;
1071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1072 {
1073 PyThreadState* __tstate = wxPyBeginAllowThreads();
1074 (arg1)->GotoLine(arg2);
1075
1076 wxPyEndAllowThreads(__tstate);
1077 if (PyErr_Occurred()) SWIG_fail;
1078 }
1079 Py_INCREF(Py_None); resultobj = Py_None;
1080 return resultobj;
1081 fail:
1082 return NULL;
1083 }
1084
1085
1086 static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1087 PyObject *resultobj;
1088 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1089 int arg2 ;
1090 PyObject * obj0 = 0 ;
1091 char *kwnames[] = {
1092 (char *) "self",(char *) "pos", NULL
1093 };
1094
1095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GotoPos",kwnames,&obj0,&arg2)) goto fail;
1096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1097 {
1098 PyThreadState* __tstate = wxPyBeginAllowThreads();
1099 (arg1)->GotoPos(arg2);
1100
1101 wxPyEndAllowThreads(__tstate);
1102 if (PyErr_Occurred()) SWIG_fail;
1103 }
1104 Py_INCREF(Py_None); resultobj = Py_None;
1105 return resultobj;
1106 fail:
1107 return NULL;
1108 }
1109
1110
1111 static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
1112 PyObject *resultobj;
1113 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1114 int arg2 ;
1115 PyObject * obj0 = 0 ;
1116 char *kwnames[] = {
1117 (char *) "self",(char *) "posAnchor", NULL
1118 };
1119
1120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetAnchor",kwnames,&obj0,&arg2)) goto fail;
1121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1122 {
1123 PyThreadState* __tstate = wxPyBeginAllowThreads();
1124 (arg1)->SetAnchor(arg2);
1125
1126 wxPyEndAllowThreads(__tstate);
1127 if (PyErr_Occurred()) SWIG_fail;
1128 }
1129 Py_INCREF(Py_None); resultobj = Py_None;
1130 return resultobj;
1131 fail:
1132 return NULL;
1133 }
1134
1135
1136 static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1137 PyObject *resultobj;
1138 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1139 int *arg2 = (int *) 0 ;
1140 wxString result;
1141 int temp2 ;
1142 PyObject * obj0 = 0 ;
1143 char *kwnames[] = {
1144 (char *) "self", NULL
1145 };
1146
1147 arg2 = &temp2;
1148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
1149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1150 {
1151 PyThreadState* __tstate = wxPyBeginAllowThreads();
1152 result = (arg1)->GetCurLine(arg2);
1153
1154 wxPyEndAllowThreads(__tstate);
1155 if (PyErr_Occurred()) SWIG_fail;
1156 }
1157 {
1158 #if wxUSE_UNICODE
1159 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1160 #else
1161 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1162 #endif
1163 }
1164 {
1165 PyObject *o = PyInt_FromLong((long) (*arg2));
1166 resultobj = t_output_helper(resultobj,o);
1167 }
1168 return resultobj;
1169 fail:
1170 return NULL;
1171 }
1172
1173
1174 static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
1175 PyObject *resultobj;
1176 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1177 int result;
1178 PyObject * obj0 = 0 ;
1179 char *kwnames[] = {
1180 (char *) "self", NULL
1181 };
1182
1183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
1184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1185 {
1186 PyThreadState* __tstate = wxPyBeginAllowThreads();
1187 result = (int)(arg1)->GetEndStyled();
1188
1189 wxPyEndAllowThreads(__tstate);
1190 if (PyErr_Occurred()) SWIG_fail;
1191 }
1192 resultobj = PyInt_FromLong((long)result);
1193 return resultobj;
1194 fail:
1195 return NULL;
1196 }
1197
1198
1199 static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
1200 PyObject *resultobj;
1201 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1202 int arg2 ;
1203 PyObject * obj0 = 0 ;
1204 char *kwnames[] = {
1205 (char *) "self",(char *) "eolMode", NULL
1206 };
1207
1208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&arg2)) goto fail;
1209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1210 {
1211 PyThreadState* __tstate = wxPyBeginAllowThreads();
1212 (arg1)->ConvertEOLs(arg2);
1213
1214 wxPyEndAllowThreads(__tstate);
1215 if (PyErr_Occurred()) SWIG_fail;
1216 }
1217 Py_INCREF(Py_None); resultobj = Py_None;
1218 return resultobj;
1219 fail:
1220 return NULL;
1221 }
1222
1223
1224 static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1225 PyObject *resultobj;
1226 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1227 int result;
1228 PyObject * obj0 = 0 ;
1229 char *kwnames[] = {
1230 (char *) "self", NULL
1231 };
1232
1233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
1234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1235 {
1236 PyThreadState* __tstate = wxPyBeginAllowThreads();
1237 result = (int)(arg1)->GetEOLMode();
1238
1239 wxPyEndAllowThreads(__tstate);
1240 if (PyErr_Occurred()) SWIG_fail;
1241 }
1242 resultobj = PyInt_FromLong((long)result);
1243 return resultobj;
1244 fail:
1245 return NULL;
1246 }
1247
1248
1249 static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1250 PyObject *resultobj;
1251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1252 int arg2 ;
1253 PyObject * obj0 = 0 ;
1254 char *kwnames[] = {
1255 (char *) "self",(char *) "eolMode", NULL
1256 };
1257
1258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&arg2)) goto fail;
1259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1260 {
1261 PyThreadState* __tstate = wxPyBeginAllowThreads();
1262 (arg1)->SetEOLMode(arg2);
1263
1264 wxPyEndAllowThreads(__tstate);
1265 if (PyErr_Occurred()) SWIG_fail;
1266 }
1267 Py_INCREF(Py_None); resultobj = Py_None;
1268 return resultobj;
1269 fail:
1270 return NULL;
1271 }
1272
1273
1274 static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1275 PyObject *resultobj;
1276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1277 int arg2 ;
1278 int arg3 ;
1279 PyObject * obj0 = 0 ;
1280 char *kwnames[] = {
1281 (char *) "self",(char *) "pos",(char *) "mask", NULL
1282 };
1283
1284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StartStyling",kwnames,&obj0,&arg2,&arg3)) goto fail;
1285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1286 {
1287 PyThreadState* __tstate = wxPyBeginAllowThreads();
1288 (arg1)->StartStyling(arg2,arg3);
1289
1290 wxPyEndAllowThreads(__tstate);
1291 if (PyErr_Occurred()) SWIG_fail;
1292 }
1293 Py_INCREF(Py_None); resultobj = Py_None;
1294 return resultobj;
1295 fail:
1296 return NULL;
1297 }
1298
1299
1300 static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1301 PyObject *resultobj;
1302 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1303 int arg2 ;
1304 int arg3 ;
1305 PyObject * obj0 = 0 ;
1306 char *kwnames[] = {
1307 (char *) "self",(char *) "length",(char *) "style", NULL
1308 };
1309
1310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetStyling",kwnames,&obj0,&arg2,&arg3)) goto fail;
1311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1312 {
1313 PyThreadState* __tstate = wxPyBeginAllowThreads();
1314 (arg1)->SetStyling(arg2,arg3);
1315
1316 wxPyEndAllowThreads(__tstate);
1317 if (PyErr_Occurred()) SWIG_fail;
1318 }
1319 Py_INCREF(Py_None); resultobj = Py_None;
1320 return resultobj;
1321 fail:
1322 return NULL;
1323 }
1324
1325
1326 static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1327 PyObject *resultobj;
1328 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1329 bool result;
1330 PyObject * obj0 = 0 ;
1331 char *kwnames[] = {
1332 (char *) "self", NULL
1333 };
1334
1335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
1336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1337 {
1338 PyThreadState* __tstate = wxPyBeginAllowThreads();
1339 result = (bool)(arg1)->GetBufferedDraw();
1340
1341 wxPyEndAllowThreads(__tstate);
1342 if (PyErr_Occurred()) SWIG_fail;
1343 }
1344 resultobj = PyInt_FromLong((long)result);
1345 return resultobj;
1346 fail:
1347 return NULL;
1348 }
1349
1350
1351 static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1352 PyObject *resultobj;
1353 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1354 bool arg2 ;
1355 PyObject * obj0 = 0 ;
1356 PyObject * obj1 = 0 ;
1357 char *kwnames[] = {
1358 (char *) "self",(char *) "buffered", NULL
1359 };
1360
1361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
1362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1363 arg2 = PyInt_AsLong(obj1) ? true : false;
1364 if (PyErr_Occurred()) SWIG_fail;
1365 {
1366 PyThreadState* __tstate = wxPyBeginAllowThreads();
1367 (arg1)->SetBufferedDraw(arg2);
1368
1369 wxPyEndAllowThreads(__tstate);
1370 if (PyErr_Occurred()) SWIG_fail;
1371 }
1372 Py_INCREF(Py_None); resultobj = Py_None;
1373 return resultobj;
1374 fail:
1375 return NULL;
1376 }
1377
1378
1379 static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1380 PyObject *resultobj;
1381 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1382 int arg2 ;
1383 PyObject * obj0 = 0 ;
1384 char *kwnames[] = {
1385 (char *) "self",(char *) "tabWidth", NULL
1386 };
1387
1388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&arg2)) goto fail;
1389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1390 {
1391 PyThreadState* __tstate = wxPyBeginAllowThreads();
1392 (arg1)->SetTabWidth(arg2);
1393
1394 wxPyEndAllowThreads(__tstate);
1395 if (PyErr_Occurred()) SWIG_fail;
1396 }
1397 Py_INCREF(Py_None); resultobj = Py_None;
1398 return resultobj;
1399 fail:
1400 return NULL;
1401 }
1402
1403
1404 static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1405 PyObject *resultobj;
1406 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1407 int result;
1408 PyObject * obj0 = 0 ;
1409 char *kwnames[] = {
1410 (char *) "self", NULL
1411 };
1412
1413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
1414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1415 {
1416 PyThreadState* __tstate = wxPyBeginAllowThreads();
1417 result = (int)(arg1)->GetTabWidth();
1418
1419 wxPyEndAllowThreads(__tstate);
1420 if (PyErr_Occurred()) SWIG_fail;
1421 }
1422 resultobj = PyInt_FromLong((long)result);
1423 return resultobj;
1424 fail:
1425 return NULL;
1426 }
1427
1428
1429 static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1430 PyObject *resultobj;
1431 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1432 int arg2 ;
1433 PyObject * obj0 = 0 ;
1434 char *kwnames[] = {
1435 (char *) "self",(char *) "codePage", NULL
1436 };
1437
1438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCodePage",kwnames,&obj0,&arg2)) goto fail;
1439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1440 {
1441 PyThreadState* __tstate = wxPyBeginAllowThreads();
1442 (arg1)->SetCodePage(arg2);
1443
1444 wxPyEndAllowThreads(__tstate);
1445 if (PyErr_Occurred()) SWIG_fail;
1446 }
1447 Py_INCREF(Py_None); resultobj = Py_None;
1448 return resultobj;
1449 fail:
1450 return NULL;
1451 }
1452
1453
1454 static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
1455 PyObject *resultobj;
1456 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1457 int arg2 ;
1458 int arg3 ;
1459 wxColour const &arg4_defvalue = wxNullColour ;
1460 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
1461 wxColour const &arg5_defvalue = wxNullColour ;
1462 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
1463 wxColour temp4 ;
1464 wxColour temp5 ;
1465 PyObject * obj0 = 0 ;
1466 PyObject * obj3 = 0 ;
1467 PyObject * obj4 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1470 };
1471
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
1473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1474 if (obj3) {
1475 {
1476 arg4 = &temp4;
1477 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
1478 }
1479 }
1480 if (obj4) {
1481 {
1482 arg5 = &temp5;
1483 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
1484 }
1485 }
1486 {
1487 PyThreadState* __tstate = wxPyBeginAllowThreads();
1488 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
1489
1490 wxPyEndAllowThreads(__tstate);
1491 if (PyErr_Occurred()) SWIG_fail;
1492 }
1493 Py_INCREF(Py_None); resultobj = Py_None;
1494 return resultobj;
1495 fail:
1496 return NULL;
1497 }
1498
1499
1500 static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1501 PyObject *resultobj;
1502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1503 int arg2 ;
1504 wxColour *arg3 = 0 ;
1505 wxColour temp3 ;
1506 PyObject * obj0 = 0 ;
1507 PyObject * obj2 = 0 ;
1508 char *kwnames[] = {
1509 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1510 };
1511
1512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail;
1513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1514 {
1515 arg3 = &temp3;
1516 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1517 }
1518 {
1519 PyThreadState* __tstate = wxPyBeginAllowThreads();
1520 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
1521
1522 wxPyEndAllowThreads(__tstate);
1523 if (PyErr_Occurred()) SWIG_fail;
1524 }
1525 Py_INCREF(Py_None); resultobj = Py_None;
1526 return resultobj;
1527 fail:
1528 return NULL;
1529 }
1530
1531
1532 static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1533 PyObject *resultobj;
1534 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1535 int arg2 ;
1536 wxColour *arg3 = 0 ;
1537 wxColour temp3 ;
1538 PyObject * obj0 = 0 ;
1539 PyObject * obj2 = 0 ;
1540 char *kwnames[] = {
1541 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1542 };
1543
1544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&arg2,&obj2)) goto fail;
1545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1546 {
1547 arg3 = &temp3;
1548 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1549 }
1550 {
1551 PyThreadState* __tstate = wxPyBeginAllowThreads();
1552 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
1553
1554 wxPyEndAllowThreads(__tstate);
1555 if (PyErr_Occurred()) SWIG_fail;
1556 }
1557 Py_INCREF(Py_None); resultobj = Py_None;
1558 return resultobj;
1559 fail:
1560 return NULL;
1561 }
1562
1563
1564 static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
1565 PyObject *resultobj;
1566 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1567 int arg2 ;
1568 int arg3 ;
1569 int result;
1570 PyObject * obj0 = 0 ;
1571 char *kwnames[] = {
1572 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1573 };
1574
1575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&arg2,&arg3)) goto fail;
1576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1577 {
1578 PyThreadState* __tstate = wxPyBeginAllowThreads();
1579 result = (int)(arg1)->MarkerAdd(arg2,arg3);
1580
1581 wxPyEndAllowThreads(__tstate);
1582 if (PyErr_Occurred()) SWIG_fail;
1583 }
1584 resultobj = PyInt_FromLong((long)result);
1585 return resultobj;
1586 fail:
1587 return NULL;
1588 }
1589
1590
1591 static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1592 PyObject *resultobj;
1593 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1594 int arg2 ;
1595 int arg3 ;
1596 PyObject * obj0 = 0 ;
1597 char *kwnames[] = {
1598 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1599 };
1600
1601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&arg2,&arg3)) goto fail;
1602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1603 {
1604 PyThreadState* __tstate = wxPyBeginAllowThreads();
1605 (arg1)->MarkerDelete(arg2,arg3);
1606
1607 wxPyEndAllowThreads(__tstate);
1608 if (PyErr_Occurred()) SWIG_fail;
1609 }
1610 Py_INCREF(Py_None); resultobj = Py_None;
1611 return resultobj;
1612 fail:
1613 return NULL;
1614 }
1615
1616
1617 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1618 PyObject *resultobj;
1619 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1620 int arg2 ;
1621 PyObject * obj0 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "self",(char *) "markerNumber", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&arg2)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1628 {
1629 PyThreadState* __tstate = wxPyBeginAllowThreads();
1630 (arg1)->MarkerDeleteAll(arg2);
1631
1632 wxPyEndAllowThreads(__tstate);
1633 if (PyErr_Occurred()) SWIG_fail;
1634 }
1635 Py_INCREF(Py_None); resultobj = Py_None;
1636 return resultobj;
1637 fail:
1638 return NULL;
1639 }
1640
1641
1642 static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
1643 PyObject *resultobj;
1644 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1645 int arg2 ;
1646 int result;
1647 PyObject * obj0 = 0 ;
1648 char *kwnames[] = {
1649 (char *) "self",(char *) "line", NULL
1650 };
1651
1652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerGet",kwnames,&obj0,&arg2)) goto fail;
1653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1654 {
1655 PyThreadState* __tstate = wxPyBeginAllowThreads();
1656 result = (int)(arg1)->MarkerGet(arg2);
1657
1658 wxPyEndAllowThreads(__tstate);
1659 if (PyErr_Occurred()) SWIG_fail;
1660 }
1661 resultobj = PyInt_FromLong((long)result);
1662 return resultobj;
1663 fail:
1664 return NULL;
1665 }
1666
1667
1668 static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
1669 PyObject *resultobj;
1670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1671 int arg2 ;
1672 int arg3 ;
1673 int result;
1674 PyObject * obj0 = 0 ;
1675 char *kwnames[] = {
1676 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1677 };
1678
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerNext",kwnames,&obj0,&arg2,&arg3)) goto fail;
1680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1681 {
1682 PyThreadState* __tstate = wxPyBeginAllowThreads();
1683 result = (int)(arg1)->MarkerNext(arg2,arg3);
1684
1685 wxPyEndAllowThreads(__tstate);
1686 if (PyErr_Occurred()) SWIG_fail;
1687 }
1688 resultobj = PyInt_FromLong((long)result);
1689 return resultobj;
1690 fail:
1691 return NULL;
1692 }
1693
1694
1695 static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
1696 PyObject *resultobj;
1697 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1698 int arg2 ;
1699 int arg3 ;
1700 int result;
1701 PyObject * obj0 = 0 ;
1702 char *kwnames[] = {
1703 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1704 };
1705
1706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&arg2,&arg3)) goto fail;
1707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1708 {
1709 PyThreadState* __tstate = wxPyBeginAllowThreads();
1710 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
1711
1712 wxPyEndAllowThreads(__tstate);
1713 if (PyErr_Occurred()) SWIG_fail;
1714 }
1715 resultobj = PyInt_FromLong((long)result);
1716 return resultobj;
1717 fail:
1718 return NULL;
1719 }
1720
1721
1722 static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
1723 PyObject *resultobj;
1724 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1725 int arg2 ;
1726 wxBitmap *arg3 = 0 ;
1727 PyObject * obj0 = 0 ;
1728 PyObject * obj2 = 0 ;
1729 char *kwnames[] = {
1730 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
1731 };
1732
1733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&arg2,&obj2)) goto fail;
1734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1735 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1736 if (arg3 == NULL) {
1737 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1738 }
1739 {
1740 PyThreadState* __tstate = wxPyBeginAllowThreads();
1741 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
1742
1743 wxPyEndAllowThreads(__tstate);
1744 if (PyErr_Occurred()) SWIG_fail;
1745 }
1746 Py_INCREF(Py_None); resultobj = Py_None;
1747 return resultobj;
1748 fail:
1749 return NULL;
1750 }
1751
1752
1753 static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
1754 PyObject *resultobj;
1755 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1756 int arg2 ;
1757 int arg3 ;
1758 PyObject * obj0 = 0 ;
1759 char *kwnames[] = {
1760 (char *) "self",(char *) "margin",(char *) "marginType", NULL
1761 };
1762
1763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginType",kwnames,&obj0,&arg2,&arg3)) goto fail;
1764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1765 {
1766 PyThreadState* __tstate = wxPyBeginAllowThreads();
1767 (arg1)->SetMarginType(arg2,arg3);
1768
1769 wxPyEndAllowThreads(__tstate);
1770 if (PyErr_Occurred()) SWIG_fail;
1771 }
1772 Py_INCREF(Py_None); resultobj = Py_None;
1773 return resultobj;
1774 fail:
1775 return NULL;
1776 }
1777
1778
1779 static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
1780 PyObject *resultobj;
1781 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1782 int arg2 ;
1783 int result;
1784 PyObject * obj0 = 0 ;
1785 char *kwnames[] = {
1786 (char *) "self",(char *) "margin", NULL
1787 };
1788
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginType",kwnames,&obj0,&arg2)) goto fail;
1790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1791 {
1792 PyThreadState* __tstate = wxPyBeginAllowThreads();
1793 result = (int)(arg1)->GetMarginType(arg2);
1794
1795 wxPyEndAllowThreads(__tstate);
1796 if (PyErr_Occurred()) SWIG_fail;
1797 }
1798 resultobj = PyInt_FromLong((long)result);
1799 return resultobj;
1800 fail:
1801 return NULL;
1802 }
1803
1804
1805 static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1806 PyObject *resultobj;
1807 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1808 int arg2 ;
1809 int arg3 ;
1810 PyObject * obj0 = 0 ;
1811 char *kwnames[] = {
1812 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
1813 };
1814
1815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
1816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1817 {
1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
1819 (arg1)->SetMarginWidth(arg2,arg3);
1820
1821 wxPyEndAllowThreads(__tstate);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
1824 Py_INCREF(Py_None); resultobj = Py_None;
1825 return resultobj;
1826 fail:
1827 return NULL;
1828 }
1829
1830
1831 static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1832 PyObject *resultobj;
1833 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1834 int arg2 ;
1835 int result;
1836 PyObject * obj0 = 0 ;
1837 char *kwnames[] = {
1838 (char *) "self",(char *) "margin", NULL
1839 };
1840
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&arg2)) goto fail;
1842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1843 {
1844 PyThreadState* __tstate = wxPyBeginAllowThreads();
1845 result = (int)(arg1)->GetMarginWidth(arg2);
1846
1847 wxPyEndAllowThreads(__tstate);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 }
1850 resultobj = PyInt_FromLong((long)result);
1851 return resultobj;
1852 fail:
1853 return NULL;
1854 }
1855
1856
1857 static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1858 PyObject *resultobj;
1859 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1860 int arg2 ;
1861 int arg3 ;
1862 PyObject * obj0 = 0 ;
1863 char *kwnames[] = {
1864 (char *) "self",(char *) "margin",(char *) "mask", NULL
1865 };
1866
1867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&arg2,&arg3)) goto fail;
1868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1869 {
1870 PyThreadState* __tstate = wxPyBeginAllowThreads();
1871 (arg1)->SetMarginMask(arg2,arg3);
1872
1873 wxPyEndAllowThreads(__tstate);
1874 if (PyErr_Occurred()) SWIG_fail;
1875 }
1876 Py_INCREF(Py_None); resultobj = Py_None;
1877 return resultobj;
1878 fail:
1879 return NULL;
1880 }
1881
1882
1883 static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1884 PyObject *resultobj;
1885 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1886 int arg2 ;
1887 int result;
1888 PyObject * obj0 = 0 ;
1889 char *kwnames[] = {
1890 (char *) "self",(char *) "margin", NULL
1891 };
1892
1893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&arg2)) goto fail;
1894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1895 {
1896 PyThreadState* __tstate = wxPyBeginAllowThreads();
1897 result = (int)(arg1)->GetMarginMask(arg2);
1898
1899 wxPyEndAllowThreads(__tstate);
1900 if (PyErr_Occurred()) SWIG_fail;
1901 }
1902 resultobj = PyInt_FromLong((long)result);
1903 return resultobj;
1904 fail:
1905 return NULL;
1906 }
1907
1908
1909 static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
1910 PyObject *resultobj;
1911 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1912 int arg2 ;
1913 bool arg3 ;
1914 PyObject * obj0 = 0 ;
1915 PyObject * obj2 = 0 ;
1916 char *kwnames[] = {
1917 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
1918 };
1919
1920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&arg2,&obj2)) goto fail;
1921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1922 arg3 = PyInt_AsLong(obj2) ? true : false;
1923 if (PyErr_Occurred()) SWIG_fail;
1924 {
1925 PyThreadState* __tstate = wxPyBeginAllowThreads();
1926 (arg1)->SetMarginSensitive(arg2,arg3);
1927
1928 wxPyEndAllowThreads(__tstate);
1929 if (PyErr_Occurred()) SWIG_fail;
1930 }
1931 Py_INCREF(Py_None); resultobj = Py_None;
1932 return resultobj;
1933 fail:
1934 return NULL;
1935 }
1936
1937
1938 static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
1939 PyObject *resultobj;
1940 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1941 int arg2 ;
1942 bool result;
1943 PyObject * obj0 = 0 ;
1944 char *kwnames[] = {
1945 (char *) "self",(char *) "margin", NULL
1946 };
1947
1948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&arg2)) goto fail;
1949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1950 {
1951 PyThreadState* __tstate = wxPyBeginAllowThreads();
1952 result = (bool)(arg1)->GetMarginSensitive(arg2);
1953
1954 wxPyEndAllowThreads(__tstate);
1955 if (PyErr_Occurred()) SWIG_fail;
1956 }
1957 resultobj = PyInt_FromLong((long)result);
1958 return resultobj;
1959 fail:
1960 return NULL;
1961 }
1962
1963
1964 static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1965 PyObject *resultobj;
1966 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1967 PyObject * obj0 = 0 ;
1968 char *kwnames[] = {
1969 (char *) "self", NULL
1970 };
1971
1972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
1973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1974 {
1975 PyThreadState* __tstate = wxPyBeginAllowThreads();
1976 (arg1)->StyleClearAll();
1977
1978 wxPyEndAllowThreads(__tstate);
1979 if (PyErr_Occurred()) SWIG_fail;
1980 }
1981 Py_INCREF(Py_None); resultobj = Py_None;
1982 return resultobj;
1983 fail:
1984 return NULL;
1985 }
1986
1987
1988 static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1989 PyObject *resultobj;
1990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1991 int arg2 ;
1992 wxColour *arg3 = 0 ;
1993 wxColour temp3 ;
1994 PyObject * obj0 = 0 ;
1995 PyObject * obj2 = 0 ;
1996 char *kwnames[] = {
1997 (char *) "self",(char *) "style",(char *) "fore", NULL
1998 };
1999
2000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail;
2001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2002 {
2003 arg3 = &temp3;
2004 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2005 }
2006 {
2007 PyThreadState* __tstate = wxPyBeginAllowThreads();
2008 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
2009
2010 wxPyEndAllowThreads(__tstate);
2011 if (PyErr_Occurred()) SWIG_fail;
2012 }
2013 Py_INCREF(Py_None); resultobj = Py_None;
2014 return resultobj;
2015 fail:
2016 return NULL;
2017 }
2018
2019
2020 static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2021 PyObject *resultobj;
2022 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2023 int arg2 ;
2024 wxColour *arg3 = 0 ;
2025 wxColour temp3 ;
2026 PyObject * obj0 = 0 ;
2027 PyObject * obj2 = 0 ;
2028 char *kwnames[] = {
2029 (char *) "self",(char *) "style",(char *) "back", NULL
2030 };
2031
2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&arg2,&obj2)) goto fail;
2033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2034 {
2035 arg3 = &temp3;
2036 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2037 }
2038 {
2039 PyThreadState* __tstate = wxPyBeginAllowThreads();
2040 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
2041
2042 wxPyEndAllowThreads(__tstate);
2043 if (PyErr_Occurred()) SWIG_fail;
2044 }
2045 Py_INCREF(Py_None); resultobj = Py_None;
2046 return resultobj;
2047 fail:
2048 return NULL;
2049 }
2050
2051
2052 static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2053 PyObject *resultobj;
2054 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2055 int arg2 ;
2056 bool arg3 ;
2057 PyObject * obj0 = 0 ;
2058 PyObject * obj2 = 0 ;
2059 char *kwnames[] = {
2060 (char *) "self",(char *) "style",(char *) "bold", NULL
2061 };
2062
2063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&arg2,&obj2)) goto fail;
2064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2065 arg3 = PyInt_AsLong(obj2) ? true : false;
2066 if (PyErr_Occurred()) SWIG_fail;
2067 {
2068 PyThreadState* __tstate = wxPyBeginAllowThreads();
2069 (arg1)->StyleSetBold(arg2,arg3);
2070
2071 wxPyEndAllowThreads(__tstate);
2072 if (PyErr_Occurred()) SWIG_fail;
2073 }
2074 Py_INCREF(Py_None); resultobj = Py_None;
2075 return resultobj;
2076 fail:
2077 return NULL;
2078 }
2079
2080
2081 static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2082 PyObject *resultobj;
2083 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2084 int arg2 ;
2085 bool arg3 ;
2086 PyObject * obj0 = 0 ;
2087 PyObject * obj2 = 0 ;
2088 char *kwnames[] = {
2089 (char *) "self",(char *) "style",(char *) "italic", NULL
2090 };
2091
2092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&arg2,&obj2)) goto fail;
2093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2094 arg3 = PyInt_AsLong(obj2) ? true : false;
2095 if (PyErr_Occurred()) SWIG_fail;
2096 {
2097 PyThreadState* __tstate = wxPyBeginAllowThreads();
2098 (arg1)->StyleSetItalic(arg2,arg3);
2099
2100 wxPyEndAllowThreads(__tstate);
2101 if (PyErr_Occurred()) SWIG_fail;
2102 }
2103 Py_INCREF(Py_None); resultobj = Py_None;
2104 return resultobj;
2105 fail:
2106 return NULL;
2107 }
2108
2109
2110 static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2111 PyObject *resultobj;
2112 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2113 int arg2 ;
2114 int arg3 ;
2115 PyObject * obj0 = 0 ;
2116 char *kwnames[] = {
2117 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2118 };
2119
2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2122 {
2123 PyThreadState* __tstate = wxPyBeginAllowThreads();
2124 (arg1)->StyleSetSize(arg2,arg3);
2125
2126 wxPyEndAllowThreads(__tstate);
2127 if (PyErr_Occurred()) SWIG_fail;
2128 }
2129 Py_INCREF(Py_None); resultobj = Py_None;
2130 return resultobj;
2131 fail:
2132 return NULL;
2133 }
2134
2135
2136 static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
2137 PyObject *resultobj;
2138 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2139 int arg2 ;
2140 wxString *arg3 = 0 ;
2141 bool temp3 = False ;
2142 PyObject * obj0 = 0 ;
2143 PyObject * obj2 = 0 ;
2144 char *kwnames[] = {
2145 (char *) "self",(char *) "style",(char *) "fontName", NULL
2146 };
2147
2148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&arg2,&obj2)) goto fail;
2149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2150 {
2151 arg3 = wxString_in_helper(obj2);
2152 if (arg3 == NULL) SWIG_fail;
2153 temp3 = True;
2154 }
2155 {
2156 PyThreadState* __tstate = wxPyBeginAllowThreads();
2157 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
2158
2159 wxPyEndAllowThreads(__tstate);
2160 if (PyErr_Occurred()) SWIG_fail;
2161 }
2162 Py_INCREF(Py_None); resultobj = Py_None;
2163 {
2164 if (temp3)
2165 delete arg3;
2166 }
2167 return resultobj;
2168 fail:
2169 {
2170 if (temp3)
2171 delete arg3;
2172 }
2173 return NULL;
2174 }
2175
2176
2177 static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
2178 PyObject *resultobj;
2179 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2180 int arg2 ;
2181 bool arg3 ;
2182 PyObject * obj0 = 0 ;
2183 PyObject * obj2 = 0 ;
2184 char *kwnames[] = {
2185 (char *) "self",(char *) "style",(char *) "filled", NULL
2186 };
2187
2188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&arg2,&obj2)) goto fail;
2189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2190 arg3 = PyInt_AsLong(obj2) ? true : false;
2191 if (PyErr_Occurred()) SWIG_fail;
2192 {
2193 PyThreadState* __tstate = wxPyBeginAllowThreads();
2194 (arg1)->StyleSetEOLFilled(arg2,arg3);
2195
2196 wxPyEndAllowThreads(__tstate);
2197 if (PyErr_Occurred()) SWIG_fail;
2198 }
2199 Py_INCREF(Py_None); resultobj = Py_None;
2200 return resultobj;
2201 fail:
2202 return NULL;
2203 }
2204
2205
2206 static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
2207 PyObject *resultobj;
2208 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2209 PyObject * obj0 = 0 ;
2210 char *kwnames[] = {
2211 (char *) "self", NULL
2212 };
2213
2214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
2215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2216 {
2217 PyThreadState* __tstate = wxPyBeginAllowThreads();
2218 (arg1)->StyleResetDefault();
2219
2220 wxPyEndAllowThreads(__tstate);
2221 if (PyErr_Occurred()) SWIG_fail;
2222 }
2223 Py_INCREF(Py_None); resultobj = Py_None;
2224 return resultobj;
2225 fail:
2226 return NULL;
2227 }
2228
2229
2230 static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
2231 PyObject *resultobj;
2232 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2233 int arg2 ;
2234 bool arg3 ;
2235 PyObject * obj0 = 0 ;
2236 PyObject * obj2 = 0 ;
2237 char *kwnames[] = {
2238 (char *) "self",(char *) "style",(char *) "underline", NULL
2239 };
2240
2241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&arg2,&obj2)) goto fail;
2242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2243 arg3 = PyInt_AsLong(obj2) ? true : false;
2244 if (PyErr_Occurred()) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 (arg1)->StyleSetUnderline(arg2,arg3);
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 Py_INCREF(Py_None); resultobj = Py_None;
2253 return resultobj;
2254 fail:
2255 return NULL;
2256 }
2257
2258
2259 static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2262 int arg2 ;
2263 int arg3 ;
2264 PyObject * obj0 = 0 ;
2265 char *kwnames[] = {
2266 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&arg2,&arg3)) goto fail;
2270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 (arg1)->StyleSetCase(arg2,arg3);
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 Py_INCREF(Py_None); resultobj = Py_None;
2279 return resultobj;
2280 fail:
2281 return NULL;
2282 }
2283
2284
2285 static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject *resultobj;
2287 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2288 int arg2 ;
2289 int arg3 ;
2290 PyObject * obj0 = 0 ;
2291 char *kwnames[] = {
2292 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2293 };
2294
2295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&arg2,&arg3)) goto fail;
2296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2297 {
2298 PyThreadState* __tstate = wxPyBeginAllowThreads();
2299 (arg1)->StyleSetCharacterSet(arg2,arg3);
2300
2301 wxPyEndAllowThreads(__tstate);
2302 if (PyErr_Occurred()) SWIG_fail;
2303 }
2304 Py_INCREF(Py_None); resultobj = Py_None;
2305 return resultobj;
2306 fail:
2307 return NULL;
2308 }
2309
2310
2311 static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
2312 PyObject *resultobj;
2313 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2314 int arg2 ;
2315 bool arg3 ;
2316 PyObject * obj0 = 0 ;
2317 PyObject * obj2 = 0 ;
2318 char *kwnames[] = {
2319 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2320 };
2321
2322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&arg2,&obj2)) goto fail;
2323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2324 arg3 = PyInt_AsLong(obj2) ? true : false;
2325 if (PyErr_Occurred()) SWIG_fail;
2326 {
2327 PyThreadState* __tstate = wxPyBeginAllowThreads();
2328 (arg1)->StyleSetHotSpot(arg2,arg3);
2329
2330 wxPyEndAllowThreads(__tstate);
2331 if (PyErr_Occurred()) SWIG_fail;
2332 }
2333 Py_INCREF(Py_None); resultobj = Py_None;
2334 return resultobj;
2335 fail:
2336 return NULL;
2337 }
2338
2339
2340 static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2341 PyObject *resultobj;
2342 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2343 bool arg2 ;
2344 wxColour *arg3 = 0 ;
2345 wxColour temp3 ;
2346 PyObject * obj0 = 0 ;
2347 PyObject * obj1 = 0 ;
2348 PyObject * obj2 = 0 ;
2349 char *kwnames[] = {
2350 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2351 };
2352
2353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2355 arg2 = PyInt_AsLong(obj1) ? true : false;
2356 if (PyErr_Occurred()) SWIG_fail;
2357 {
2358 arg3 = &temp3;
2359 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2360 }
2361 {
2362 PyThreadState* __tstate = wxPyBeginAllowThreads();
2363 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
2364
2365 wxPyEndAllowThreads(__tstate);
2366 if (PyErr_Occurred()) SWIG_fail;
2367 }
2368 Py_INCREF(Py_None); resultobj = Py_None;
2369 return resultobj;
2370 fail:
2371 return NULL;
2372 }
2373
2374
2375 static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2376 PyObject *resultobj;
2377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2378 bool arg2 ;
2379 wxColour *arg3 = 0 ;
2380 wxColour temp3 ;
2381 PyObject * obj0 = 0 ;
2382 PyObject * obj1 = 0 ;
2383 PyObject * obj2 = 0 ;
2384 char *kwnames[] = {
2385 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2386 };
2387
2388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2390 arg2 = PyInt_AsLong(obj1) ? true : false;
2391 if (PyErr_Occurred()) SWIG_fail;
2392 {
2393 arg3 = &temp3;
2394 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2395 }
2396 {
2397 PyThreadState* __tstate = wxPyBeginAllowThreads();
2398 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
2399
2400 wxPyEndAllowThreads(__tstate);
2401 if (PyErr_Occurred()) SWIG_fail;
2402 }
2403 Py_INCREF(Py_None); resultobj = Py_None;
2404 return resultobj;
2405 fail:
2406 return NULL;
2407 }
2408
2409
2410 static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2411 PyObject *resultobj;
2412 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2413 wxColour *arg2 = 0 ;
2414 wxColour temp2 ;
2415 PyObject * obj0 = 0 ;
2416 PyObject * obj1 = 0 ;
2417 char *kwnames[] = {
2418 (char *) "self",(char *) "fore", NULL
2419 };
2420
2421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
2422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2423 {
2424 arg2 = &temp2;
2425 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2426 }
2427 {
2428 PyThreadState* __tstate = wxPyBeginAllowThreads();
2429 (arg1)->SetCaretForeground((wxColour const &)*arg2);
2430
2431 wxPyEndAllowThreads(__tstate);
2432 if (PyErr_Occurred()) SWIG_fail;
2433 }
2434 Py_INCREF(Py_None); resultobj = Py_None;
2435 return resultobj;
2436 fail:
2437 return NULL;
2438 }
2439
2440
2441 static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
2442 PyObject *resultobj;
2443 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2444 int arg2 ;
2445 int arg3 ;
2446 int arg4 ;
2447 PyObject * obj0 = 0 ;
2448 char *kwnames[] = {
2449 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2450 };
2451
2452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
2453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2454 {
2455 PyThreadState* __tstate = wxPyBeginAllowThreads();
2456 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
2457
2458 wxPyEndAllowThreads(__tstate);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 }
2461 Py_INCREF(Py_None); resultobj = Py_None;
2462 return resultobj;
2463 fail:
2464 return NULL;
2465 }
2466
2467
2468 static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
2469 PyObject *resultobj;
2470 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2471 int arg2 ;
2472 int arg3 ;
2473 PyObject * obj0 = 0 ;
2474 char *kwnames[] = {
2475 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2476 };
2477
2478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&arg2,&arg3)) goto fail;
2479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2480 {
2481 PyThreadState* __tstate = wxPyBeginAllowThreads();
2482 (arg1)->CmdKeyClear(arg2,arg3);
2483
2484 wxPyEndAllowThreads(__tstate);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 Py_INCREF(Py_None); resultobj = Py_None;
2488 return resultobj;
2489 fail:
2490 return NULL;
2491 }
2492
2493
2494 static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2495 PyObject *resultobj;
2496 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2497 PyObject * obj0 = 0 ;
2498 char *kwnames[] = {
2499 (char *) "self", NULL
2500 };
2501
2502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
2503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2504 {
2505 PyThreadState* __tstate = wxPyBeginAllowThreads();
2506 (arg1)->CmdKeyClearAll();
2507
2508 wxPyEndAllowThreads(__tstate);
2509 if (PyErr_Occurred()) SWIG_fail;
2510 }
2511 Py_INCREF(Py_None); resultobj = Py_None;
2512 return resultobj;
2513 fail:
2514 return NULL;
2515 }
2516
2517
2518 static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
2519 PyObject *resultobj;
2520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2521 int arg2 ;
2522 char *arg3 ;
2523 PyObject * obj0 = 0 ;
2524 char *kwnames[] = {
2525 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
2526 };
2527
2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ois:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&arg2,&arg3)) goto fail;
2529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2530 {
2531 PyThreadState* __tstate = wxPyBeginAllowThreads();
2532 (arg1)->SetStyleBytes(arg2,arg3);
2533
2534 wxPyEndAllowThreads(__tstate);
2535 if (PyErr_Occurred()) SWIG_fail;
2536 }
2537 Py_INCREF(Py_None); resultobj = Py_None;
2538 return resultobj;
2539 fail:
2540 return NULL;
2541 }
2542
2543
2544 static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2545 PyObject *resultobj;
2546 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2547 int arg2 ;
2548 bool arg3 ;
2549 PyObject * obj0 = 0 ;
2550 PyObject * obj2 = 0 ;
2551 char *kwnames[] = {
2552 (char *) "self",(char *) "style",(char *) "visible", NULL
2553 };
2554
2555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
2556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2557 arg3 = PyInt_AsLong(obj2) ? true : false;
2558 if (PyErr_Occurred()) SWIG_fail;
2559 {
2560 PyThreadState* __tstate = wxPyBeginAllowThreads();
2561 (arg1)->StyleSetVisible(arg2,arg3);
2562
2563 wxPyEndAllowThreads(__tstate);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 }
2566 Py_INCREF(Py_None); resultobj = Py_None;
2567 return resultobj;
2568 fail:
2569 return NULL;
2570 }
2571
2572
2573 static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
2574 PyObject *resultobj;
2575 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2576 int result;
2577 PyObject * obj0 = 0 ;
2578 char *kwnames[] = {
2579 (char *) "self", NULL
2580 };
2581
2582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
2583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2584 {
2585 PyThreadState* __tstate = wxPyBeginAllowThreads();
2586 result = (int)(arg1)->GetCaretPeriod();
2587
2588 wxPyEndAllowThreads(__tstate);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 }
2591 resultobj = PyInt_FromLong((long)result);
2592 return resultobj;
2593 fail:
2594 return NULL;
2595 }
2596
2597
2598 static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
2599 PyObject *resultobj;
2600 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2601 int arg2 ;
2602 PyObject * obj0 = 0 ;
2603 char *kwnames[] = {
2604 (char *) "self",(char *) "periodMilliseconds", NULL
2605 };
2606
2607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&arg2)) goto fail;
2608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2609 {
2610 PyThreadState* __tstate = wxPyBeginAllowThreads();
2611 (arg1)->SetCaretPeriod(arg2);
2612
2613 wxPyEndAllowThreads(__tstate);
2614 if (PyErr_Occurred()) SWIG_fail;
2615 }
2616 Py_INCREF(Py_None); resultobj = Py_None;
2617 return resultobj;
2618 fail:
2619 return NULL;
2620 }
2621
2622
2623 static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
2624 PyObject *resultobj;
2625 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2626 wxString *arg2 = 0 ;
2627 bool temp2 = False ;
2628 PyObject * obj0 = 0 ;
2629 PyObject * obj1 = 0 ;
2630 char *kwnames[] = {
2631 (char *) "self",(char *) "characters", NULL
2632 };
2633
2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
2635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2636 {
2637 arg2 = wxString_in_helper(obj1);
2638 if (arg2 == NULL) SWIG_fail;
2639 temp2 = True;
2640 }
2641 {
2642 PyThreadState* __tstate = wxPyBeginAllowThreads();
2643 (arg1)->SetWordChars((wxString const &)*arg2);
2644
2645 wxPyEndAllowThreads(__tstate);
2646 if (PyErr_Occurred()) SWIG_fail;
2647 }
2648 Py_INCREF(Py_None); resultobj = Py_None;
2649 {
2650 if (temp2)
2651 delete arg2;
2652 }
2653 return resultobj;
2654 fail:
2655 {
2656 if (temp2)
2657 delete arg2;
2658 }
2659 return NULL;
2660 }
2661
2662
2663 static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject *resultobj;
2665 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2666 PyObject * obj0 = 0 ;
2667 char *kwnames[] = {
2668 (char *) "self", NULL
2669 };
2670
2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
2672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2673 {
2674 PyThreadState* __tstate = wxPyBeginAllowThreads();
2675 (arg1)->BeginUndoAction();
2676
2677 wxPyEndAllowThreads(__tstate);
2678 if (PyErr_Occurred()) SWIG_fail;
2679 }
2680 Py_INCREF(Py_None); resultobj = Py_None;
2681 return resultobj;
2682 fail:
2683 return NULL;
2684 }
2685
2686
2687 static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
2688 PyObject *resultobj;
2689 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2690 PyObject * obj0 = 0 ;
2691 char *kwnames[] = {
2692 (char *) "self", NULL
2693 };
2694
2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
2696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2697 {
2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
2699 (arg1)->EndUndoAction();
2700
2701 wxPyEndAllowThreads(__tstate);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 Py_INCREF(Py_None); resultobj = Py_None;
2705 return resultobj;
2706 fail:
2707 return NULL;
2708 }
2709
2710
2711 static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2712 PyObject *resultobj;
2713 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2714 int arg2 ;
2715 int arg3 ;
2716 PyObject * obj0 = 0 ;
2717 char *kwnames[] = {
2718 (char *) "self",(char *) "indic",(char *) "style", NULL
2719 };
2720
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&arg2,&arg3)) goto fail;
2722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2723 {
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 (arg1)->IndicatorSetStyle(arg2,arg3);
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) SWIG_fail;
2729 }
2730 Py_INCREF(Py_None); resultobj = Py_None;
2731 return resultobj;
2732 fail:
2733 return NULL;
2734 }
2735
2736
2737 static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2738 PyObject *resultobj;
2739 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2740 int arg2 ;
2741 int result;
2742 PyObject * obj0 = 0 ;
2743 char *kwnames[] = {
2744 (char *) "self",(char *) "indic", NULL
2745 };
2746
2747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&arg2)) goto fail;
2748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2749 {
2750 PyThreadState* __tstate = wxPyBeginAllowThreads();
2751 result = (int)(arg1)->IndicatorGetStyle(arg2);
2752
2753 wxPyEndAllowThreads(__tstate);
2754 if (PyErr_Occurred()) SWIG_fail;
2755 }
2756 resultobj = PyInt_FromLong((long)result);
2757 return resultobj;
2758 fail:
2759 return NULL;
2760 }
2761
2762
2763 static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2764 PyObject *resultobj;
2765 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2766 int arg2 ;
2767 wxColour *arg3 = 0 ;
2768 wxColour temp3 ;
2769 PyObject * obj0 = 0 ;
2770 PyObject * obj2 = 0 ;
2771 char *kwnames[] = {
2772 (char *) "self",(char *) "indic",(char *) "fore", NULL
2773 };
2774
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail;
2776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2777 {
2778 arg3 = &temp3;
2779 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2780 }
2781 {
2782 PyThreadState* __tstate = wxPyBeginAllowThreads();
2783 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
2784
2785 wxPyEndAllowThreads(__tstate);
2786 if (PyErr_Occurred()) SWIG_fail;
2787 }
2788 Py_INCREF(Py_None); resultobj = Py_None;
2789 return resultobj;
2790 fail:
2791 return NULL;
2792 }
2793
2794
2795 static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2796 PyObject *resultobj;
2797 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2798 int arg2 ;
2799 wxColour result;
2800 PyObject * obj0 = 0 ;
2801 char *kwnames[] = {
2802 (char *) "self",(char *) "indic", NULL
2803 };
2804
2805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&arg2)) goto fail;
2806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2807 {
2808 PyThreadState* __tstate = wxPyBeginAllowThreads();
2809 result = (arg1)->IndicatorGetForeground(arg2);
2810
2811 wxPyEndAllowThreads(__tstate);
2812 if (PyErr_Occurred()) SWIG_fail;
2813 }
2814 {
2815 wxColour * resultptr;
2816 resultptr = new wxColour((wxColour &) result);
2817 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
2818 }
2819 return resultobj;
2820 fail:
2821 return NULL;
2822 }
2823
2824
2825 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2826 PyObject *resultobj;
2827 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2828 bool arg2 ;
2829 wxColour *arg3 = 0 ;
2830 wxColour temp3 ;
2831 PyObject * obj0 = 0 ;
2832 PyObject * obj1 = 0 ;
2833 PyObject * obj2 = 0 ;
2834 char *kwnames[] = {
2835 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2836 };
2837
2838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2840 arg2 = PyInt_AsLong(obj1) ? true : false;
2841 if (PyErr_Occurred()) SWIG_fail;
2842 {
2843 arg3 = &temp3;
2844 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2845 }
2846 {
2847 PyThreadState* __tstate = wxPyBeginAllowThreads();
2848 (arg1)->SetWhitespaceForeground(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_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2861 PyObject *resultobj;
2862 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2863 bool arg2 ;
2864 wxColour *arg3 = 0 ;
2865 wxColour temp3 ;
2866 PyObject * obj0 = 0 ;
2867 PyObject * obj1 = 0 ;
2868 PyObject * obj2 = 0 ;
2869 char *kwnames[] = {
2870 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2875 arg2 = PyInt_AsLong(obj1) ? true : false;
2876 if (PyErr_Occurred()) SWIG_fail;
2877 {
2878 arg3 = &temp3;
2879 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2880 }
2881 {
2882 PyThreadState* __tstate = wxPyBeginAllowThreads();
2883 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
2884
2885 wxPyEndAllowThreads(__tstate);
2886 if (PyErr_Occurred()) SWIG_fail;
2887 }
2888 Py_INCREF(Py_None); resultobj = Py_None;
2889 return resultobj;
2890 fail:
2891 return NULL;
2892 }
2893
2894
2895 static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2896 PyObject *resultobj;
2897 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2898 int arg2 ;
2899 PyObject * obj0 = 0 ;
2900 char *kwnames[] = {
2901 (char *) "self",(char *) "bits", NULL
2902 };
2903
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&arg2)) goto fail;
2905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2906 {
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
2908 (arg1)->SetStyleBits(arg2);
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 Py_INCREF(Py_None); resultobj = Py_None;
2914 return resultobj;
2915 fail:
2916 return NULL;
2917 }
2918
2919
2920 static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2921 PyObject *resultobj;
2922 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2923 int result;
2924 PyObject * obj0 = 0 ;
2925 char *kwnames[] = {
2926 (char *) "self", NULL
2927 };
2928
2929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
2930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2931 {
2932 PyThreadState* __tstate = wxPyBeginAllowThreads();
2933 result = (int)(arg1)->GetStyleBits();
2934
2935 wxPyEndAllowThreads(__tstate);
2936 if (PyErr_Occurred()) SWIG_fail;
2937 }
2938 resultobj = PyInt_FromLong((long)result);
2939 return resultobj;
2940 fail:
2941 return NULL;
2942 }
2943
2944
2945 static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2946 PyObject *resultobj;
2947 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2948 int arg2 ;
2949 int arg3 ;
2950 PyObject * obj0 = 0 ;
2951 char *kwnames[] = {
2952 (char *) "self",(char *) "line",(char *) "state", NULL
2953 };
2954
2955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetLineState",kwnames,&obj0,&arg2,&arg3)) goto fail;
2956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 (arg1)->SetLineState(arg2,arg3);
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
2964 Py_INCREF(Py_None); resultobj = Py_None;
2965 return resultobj;
2966 fail:
2967 return NULL;
2968 }
2969
2970
2971 static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject *resultobj;
2973 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2974 int arg2 ;
2975 int result;
2976 PyObject * obj0 = 0 ;
2977 char *kwnames[] = {
2978 (char *) "self",(char *) "line", NULL
2979 };
2980
2981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineState",kwnames,&obj0,&arg2)) goto fail;
2982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2983 {
2984 PyThreadState* __tstate = wxPyBeginAllowThreads();
2985 result = (int)(arg1)->GetLineState(arg2);
2986
2987 wxPyEndAllowThreads(__tstate);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
2990 resultobj = PyInt_FromLong((long)result);
2991 return resultobj;
2992 fail:
2993 return NULL;
2994 }
2995
2996
2997 static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2998 PyObject *resultobj;
2999 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3000 int result;
3001 PyObject * obj0 = 0 ;
3002 char *kwnames[] = {
3003 (char *) "self", NULL
3004 };
3005
3006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
3007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3008 {
3009 PyThreadState* __tstate = wxPyBeginAllowThreads();
3010 result = (int)(arg1)->GetMaxLineState();
3011
3012 wxPyEndAllowThreads(__tstate);
3013 if (PyErr_Occurred()) SWIG_fail;
3014 }
3015 resultobj = PyInt_FromLong((long)result);
3016 return resultobj;
3017 fail:
3018 return NULL;
3019 }
3020
3021
3022 static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3023 PyObject *resultobj;
3024 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3025 bool result;
3026 PyObject * obj0 = 0 ;
3027 char *kwnames[] = {
3028 (char *) "self", NULL
3029 };
3030
3031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
3032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3033 {
3034 PyThreadState* __tstate = wxPyBeginAllowThreads();
3035 result = (bool)(arg1)->GetCaretLineVisible();
3036
3037 wxPyEndAllowThreads(__tstate);
3038 if (PyErr_Occurred()) SWIG_fail;
3039 }
3040 resultobj = PyInt_FromLong((long)result);
3041 return resultobj;
3042 fail:
3043 return NULL;
3044 }
3045
3046
3047 static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3048 PyObject *resultobj;
3049 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3050 bool arg2 ;
3051 PyObject * obj0 = 0 ;
3052 PyObject * obj1 = 0 ;
3053 char *kwnames[] = {
3054 (char *) "self",(char *) "show", NULL
3055 };
3056
3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
3058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3059 arg2 = PyInt_AsLong(obj1) ? true : false;
3060 if (PyErr_Occurred()) SWIG_fail;
3061 {
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 (arg1)->SetCaretLineVisible(arg2);
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 Py_INCREF(Py_None); resultobj = Py_None;
3069 return resultobj;
3070 fail:
3071 return NULL;
3072 }
3073
3074
3075 static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3076 PyObject *resultobj;
3077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3078 wxColour result;
3079 PyObject * obj0 = 0 ;
3080 char *kwnames[] = {
3081 (char *) "self", NULL
3082 };
3083
3084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
3085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3086 {
3087 PyThreadState* __tstate = wxPyBeginAllowThreads();
3088 result = (arg1)->GetCaretLineBack();
3089
3090 wxPyEndAllowThreads(__tstate);
3091 if (PyErr_Occurred()) SWIG_fail;
3092 }
3093 {
3094 wxColour * resultptr;
3095 resultptr = new wxColour((wxColour &) result);
3096 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3097 }
3098 return resultobj;
3099 fail:
3100 return NULL;
3101 }
3102
3103
3104 static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3107 wxColour *arg2 = 0 ;
3108 wxColour temp2 ;
3109 PyObject * obj0 = 0 ;
3110 PyObject * obj1 = 0 ;
3111 char *kwnames[] = {
3112 (char *) "self",(char *) "back", NULL
3113 };
3114
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
3116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3117 {
3118 arg2 = &temp2;
3119 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3120 }
3121 {
3122 PyThreadState* __tstate = wxPyBeginAllowThreads();
3123 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
3124
3125 wxPyEndAllowThreads(__tstate);
3126 if (PyErr_Occurred()) SWIG_fail;
3127 }
3128 Py_INCREF(Py_None); resultobj = Py_None;
3129 return resultobj;
3130 fail:
3131 return NULL;
3132 }
3133
3134
3135 static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) {
3136 PyObject *resultobj;
3137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3138 int arg2 ;
3139 bool arg3 ;
3140 PyObject * obj0 = 0 ;
3141 PyObject * obj2 = 0 ;
3142 char *kwnames[] = {
3143 (char *) "self",(char *) "style",(char *) "changeable", NULL
3144 };
3145
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&arg2,&obj2)) goto fail;
3147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3148 arg3 = PyInt_AsLong(obj2) ? true : false;
3149 if (PyErr_Occurred()) SWIG_fail;
3150 {
3151 PyThreadState* __tstate = wxPyBeginAllowThreads();
3152 (arg1)->StyleSetChangeable(arg2,arg3);
3153
3154 wxPyEndAllowThreads(__tstate);
3155 if (PyErr_Occurred()) SWIG_fail;
3156 }
3157 Py_INCREF(Py_None); resultobj = Py_None;
3158 return resultobj;
3159 fail:
3160 return NULL;
3161 }
3162
3163
3164 static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3165 PyObject *resultobj;
3166 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3167 int arg2 ;
3168 wxString *arg3 = 0 ;
3169 bool temp3 = False ;
3170 PyObject * obj0 = 0 ;
3171 PyObject * obj2 = 0 ;
3172 char *kwnames[] = {
3173 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3174 };
3175
3176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&arg2,&obj2)) goto fail;
3177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3178 {
3179 arg3 = wxString_in_helper(obj2);
3180 if (arg3 == NULL) SWIG_fail;
3181 temp3 = True;
3182 }
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 Py_INCREF(Py_None); resultobj = Py_None;
3191 {
3192 if (temp3)
3193 delete arg3;
3194 }
3195 return resultobj;
3196 fail:
3197 {
3198 if (temp3)
3199 delete arg3;
3200 }
3201 return NULL;
3202 }
3203
3204
3205 static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
3206 PyObject *resultobj;
3207 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3208 PyObject * obj0 = 0 ;
3209 char *kwnames[] = {
3210 (char *) "self", NULL
3211 };
3212
3213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
3214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3215 {
3216 PyThreadState* __tstate = wxPyBeginAllowThreads();
3217 (arg1)->AutoCompCancel();
3218
3219 wxPyEndAllowThreads(__tstate);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
3222 Py_INCREF(Py_None); resultobj = Py_None;
3223 return resultobj;
3224 fail:
3225 return NULL;
3226 }
3227
3228
3229 static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject *resultobj;
3231 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3232 bool result;
3233 PyObject * obj0 = 0 ;
3234 char *kwnames[] = {
3235 (char *) "self", NULL
3236 };
3237
3238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
3239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 result = (bool)(arg1)->AutoCompActive();
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 resultobj = PyInt_FromLong((long)result);
3248 return resultobj;
3249 fail:
3250 return NULL;
3251 }
3252
3253
3254 static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3255 PyObject *resultobj;
3256 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3257 int result;
3258 PyObject * obj0 = 0 ;
3259 char *kwnames[] = {
3260 (char *) "self", NULL
3261 };
3262
3263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
3264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 result = (int)(arg1)->AutoCompPosStart();
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 resultobj = PyInt_FromLong((long)result);
3273 return resultobj;
3274 fail:
3275 return NULL;
3276 }
3277
3278
3279 static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
3280 PyObject *resultobj;
3281 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3282 PyObject * obj0 = 0 ;
3283 char *kwnames[] = {
3284 (char *) "self", NULL
3285 };
3286
3287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
3288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3289 {
3290 PyThreadState* __tstate = wxPyBeginAllowThreads();
3291 (arg1)->AutoCompComplete();
3292
3293 wxPyEndAllowThreads(__tstate);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
3296 Py_INCREF(Py_None); resultobj = Py_None;
3297 return resultobj;
3298 fail:
3299 return NULL;
3300 }
3301
3302
3303 static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
3304 PyObject *resultobj;
3305 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3306 wxString *arg2 = 0 ;
3307 bool temp2 = False ;
3308 PyObject * obj0 = 0 ;
3309 PyObject * obj1 = 0 ;
3310 char *kwnames[] = {
3311 (char *) "self",(char *) "characterSet", NULL
3312 };
3313
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
3315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3316 {
3317 arg2 = wxString_in_helper(obj1);
3318 if (arg2 == NULL) SWIG_fail;
3319 temp2 = True;
3320 }
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 (arg1)->AutoCompStops((wxString const &)*arg2);
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 Py_INCREF(Py_None); resultobj = Py_None;
3329 {
3330 if (temp2)
3331 delete arg2;
3332 }
3333 return resultobj;
3334 fail:
3335 {
3336 if (temp2)
3337 delete arg2;
3338 }
3339 return NULL;
3340 }
3341
3342
3343 static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3344 PyObject *resultobj;
3345 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3346 int arg2 ;
3347 PyObject * obj0 = 0 ;
3348 char *kwnames[] = {
3349 (char *) "self",(char *) "separatorCharacter", NULL
3350 };
3351
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&arg2)) goto fail;
3353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3354 {
3355 PyThreadState* __tstate = wxPyBeginAllowThreads();
3356 (arg1)->AutoCompSetSeparator(arg2);
3357
3358 wxPyEndAllowThreads(__tstate);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 }
3361 Py_INCREF(Py_None); resultobj = Py_None;
3362 return resultobj;
3363 fail:
3364 return NULL;
3365 }
3366
3367
3368 static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj;
3370 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3371 int result;
3372 PyObject * obj0 = 0 ;
3373 char *kwnames[] = {
3374 (char *) "self", NULL
3375 };
3376
3377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
3378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3379 {
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 result = (int)(arg1)->AutoCompGetSeparator();
3382
3383 wxPyEndAllowThreads(__tstate);
3384 if (PyErr_Occurred()) SWIG_fail;
3385 }
3386 resultobj = PyInt_FromLong((long)result);
3387 return resultobj;
3388 fail:
3389 return NULL;
3390 }
3391
3392
3393 static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
3394 PyObject *resultobj;
3395 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3396 wxString *arg2 = 0 ;
3397 bool temp2 = False ;
3398 PyObject * obj0 = 0 ;
3399 PyObject * obj1 = 0 ;
3400 char *kwnames[] = {
3401 (char *) "self",(char *) "text", NULL
3402 };
3403
3404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
3405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3406 {
3407 arg2 = wxString_in_helper(obj1);
3408 if (arg2 == NULL) SWIG_fail;
3409 temp2 = True;
3410 }
3411 {
3412 PyThreadState* __tstate = wxPyBeginAllowThreads();
3413 (arg1)->AutoCompSelect((wxString const &)*arg2);
3414
3415 wxPyEndAllowThreads(__tstate);
3416 if (PyErr_Occurred()) SWIG_fail;
3417 }
3418 Py_INCREF(Py_None); resultobj = Py_None;
3419 {
3420 if (temp2)
3421 delete arg2;
3422 }
3423 return resultobj;
3424 fail:
3425 {
3426 if (temp2)
3427 delete arg2;
3428 }
3429 return NULL;
3430 }
3431
3432
3433 static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3434 PyObject *resultobj;
3435 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3436 bool arg2 ;
3437 PyObject * obj0 = 0 ;
3438 PyObject * obj1 = 0 ;
3439 char *kwnames[] = {
3440 (char *) "self",(char *) "cancel", NULL
3441 };
3442
3443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
3444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3445 arg2 = PyInt_AsLong(obj1) ? true : false;
3446 if (PyErr_Occurred()) SWIG_fail;
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 (arg1)->AutoCompSetCancelAtStart(arg2);
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 Py_INCREF(Py_None); resultobj = Py_None;
3455 return resultobj;
3456 fail:
3457 return NULL;
3458 }
3459
3460
3461 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3462 PyObject *resultobj;
3463 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3464 bool result;
3465 PyObject * obj0 = 0 ;
3466 char *kwnames[] = {
3467 (char *) "self", NULL
3468 };
3469
3470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
3471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 result = (bool)(arg1)->AutoCompGetCancelAtStart();
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 resultobj = PyInt_FromLong((long)result);
3480 return resultobj;
3481 fail:
3482 return NULL;
3483 }
3484
3485
3486 static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
3487 PyObject *resultobj;
3488 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3489 wxString *arg2 = 0 ;
3490 bool temp2 = False ;
3491 PyObject * obj0 = 0 ;
3492 PyObject * obj1 = 0 ;
3493 char *kwnames[] = {
3494 (char *) "self",(char *) "characterSet", NULL
3495 };
3496
3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
3498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3499 {
3500 arg2 = wxString_in_helper(obj1);
3501 if (arg2 == NULL) SWIG_fail;
3502 temp2 = True;
3503 }
3504 {
3505 PyThreadState* __tstate = wxPyBeginAllowThreads();
3506 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
3507
3508 wxPyEndAllowThreads(__tstate);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 Py_INCREF(Py_None); resultobj = Py_None;
3512 {
3513 if (temp2)
3514 delete arg2;
3515 }
3516 return resultobj;
3517 fail:
3518 {
3519 if (temp2)
3520 delete arg2;
3521 }
3522 return NULL;
3523 }
3524
3525
3526 static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
3527 PyObject *resultobj;
3528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3529 bool arg2 ;
3530 PyObject * obj0 = 0 ;
3531 PyObject * obj1 = 0 ;
3532 char *kwnames[] = {
3533 (char *) "self",(char *) "chooseSingle", NULL
3534 };
3535
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
3537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3538 arg2 = PyInt_AsLong(obj1) ? true : false;
3539 if (PyErr_Occurred()) SWIG_fail;
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 (arg1)->AutoCompSetChooseSingle(arg2);
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 Py_INCREF(Py_None); resultobj = Py_None;
3548 return resultobj;
3549 fail:
3550 return NULL;
3551 }
3552
3553
3554 static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
3555 PyObject *resultobj;
3556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3557 bool result;
3558 PyObject * obj0 = 0 ;
3559 char *kwnames[] = {
3560 (char *) "self", NULL
3561 };
3562
3563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
3564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3565 {
3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
3567 result = (bool)(arg1)->AutoCompGetChooseSingle();
3568
3569 wxPyEndAllowThreads(__tstate);
3570 if (PyErr_Occurred()) SWIG_fail;
3571 }
3572 resultobj = PyInt_FromLong((long)result);
3573 return resultobj;
3574 fail:
3575 return NULL;
3576 }
3577
3578
3579 static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
3580 PyObject *resultobj;
3581 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3582 bool arg2 ;
3583 PyObject * obj0 = 0 ;
3584 PyObject * obj1 = 0 ;
3585 char *kwnames[] = {
3586 (char *) "self",(char *) "ignoreCase", NULL
3587 };
3588
3589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
3590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3591 arg2 = PyInt_AsLong(obj1) ? true : false;
3592 if (PyErr_Occurred()) SWIG_fail;
3593 {
3594 PyThreadState* __tstate = wxPyBeginAllowThreads();
3595 (arg1)->AutoCompSetIgnoreCase(arg2);
3596
3597 wxPyEndAllowThreads(__tstate);
3598 if (PyErr_Occurred()) SWIG_fail;
3599 }
3600 Py_INCREF(Py_None); resultobj = Py_None;
3601 return resultobj;
3602 fail:
3603 return NULL;
3604 }
3605
3606
3607 static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj;
3609 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3610 bool result;
3611 PyObject * obj0 = 0 ;
3612 char *kwnames[] = {
3613 (char *) "self", NULL
3614 };
3615
3616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
3617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3618 {
3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
3620 result = (bool)(arg1)->AutoCompGetIgnoreCase();
3621
3622 wxPyEndAllowThreads(__tstate);
3623 if (PyErr_Occurred()) SWIG_fail;
3624 }
3625 resultobj = PyInt_FromLong((long)result);
3626 return resultobj;
3627 fail:
3628 return NULL;
3629 }
3630
3631
3632 static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3633 PyObject *resultobj;
3634 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3635 int arg2 ;
3636 wxString *arg3 = 0 ;
3637 bool temp3 = False ;
3638 PyObject * obj0 = 0 ;
3639 PyObject * obj2 = 0 ;
3640 char *kwnames[] = {
3641 (char *) "self",(char *) "listType",(char *) "itemList", NULL
3642 };
3643
3644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_UserListShow",kwnames,&obj0,&arg2,&obj2)) goto fail;
3645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3646 {
3647 arg3 = wxString_in_helper(obj2);
3648 if (arg3 == NULL) SWIG_fail;
3649 temp3 = True;
3650 }
3651 {
3652 PyThreadState* __tstate = wxPyBeginAllowThreads();
3653 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
3654
3655 wxPyEndAllowThreads(__tstate);
3656 if (PyErr_Occurred()) SWIG_fail;
3657 }
3658 Py_INCREF(Py_None); resultobj = Py_None;
3659 {
3660 if (temp3)
3661 delete arg3;
3662 }
3663 return resultobj;
3664 fail:
3665 {
3666 if (temp3)
3667 delete arg3;
3668 }
3669 return NULL;
3670 }
3671
3672
3673 static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
3674 PyObject *resultobj;
3675 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3676 bool arg2 ;
3677 PyObject * obj0 = 0 ;
3678 PyObject * obj1 = 0 ;
3679 char *kwnames[] = {
3680 (char *) "self",(char *) "autoHide", NULL
3681 };
3682
3683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
3684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3685 arg2 = PyInt_AsLong(obj1) ? true : false;
3686 if (PyErr_Occurred()) SWIG_fail;
3687 {
3688 PyThreadState* __tstate = wxPyBeginAllowThreads();
3689 (arg1)->AutoCompSetAutoHide(arg2);
3690
3691 wxPyEndAllowThreads(__tstate);
3692 if (PyErr_Occurred()) SWIG_fail;
3693 }
3694 Py_INCREF(Py_None); resultobj = Py_None;
3695 return resultobj;
3696 fail:
3697 return NULL;
3698 }
3699
3700
3701 static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
3702 PyObject *resultobj;
3703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3704 bool result;
3705 PyObject * obj0 = 0 ;
3706 char *kwnames[] = {
3707 (char *) "self", NULL
3708 };
3709
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
3711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 result = (bool)(arg1)->AutoCompGetAutoHide();
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
3719 resultobj = PyInt_FromLong((long)result);
3720 return resultobj;
3721 fail:
3722 return NULL;
3723 }
3724
3725
3726 static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
3727 PyObject *resultobj;
3728 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3729 bool arg2 ;
3730 PyObject * obj0 = 0 ;
3731 PyObject * obj1 = 0 ;
3732 char *kwnames[] = {
3733 (char *) "self",(char *) "dropRestOfWord", NULL
3734 };
3735
3736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
3737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3738 arg2 = PyInt_AsLong(obj1) ? true : false;
3739 if (PyErr_Occurred()) SWIG_fail;
3740 {
3741 PyThreadState* __tstate = wxPyBeginAllowThreads();
3742 (arg1)->AutoCompSetDropRestOfWord(arg2);
3743
3744 wxPyEndAllowThreads(__tstate);
3745 if (PyErr_Occurred()) SWIG_fail;
3746 }
3747 Py_INCREF(Py_None); resultobj = Py_None;
3748 return resultobj;
3749 fail:
3750 return NULL;
3751 }
3752
3753
3754 static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
3755 PyObject *resultobj;
3756 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3757 bool result;
3758 PyObject * obj0 = 0 ;
3759 char *kwnames[] = {
3760 (char *) "self", NULL
3761 };
3762
3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
3764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3765 {
3766 PyThreadState* __tstate = wxPyBeginAllowThreads();
3767 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
3768
3769 wxPyEndAllowThreads(__tstate);
3770 if (PyErr_Occurred()) SWIG_fail;
3771 }
3772 resultobj = PyInt_FromLong((long)result);
3773 return resultobj;
3774 fail:
3775 return NULL;
3776 }
3777
3778
3779 static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3780 PyObject *resultobj;
3781 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3782 int arg2 ;
3783 wxBitmap *arg3 = 0 ;
3784 PyObject * obj0 = 0 ;
3785 PyObject * obj2 = 0 ;
3786 char *kwnames[] = {
3787 (char *) "self",(char *) "type",(char *) "bmp", NULL
3788 };
3789
3790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&arg2,&obj2)) goto fail;
3791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3792 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3793 if (arg3 == NULL) {
3794 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3795 }
3796 {
3797 PyThreadState* __tstate = wxPyBeginAllowThreads();
3798 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
3799
3800 wxPyEndAllowThreads(__tstate);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 }
3803 Py_INCREF(Py_None); resultobj = Py_None;
3804 return resultobj;
3805 fail:
3806 return NULL;
3807 }
3808
3809
3810 static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
3811 PyObject *resultobj;
3812 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3813 PyObject * obj0 = 0 ;
3814 char *kwnames[] = {
3815 (char *) "self", NULL
3816 };
3817
3818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
3819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3820 {
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 (arg1)->ClearRegisteredImages();
3823
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 Py_INCREF(Py_None); resultobj = Py_None;
3828 return resultobj;
3829 fail:
3830 return NULL;
3831 }
3832
3833
3834 static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj;
3836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3837 int result;
3838 PyObject * obj0 = 0 ;
3839 char *kwnames[] = {
3840 (char *) "self", NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
3844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 result = (int)(arg1)->AutoCompGetTypeSeparator();
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 resultobj = PyInt_FromLong((long)result);
3853 return resultobj;
3854 fail:
3855 return NULL;
3856 }
3857
3858
3859 static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3860 PyObject *resultobj;
3861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3862 int arg2 ;
3863 PyObject * obj0 = 0 ;
3864 char *kwnames[] = {
3865 (char *) "self",(char *) "separatorCharacter", NULL
3866 };
3867
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&arg2)) goto fail;
3869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3870 {
3871 PyThreadState* __tstate = wxPyBeginAllowThreads();
3872 (arg1)->AutoCompSetTypeSeparator(arg2);
3873
3874 wxPyEndAllowThreads(__tstate);
3875 if (PyErr_Occurred()) SWIG_fail;
3876 }
3877 Py_INCREF(Py_None); resultobj = Py_None;
3878 return resultobj;
3879 fail:
3880 return NULL;
3881 }
3882
3883
3884 static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3885 PyObject *resultobj;
3886 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3887 int arg2 ;
3888 PyObject * obj0 = 0 ;
3889 char *kwnames[] = {
3890 (char *) "self",(char *) "indentSize", NULL
3891 };
3892
3893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetIndent",kwnames,&obj0,&arg2)) goto fail;
3894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3895 {
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 (arg1)->SetIndent(arg2);
3898
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 Py_INCREF(Py_None); resultobj = Py_None;
3903 return resultobj;
3904 fail:
3905 return NULL;
3906 }
3907
3908
3909 static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3910 PyObject *resultobj;
3911 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3912 int result;
3913 PyObject * obj0 = 0 ;
3914 char *kwnames[] = {
3915 (char *) "self", NULL
3916 };
3917
3918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
3919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3920 {
3921 PyThreadState* __tstate = wxPyBeginAllowThreads();
3922 result = (int)(arg1)->GetIndent();
3923
3924 wxPyEndAllowThreads(__tstate);
3925 if (PyErr_Occurred()) SWIG_fail;
3926 }
3927 resultobj = PyInt_FromLong((long)result);
3928 return resultobj;
3929 fail:
3930 return NULL;
3931 }
3932
3933
3934 static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
3935 PyObject *resultobj;
3936 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3937 bool arg2 ;
3938 PyObject * obj0 = 0 ;
3939 PyObject * obj1 = 0 ;
3940 char *kwnames[] = {
3941 (char *) "self",(char *) "useTabs", NULL
3942 };
3943
3944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
3945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3946 arg2 = PyInt_AsLong(obj1) ? true : false;
3947 if (PyErr_Occurred()) SWIG_fail;
3948 {
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 (arg1)->SetUseTabs(arg2);
3951
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 Py_INCREF(Py_None); resultobj = Py_None;
3956 return resultobj;
3957 fail:
3958 return NULL;
3959 }
3960
3961
3962 static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
3963 PyObject *resultobj;
3964 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3965 bool result;
3966 PyObject * obj0 = 0 ;
3967 char *kwnames[] = {
3968 (char *) "self", NULL
3969 };
3970
3971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
3972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3973 {
3974 PyThreadState* __tstate = wxPyBeginAllowThreads();
3975 result = (bool)(arg1)->GetUseTabs();
3976
3977 wxPyEndAllowThreads(__tstate);
3978 if (PyErr_Occurred()) SWIG_fail;
3979 }
3980 resultobj = PyInt_FromLong((long)result);
3981 return resultobj;
3982 fail:
3983 return NULL;
3984 }
3985
3986
3987 static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
3988 PyObject *resultobj;
3989 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3990 int arg2 ;
3991 int arg3 ;
3992 PyObject * obj0 = 0 ;
3993 char *kwnames[] = {
3994 (char *) "self",(char *) "line",(char *) "indentSize", NULL
3995 };
3996
3997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&arg2,&arg3)) goto fail;
3998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 (arg1)->SetLineIndentation(arg2,arg3);
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 Py_INCREF(Py_None); resultobj = Py_None;
4007 return resultobj;
4008 fail:
4009 return NULL;
4010 }
4011
4012
4013 static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4014 PyObject *resultobj;
4015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4016 int arg2 ;
4017 int result;
4018 PyObject * obj0 = 0 ;
4019 char *kwnames[] = {
4020 (char *) "self",(char *) "line", NULL
4021 };
4022
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&arg2)) goto fail;
4024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4025 {
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 result = (int)(arg1)->GetLineIndentation(arg2);
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 resultobj = PyInt_FromLong((long)result);
4033 return resultobj;
4034 fail:
4035 return NULL;
4036 }
4037
4038
4039 static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4040 PyObject *resultobj;
4041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4042 int arg2 ;
4043 int result;
4044 PyObject * obj0 = 0 ;
4045 char *kwnames[] = {
4046 (char *) "self",(char *) "line", NULL
4047 };
4048
4049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&arg2)) goto fail;
4050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4051 {
4052 PyThreadState* __tstate = wxPyBeginAllowThreads();
4053 result = (int)(arg1)->GetLineIndentPosition(arg2);
4054
4055 wxPyEndAllowThreads(__tstate);
4056 if (PyErr_Occurred()) SWIG_fail;
4057 }
4058 resultobj = PyInt_FromLong((long)result);
4059 return resultobj;
4060 fail:
4061 return NULL;
4062 }
4063
4064
4065 static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4066 PyObject *resultobj;
4067 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4068 int arg2 ;
4069 int result;
4070 PyObject * obj0 = 0 ;
4071 char *kwnames[] = {
4072 (char *) "self",(char *) "pos", NULL
4073 };
4074
4075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
4076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4077 {
4078 PyThreadState* __tstate = wxPyBeginAllowThreads();
4079 result = (int)(arg1)->GetColumn(arg2);
4080
4081 wxPyEndAllowThreads(__tstate);
4082 if (PyErr_Occurred()) SWIG_fail;
4083 }
4084 resultobj = PyInt_FromLong((long)result);
4085 return resultobj;
4086 fail:
4087 return NULL;
4088 }
4089
4090
4091 static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4092 PyObject *resultobj;
4093 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4094 bool arg2 ;
4095 PyObject * obj0 = 0 ;
4096 PyObject * obj1 = 0 ;
4097 char *kwnames[] = {
4098 (char *) "self",(char *) "show", NULL
4099 };
4100
4101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
4102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4103 arg2 = PyInt_AsLong(obj1) ? true : false;
4104 if (PyErr_Occurred()) SWIG_fail;
4105 {
4106 PyThreadState* __tstate = wxPyBeginAllowThreads();
4107 (arg1)->SetUseHorizontalScrollBar(arg2);
4108
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 }
4112 Py_INCREF(Py_None); resultobj = Py_None;
4113 return resultobj;
4114 fail:
4115 return NULL;
4116 }
4117
4118
4119 static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4120 PyObject *resultobj;
4121 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4122 bool result;
4123 PyObject * obj0 = 0 ;
4124 char *kwnames[] = {
4125 (char *) "self", NULL
4126 };
4127
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
4129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (bool)(arg1)->GetUseHorizontalScrollBar();
4133
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 resultobj = PyInt_FromLong((long)result);
4138 return resultobj;
4139 fail:
4140 return NULL;
4141 }
4142
4143
4144 static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4145 PyObject *resultobj;
4146 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4147 bool arg2 ;
4148 PyObject * obj0 = 0 ;
4149 PyObject * obj1 = 0 ;
4150 char *kwnames[] = {
4151 (char *) "self",(char *) "show", NULL
4152 };
4153
4154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
4155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4156 arg2 = PyInt_AsLong(obj1) ? true : false;
4157 if (PyErr_Occurred()) SWIG_fail;
4158 {
4159 PyThreadState* __tstate = wxPyBeginAllowThreads();
4160 (arg1)->SetIndentationGuides(arg2);
4161
4162 wxPyEndAllowThreads(__tstate);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 }
4165 Py_INCREF(Py_None); resultobj = Py_None;
4166 return resultobj;
4167 fail:
4168 return NULL;
4169 }
4170
4171
4172 static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject *resultobj;
4174 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4175 bool result;
4176 PyObject * obj0 = 0 ;
4177 char *kwnames[] = {
4178 (char *) "self", NULL
4179 };
4180
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
4182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4183 {
4184 PyThreadState* __tstate = wxPyBeginAllowThreads();
4185 result = (bool)(arg1)->GetIndentationGuides();
4186
4187 wxPyEndAllowThreads(__tstate);
4188 if (PyErr_Occurred()) SWIG_fail;
4189 }
4190 resultobj = PyInt_FromLong((long)result);
4191 return resultobj;
4192 fail:
4193 return NULL;
4194 }
4195
4196
4197 static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4198 PyObject *resultobj;
4199 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4200 int arg2 ;
4201 PyObject * obj0 = 0 ;
4202 char *kwnames[] = {
4203 (char *) "self",(char *) "column", NULL
4204 };
4205
4206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&arg2)) goto fail;
4207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4208 {
4209 PyThreadState* __tstate = wxPyBeginAllowThreads();
4210 (arg1)->SetHighlightGuide(arg2);
4211
4212 wxPyEndAllowThreads(__tstate);
4213 if (PyErr_Occurred()) SWIG_fail;
4214 }
4215 Py_INCREF(Py_None); resultobj = Py_None;
4216 return resultobj;
4217 fail:
4218 return NULL;
4219 }
4220
4221
4222 static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4223 PyObject *resultobj;
4224 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4225 int result;
4226 PyObject * obj0 = 0 ;
4227 char *kwnames[] = {
4228 (char *) "self", NULL
4229 };
4230
4231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
4232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (int)(arg1)->GetHighlightGuide();
4236
4237 wxPyEndAllowThreads(__tstate);
4238 if (PyErr_Occurred()) SWIG_fail;
4239 }
4240 resultobj = PyInt_FromLong((long)result);
4241 return resultobj;
4242 fail:
4243 return NULL;
4244 }
4245
4246
4247 static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4248 PyObject *resultobj;
4249 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4250 int arg2 ;
4251 int result;
4252 PyObject * obj0 = 0 ;
4253 char *kwnames[] = {
4254 (char *) "self",(char *) "line", NULL
4255 };
4256
4257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&arg2)) goto fail;
4258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4259 {
4260 PyThreadState* __tstate = wxPyBeginAllowThreads();
4261 result = (int)(arg1)->GetLineEndPosition(arg2);
4262
4263 wxPyEndAllowThreads(__tstate);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 resultobj = PyInt_FromLong((long)result);
4267 return resultobj;
4268 fail:
4269 return NULL;
4270 }
4271
4272
4273 static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4274 PyObject *resultobj;
4275 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4276 int result;
4277 PyObject * obj0 = 0 ;
4278 char *kwnames[] = {
4279 (char *) "self", NULL
4280 };
4281
4282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
4283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4284 {
4285 PyThreadState* __tstate = wxPyBeginAllowThreads();
4286 result = (int)(arg1)->GetCodePage();
4287
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) SWIG_fail;
4290 }
4291 resultobj = PyInt_FromLong((long)result);
4292 return resultobj;
4293 fail:
4294 return NULL;
4295 }
4296
4297
4298 static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject *resultobj;
4300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4301 wxColour result;
4302 PyObject * obj0 = 0 ;
4303 char *kwnames[] = {
4304 (char *) "self", NULL
4305 };
4306
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
4308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4309 {
4310 PyThreadState* __tstate = wxPyBeginAllowThreads();
4311 result = (arg1)->GetCaretForeground();
4312
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 {
4317 wxColour * resultptr;
4318 resultptr = new wxColour((wxColour &) result);
4319 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4320 }
4321 return resultobj;
4322 fail:
4323 return NULL;
4324 }
4325
4326
4327 static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4328 PyObject *resultobj;
4329 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4330 bool result;
4331 PyObject * obj0 = 0 ;
4332 char *kwnames[] = {
4333 (char *) "self", NULL
4334 };
4335
4336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
4337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4338 {
4339 PyThreadState* __tstate = wxPyBeginAllowThreads();
4340 result = (bool)(arg1)->GetReadOnly();
4341
4342 wxPyEndAllowThreads(__tstate);
4343 if (PyErr_Occurred()) SWIG_fail;
4344 }
4345 resultobj = PyInt_FromLong((long)result);
4346 return resultobj;
4347 fail:
4348 return NULL;
4349 }
4350
4351
4352 static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4353 PyObject *resultobj;
4354 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4355 int arg2 ;
4356 PyObject * obj0 = 0 ;
4357 char *kwnames[] = {
4358 (char *) "self",(char *) "pos", NULL
4359 };
4360
4361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&arg2)) goto fail;
4362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4363 {
4364 PyThreadState* __tstate = wxPyBeginAllowThreads();
4365 (arg1)->SetCurrentPos(arg2);
4366
4367 wxPyEndAllowThreads(__tstate);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 }
4370 Py_INCREF(Py_None); resultobj = Py_None;
4371 return resultobj;
4372 fail:
4373 return NULL;
4374 }
4375
4376
4377 static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4378 PyObject *resultobj;
4379 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4380 int arg2 ;
4381 PyObject * obj0 = 0 ;
4382 char *kwnames[] = {
4383 (char *) "self",(char *) "pos", NULL
4384 };
4385
4386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&arg2)) goto fail;
4387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 (arg1)->SetSelectionStart(arg2);
4391
4392 wxPyEndAllowThreads(__tstate);
4393 if (PyErr_Occurred()) SWIG_fail;
4394 }
4395 Py_INCREF(Py_None); resultobj = Py_None;
4396 return resultobj;
4397 fail:
4398 return NULL;
4399 }
4400
4401
4402 static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4403 PyObject *resultobj;
4404 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4405 int result;
4406 PyObject * obj0 = 0 ;
4407 char *kwnames[] = {
4408 (char *) "self", NULL
4409 };
4410
4411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
4412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4413 {
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 result = (int)(arg1)->GetSelectionStart();
4416
4417 wxPyEndAllowThreads(__tstate);
4418 if (PyErr_Occurred()) SWIG_fail;
4419 }
4420 resultobj = PyInt_FromLong((long)result);
4421 return resultobj;
4422 fail:
4423 return NULL;
4424 }
4425
4426
4427 static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4428 PyObject *resultobj;
4429 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4430 int arg2 ;
4431 PyObject * obj0 = 0 ;
4432 char *kwnames[] = {
4433 (char *) "self",(char *) "pos", NULL
4434 };
4435
4436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&arg2)) goto fail;
4437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4438 {
4439 PyThreadState* __tstate = wxPyBeginAllowThreads();
4440 (arg1)->SetSelectionEnd(arg2);
4441
4442 wxPyEndAllowThreads(__tstate);
4443 if (PyErr_Occurred()) SWIG_fail;
4444 }
4445 Py_INCREF(Py_None); resultobj = Py_None;
4446 return resultobj;
4447 fail:
4448 return NULL;
4449 }
4450
4451
4452 static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4453 PyObject *resultobj;
4454 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4455 int result;
4456 PyObject * obj0 = 0 ;
4457 char *kwnames[] = {
4458 (char *) "self", NULL
4459 };
4460
4461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
4462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4463 {
4464 PyThreadState* __tstate = wxPyBeginAllowThreads();
4465 result = (int)(arg1)->GetSelectionEnd();
4466
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 resultobj = PyInt_FromLong((long)result);
4471 return resultobj;
4472 fail:
4473 return NULL;
4474 }
4475
4476
4477 static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
4478 PyObject *resultobj;
4479 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4480 int arg2 ;
4481 PyObject * obj0 = 0 ;
4482 char *kwnames[] = {
4483 (char *) "self",(char *) "magnification", NULL
4484 };
4485
4486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&arg2)) goto fail;
4487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4488 {
4489 PyThreadState* __tstate = wxPyBeginAllowThreads();
4490 (arg1)->SetPrintMagnification(arg2);
4491
4492 wxPyEndAllowThreads(__tstate);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 }
4495 Py_INCREF(Py_None); resultobj = Py_None;
4496 return resultobj;
4497 fail:
4498 return NULL;
4499 }
4500
4501
4502 static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
4503 PyObject *resultobj;
4504 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4505 int result;
4506 PyObject * obj0 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
4512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 result = (int)(arg1)->GetPrintMagnification();
4516
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 resultobj = PyInt_FromLong((long)result);
4521 return resultobj;
4522 fail:
4523 return NULL;
4524 }
4525
4526
4527 static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj;
4529 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4530 int arg2 ;
4531 PyObject * obj0 = 0 ;
4532 char *kwnames[] = {
4533 (char *) "self",(char *) "mode", NULL
4534 };
4535
4536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&arg2)) goto fail;
4537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4538 {
4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4540 (arg1)->SetPrintColourMode(arg2);
4541
4542 wxPyEndAllowThreads(__tstate);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
4545 Py_INCREF(Py_None); resultobj = Py_None;
4546 return resultobj;
4547 fail:
4548 return NULL;
4549 }
4550
4551
4552 static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4553 PyObject *resultobj;
4554 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4555 int result;
4556 PyObject * obj0 = 0 ;
4557 char *kwnames[] = {
4558 (char *) "self", NULL
4559 };
4560
4561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
4562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4563 {
4564 PyThreadState* __tstate = wxPyBeginAllowThreads();
4565 result = (int)(arg1)->GetPrintColourMode();
4566
4567 wxPyEndAllowThreads(__tstate);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 resultobj = PyInt_FromLong((long)result);
4571 return resultobj;
4572 fail:
4573 return NULL;
4574 }
4575
4576
4577 static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
4578 PyObject *resultobj;
4579 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4580 int arg2 ;
4581 int arg3 ;
4582 wxString *arg4 = 0 ;
4583 int arg5 = (int) 0 ;
4584 int result;
4585 bool temp4 = False ;
4586 PyObject * obj0 = 0 ;
4587 PyObject * obj3 = 0 ;
4588 char *kwnames[] = {
4589 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
4590 };
4591
4592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO|i:StyledTextCtrl_FindText",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
4593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4594 {
4595 arg4 = wxString_in_helper(obj3);
4596 if (arg4 == NULL) SWIG_fail;
4597 temp4 = True;
4598 }
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 resultobj = PyInt_FromLong((long)result);
4607 {
4608 if (temp4)
4609 delete arg4;
4610 }
4611 return resultobj;
4612 fail:
4613 {
4614 if (temp4)
4615 delete arg4;
4616 }
4617 return NULL;
4618 }
4619
4620
4621 static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj;
4623 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4624 bool arg2 ;
4625 int arg3 ;
4626 int arg4 ;
4627 wxDC *arg5 = (wxDC *) 0 ;
4628 wxDC *arg6 = (wxDC *) 0 ;
4629 wxRect arg7 ;
4630 wxRect arg8 ;
4631 int result;
4632 wxRect *argp7 ;
4633 wxRect *argp8 ;
4634 PyObject * obj0 = 0 ;
4635 PyObject * obj1 = 0 ;
4636 PyObject * obj4 = 0 ;
4637 PyObject * obj5 = 0 ;
4638 PyObject * obj6 = 0 ;
4639 PyObject * obj7 = 0 ;
4640 char *kwnames[] = {
4641 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
4642 };
4643
4644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6,&obj7)) goto fail;
4645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4646 arg2 = PyInt_AsLong(obj1) ? true : false;
4647 if (PyErr_Occurred()) SWIG_fail;
4648 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4649 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4650 if ((SWIG_ConvertPtr(obj6,(void **) &argp7, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
4651 arg7 = *argp7;
4652 if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
4653 arg8 = *argp8;
4654 {
4655 PyThreadState* __tstate = wxPyBeginAllowThreads();
4656 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4657
4658 wxPyEndAllowThreads(__tstate);
4659 if (PyErr_Occurred()) SWIG_fail;
4660 }
4661 resultobj = PyInt_FromLong((long)result);
4662 return resultobj;
4663 fail:
4664 return NULL;
4665 }
4666
4667
4668 static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4669 PyObject *resultobj;
4670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4671 int result;
4672 PyObject * obj0 = 0 ;
4673 char *kwnames[] = {
4674 (char *) "self", NULL
4675 };
4676
4677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
4678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4679 {
4680 PyThreadState* __tstate = wxPyBeginAllowThreads();
4681 result = (int)(arg1)->GetFirstVisibleLine();
4682
4683 wxPyEndAllowThreads(__tstate);
4684 if (PyErr_Occurred()) SWIG_fail;
4685 }
4686 resultobj = PyInt_FromLong((long)result);
4687 return resultobj;
4688 fail:
4689 return NULL;
4690 }
4691
4692
4693 static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4694 PyObject *resultobj;
4695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4696 int arg2 ;
4697 wxString result;
4698 PyObject * obj0 = 0 ;
4699 char *kwnames[] = {
4700 (char *) "self",(char *) "line", NULL
4701 };
4702
4703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLine",kwnames,&obj0,&arg2)) goto fail;
4704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4705 {
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 result = (arg1)->GetLine(arg2);
4708
4709 wxPyEndAllowThreads(__tstate);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 {
4713 #if wxUSE_UNICODE
4714 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4715 #else
4716 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4717 #endif
4718 }
4719 return resultobj;
4720 fail:
4721 return NULL;
4722 }
4723
4724
4725 static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4726 PyObject *resultobj;
4727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4728 int result;
4729 PyObject * obj0 = 0 ;
4730 char *kwnames[] = {
4731 (char *) "self", NULL
4732 };
4733
4734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
4735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4736 {
4737 PyThreadState* __tstate = wxPyBeginAllowThreads();
4738 result = (int)(arg1)->GetLineCount();
4739
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 resultobj = PyInt_FromLong((long)result);
4744 return resultobj;
4745 fail:
4746 return NULL;
4747 }
4748
4749
4750 static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4751 PyObject *resultobj;
4752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4753 int arg2 ;
4754 PyObject * obj0 = 0 ;
4755 char *kwnames[] = {
4756 (char *) "self",(char *) "pixelWidth", NULL
4757 };
4758
4759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&arg2)) goto fail;
4760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4761 {
4762 PyThreadState* __tstate = wxPyBeginAllowThreads();
4763 (arg1)->SetMarginLeft(arg2);
4764
4765 wxPyEndAllowThreads(__tstate);
4766 if (PyErr_Occurred()) SWIG_fail;
4767 }
4768 Py_INCREF(Py_None); resultobj = Py_None;
4769 return resultobj;
4770 fail:
4771 return NULL;
4772 }
4773
4774
4775 static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4776 PyObject *resultobj;
4777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4778 int result;
4779 PyObject * obj0 = 0 ;
4780 char *kwnames[] = {
4781 (char *) "self", NULL
4782 };
4783
4784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
4785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 result = (int)(arg1)->GetMarginLeft();
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 resultobj = PyInt_FromLong((long)result);
4794 return resultobj;
4795 fail:
4796 return NULL;
4797 }
4798
4799
4800 static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4801 PyObject *resultobj;
4802 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4803 int arg2 ;
4804 PyObject * obj0 = 0 ;
4805 char *kwnames[] = {
4806 (char *) "self",(char *) "pixelWidth", NULL
4807 };
4808
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&arg2)) goto fail;
4810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 (arg1)->SetMarginRight(arg2);
4814
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 Py_INCREF(Py_None); resultobj = Py_None;
4819 return resultobj;
4820 fail:
4821 return NULL;
4822 }
4823
4824
4825 static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4826 PyObject *resultobj;
4827 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4828 int result;
4829 PyObject * obj0 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "self", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
4835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 result = (int)(arg1)->GetMarginRight();
4839
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 resultobj = PyInt_FromLong((long)result);
4844 return resultobj;
4845 fail:
4846 return NULL;
4847 }
4848
4849
4850 static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
4851 PyObject *resultobj;
4852 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4853 bool result;
4854 PyObject * obj0 = 0 ;
4855 char *kwnames[] = {
4856 (char *) "self", NULL
4857 };
4858
4859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
4860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4861 {
4862 PyThreadState* __tstate = wxPyBeginAllowThreads();
4863 result = (bool)(arg1)->GetModify();
4864
4865 wxPyEndAllowThreads(__tstate);
4866 if (PyErr_Occurred()) SWIG_fail;
4867 }
4868 resultobj = PyInt_FromLong((long)result);
4869 return resultobj;
4870 fail:
4871 return NULL;
4872 }
4873
4874
4875 static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4876 PyObject *resultobj;
4877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4878 int arg2 ;
4879 int arg3 ;
4880 PyObject * obj0 = 0 ;
4881 char *kwnames[] = {
4882 (char *) "self",(char *) "start",(char *) "end", NULL
4883 };
4884
4885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
4886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4887 {
4888 PyThreadState* __tstate = wxPyBeginAllowThreads();
4889 (arg1)->SetSelection(arg2,arg3);
4890
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 Py_INCREF(Py_None); resultobj = Py_None;
4895 return resultobj;
4896 fail:
4897 return NULL;
4898 }
4899
4900
4901 static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
4902 PyObject *resultobj;
4903 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4904 wxString result;
4905 PyObject * obj0 = 0 ;
4906 char *kwnames[] = {
4907 (char *) "self", NULL
4908 };
4909
4910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
4911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4912 {
4913 PyThreadState* __tstate = wxPyBeginAllowThreads();
4914 result = (arg1)->GetSelectedText();
4915
4916 wxPyEndAllowThreads(__tstate);
4917 if (PyErr_Occurred()) SWIG_fail;
4918 }
4919 {
4920 #if wxUSE_UNICODE
4921 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4922 #else
4923 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4924 #endif
4925 }
4926 return resultobj;
4927 fail:
4928 return NULL;
4929 }
4930
4931
4932 static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4933 PyObject *resultobj;
4934 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4935 int arg2 ;
4936 int arg3 ;
4937 wxString result;
4938 PyObject * obj0 = 0 ;
4939 char *kwnames[] = {
4940 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
4941 };
4942
4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetTextRange",kwnames,&obj0,&arg2,&arg3)) 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)->GetTextRange(arg2,arg3);
4948
4949 wxPyEndAllowThreads(__tstate);
4950 if (PyErr_Occurred()) SWIG_fail;
4951 }
4952 {
4953 #if wxUSE_UNICODE
4954 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4955 #else
4956 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4957 #endif
4958 }
4959 return resultobj;
4960 fail:
4961 return NULL;
4962 }
4963
4964
4965 static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4968 bool arg2 ;
4969 PyObject * obj0 = 0 ;
4970 PyObject * obj1 = 0 ;
4971 char *kwnames[] = {
4972 (char *) "self",(char *) "normal", NULL
4973 };
4974
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
4976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4977 arg2 = PyInt_AsLong(obj1) ? true : false;
4978 if (PyErr_Occurred()) SWIG_fail;
4979 {
4980 PyThreadState* __tstate = wxPyBeginAllowThreads();
4981 (arg1)->HideSelection(arg2);
4982
4983 wxPyEndAllowThreads(__tstate);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 Py_INCREF(Py_None); resultobj = Py_None;
4987 return resultobj;
4988 fail:
4989 return NULL;
4990 }
4991
4992
4993 static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4994 PyObject *resultobj;
4995 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4996 int arg2 ;
4997 int result;
4998 PyObject * obj0 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self",(char *) "pos", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&arg2)) goto fail;
5004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5005 {
5006 PyThreadState* __tstate = wxPyBeginAllowThreads();
5007 result = (int)(arg1)->LineFromPosition(arg2);
5008
5009 wxPyEndAllowThreads(__tstate);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 }
5012 resultobj = PyInt_FromLong((long)result);
5013 return resultobj;
5014 fail:
5015 return NULL;
5016 }
5017
5018
5019 static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5020 PyObject *resultobj;
5021 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5022 int arg2 ;
5023 int result;
5024 PyObject * obj0 = 0 ;
5025 char *kwnames[] = {
5026 (char *) "self",(char *) "line", NULL
5027 };
5028
5029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&arg2)) goto fail;
5030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5031 {
5032 PyThreadState* __tstate = wxPyBeginAllowThreads();
5033 result = (int)(arg1)->PositionFromLine(arg2);
5034
5035 wxPyEndAllowThreads(__tstate);
5036 if (PyErr_Occurred()) SWIG_fail;
5037 }
5038 resultobj = PyInt_FromLong((long)result);
5039 return resultobj;
5040 fail:
5041 return NULL;
5042 }
5043
5044
5045 static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5046 PyObject *resultobj;
5047 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5048 int arg2 ;
5049 int arg3 ;
5050 PyObject * obj0 = 0 ;
5051 char *kwnames[] = {
5052 (char *) "self",(char *) "columns",(char *) "lines", NULL
5053 };
5054
5055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_LineScroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
5056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5057 {
5058 PyThreadState* __tstate = wxPyBeginAllowThreads();
5059 (arg1)->LineScroll(arg2,arg3);
5060
5061 wxPyEndAllowThreads(__tstate);
5062 if (PyErr_Occurred()) SWIG_fail;
5063 }
5064 Py_INCREF(Py_None); resultobj = Py_None;
5065 return resultobj;
5066 fail:
5067 return NULL;
5068 }
5069
5070
5071 static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5072 PyObject *resultobj;
5073 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5074 PyObject * obj0 = 0 ;
5075 char *kwnames[] = {
5076 (char *) "self", NULL
5077 };
5078
5079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
5080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 (arg1)->EnsureCaretVisible();
5084
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
5088 Py_INCREF(Py_None); resultobj = Py_None;
5089 return resultobj;
5090 fail:
5091 return NULL;
5092 }
5093
5094
5095 static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5096 PyObject *resultobj;
5097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5098 wxString *arg2 = 0 ;
5099 bool temp2 = False ;
5100 PyObject * obj0 = 0 ;
5101 PyObject * obj1 = 0 ;
5102 char *kwnames[] = {
5103 (char *) "self",(char *) "text", NULL
5104 };
5105
5106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
5107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5108 {
5109 arg2 = wxString_in_helper(obj1);
5110 if (arg2 == NULL) SWIG_fail;
5111 temp2 = True;
5112 }
5113 {
5114 PyThreadState* __tstate = wxPyBeginAllowThreads();
5115 (arg1)->ReplaceSelection((wxString const &)*arg2);
5116
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 Py_INCREF(Py_None); resultobj = Py_None;
5121 {
5122 if (temp2)
5123 delete arg2;
5124 }
5125 return resultobj;
5126 fail:
5127 {
5128 if (temp2)
5129 delete arg2;
5130 }
5131 return NULL;
5132 }
5133
5134
5135 static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5136 PyObject *resultobj;
5137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5138 bool arg2 ;
5139 PyObject * obj0 = 0 ;
5140 PyObject * obj1 = 0 ;
5141 char *kwnames[] = {
5142 (char *) "self",(char *) "readOnly", NULL
5143 };
5144
5145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
5146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5147 arg2 = PyInt_AsLong(obj1) ? true : false;
5148 if (PyErr_Occurred()) SWIG_fail;
5149 {
5150 PyThreadState* __tstate = wxPyBeginAllowThreads();
5151 (arg1)->SetReadOnly(arg2);
5152
5153 wxPyEndAllowThreads(__tstate);
5154 if (PyErr_Occurred()) SWIG_fail;
5155 }
5156 Py_INCREF(Py_None); resultobj = Py_None;
5157 return resultobj;
5158 fail:
5159 return NULL;
5160 }
5161
5162
5163 static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5164 PyObject *resultobj;
5165 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5166 bool result;
5167 PyObject * obj0 = 0 ;
5168 char *kwnames[] = {
5169 (char *) "self", NULL
5170 };
5171
5172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
5173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5174 {
5175 PyThreadState* __tstate = wxPyBeginAllowThreads();
5176 result = (bool)(arg1)->CanPaste();
5177
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) SWIG_fail;
5180 }
5181 resultobj = PyInt_FromLong((long)result);
5182 return resultobj;
5183 fail:
5184 return NULL;
5185 }
5186
5187
5188 static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5189 PyObject *resultobj;
5190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5191 bool result;
5192 PyObject * obj0 = 0 ;
5193 char *kwnames[] = {
5194 (char *) "self", NULL
5195 };
5196
5197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
5198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 result = (bool)(arg1)->CanUndo();
5202
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 resultobj = PyInt_FromLong((long)result);
5207 return resultobj;
5208 fail:
5209 return NULL;
5210 }
5211
5212
5213 static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
5214 PyObject *resultobj;
5215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5216 PyObject * obj0 = 0 ;
5217 char *kwnames[] = {
5218 (char *) "self", NULL
5219 };
5220
5221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
5222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 (arg1)->EmptyUndoBuffer();
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 Py_INCREF(Py_None); resultobj = Py_None;
5231 return resultobj;
5232 fail:
5233 return NULL;
5234 }
5235
5236
5237 static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5240 PyObject * obj0 = 0 ;
5241 char *kwnames[] = {
5242 (char *) "self", NULL
5243 };
5244
5245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
5246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 (arg1)->Undo();
5250
5251 wxPyEndAllowThreads(__tstate);
5252 if (PyErr_Occurred()) SWIG_fail;
5253 }
5254 Py_INCREF(Py_None); resultobj = Py_None;
5255 return resultobj;
5256 fail:
5257 return NULL;
5258 }
5259
5260
5261 static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
5262 PyObject *resultobj;
5263 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5264 PyObject * obj0 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5271 {
5272 PyThreadState* __tstate = wxPyBeginAllowThreads();
5273 (arg1)->Cut();
5274
5275 wxPyEndAllowThreads(__tstate);
5276 if (PyErr_Occurred()) SWIG_fail;
5277 }
5278 Py_INCREF(Py_None); resultobj = Py_None;
5279 return resultobj;
5280 fail:
5281 return NULL;
5282 }
5283
5284
5285 static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
5286 PyObject *resultobj;
5287 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5288 PyObject * obj0 = 0 ;
5289 char *kwnames[] = {
5290 (char *) "self", NULL
5291 };
5292
5293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
5294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5295 {
5296 PyThreadState* __tstate = wxPyBeginAllowThreads();
5297 (arg1)->Copy();
5298
5299 wxPyEndAllowThreads(__tstate);
5300 if (PyErr_Occurred()) SWIG_fail;
5301 }
5302 Py_INCREF(Py_None); resultobj = Py_None;
5303 return resultobj;
5304 fail:
5305 return NULL;
5306 }
5307
5308
5309 static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
5310 PyObject *resultobj;
5311 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5312 PyObject * obj0 = 0 ;
5313 char *kwnames[] = {
5314 (char *) "self", NULL
5315 };
5316
5317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
5318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5319 {
5320 PyThreadState* __tstate = wxPyBeginAllowThreads();
5321 (arg1)->Paste();
5322
5323 wxPyEndAllowThreads(__tstate);
5324 if (PyErr_Occurred()) SWIG_fail;
5325 }
5326 Py_INCREF(Py_None); resultobj = Py_None;
5327 return resultobj;
5328 fail:
5329 return NULL;
5330 }
5331
5332
5333 static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5334 PyObject *resultobj;
5335 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5336 PyObject * obj0 = 0 ;
5337 char *kwnames[] = {
5338 (char *) "self", NULL
5339 };
5340
5341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
5342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5343 {
5344 PyThreadState* __tstate = wxPyBeginAllowThreads();
5345 (arg1)->Clear();
5346
5347 wxPyEndAllowThreads(__tstate);
5348 if (PyErr_Occurred()) SWIG_fail;
5349 }
5350 Py_INCREF(Py_None); resultobj = Py_None;
5351 return resultobj;
5352 fail:
5353 return NULL;
5354 }
5355
5356
5357 static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5358 PyObject *resultobj;
5359 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5360 wxString *arg2 = 0 ;
5361 bool temp2 = False ;
5362 PyObject * obj0 = 0 ;
5363 PyObject * obj1 = 0 ;
5364 char *kwnames[] = {
5365 (char *) "self",(char *) "text", NULL
5366 };
5367
5368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
5369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5370 {
5371 arg2 = wxString_in_helper(obj1);
5372 if (arg2 == NULL) SWIG_fail;
5373 temp2 = True;
5374 }
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 (arg1)->SetText((wxString const &)*arg2);
5378
5379 wxPyEndAllowThreads(__tstate);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
5382 Py_INCREF(Py_None); resultobj = Py_None;
5383 {
5384 if (temp2)
5385 delete arg2;
5386 }
5387 return resultobj;
5388 fail:
5389 {
5390 if (temp2)
5391 delete arg2;
5392 }
5393 return NULL;
5394 }
5395
5396
5397 static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject *resultobj;
5399 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5400 wxString result;
5401 PyObject * obj0 = 0 ;
5402 char *kwnames[] = {
5403 (char *) "self", NULL
5404 };
5405
5406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
5407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 result = (arg1)->GetText();
5411
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 {
5416 #if wxUSE_UNICODE
5417 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5418 #else
5419 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5420 #endif
5421 }
5422 return resultobj;
5423 fail:
5424 return NULL;
5425 }
5426
5427
5428 static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5429 PyObject *resultobj;
5430 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5431 int result;
5432 PyObject * obj0 = 0 ;
5433 char *kwnames[] = {
5434 (char *) "self", NULL
5435 };
5436
5437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
5438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 result = (int)(arg1)->GetTextLength();
5442
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
5446 resultobj = PyInt_FromLong((long)result);
5447 return resultobj;
5448 fail:
5449 return NULL;
5450 }
5451
5452
5453 static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
5454 PyObject *resultobj;
5455 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5456 bool arg2 ;
5457 PyObject * obj0 = 0 ;
5458 PyObject * obj1 = 0 ;
5459 char *kwnames[] = {
5460 (char *) "self",(char *) "overtype", NULL
5461 };
5462
5463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
5464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5465 arg2 = PyInt_AsLong(obj1) ? true : false;
5466 if (PyErr_Occurred()) SWIG_fail;
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 (arg1)->SetOvertype(arg2);
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 Py_INCREF(Py_None); resultobj = Py_None;
5475 return resultobj;
5476 fail:
5477 return NULL;
5478 }
5479
5480
5481 static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj;
5483 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5484 bool result;
5485 PyObject * obj0 = 0 ;
5486 char *kwnames[] = {
5487 (char *) "self", NULL
5488 };
5489
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
5491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 result = (bool)(arg1)->GetOvertype();
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 resultobj = PyInt_FromLong((long)result);
5500 return resultobj;
5501 fail:
5502 return NULL;
5503 }
5504
5505
5506 static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5507 PyObject *resultobj;
5508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5509 int arg2 ;
5510 PyObject * obj0 = 0 ;
5511 char *kwnames[] = {
5512 (char *) "self",(char *) "pixelWidth", NULL
5513 };
5514
5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&arg2)) goto fail;
5516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5517 {
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 (arg1)->SetCaretWidth(arg2);
5520
5521 wxPyEndAllowThreads(__tstate);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 }
5524 Py_INCREF(Py_None); resultobj = Py_None;
5525 return resultobj;
5526 fail:
5527 return NULL;
5528 }
5529
5530
5531 static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5532 PyObject *resultobj;
5533 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5534 int result;
5535 PyObject * obj0 = 0 ;
5536 char *kwnames[] = {
5537 (char *) "self", NULL
5538 };
5539
5540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
5541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 result = (int)(arg1)->GetCaretWidth();
5545
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 resultobj = PyInt_FromLong((long)result);
5550 return resultobj;
5551 fail:
5552 return NULL;
5553 }
5554
5555
5556 static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj;
5558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5559 int arg2 ;
5560 PyObject * obj0 = 0 ;
5561 char *kwnames[] = {
5562 (char *) "self",(char *) "pos", NULL
5563 };
5564
5565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&arg2)) goto fail;
5566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 (arg1)->SetTargetStart(arg2);
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 Py_INCREF(Py_None); resultobj = Py_None;
5575 return resultobj;
5576 fail:
5577 return NULL;
5578 }
5579
5580
5581 static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5582 PyObject *resultobj;
5583 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5584 int result;
5585 PyObject * obj0 = 0 ;
5586 char *kwnames[] = {
5587 (char *) "self", NULL
5588 };
5589
5590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
5591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5592 {
5593 PyThreadState* __tstate = wxPyBeginAllowThreads();
5594 result = (int)(arg1)->GetTargetStart();
5595
5596 wxPyEndAllowThreads(__tstate);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 }
5599 resultobj = PyInt_FromLong((long)result);
5600 return resultobj;
5601 fail:
5602 return NULL;
5603 }
5604
5605
5606 static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5607 PyObject *resultobj;
5608 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5609 int arg2 ;
5610 PyObject * obj0 = 0 ;
5611 char *kwnames[] = {
5612 (char *) "self",(char *) "pos", NULL
5613 };
5614
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&arg2)) goto fail;
5616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5617 {
5618 PyThreadState* __tstate = wxPyBeginAllowThreads();
5619 (arg1)->SetTargetEnd(arg2);
5620
5621 wxPyEndAllowThreads(__tstate);
5622 if (PyErr_Occurred()) SWIG_fail;
5623 }
5624 Py_INCREF(Py_None); resultobj = Py_None;
5625 return resultobj;
5626 fail:
5627 return NULL;
5628 }
5629
5630
5631 static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5632 PyObject *resultobj;
5633 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5634 int result;
5635 PyObject * obj0 = 0 ;
5636 char *kwnames[] = {
5637 (char *) "self", NULL
5638 };
5639
5640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
5641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5642 {
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 result = (int)(arg1)->GetTargetEnd();
5645
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 resultobj = PyInt_FromLong((long)result);
5650 return resultobj;
5651 fail:
5652 return NULL;
5653 }
5654
5655
5656 static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj;
5658 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5659 wxString *arg2 = 0 ;
5660 int result;
5661 bool temp2 = False ;
5662 PyObject * obj0 = 0 ;
5663 PyObject * obj1 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self",(char *) "text", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
5669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5670 {
5671 arg2 = wxString_in_helper(obj1);
5672 if (arg2 == NULL) SWIG_fail;
5673 temp2 = True;
5674 }
5675 {
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
5678
5679 wxPyEndAllowThreads(__tstate);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
5682 resultobj = PyInt_FromLong((long)result);
5683 {
5684 if (temp2)
5685 delete arg2;
5686 }
5687 return resultobj;
5688 fail:
5689 {
5690 if (temp2)
5691 delete arg2;
5692 }
5693 return NULL;
5694 }
5695
5696
5697 static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5700 wxString *arg2 = 0 ;
5701 int result;
5702 bool temp2 = False ;
5703 PyObject * obj0 = 0 ;
5704 PyObject * obj1 = 0 ;
5705 char *kwnames[] = {
5706 (char *) "self",(char *) "text", NULL
5707 };
5708
5709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
5710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5711 {
5712 arg2 = wxString_in_helper(obj1);
5713 if (arg2 == NULL) SWIG_fail;
5714 temp2 = True;
5715 }
5716 {
5717 PyThreadState* __tstate = wxPyBeginAllowThreads();
5718 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
5719
5720 wxPyEndAllowThreads(__tstate);
5721 if (PyErr_Occurred()) SWIG_fail;
5722 }
5723 resultobj = PyInt_FromLong((long)result);
5724 {
5725 if (temp2)
5726 delete arg2;
5727 }
5728 return resultobj;
5729 fail:
5730 {
5731 if (temp2)
5732 delete arg2;
5733 }
5734 return NULL;
5735 }
5736
5737
5738 static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5739 PyObject *resultobj;
5740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5741 wxString *arg2 = 0 ;
5742 int result;
5743 bool temp2 = False ;
5744 PyObject * obj0 = 0 ;
5745 PyObject * obj1 = 0 ;
5746 char *kwnames[] = {
5747 (char *) "self",(char *) "text", NULL
5748 };
5749
5750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
5751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5752 {
5753 arg2 = wxString_in_helper(obj1);
5754 if (arg2 == NULL) SWIG_fail;
5755 temp2 = True;
5756 }
5757 {
5758 PyThreadState* __tstate = wxPyBeginAllowThreads();
5759 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
5760
5761 wxPyEndAllowThreads(__tstate);
5762 if (PyErr_Occurred()) SWIG_fail;
5763 }
5764 resultobj = PyInt_FromLong((long)result);
5765 {
5766 if (temp2)
5767 delete arg2;
5768 }
5769 return resultobj;
5770 fail:
5771 {
5772 if (temp2)
5773 delete arg2;
5774 }
5775 return NULL;
5776 }
5777
5778
5779 static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5780 PyObject *resultobj;
5781 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5782 int arg2 ;
5783 PyObject * obj0 = 0 ;
5784 char *kwnames[] = {
5785 (char *) "self",(char *) "flags", NULL
5786 };
5787
5788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&arg2)) goto fail;
5789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 (arg1)->SetSearchFlags(arg2);
5793
5794 wxPyEndAllowThreads(__tstate);
5795 if (PyErr_Occurred()) SWIG_fail;
5796 }
5797 Py_INCREF(Py_None); resultobj = Py_None;
5798 return resultobj;
5799 fail:
5800 return NULL;
5801 }
5802
5803
5804 static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5805 PyObject *resultobj;
5806 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5807 int result;
5808 PyObject * obj0 = 0 ;
5809 char *kwnames[] = {
5810 (char *) "self", NULL
5811 };
5812
5813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
5814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5815 {
5816 PyThreadState* __tstate = wxPyBeginAllowThreads();
5817 result = (int)(arg1)->GetSearchFlags();
5818
5819 wxPyEndAllowThreads(__tstate);
5820 if (PyErr_Occurred()) SWIG_fail;
5821 }
5822 resultobj = PyInt_FromLong((long)result);
5823 return resultobj;
5824 fail:
5825 return NULL;
5826 }
5827
5828
5829 static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
5830 PyObject *resultobj;
5831 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5832 int arg2 ;
5833 wxString *arg3 = 0 ;
5834 bool temp3 = False ;
5835 PyObject * obj0 = 0 ;
5836 PyObject * obj2 = 0 ;
5837 char *kwnames[] = {
5838 (char *) "self",(char *) "pos",(char *) "definition", NULL
5839 };
5840
5841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&arg2,&obj2)) goto fail;
5842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5843 {
5844 arg3 = wxString_in_helper(obj2);
5845 if (arg3 == NULL) SWIG_fail;
5846 temp3 = True;
5847 }
5848 {
5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
5850 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
5851
5852 wxPyEndAllowThreads(__tstate);
5853 if (PyErr_Occurred()) SWIG_fail;
5854 }
5855 Py_INCREF(Py_None); resultobj = Py_None;
5856 {
5857 if (temp3)
5858 delete arg3;
5859 }
5860 return resultobj;
5861 fail:
5862 {
5863 if (temp3)
5864 delete arg3;
5865 }
5866 return NULL;
5867 }
5868
5869
5870 static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
5871 PyObject *resultobj;
5872 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5873 PyObject * obj0 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
5879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5880 {
5881 PyThreadState* __tstate = wxPyBeginAllowThreads();
5882 (arg1)->CallTipCancel();
5883
5884 wxPyEndAllowThreads(__tstate);
5885 if (PyErr_Occurred()) SWIG_fail;
5886 }
5887 Py_INCREF(Py_None); resultobj = Py_None;
5888 return resultobj;
5889 fail:
5890 return NULL;
5891 }
5892
5893
5894 static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
5895 PyObject *resultobj;
5896 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5897 bool result;
5898 PyObject * obj0 = 0 ;
5899 char *kwnames[] = {
5900 (char *) "self", NULL
5901 };
5902
5903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
5904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 result = (bool)(arg1)->CallTipActive();
5908
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 resultobj = PyInt_FromLong((long)result);
5913 return resultobj;
5914 fail:
5915 return NULL;
5916 }
5917
5918
5919 static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5920 PyObject *resultobj;
5921 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5922 int result;
5923 PyObject * obj0 = 0 ;
5924 char *kwnames[] = {
5925 (char *) "self", NULL
5926 };
5927
5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
5929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5930 {
5931 PyThreadState* __tstate = wxPyBeginAllowThreads();
5932 result = (int)(arg1)->CallTipPosAtStart();
5933
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
5937 resultobj = PyInt_FromLong((long)result);
5938 return resultobj;
5939 fail:
5940 return NULL;
5941 }
5942
5943
5944 static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
5945 PyObject *resultobj;
5946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5947 int arg2 ;
5948 int arg3 ;
5949 PyObject * obj0 = 0 ;
5950 char *kwnames[] = {
5951 (char *) "self",(char *) "start",(char *) "end", NULL
5952 };
5953
5954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&arg2,&arg3)) goto fail;
5955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5956 {
5957 PyThreadState* __tstate = wxPyBeginAllowThreads();
5958 (arg1)->CallTipSetHighlight(arg2,arg3);
5959
5960 wxPyEndAllowThreads(__tstate);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
5963 Py_INCREF(Py_None); resultobj = Py_None;
5964 return resultobj;
5965 fail:
5966 return NULL;
5967 }
5968
5969
5970 static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
5971 PyObject *resultobj;
5972 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5973 wxColour *arg2 = 0 ;
5974 wxColour temp2 ;
5975 PyObject * obj0 = 0 ;
5976 PyObject * obj1 = 0 ;
5977 char *kwnames[] = {
5978 (char *) "self",(char *) "back", NULL
5979 };
5980
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
5982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5983 {
5984 arg2 = &temp2;
5985 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5986 }
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 Py_INCREF(Py_None); resultobj = Py_None;
5995 return resultobj;
5996 fail:
5997 return NULL;
5998 }
5999
6000
6001 static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj;
6003 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6004 wxColour *arg2 = 0 ;
6005 wxColour temp2 ;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 char *kwnames[] = {
6009 (char *) "self",(char *) "fore", NULL
6010 };
6011
6012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
6013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6014 {
6015 arg2 = &temp2;
6016 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6017 }
6018 {
6019 PyThreadState* __tstate = wxPyBeginAllowThreads();
6020 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
6021
6022 wxPyEndAllowThreads(__tstate);
6023 if (PyErr_Occurred()) SWIG_fail;
6024 }
6025 Py_INCREF(Py_None); resultobj = Py_None;
6026 return resultobj;
6027 fail:
6028 return NULL;
6029 }
6030
6031
6032 static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6033 PyObject *resultobj;
6034 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6035 wxColour *arg2 = 0 ;
6036 wxColour temp2 ;
6037 PyObject * obj0 = 0 ;
6038 PyObject * obj1 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self",(char *) "fore", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
6044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6045 {
6046 arg2 = &temp2;
6047 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6048 }
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 Py_INCREF(Py_None); resultobj = Py_None;
6057 return resultobj;
6058 fail:
6059 return NULL;
6060 }
6061
6062
6063 static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6064 PyObject *resultobj;
6065 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6066 int arg2 ;
6067 int result;
6068 PyObject * obj0 = 0 ;
6069 char *kwnames[] = {
6070 (char *) "self",(char *) "line", NULL
6071 };
6072
6073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&arg2)) goto fail;
6074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6075 {
6076 PyThreadState* __tstate = wxPyBeginAllowThreads();
6077 result = (int)(arg1)->VisibleFromDocLine(arg2);
6078
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
6082 resultobj = PyInt_FromLong((long)result);
6083 return resultobj;
6084 fail:
6085 return NULL;
6086 }
6087
6088
6089 static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6090 PyObject *resultobj;
6091 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6092 int arg2 ;
6093 int result;
6094 PyObject * obj0 = 0 ;
6095 char *kwnames[] = {
6096 (char *) "self",(char *) "lineDisplay", NULL
6097 };
6098
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&arg2)) goto fail;
6100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6101 {
6102 PyThreadState* __tstate = wxPyBeginAllowThreads();
6103 result = (int)(arg1)->DocLineFromVisible(arg2);
6104
6105 wxPyEndAllowThreads(__tstate);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 resultobj = PyInt_FromLong((long)result);
6109 return resultobj;
6110 fail:
6111 return NULL;
6112 }
6113
6114
6115 static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6116 PyObject *resultobj;
6117 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6118 int arg2 ;
6119 int arg3 ;
6120 PyObject * obj0 = 0 ;
6121 char *kwnames[] = {
6122 (char *) "self",(char *) "line",(char *) "level", NULL
6123 };
6124
6125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&arg2,&arg3)) goto fail;
6126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6127 {
6128 PyThreadState* __tstate = wxPyBeginAllowThreads();
6129 (arg1)->SetFoldLevel(arg2,arg3);
6130
6131 wxPyEndAllowThreads(__tstate);
6132 if (PyErr_Occurred()) SWIG_fail;
6133 }
6134 Py_INCREF(Py_None); resultobj = Py_None;
6135 return resultobj;
6136 fail:
6137 return NULL;
6138 }
6139
6140
6141 static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6142 PyObject *resultobj;
6143 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6144 int arg2 ;
6145 int result;
6146 PyObject * obj0 = 0 ;
6147 char *kwnames[] = {
6148 (char *) "self",(char *) "line", NULL
6149 };
6150
6151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&arg2)) goto fail;
6152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6153 {
6154 PyThreadState* __tstate = wxPyBeginAllowThreads();
6155 result = (int)(arg1)->GetFoldLevel(arg2);
6156
6157 wxPyEndAllowThreads(__tstate);
6158 if (PyErr_Occurred()) SWIG_fail;
6159 }
6160 resultobj = PyInt_FromLong((long)result);
6161 return resultobj;
6162 fail:
6163 return NULL;
6164 }
6165
6166
6167 static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6168 PyObject *resultobj;
6169 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6170 int arg2 ;
6171 int arg3 ;
6172 int result;
6173 PyObject * obj0 = 0 ;
6174 char *kwnames[] = {
6175 (char *) "self",(char *) "line",(char *) "level", NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetLastChild",kwnames,&obj0,&arg2,&arg3)) goto fail;
6179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 result = (int)(arg1)->GetLastChild(arg2,arg3);
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
6187 resultobj = PyInt_FromLong((long)result);
6188 return resultobj;
6189 fail:
6190 return NULL;
6191 }
6192
6193
6194 static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
6195 PyObject *resultobj;
6196 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6197 int arg2 ;
6198 int result;
6199 PyObject * obj0 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self",(char *) "line", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&arg2)) goto fail;
6205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6206 {
6207 PyThreadState* __tstate = wxPyBeginAllowThreads();
6208 result = (int)(arg1)->GetFoldParent(arg2);
6209
6210 wxPyEndAllowThreads(__tstate);
6211 if (PyErr_Occurred()) SWIG_fail;
6212 }
6213 resultobj = PyInt_FromLong((long)result);
6214 return resultobj;
6215 fail:
6216 return NULL;
6217 }
6218
6219
6220 static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
6222 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6223 int arg2 ;
6224 int arg3 ;
6225 PyObject * obj0 = 0 ;
6226 char *kwnames[] = {
6227 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
6228 };
6229
6230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_ShowLines",kwnames,&obj0,&arg2,&arg3)) goto fail;
6231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6232 {
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 (arg1)->ShowLines(arg2,arg3);
6235
6236 wxPyEndAllowThreads(__tstate);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
6239 Py_INCREF(Py_None); resultobj = Py_None;
6240 return resultobj;
6241 fail:
6242 return NULL;
6243 }
6244
6245
6246 static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6247 PyObject *resultobj;
6248 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6249 int arg2 ;
6250 int arg3 ;
6251 PyObject * obj0 = 0 ;
6252 char *kwnames[] = {
6253 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
6254 };
6255
6256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_HideLines",kwnames,&obj0,&arg2,&arg3)) goto fail;
6257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6258 {
6259 PyThreadState* __tstate = wxPyBeginAllowThreads();
6260 (arg1)->HideLines(arg2,arg3);
6261
6262 wxPyEndAllowThreads(__tstate);
6263 if (PyErr_Occurred()) SWIG_fail;
6264 }
6265 Py_INCREF(Py_None); resultobj = Py_None;
6266 return resultobj;
6267 fail:
6268 return NULL;
6269 }
6270
6271
6272 static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6273 PyObject *resultobj;
6274 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6275 int arg2 ;
6276 bool result;
6277 PyObject * obj0 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "self",(char *) "line", NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&arg2)) goto fail;
6283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 result = (bool)(arg1)->GetLineVisible(arg2);
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 resultobj = PyInt_FromLong((long)result);
6292 return resultobj;
6293 fail:
6294 return NULL;
6295 }
6296
6297
6298 static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
6299 PyObject *resultobj;
6300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6301 int arg2 ;
6302 bool arg3 ;
6303 PyObject * obj0 = 0 ;
6304 PyObject * obj2 = 0 ;
6305 char *kwnames[] = {
6306 (char *) "self",(char *) "line",(char *) "expanded", NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&arg2,&obj2)) goto fail;
6310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6311 arg3 = PyInt_AsLong(obj2) ? true : false;
6312 if (PyErr_Occurred()) SWIG_fail;
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 (arg1)->SetFoldExpanded(arg2,arg3);
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
6320 Py_INCREF(Py_None); resultobj = Py_None;
6321 return resultobj;
6322 fail:
6323 return NULL;
6324 }
6325
6326
6327 static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
6328 PyObject *resultobj;
6329 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6330 int arg2 ;
6331 bool result;
6332 PyObject * obj0 = 0 ;
6333 char *kwnames[] = {
6334 (char *) "self",(char *) "line", NULL
6335 };
6336
6337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&arg2)) goto fail;
6338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6339 {
6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
6341 result = (bool)(arg1)->GetFoldExpanded(arg2);
6342
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
6346 resultobj = PyInt_FromLong((long)result);
6347 return resultobj;
6348 fail:
6349 return NULL;
6350 }
6351
6352
6353 static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
6354 PyObject *resultobj;
6355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6356 int arg2 ;
6357 PyObject * obj0 = 0 ;
6358 char *kwnames[] = {
6359 (char *) "self",(char *) "line", NULL
6360 };
6361
6362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ToggleFold",kwnames,&obj0,&arg2)) goto fail;
6363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 (arg1)->ToggleFold(arg2);
6367
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 }
6371 Py_INCREF(Py_None); resultobj = Py_None;
6372 return resultobj;
6373 fail:
6374 return NULL;
6375 }
6376
6377
6378 static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6379 PyObject *resultobj;
6380 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6381 int arg2 ;
6382 PyObject * obj0 = 0 ;
6383 char *kwnames[] = {
6384 (char *) "self",(char *) "line", NULL
6385 };
6386
6387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
6388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 (arg1)->EnsureVisible(arg2);
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 Py_INCREF(Py_None); resultobj = Py_None;
6397 return resultobj;
6398 fail:
6399 return NULL;
6400 }
6401
6402
6403 static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6404 PyObject *resultobj;
6405 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6406 int arg2 ;
6407 PyObject * obj0 = 0 ;
6408 char *kwnames[] = {
6409 (char *) "self",(char *) "flags", NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&arg2)) goto fail;
6413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 (arg1)->SetFoldFlags(arg2);
6417
6418 wxPyEndAllowThreads(__tstate);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 }
6421 Py_INCREF(Py_None); resultobj = Py_None;
6422 return resultobj;
6423 fail:
6424 return NULL;
6425 }
6426
6427
6428 static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
6429 PyObject *resultobj;
6430 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6431 int arg2 ;
6432 PyObject * obj0 = 0 ;
6433 char *kwnames[] = {
6434 (char *) "self",(char *) "line", NULL
6435 };
6436
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&arg2)) goto fail;
6438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6439 {
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 (arg1)->EnsureVisibleEnforcePolicy(arg2);
6442
6443 wxPyEndAllowThreads(__tstate);
6444 if (PyErr_Occurred()) SWIG_fail;
6445 }
6446 Py_INCREF(Py_None); resultobj = Py_None;
6447 return resultobj;
6448 fail:
6449 return NULL;
6450 }
6451
6452
6453 static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6454 PyObject *resultobj;
6455 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6456 bool arg2 ;
6457 PyObject * obj0 = 0 ;
6458 PyObject * obj1 = 0 ;
6459 char *kwnames[] = {
6460 (char *) "self",(char *) "tabIndents", NULL
6461 };
6462
6463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
6464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6465 arg2 = PyInt_AsLong(obj1) ? true : false;
6466 if (PyErr_Occurred()) SWIG_fail;
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 (arg1)->SetTabIndents(arg2);
6470
6471 wxPyEndAllowThreads(__tstate);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 }
6474 Py_INCREF(Py_None); resultobj = Py_None;
6475 return resultobj;
6476 fail:
6477 return NULL;
6478 }
6479
6480
6481 static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6482 PyObject *resultobj;
6483 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6484 bool result;
6485 PyObject * obj0 = 0 ;
6486 char *kwnames[] = {
6487 (char *) "self", NULL
6488 };
6489
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
6491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6492 {
6493 PyThreadState* __tstate = wxPyBeginAllowThreads();
6494 result = (bool)(arg1)->GetTabIndents();
6495
6496 wxPyEndAllowThreads(__tstate);
6497 if (PyErr_Occurred()) SWIG_fail;
6498 }
6499 resultobj = PyInt_FromLong((long)result);
6500 return resultobj;
6501 fail:
6502 return NULL;
6503 }
6504
6505
6506 static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6507 PyObject *resultobj;
6508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6509 bool arg2 ;
6510 PyObject * obj0 = 0 ;
6511 PyObject * obj1 = 0 ;
6512 char *kwnames[] = {
6513 (char *) "self",(char *) "bsUnIndents", NULL
6514 };
6515
6516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
6517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6518 arg2 = PyInt_AsLong(obj1) ? true : false;
6519 if (PyErr_Occurred()) SWIG_fail;
6520 {
6521 PyThreadState* __tstate = wxPyBeginAllowThreads();
6522 (arg1)->SetBackSpaceUnIndents(arg2);
6523
6524 wxPyEndAllowThreads(__tstate);
6525 if (PyErr_Occurred()) SWIG_fail;
6526 }
6527 Py_INCREF(Py_None); resultobj = Py_None;
6528 return resultobj;
6529 fail:
6530 return NULL;
6531 }
6532
6533
6534 static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6535 PyObject *resultobj;
6536 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6537 bool result;
6538 PyObject * obj0 = 0 ;
6539 char *kwnames[] = {
6540 (char *) "self", NULL
6541 };
6542
6543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
6544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (bool)(arg1)->GetBackSpaceUnIndents();
6548
6549 wxPyEndAllowThreads(__tstate);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
6552 resultobj = PyInt_FromLong((long)result);
6553 return resultobj;
6554 fail:
6555 return NULL;
6556 }
6557
6558
6559 static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6560 PyObject *resultobj;
6561 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6562 int arg2 ;
6563 PyObject * obj0 = 0 ;
6564 char *kwnames[] = {
6565 (char *) "self",(char *) "periodMilliseconds", NULL
6566 };
6567
6568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&arg2)) goto fail;
6569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6570 {
6571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6572 (arg1)->SetMouseDwellTime(arg2);
6573
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 Py_INCREF(Py_None); resultobj = Py_None;
6578 return resultobj;
6579 fail:
6580 return NULL;
6581 }
6582
6583
6584 static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6585 PyObject *resultobj;
6586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6587 int result;
6588 PyObject * obj0 = 0 ;
6589 char *kwnames[] = {
6590 (char *) "self", NULL
6591 };
6592
6593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
6594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6595 {
6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
6597 result = (int)(arg1)->GetMouseDwellTime();
6598
6599 wxPyEndAllowThreads(__tstate);
6600 if (PyErr_Occurred()) SWIG_fail;
6601 }
6602 resultobj = PyInt_FromLong((long)result);
6603 return resultobj;
6604 fail:
6605 return NULL;
6606 }
6607
6608
6609 static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6610 PyObject *resultobj;
6611 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6612 int arg2 ;
6613 bool arg3 ;
6614 int result;
6615 PyObject * obj0 = 0 ;
6616 PyObject * obj2 = 0 ;
6617 char *kwnames[] = {
6618 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
6619 };
6620
6621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
6622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6623 arg3 = PyInt_AsLong(obj2) ? true : false;
6624 if (PyErr_Occurred()) SWIG_fail;
6625 {
6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6627 result = (int)(arg1)->WordStartPosition(arg2,arg3);
6628
6629 wxPyEndAllowThreads(__tstate);
6630 if (PyErr_Occurred()) SWIG_fail;
6631 }
6632 resultobj = PyInt_FromLong((long)result);
6633 return resultobj;
6634 fail:
6635 return NULL;
6636 }
6637
6638
6639 static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6640 PyObject *resultobj;
6641 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6642 int arg2 ;
6643 bool arg3 ;
6644 int result;
6645 PyObject * obj0 = 0 ;
6646 PyObject * obj2 = 0 ;
6647 char *kwnames[] = {
6648 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
6652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6653 arg3 = PyInt_AsLong(obj2) ? true : false;
6654 if (PyErr_Occurred()) SWIG_fail;
6655 {
6656 PyThreadState* __tstate = wxPyBeginAllowThreads();
6657 result = (int)(arg1)->WordEndPosition(arg2,arg3);
6658
6659 wxPyEndAllowThreads(__tstate);
6660 if (PyErr_Occurred()) SWIG_fail;
6661 }
6662 resultobj = PyInt_FromLong((long)result);
6663 return resultobj;
6664 fail:
6665 return NULL;
6666 }
6667
6668
6669 static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6670 PyObject *resultobj;
6671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6672 int arg2 ;
6673 PyObject * obj0 = 0 ;
6674 char *kwnames[] = {
6675 (char *) "self",(char *) "mode", NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&arg2)) goto fail;
6679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 (arg1)->SetWrapMode(arg2);
6683
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 Py_INCREF(Py_None); resultobj = Py_None;
6688 return resultobj;
6689 fail:
6690 return NULL;
6691 }
6692
6693
6694 static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj;
6696 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6697 int result;
6698 PyObject * obj0 = 0 ;
6699 char *kwnames[] = {
6700 (char *) "self", NULL
6701 };
6702
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
6704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 result = (int)(arg1)->GetWrapMode();
6708
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
6712 resultobj = PyInt_FromLong((long)result);
6713 return resultobj;
6714 fail:
6715 return NULL;
6716 }
6717
6718
6719 static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
6720 PyObject *resultobj;
6721 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6722 int arg2 ;
6723 PyObject * obj0 = 0 ;
6724 char *kwnames[] = {
6725 (char *) "self",(char *) "mode", NULL
6726 };
6727
6728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&arg2)) goto fail;
6729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6730 {
6731 PyThreadState* __tstate = wxPyBeginAllowThreads();
6732 (arg1)->SetLayoutCache(arg2);
6733
6734 wxPyEndAllowThreads(__tstate);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 }
6737 Py_INCREF(Py_None); resultobj = Py_None;
6738 return resultobj;
6739 fail:
6740 return NULL;
6741 }
6742
6743
6744 static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
6745 PyObject *resultobj;
6746 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6747 int result;
6748 PyObject * obj0 = 0 ;
6749 char *kwnames[] = {
6750 (char *) "self", NULL
6751 };
6752
6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
6754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6755 {
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 result = (int)(arg1)->GetLayoutCache();
6758
6759 wxPyEndAllowThreads(__tstate);
6760 if (PyErr_Occurred()) SWIG_fail;
6761 }
6762 resultobj = PyInt_FromLong((long)result);
6763 return resultobj;
6764 fail:
6765 return NULL;
6766 }
6767
6768
6769 static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6770 PyObject *resultobj;
6771 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6772 int arg2 ;
6773 PyObject * obj0 = 0 ;
6774 char *kwnames[] = {
6775 (char *) "self",(char *) "pixelWidth", NULL
6776 };
6777
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&arg2)) goto fail;
6779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6780 {
6781 PyThreadState* __tstate = wxPyBeginAllowThreads();
6782 (arg1)->SetScrollWidth(arg2);
6783
6784 wxPyEndAllowThreads(__tstate);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 }
6787 Py_INCREF(Py_None); resultobj = Py_None;
6788 return resultobj;
6789 fail:
6790 return NULL;
6791 }
6792
6793
6794 static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6795 PyObject *resultobj;
6796 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6797 int result;
6798 PyObject * obj0 = 0 ;
6799 char *kwnames[] = {
6800 (char *) "self", NULL
6801 };
6802
6803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
6804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6805 {
6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
6807 result = (int)(arg1)->GetScrollWidth();
6808
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 resultobj = PyInt_FromLong((long)result);
6813 return resultobj;
6814 fail:
6815 return NULL;
6816 }
6817
6818
6819 static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6820 PyObject *resultobj;
6821 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6822 int arg2 ;
6823 wxString *arg3 = 0 ;
6824 int result;
6825 bool temp3 = False ;
6826 PyObject * obj0 = 0 ;
6827 PyObject * obj2 = 0 ;
6828 char *kwnames[] = {
6829 (char *) "self",(char *) "style",(char *) "text", NULL
6830 };
6831
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_TextWidth",kwnames,&obj0,&arg2,&obj2)) goto fail;
6833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6834 {
6835 arg3 = wxString_in_helper(obj2);
6836 if (arg3 == NULL) SWIG_fail;
6837 temp3 = True;
6838 }
6839 {
6840 PyThreadState* __tstate = wxPyBeginAllowThreads();
6841 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
6842
6843 wxPyEndAllowThreads(__tstate);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 }
6846 resultobj = PyInt_FromLong((long)result);
6847 {
6848 if (temp3)
6849 delete arg3;
6850 }
6851 return resultobj;
6852 fail:
6853 {
6854 if (temp3)
6855 delete arg3;
6856 }
6857 return NULL;
6858 }
6859
6860
6861 static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6862 PyObject *resultobj;
6863 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6864 bool arg2 ;
6865 PyObject * obj0 = 0 ;
6866 PyObject * obj1 = 0 ;
6867 char *kwnames[] = {
6868 (char *) "self",(char *) "endAtLastLine", NULL
6869 };
6870
6871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
6872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6873 arg2 = PyInt_AsLong(obj1) ? true : false;
6874 if (PyErr_Occurred()) SWIG_fail;
6875 {
6876 PyThreadState* __tstate = wxPyBeginAllowThreads();
6877 (arg1)->SetEndAtLastLine(arg2);
6878
6879 wxPyEndAllowThreads(__tstate);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 }
6882 Py_INCREF(Py_None); resultobj = Py_None;
6883 return resultobj;
6884 fail:
6885 return NULL;
6886 }
6887
6888
6889 static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6890 PyObject *resultobj;
6891 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6892 int result;
6893 PyObject * obj0 = 0 ;
6894 char *kwnames[] = {
6895 (char *) "self", NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
6899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 result = (int)(arg1)->GetEndAtLastLine();
6903
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 resultobj = PyInt_FromLong((long)result);
6908 return resultobj;
6909 fail:
6910 return NULL;
6911 }
6912
6913
6914 static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj;
6916 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6917 int arg2 ;
6918 int result;
6919 PyObject * obj0 = 0 ;
6920 char *kwnames[] = {
6921 (char *) "self",(char *) "line", NULL
6922 };
6923
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_TextHeight",kwnames,&obj0,&arg2)) goto fail;
6925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6926 {
6927 PyThreadState* __tstate = wxPyBeginAllowThreads();
6928 result = (int)(arg1)->TextHeight(arg2);
6929
6930 wxPyEndAllowThreads(__tstate);
6931 if (PyErr_Occurred()) SWIG_fail;
6932 }
6933 resultobj = PyInt_FromLong((long)result);
6934 return resultobj;
6935 fail:
6936 return NULL;
6937 }
6938
6939
6940 static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6941 PyObject *resultobj;
6942 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6943 bool arg2 ;
6944 PyObject * obj0 = 0 ;
6945 PyObject * obj1 = 0 ;
6946 char *kwnames[] = {
6947 (char *) "self",(char *) "show", NULL
6948 };
6949
6950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
6951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6952 arg2 = PyInt_AsLong(obj1) ? true : false;
6953 if (PyErr_Occurred()) SWIG_fail;
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 (arg1)->SetUseVerticalScrollBar(arg2);
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
6961 Py_INCREF(Py_None); resultobj = Py_None;
6962 return resultobj;
6963 fail:
6964 return NULL;
6965 }
6966
6967
6968 static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6969 PyObject *resultobj;
6970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6971 bool result;
6972 PyObject * obj0 = 0 ;
6973 char *kwnames[] = {
6974 (char *) "self", NULL
6975 };
6976
6977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
6978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6979 {
6980 PyThreadState* __tstate = wxPyBeginAllowThreads();
6981 result = (bool)(arg1)->GetUseVerticalScrollBar();
6982
6983 wxPyEndAllowThreads(__tstate);
6984 if (PyErr_Occurred()) SWIG_fail;
6985 }
6986 resultobj = PyInt_FromLong((long)result);
6987 return resultobj;
6988 fail:
6989 return NULL;
6990 }
6991
6992
6993 static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
6994 PyObject *resultobj;
6995 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6996 int arg2 ;
6997 wxString *arg3 = 0 ;
6998 bool temp3 = False ;
6999 PyObject * obj0 = 0 ;
7000 PyObject * obj2 = 0 ;
7001 char *kwnames[] = {
7002 (char *) "self",(char *) "length",(char *) "text", NULL
7003 };
7004
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_AppendText",kwnames,&obj0,&arg2,&obj2)) goto fail;
7006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7007 {
7008 arg3 = wxString_in_helper(obj2);
7009 if (arg3 == NULL) SWIG_fail;
7010 temp3 = True;
7011 }
7012 {
7013 PyThreadState* __tstate = wxPyBeginAllowThreads();
7014 (arg1)->AppendText(arg2,(wxString const &)*arg3);
7015
7016 wxPyEndAllowThreads(__tstate);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 Py_INCREF(Py_None); resultobj = Py_None;
7020 {
7021 if (temp3)
7022 delete arg3;
7023 }
7024 return resultobj;
7025 fail:
7026 {
7027 if (temp3)
7028 delete arg3;
7029 }
7030 return NULL;
7031 }
7032
7033
7034 static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject *resultobj;
7036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7037 bool result;
7038 PyObject * obj0 = 0 ;
7039 char *kwnames[] = {
7040 (char *) "self", NULL
7041 };
7042
7043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
7044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 result = (bool)(arg1)->GetTwoPhaseDraw();
7048
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 resultobj = PyInt_FromLong((long)result);
7053 return resultobj;
7054 fail:
7055 return NULL;
7056 }
7057
7058
7059 static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7060 PyObject *resultobj;
7061 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7062 bool arg2 ;
7063 PyObject * obj0 = 0 ;
7064 PyObject * obj1 = 0 ;
7065 char *kwnames[] = {
7066 (char *) "self",(char *) "twoPhase", NULL
7067 };
7068
7069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
7070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7071 arg2 = PyInt_AsLong(obj1) ? true : false;
7072 if (PyErr_Occurred()) SWIG_fail;
7073 {
7074 PyThreadState* __tstate = wxPyBeginAllowThreads();
7075 (arg1)->SetTwoPhaseDraw(arg2);
7076
7077 wxPyEndAllowThreads(__tstate);
7078 if (PyErr_Occurred()) SWIG_fail;
7079 }
7080 Py_INCREF(Py_None); resultobj = Py_None;
7081 return resultobj;
7082 fail:
7083 return NULL;
7084 }
7085
7086
7087 static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7088 PyObject *resultobj;
7089 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7090 PyObject * obj0 = 0 ;
7091 char *kwnames[] = {
7092 (char *) "self", NULL
7093 };
7094
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
7096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7097 {
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7099 (arg1)->TargetFromSelection();
7100
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 Py_INCREF(Py_None); resultobj = Py_None;
7105 return resultobj;
7106 fail:
7107 return NULL;
7108 }
7109
7110
7111 static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
7112 PyObject *resultobj;
7113 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7114 PyObject * obj0 = 0 ;
7115 char *kwnames[] = {
7116 (char *) "self", NULL
7117 };
7118
7119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
7120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7121 {
7122 PyThreadState* __tstate = wxPyBeginAllowThreads();
7123 (arg1)->LinesJoin();
7124
7125 wxPyEndAllowThreads(__tstate);
7126 if (PyErr_Occurred()) SWIG_fail;
7127 }
7128 Py_INCREF(Py_None); resultobj = Py_None;
7129 return resultobj;
7130 fail:
7131 return NULL;
7132 }
7133
7134
7135 static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
7136 PyObject *resultobj;
7137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7138 int arg2 ;
7139 PyObject * obj0 = 0 ;
7140 char *kwnames[] = {
7141 (char *) "self",(char *) "pixelWidth", NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LinesSplit",kwnames,&obj0,&arg2)) goto fail;
7145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 (arg1)->LinesSplit(arg2);
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 Py_INCREF(Py_None); resultobj = Py_None;
7154 return resultobj;
7155 fail:
7156 return NULL;
7157 }
7158
7159
7160 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7161 PyObject *resultobj;
7162 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7163 bool arg2 ;
7164 wxColour *arg3 = 0 ;
7165 wxColour temp3 ;
7166 PyObject * obj0 = 0 ;
7167 PyObject * obj1 = 0 ;
7168 PyObject * obj2 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "self",(char *) "useSetting",(char *) "back", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7175 arg2 = PyInt_AsLong(obj1) ? true : false;
7176 if (PyErr_Occurred()) SWIG_fail;
7177 {
7178 arg3 = &temp3;
7179 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7180 }
7181 {
7182 PyThreadState* __tstate = wxPyBeginAllowThreads();
7183 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
7184
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 Py_INCREF(Py_None); resultobj = Py_None;
7189 return resultobj;
7190 fail:
7191 return NULL;
7192 }
7193
7194
7195 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7196 PyObject *resultobj;
7197 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7198 bool arg2 ;
7199 wxColour *arg3 = 0 ;
7200 wxColour temp3 ;
7201 PyObject * obj0 = 0 ;
7202 PyObject * obj1 = 0 ;
7203 PyObject * obj2 = 0 ;
7204 char *kwnames[] = {
7205 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
7206 };
7207
7208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7210 arg2 = PyInt_AsLong(obj1) ? true : false;
7211 if (PyErr_Occurred()) SWIG_fail;
7212 {
7213 arg3 = &temp3;
7214 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7215 }
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
7219
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 }
7223 Py_INCREF(Py_None); resultobj = Py_None;
7224 return resultobj;
7225 fail:
7226 return NULL;
7227 }
7228
7229
7230 static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj;
7232 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7233 PyObject * obj0 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "self", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
7239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 (arg1)->LineDuplicate();
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 Py_INCREF(Py_None); resultobj = Py_None;
7248 return resultobj;
7249 fail:
7250 return NULL;
7251 }
7252
7253
7254 static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj;
7256 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7257 PyObject * obj0 = 0 ;
7258 char *kwnames[] = {
7259 (char *) "self", NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
7263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 (arg1)->HomeDisplay();
7267
7268 wxPyEndAllowThreads(__tstate);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 Py_INCREF(Py_None); resultobj = Py_None;
7272 return resultobj;
7273 fail:
7274 return NULL;
7275 }
7276
7277
7278 static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
7279 PyObject *resultobj;
7280 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7281 PyObject * obj0 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "self", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
7287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 (arg1)->HomeDisplayExtend();
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 Py_INCREF(Py_None); resultobj = Py_None;
7296 return resultobj;
7297 fail:
7298 return NULL;
7299 }
7300
7301
7302 static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject *resultobj;
7304 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7305 PyObject * obj0 = 0 ;
7306 char *kwnames[] = {
7307 (char *) "self", NULL
7308 };
7309
7310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
7311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7312 {
7313 PyThreadState* __tstate = wxPyBeginAllowThreads();
7314 (arg1)->LineEndDisplay();
7315
7316 wxPyEndAllowThreads(__tstate);
7317 if (PyErr_Occurred()) SWIG_fail;
7318 }
7319 Py_INCREF(Py_None); resultobj = Py_None;
7320 return resultobj;
7321 fail:
7322 return NULL;
7323 }
7324
7325
7326 static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
7327 PyObject *resultobj;
7328 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7329 PyObject * obj0 = 0 ;
7330 char *kwnames[] = {
7331 (char *) "self", NULL
7332 };
7333
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
7335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7336 {
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
7338 (arg1)->LineEndDisplayExtend();
7339
7340 wxPyEndAllowThreads(__tstate);
7341 if (PyErr_Occurred()) SWIG_fail;
7342 }
7343 Py_INCREF(Py_None); resultobj = Py_None;
7344 return resultobj;
7345 fail:
7346 return NULL;
7347 }
7348
7349
7350 static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7351 PyObject *resultobj;
7352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7353 PyObject * obj0 = 0 ;
7354 char *kwnames[] = {
7355 (char *) "self", NULL
7356 };
7357
7358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
7359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7360 {
7361 PyThreadState* __tstate = wxPyBeginAllowThreads();
7362 (arg1)->LineCopy();
7363
7364 wxPyEndAllowThreads(__tstate);
7365 if (PyErr_Occurred()) SWIG_fail;
7366 }
7367 Py_INCREF(Py_None); resultobj = Py_None;
7368 return resultobj;
7369 fail:
7370 return NULL;
7371 }
7372
7373
7374 static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
7375 PyObject *resultobj;
7376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7377 PyObject * obj0 = 0 ;
7378 char *kwnames[] = {
7379 (char *) "self", NULL
7380 };
7381
7382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
7383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7384 {
7385 PyThreadState* __tstate = wxPyBeginAllowThreads();
7386 (arg1)->MoveCaretInsideView();
7387
7388 wxPyEndAllowThreads(__tstate);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 }
7391 Py_INCREF(Py_None); resultobj = Py_None;
7392 return resultobj;
7393 fail:
7394 return NULL;
7395 }
7396
7397
7398 static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7399 PyObject *resultobj;
7400 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7401 int arg2 ;
7402 int result;
7403 PyObject * obj0 = 0 ;
7404 char *kwnames[] = {
7405 (char *) "self",(char *) "line", NULL
7406 };
7407
7408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LineLength",kwnames,&obj0,&arg2)) goto fail;
7409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7410 {
7411 PyThreadState* __tstate = wxPyBeginAllowThreads();
7412 result = (int)(arg1)->LineLength(arg2);
7413
7414 wxPyEndAllowThreads(__tstate);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
7417 resultobj = PyInt_FromLong((long)result);
7418 return resultobj;
7419 fail:
7420 return NULL;
7421 }
7422
7423
7424 static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7425 PyObject *resultobj;
7426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7427 int arg2 ;
7428 int arg3 ;
7429 PyObject * obj0 = 0 ;
7430 char *kwnames[] = {
7431 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
7432 };
7433
7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&arg2,&arg3)) goto fail;
7435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7436 {
7437 PyThreadState* __tstate = wxPyBeginAllowThreads();
7438 (arg1)->BraceHighlight(arg2,arg3);
7439
7440 wxPyEndAllowThreads(__tstate);
7441 if (PyErr_Occurred()) SWIG_fail;
7442 }
7443 Py_INCREF(Py_None); resultobj = Py_None;
7444 return resultobj;
7445 fail:
7446 return NULL;
7447 }
7448
7449
7450 static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
7451 PyObject *resultobj;
7452 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7453 int arg2 ;
7454 PyObject * obj0 = 0 ;
7455 char *kwnames[] = {
7456 (char *) "self",(char *) "pos", NULL
7457 };
7458
7459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&arg2)) goto fail;
7460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 (arg1)->BraceBadLight(arg2);
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 Py_INCREF(Py_None); resultobj = Py_None;
7469 return resultobj;
7470 fail:
7471 return NULL;
7472 }
7473
7474
7475 static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7476 PyObject *resultobj;
7477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7478 int arg2 ;
7479 int result;
7480 PyObject * obj0 = 0 ;
7481 char *kwnames[] = {
7482 (char *) "self",(char *) "pos", NULL
7483 };
7484
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_BraceMatch",kwnames,&obj0,&arg2)) 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)->BraceMatch(arg2);
7490
7491 wxPyEndAllowThreads(__tstate);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 resultobj = PyInt_FromLong((long)result);
7495 return resultobj;
7496 fail:
7497 return NULL;
7498 }
7499
7500
7501 static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj;
7503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7504 bool result;
7505 PyObject * obj0 = 0 ;
7506 char *kwnames[] = {
7507 (char *) "self", NULL
7508 };
7509
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
7511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 result = (bool)(arg1)->GetViewEOL();
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 resultobj = PyInt_FromLong((long)result);
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7529 bool arg2 ;
7530 PyObject * obj0 = 0 ;
7531 PyObject * obj1 = 0 ;
7532 char *kwnames[] = {
7533 (char *) "self",(char *) "visible", NULL
7534 };
7535
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
7537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7538 arg2 = PyInt_AsLong(obj1) ? true : false;
7539 if (PyErr_Occurred()) SWIG_fail;
7540 {
7541 PyThreadState* __tstate = wxPyBeginAllowThreads();
7542 (arg1)->SetViewEOL(arg2);
7543
7544 wxPyEndAllowThreads(__tstate);
7545 if (PyErr_Occurred()) SWIG_fail;
7546 }
7547 Py_INCREF(Py_None); resultobj = Py_None;
7548 return resultobj;
7549 fail:
7550 return NULL;
7551 }
7552
7553
7554 static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
7555 PyObject *resultobj;
7556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7557 void *result;
7558 PyObject * obj0 = 0 ;
7559 char *kwnames[] = {
7560 (char *) "self", NULL
7561 };
7562
7563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
7564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7565 {
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 result = (void *)(arg1)->GetDocPointer();
7568
7569 wxPyEndAllowThreads(__tstate);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 }
7572 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
7573 return resultobj;
7574 fail:
7575 return NULL;
7576 }
7577
7578
7579 static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
7580 PyObject *resultobj;
7581 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7582 void *arg2 = (void *) 0 ;
7583 PyObject * obj0 = 0 ;
7584 PyObject * obj1 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "self",(char *) "docPointer", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
7590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7592 {
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 (arg1)->SetDocPointer(arg2);
7595
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 }
7599 Py_INCREF(Py_None); resultobj = Py_None;
7600 return resultobj;
7601 fail:
7602 return NULL;
7603 }
7604
7605
7606 static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7607 PyObject *resultobj;
7608 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7609 int arg2 ;
7610 PyObject * obj0 = 0 ;
7611 char *kwnames[] = {
7612 (char *) "self",(char *) "mask", NULL
7613 };
7614
7615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&arg2)) goto fail;
7616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7617 {
7618 PyThreadState* __tstate = wxPyBeginAllowThreads();
7619 (arg1)->SetModEventMask(arg2);
7620
7621 wxPyEndAllowThreads(__tstate);
7622 if (PyErr_Occurred()) SWIG_fail;
7623 }
7624 Py_INCREF(Py_None); resultobj = Py_None;
7625 return resultobj;
7626 fail:
7627 return NULL;
7628 }
7629
7630
7631 static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
7632 PyObject *resultobj;
7633 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7634 int result;
7635 PyObject * obj0 = 0 ;
7636 char *kwnames[] = {
7637 (char *) "self", NULL
7638 };
7639
7640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
7641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 result = (int)(arg1)->GetEdgeColumn();
7645
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 resultobj = PyInt_FromLong((long)result);
7650 return resultobj;
7651 fail:
7652 return NULL;
7653 }
7654
7655
7656 static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
7657 PyObject *resultobj;
7658 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7659 int arg2 ;
7660 PyObject * obj0 = 0 ;
7661 char *kwnames[] = {
7662 (char *) "self",(char *) "column", NULL
7663 };
7664
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&arg2)) goto fail;
7666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 (arg1)->SetEdgeColumn(arg2);
7670
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 Py_INCREF(Py_None); resultobj = Py_None;
7675 return resultobj;
7676 fail:
7677 return NULL;
7678 }
7679
7680
7681 static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7682 PyObject *resultobj;
7683 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7684 int result;
7685 PyObject * obj0 = 0 ;
7686 char *kwnames[] = {
7687 (char *) "self", NULL
7688 };
7689
7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
7691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7692 {
7693 PyThreadState* __tstate = wxPyBeginAllowThreads();
7694 result = (int)(arg1)->GetEdgeMode();
7695
7696 wxPyEndAllowThreads(__tstate);
7697 if (PyErr_Occurred()) SWIG_fail;
7698 }
7699 resultobj = PyInt_FromLong((long)result);
7700 return resultobj;
7701 fail:
7702 return NULL;
7703 }
7704
7705
7706 static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7707 PyObject *resultobj;
7708 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7709 int arg2 ;
7710 PyObject * obj0 = 0 ;
7711 char *kwnames[] = {
7712 (char *) "self",(char *) "mode", NULL
7713 };
7714
7715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&arg2)) goto fail;
7716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7717 {
7718 PyThreadState* __tstate = wxPyBeginAllowThreads();
7719 (arg1)->SetEdgeMode(arg2);
7720
7721 wxPyEndAllowThreads(__tstate);
7722 if (PyErr_Occurred()) SWIG_fail;
7723 }
7724 Py_INCREF(Py_None); resultobj = Py_None;
7725 return resultobj;
7726 fail:
7727 return NULL;
7728 }
7729
7730
7731 static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7732 PyObject *resultobj;
7733 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7734 wxColour result;
7735 PyObject * obj0 = 0 ;
7736 char *kwnames[] = {
7737 (char *) "self", NULL
7738 };
7739
7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
7741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 result = (arg1)->GetEdgeColour();
7745
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 {
7750 wxColour * resultptr;
7751 resultptr = new wxColour((wxColour &) result);
7752 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
7753 }
7754 return resultobj;
7755 fail:
7756 return NULL;
7757 }
7758
7759
7760 static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7761 PyObject *resultobj;
7762 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7763 wxColour *arg2 = 0 ;
7764 wxColour temp2 ;
7765 PyObject * obj0 = 0 ;
7766 PyObject * obj1 = 0 ;
7767 char *kwnames[] = {
7768 (char *) "self",(char *) "edgeColour", NULL
7769 };
7770
7771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
7772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7773 {
7774 arg2 = &temp2;
7775 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7776 }
7777 {
7778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7779 (arg1)->SetEdgeColour((wxColour const &)*arg2);
7780
7781 wxPyEndAllowThreads(__tstate);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 Py_INCREF(Py_None); resultobj = Py_None;
7785 return resultobj;
7786 fail:
7787 return NULL;
7788 }
7789
7790
7791 static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
7792 PyObject *resultobj;
7793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7794 PyObject * obj0 = 0 ;
7795 char *kwnames[] = {
7796 (char *) "self", NULL
7797 };
7798
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
7800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 (arg1)->SearchAnchor();
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 Py_INCREF(Py_None); resultobj = Py_None;
7809 return resultobj;
7810 fail:
7811 return NULL;
7812 }
7813
7814
7815 static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7816 PyObject *resultobj;
7817 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7818 int arg2 ;
7819 wxString *arg3 = 0 ;
7820 int result;
7821 bool temp3 = False ;
7822 PyObject * obj0 = 0 ;
7823 PyObject * obj2 = 0 ;
7824 char *kwnames[] = {
7825 (char *) "self",(char *) "flags",(char *) "text", NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SearchNext",kwnames,&obj0,&arg2,&obj2)) goto fail;
7829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7830 {
7831 arg3 = wxString_in_helper(obj2);
7832 if (arg3 == NULL) SWIG_fail;
7833 temp3 = True;
7834 }
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 resultobj = PyInt_FromLong((long)result);
7843 {
7844 if (temp3)
7845 delete arg3;
7846 }
7847 return resultobj;
7848 fail:
7849 {
7850 if (temp3)
7851 delete arg3;
7852 }
7853 return NULL;
7854 }
7855
7856
7857 static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7860 int arg2 ;
7861 wxString *arg3 = 0 ;
7862 int result;
7863 bool temp3 = False ;
7864 PyObject * obj0 = 0 ;
7865 PyObject * obj2 = 0 ;
7866 char *kwnames[] = {
7867 (char *) "self",(char *) "flags",(char *) "text", NULL
7868 };
7869
7870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&arg2,&obj2)) goto fail;
7871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7872 {
7873 arg3 = wxString_in_helper(obj2);
7874 if (arg3 == NULL) SWIG_fail;
7875 temp3 = True;
7876 }
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
7880
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 resultobj = PyInt_FromLong((long)result);
7885 {
7886 if (temp3)
7887 delete arg3;
7888 }
7889 return resultobj;
7890 fail:
7891 {
7892 if (temp3)
7893 delete arg3;
7894 }
7895 return NULL;
7896 }
7897
7898
7899 static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj;
7901 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7902 int result;
7903 PyObject * obj0 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
7909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (int)(arg1)->LinesOnScreen();
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 resultobj = PyInt_FromLong((long)result);
7918 return resultobj;
7919 fail:
7920 return NULL;
7921 }
7922
7923
7924 static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7927 bool arg2 ;
7928 PyObject * obj0 = 0 ;
7929 PyObject * obj1 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self",(char *) "allowPopUp", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
7935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7936 arg2 = PyInt_AsLong(obj1) ? true : false;
7937 if (PyErr_Occurred()) SWIG_fail;
7938 {
7939 PyThreadState* __tstate = wxPyBeginAllowThreads();
7940 (arg1)->UsePopUp(arg2);
7941
7942 wxPyEndAllowThreads(__tstate);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 }
7945 Py_INCREF(Py_None); resultobj = Py_None;
7946 return resultobj;
7947 fail:
7948 return NULL;
7949 }
7950
7951
7952 static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7953 PyObject *resultobj;
7954 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7955 bool result;
7956 PyObject * obj0 = 0 ;
7957 char *kwnames[] = {
7958 (char *) "self", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
7962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 result = (bool)(arg1)->SelectionIsRectangle();
7966
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
7970 resultobj = PyInt_FromLong((long)result);
7971 return resultobj;
7972 fail:
7973 return NULL;
7974 }
7975
7976
7977 static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
7978 PyObject *resultobj;
7979 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7980 int arg2 ;
7981 PyObject * obj0 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "self",(char *) "zoom", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetZoom",kwnames,&obj0,&arg2)) goto fail;
7987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7988 {
7989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7990 (arg1)->SetZoom(arg2);
7991
7992 wxPyEndAllowThreads(__tstate);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 }
7995 Py_INCREF(Py_None); resultobj = Py_None;
7996 return resultobj;
7997 fail:
7998 return NULL;
7999 }
8000
8001
8002 static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
8003 PyObject *resultobj;
8004 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8005 int result;
8006 PyObject * obj0 = 0 ;
8007 char *kwnames[] = {
8008 (char *) "self", NULL
8009 };
8010
8011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
8012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 result = (int)(arg1)->GetZoom();
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 resultobj = PyInt_FromLong((long)result);
8021 return resultobj;
8022 fail:
8023 return NULL;
8024 }
8025
8026
8027 static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
8028 PyObject *resultobj;
8029 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8030 void *result;
8031 PyObject * obj0 = 0 ;
8032 char *kwnames[] = {
8033 (char *) "self", NULL
8034 };
8035
8036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
8037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8038 {
8039 PyThreadState* __tstate = wxPyBeginAllowThreads();
8040 result = (void *)(arg1)->CreateDocument();
8041
8042 wxPyEndAllowThreads(__tstate);
8043 if (PyErr_Occurred()) SWIG_fail;
8044 }
8045 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
8046 return resultobj;
8047 fail:
8048 return NULL;
8049 }
8050
8051
8052 static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
8053 PyObject *resultobj;
8054 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8055 void *arg2 = (void *) 0 ;
8056 PyObject * obj0 = 0 ;
8057 PyObject * obj1 = 0 ;
8058 char *kwnames[] = {
8059 (char *) "self",(char *) "docPointer", NULL
8060 };
8061
8062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
8063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 (arg1)->AddRefDocument(arg2);
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 Py_INCREF(Py_None); resultobj = Py_None;
8073 return resultobj;
8074 fail:
8075 return NULL;
8076 }
8077
8078
8079 static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
8080 PyObject *resultobj;
8081 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8082 void *arg2 = (void *) 0 ;
8083 PyObject * obj0 = 0 ;
8084 PyObject * obj1 = 0 ;
8085 char *kwnames[] = {
8086 (char *) "self",(char *) "docPointer", NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
8090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 (arg1)->ReleaseDocument(arg2);
8095
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
8099 Py_INCREF(Py_None); resultobj = Py_None;
8100 return resultobj;
8101 fail:
8102 return NULL;
8103 }
8104
8105
8106 static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8107 PyObject *resultobj;
8108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8109 int result;
8110 PyObject * obj0 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "self", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
8116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8117 {
8118 PyThreadState* __tstate = wxPyBeginAllowThreads();
8119 result = (int)(arg1)->GetModEventMask();
8120
8121 wxPyEndAllowThreads(__tstate);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 }
8124 resultobj = PyInt_FromLong((long)result);
8125 return resultobj;
8126 fail:
8127 return NULL;
8128 }
8129
8130
8131 static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8132 PyObject *resultobj;
8133 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8134 bool arg2 ;
8135 PyObject * obj0 = 0 ;
8136 PyObject * obj1 = 0 ;
8137 char *kwnames[] = {
8138 (char *) "self",(char *) "focus", NULL
8139 };
8140
8141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
8142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8143 arg2 = PyInt_AsLong(obj1) ? true : false;
8144 if (PyErr_Occurred()) SWIG_fail;
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 (arg1)->SetSTCFocus(arg2);
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 Py_INCREF(Py_None); resultobj = Py_None;
8153 return resultobj;
8154 fail:
8155 return NULL;
8156 }
8157
8158
8159 static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj;
8161 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8162 bool result;
8163 PyObject * obj0 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "self", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
8169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8170 {
8171 PyThreadState* __tstate = wxPyBeginAllowThreads();
8172 result = (bool)(arg1)->GetSTCFocus();
8173
8174 wxPyEndAllowThreads(__tstate);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 resultobj = PyInt_FromLong((long)result);
8178 return resultobj;
8179 fail:
8180 return NULL;
8181 }
8182
8183
8184 static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8185 PyObject *resultobj;
8186 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8187 int arg2 ;
8188 PyObject * obj0 = 0 ;
8189 char *kwnames[] = {
8190 (char *) "self",(char *) "statusCode", NULL
8191 };
8192
8193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetStatus",kwnames,&obj0,&arg2)) goto fail;
8194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 (arg1)->SetStatus(arg2);
8198
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
8202 Py_INCREF(Py_None); resultobj = Py_None;
8203 return resultobj;
8204 fail:
8205 return NULL;
8206 }
8207
8208
8209 static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj;
8211 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8212 int result;
8213 PyObject * obj0 = 0 ;
8214 char *kwnames[] = {
8215 (char *) "self", NULL
8216 };
8217
8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
8219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8220 {
8221 PyThreadState* __tstate = wxPyBeginAllowThreads();
8222 result = (int)(arg1)->GetStatus();
8223
8224 wxPyEndAllowThreads(__tstate);
8225 if (PyErr_Occurred()) SWIG_fail;
8226 }
8227 resultobj = PyInt_FromLong((long)result);
8228 return resultobj;
8229 fail:
8230 return NULL;
8231 }
8232
8233
8234 static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
8235 PyObject *resultobj;
8236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8237 bool arg2 ;
8238 PyObject * obj0 = 0 ;
8239 PyObject * obj1 = 0 ;
8240 char *kwnames[] = {
8241 (char *) "self",(char *) "captures", NULL
8242 };
8243
8244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
8245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8246 arg2 = PyInt_AsLong(obj1) ? true : false;
8247 if (PyErr_Occurred()) SWIG_fail;
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 (arg1)->SetMouseDownCaptures(arg2);
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 Py_INCREF(Py_None); resultobj = Py_None;
8256 return resultobj;
8257 fail:
8258 return NULL;
8259 }
8260
8261
8262 static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj;
8264 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8265 bool result;
8266 PyObject * obj0 = 0 ;
8267 char *kwnames[] = {
8268 (char *) "self", NULL
8269 };
8270
8271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
8272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 result = (bool)(arg1)->GetMouseDownCaptures();
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 resultobj = PyInt_FromLong((long)result);
8281 return resultobj;
8282 fail:
8283 return NULL;
8284 }
8285
8286
8287 static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8288 PyObject *resultobj;
8289 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8290 int arg2 ;
8291 PyObject * obj0 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "self",(char *) "cursorType", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&arg2)) goto fail;
8297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8298 {
8299 PyThreadState* __tstate = wxPyBeginAllowThreads();
8300 (arg1)->SetSTCCursor(arg2);
8301
8302 wxPyEndAllowThreads(__tstate);
8303 if (PyErr_Occurred()) SWIG_fail;
8304 }
8305 Py_INCREF(Py_None); resultobj = Py_None;
8306 return resultobj;
8307 fail:
8308 return NULL;
8309 }
8310
8311
8312 static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj;
8314 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8315 int result;
8316 PyObject * obj0 = 0 ;
8317 char *kwnames[] = {
8318 (char *) "self", NULL
8319 };
8320
8321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
8322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8323 {
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
8325 result = (int)(arg1)->GetSTCCursor();
8326
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
8330 resultobj = PyInt_FromLong((long)result);
8331 return resultobj;
8332 fail:
8333 return NULL;
8334 }
8335
8336
8337 static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
8338 PyObject *resultobj;
8339 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8340 int arg2 ;
8341 PyObject * obj0 = 0 ;
8342 char *kwnames[] = {
8343 (char *) "self",(char *) "symbol", NULL
8344 };
8345
8346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&arg2)) goto fail;
8347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8348 {
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 (arg1)->SetControlCharSymbol(arg2);
8351
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 Py_INCREF(Py_None); resultobj = Py_None;
8356 return resultobj;
8357 fail:
8358 return NULL;
8359 }
8360
8361
8362 static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
8363 PyObject *resultobj;
8364 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8365 int result;
8366 PyObject * obj0 = 0 ;
8367 char *kwnames[] = {
8368 (char *) "self", NULL
8369 };
8370
8371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
8372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8373 {
8374 PyThreadState* __tstate = wxPyBeginAllowThreads();
8375 result = (int)(arg1)->GetControlCharSymbol();
8376
8377 wxPyEndAllowThreads(__tstate);
8378 if (PyErr_Occurred()) SWIG_fail;
8379 }
8380 resultobj = PyInt_FromLong((long)result);
8381 return resultobj;
8382 fail:
8383 return NULL;
8384 }
8385
8386
8387 static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8388 PyObject *resultobj;
8389 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8390 PyObject * obj0 = 0 ;
8391 char *kwnames[] = {
8392 (char *) "self", NULL
8393 };
8394
8395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
8396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8397 {
8398 PyThreadState* __tstate = wxPyBeginAllowThreads();
8399 (arg1)->WordPartLeft();
8400
8401 wxPyEndAllowThreads(__tstate);
8402 if (PyErr_Occurred()) SWIG_fail;
8403 }
8404 Py_INCREF(Py_None); resultobj = Py_None;
8405 return resultobj;
8406 fail:
8407 return NULL;
8408 }
8409
8410
8411 static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8412 PyObject *resultobj;
8413 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8414 PyObject * obj0 = 0 ;
8415 char *kwnames[] = {
8416 (char *) "self", NULL
8417 };
8418
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
8420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 (arg1)->WordPartLeftExtend();
8424
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 Py_INCREF(Py_None); resultobj = Py_None;
8429 return resultobj;
8430 fail:
8431 return NULL;
8432 }
8433
8434
8435 static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj;
8437 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8438 PyObject * obj0 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
8444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 (arg1)->WordPartRight();
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 Py_INCREF(Py_None); resultobj = Py_None;
8453 return resultobj;
8454 fail:
8455 return NULL;
8456 }
8457
8458
8459 static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8460 PyObject *resultobj;
8461 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8462 PyObject * obj0 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "self", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
8468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8469 {
8470 PyThreadState* __tstate = wxPyBeginAllowThreads();
8471 (arg1)->WordPartRightExtend();
8472
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 Py_INCREF(Py_None); resultobj = Py_None;
8477 return resultobj;
8478 fail:
8479 return NULL;
8480 }
8481
8482
8483 static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8484 PyObject *resultobj;
8485 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8486 int arg2 ;
8487 int arg3 ;
8488 PyObject * obj0 = 0 ;
8489 char *kwnames[] = {
8490 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
8491 };
8492
8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&arg2,&arg3)) goto fail;
8494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8495 {
8496 PyThreadState* __tstate = wxPyBeginAllowThreads();
8497 (arg1)->SetVisiblePolicy(arg2,arg3);
8498
8499 wxPyEndAllowThreads(__tstate);
8500 if (PyErr_Occurred()) SWIG_fail;
8501 }
8502 Py_INCREF(Py_None); resultobj = Py_None;
8503 return resultobj;
8504 fail:
8505 return NULL;
8506 }
8507
8508
8509 static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8510 PyObject *resultobj;
8511 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8512 PyObject * obj0 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
8518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8519 {
8520 PyThreadState* __tstate = wxPyBeginAllowThreads();
8521 (arg1)->DelLineLeft();
8522
8523 wxPyEndAllowThreads(__tstate);
8524 if (PyErr_Occurred()) SWIG_fail;
8525 }
8526 Py_INCREF(Py_None); resultobj = Py_None;
8527 return resultobj;
8528 fail:
8529 return NULL;
8530 }
8531
8532
8533 static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8536 PyObject * obj0 = 0 ;
8537 char *kwnames[] = {
8538 (char *) "self", NULL
8539 };
8540
8541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",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 (arg1)->DelLineRight();
8546
8547 wxPyEndAllowThreads(__tstate);
8548 if (PyErr_Occurred()) SWIG_fail;
8549 }
8550 Py_INCREF(Py_None); resultobj = Py_None;
8551 return resultobj;
8552 fail:
8553 return NULL;
8554 }
8555
8556
8557 static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
8558 PyObject *resultobj;
8559 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8560 int arg2 ;
8561 PyObject * obj0 = 0 ;
8562 char *kwnames[] = {
8563 (char *) "self",(char *) "newOffset", NULL
8564 };
8565
8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetXOffset",kwnames,&obj0,&arg2)) goto fail;
8567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8568 {
8569 PyThreadState* __tstate = wxPyBeginAllowThreads();
8570 (arg1)->SetXOffset(arg2);
8571
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 Py_INCREF(Py_None); resultobj = Py_None;
8576 return resultobj;
8577 fail:
8578 return NULL;
8579 }
8580
8581
8582 static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
8583 PyObject *resultobj;
8584 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8585 int result;
8586 PyObject * obj0 = 0 ;
8587 char *kwnames[] = {
8588 (char *) "self", NULL
8589 };
8590
8591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
8592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8593 {
8594 PyThreadState* __tstate = wxPyBeginAllowThreads();
8595 result = (int)(arg1)->GetXOffset();
8596
8597 wxPyEndAllowThreads(__tstate);
8598 if (PyErr_Occurred()) SWIG_fail;
8599 }
8600 resultobj = PyInt_FromLong((long)result);
8601 return resultobj;
8602 fail:
8603 return NULL;
8604 }
8605
8606
8607 static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
8608 PyObject *resultobj;
8609 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8610 PyObject * obj0 = 0 ;
8611 char *kwnames[] = {
8612 (char *) "self", NULL
8613 };
8614
8615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
8616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 (arg1)->ChooseCaretX();
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
8624 Py_INCREF(Py_None); resultobj = Py_None;
8625 return resultobj;
8626 fail:
8627 return NULL;
8628 }
8629
8630
8631 static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8632 PyObject *resultobj;
8633 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8634 int arg2 ;
8635 int arg3 ;
8636 PyObject * obj0 = 0 ;
8637 char *kwnames[] = {
8638 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
8639 };
8640
8641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&arg2,&arg3)) goto fail;
8642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8643 {
8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
8645 (arg1)->SetXCaretPolicy(arg2,arg3);
8646
8647 wxPyEndAllowThreads(__tstate);
8648 if (PyErr_Occurred()) SWIG_fail;
8649 }
8650 Py_INCREF(Py_None); resultobj = Py_None;
8651 return resultobj;
8652 fail:
8653 return NULL;
8654 }
8655
8656
8657 static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8658 PyObject *resultobj;
8659 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8660 int arg2 ;
8661 int arg3 ;
8662 PyObject * obj0 = 0 ;
8663 char *kwnames[] = {
8664 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
8665 };
8666
8667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&arg2,&arg3)) goto fail;
8668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8669 {
8670 PyThreadState* __tstate = wxPyBeginAllowThreads();
8671 (arg1)->SetYCaretPolicy(arg2,arg3);
8672
8673 wxPyEndAllowThreads(__tstate);
8674 if (PyErr_Occurred()) SWIG_fail;
8675 }
8676 Py_INCREF(Py_None); resultobj = Py_None;
8677 return resultobj;
8678 fail:
8679 return NULL;
8680 }
8681
8682
8683 static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8684 PyObject *resultobj;
8685 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8686 int arg2 ;
8687 PyObject * obj0 = 0 ;
8688 char *kwnames[] = {
8689 (char *) "self",(char *) "mode", NULL
8690 };
8691
8692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&arg2)) goto fail;
8693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 (arg1)->SetPrintWrapMode(arg2);
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 Py_INCREF(Py_None); resultobj = Py_None;
8702 return resultobj;
8703 fail:
8704 return NULL;
8705 }
8706
8707
8708 static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8709 PyObject *resultobj;
8710 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8711 int result;
8712 PyObject * obj0 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "self", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
8718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8719 {
8720 PyThreadState* __tstate = wxPyBeginAllowThreads();
8721 result = (int)(arg1)->GetPrintWrapMode();
8722
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 resultobj = PyInt_FromLong((long)result);
8727 return resultobj;
8728 fail:
8729 return NULL;
8730 }
8731
8732
8733 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
8734 PyObject *resultobj;
8735 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8736 bool arg2 ;
8737 wxColour *arg3 = 0 ;
8738 wxColour temp3 ;
8739 PyObject * obj0 = 0 ;
8740 PyObject * obj1 = 0 ;
8741 PyObject * obj2 = 0 ;
8742 char *kwnames[] = {
8743 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8744 };
8745
8746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
8747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8748 arg2 = PyInt_AsLong(obj1) ? true : false;
8749 if (PyErr_Occurred()) SWIG_fail;
8750 {
8751 arg3 = &temp3;
8752 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8753 }
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
8757
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 Py_INCREF(Py_None); resultobj = Py_None;
8762 return resultobj;
8763 fail:
8764 return NULL;
8765 }
8766
8767
8768 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8769 PyObject *resultobj;
8770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8771 bool arg2 ;
8772 wxColour *arg3 = 0 ;
8773 wxColour temp3 ;
8774 PyObject * obj0 = 0 ;
8775 PyObject * obj1 = 0 ;
8776 PyObject * obj2 = 0 ;
8777 char *kwnames[] = {
8778 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8779 };
8780
8781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
8782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8783 arg2 = PyInt_AsLong(obj1) ? true : false;
8784 if (PyErr_Occurred()) SWIG_fail;
8785 {
8786 arg3 = &temp3;
8787 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8788 }
8789 {
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
8792
8793 wxPyEndAllowThreads(__tstate);
8794 if (PyErr_Occurred()) SWIG_fail;
8795 }
8796 Py_INCREF(Py_None); resultobj = Py_None;
8797 return resultobj;
8798 fail:
8799 return NULL;
8800 }
8801
8802
8803 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
8804 PyObject *resultobj;
8805 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8806 bool arg2 ;
8807 PyObject * obj0 = 0 ;
8808 PyObject * obj1 = 0 ;
8809 char *kwnames[] = {
8810 (char *) "self",(char *) "underline", NULL
8811 };
8812
8813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
8814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8815 arg2 = PyInt_AsLong(obj1) ? true : false;
8816 if (PyErr_Occurred()) SWIG_fail;
8817 {
8818 PyThreadState* __tstate = wxPyBeginAllowThreads();
8819 (arg1)->SetHotspotActiveUnderline(arg2);
8820
8821 wxPyEndAllowThreads(__tstate);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 Py_INCREF(Py_None); resultobj = Py_None;
8825 return resultobj;
8826 fail:
8827 return NULL;
8828 }
8829
8830
8831 static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8832 PyObject *resultobj;
8833 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8834 int arg2 ;
8835 int result;
8836 PyObject * obj0 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "self",(char *) "pos", NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionBefore",kwnames,&obj0,&arg2)) goto fail;
8842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 result = (int)(arg1)->PositionBefore(arg2);
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 resultobj = PyInt_FromLong((long)result);
8851 return resultobj;
8852 fail:
8853 return NULL;
8854 }
8855
8856
8857 static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj;
8859 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8860 int arg2 ;
8861 int result;
8862 PyObject * obj0 = 0 ;
8863 char *kwnames[] = {
8864 (char *) "self",(char *) "pos", NULL
8865 };
8866
8867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionAfter",kwnames,&obj0,&arg2)) goto fail;
8868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
8871 result = (int)(arg1)->PositionAfter(arg2);
8872
8873 wxPyEndAllowThreads(__tstate);
8874 if (PyErr_Occurred()) SWIG_fail;
8875 }
8876 resultobj = PyInt_FromLong((long)result);
8877 return resultobj;
8878 fail:
8879 return NULL;
8880 }
8881
8882
8883 static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8884 PyObject *resultobj;
8885 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8886 int arg2 ;
8887 int arg3 ;
8888 PyObject * obj0 = 0 ;
8889 char *kwnames[] = {
8890 (char *) "self",(char *) "start",(char *) "end", NULL
8891 };
8892
8893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CopyRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8895 {
8896 PyThreadState* __tstate = wxPyBeginAllowThreads();
8897 (arg1)->CopyRange(arg2,arg3);
8898
8899 wxPyEndAllowThreads(__tstate);
8900 if (PyErr_Occurred()) SWIG_fail;
8901 }
8902 Py_INCREF(Py_None); resultobj = Py_None;
8903 return resultobj;
8904 fail:
8905 return NULL;
8906 }
8907
8908
8909 static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj;
8911 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8912 int arg2 ;
8913 wxString *arg3 = 0 ;
8914 bool temp3 = False ;
8915 PyObject * obj0 = 0 ;
8916 PyObject * obj2 = 0 ;
8917 char *kwnames[] = {
8918 (char *) "self",(char *) "length",(char *) "text", NULL
8919 };
8920
8921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_CopyText",kwnames,&obj0,&arg2,&obj2)) goto fail;
8922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8923 {
8924 arg3 = wxString_in_helper(obj2);
8925 if (arg3 == NULL) SWIG_fail;
8926 temp3 = True;
8927 }
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 (arg1)->CopyText(arg2,(wxString const &)*arg3);
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 Py_INCREF(Py_None); resultobj = Py_None;
8936 {
8937 if (temp3)
8938 delete arg3;
8939 }
8940 return resultobj;
8941 fail:
8942 {
8943 if (temp3)
8944 delete arg3;
8945 }
8946 return NULL;
8947 }
8948
8949
8950 static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8951 PyObject *resultobj;
8952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8953 PyObject * obj0 = 0 ;
8954 char *kwnames[] = {
8955 (char *) "self", NULL
8956 };
8957
8958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
8959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8960 {
8961 PyThreadState* __tstate = wxPyBeginAllowThreads();
8962 (arg1)->StartRecord();
8963
8964 wxPyEndAllowThreads(__tstate);
8965 if (PyErr_Occurred()) SWIG_fail;
8966 }
8967 Py_INCREF(Py_None); resultobj = Py_None;
8968 return resultobj;
8969 fail:
8970 return NULL;
8971 }
8972
8973
8974 static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8975 PyObject *resultobj;
8976 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8977 PyObject * obj0 = 0 ;
8978 char *kwnames[] = {
8979 (char *) "self", NULL
8980 };
8981
8982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
8983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8984 {
8985 PyThreadState* __tstate = wxPyBeginAllowThreads();
8986 (arg1)->StopRecord();
8987
8988 wxPyEndAllowThreads(__tstate);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 Py_INCREF(Py_None); resultobj = Py_None;
8992 return resultobj;
8993 fail:
8994 return NULL;
8995 }
8996
8997
8998 static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
8999 PyObject *resultobj;
9000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9001 int arg2 ;
9002 PyObject * obj0 = 0 ;
9003 char *kwnames[] = {
9004 (char *) "self",(char *) "lexer", NULL
9005 };
9006
9007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetLexer",kwnames,&obj0,&arg2)) goto fail;
9008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 (arg1)->SetLexer(arg2);
9012
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 Py_INCREF(Py_None); resultobj = Py_None;
9017 return resultobj;
9018 fail:
9019 return NULL;
9020 }
9021
9022
9023 static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
9024 PyObject *resultobj;
9025 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9026 int result;
9027 PyObject * obj0 = 0 ;
9028 char *kwnames[] = {
9029 (char *) "self", NULL
9030 };
9031
9032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
9033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9034 {
9035 PyThreadState* __tstate = wxPyBeginAllowThreads();
9036 result = (int)(arg1)->GetLexer();
9037
9038 wxPyEndAllowThreads(__tstate);
9039 if (PyErr_Occurred()) SWIG_fail;
9040 }
9041 resultobj = PyInt_FromLong((long)result);
9042 return resultobj;
9043 fail:
9044 return NULL;
9045 }
9046
9047
9048 static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
9049 PyObject *resultobj;
9050 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9051 int arg2 ;
9052 int arg3 ;
9053 PyObject * obj0 = 0 ;
9054 char *kwnames[] = {
9055 (char *) "self",(char *) "start",(char *) "end", NULL
9056 };
9057
9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_Colourise",kwnames,&obj0,&arg2,&arg3)) goto fail;
9059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9060 {
9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
9062 (arg1)->Colourise(arg2,arg3);
9063
9064 wxPyEndAllowThreads(__tstate);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 Py_INCREF(Py_None); resultobj = Py_None;
9068 return resultobj;
9069 fail:
9070 return NULL;
9071 }
9072
9073
9074 static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
9075 PyObject *resultobj;
9076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9077 wxString *arg2 = 0 ;
9078 wxString *arg3 = 0 ;
9079 bool temp2 = False ;
9080 bool temp3 = False ;
9081 PyObject * obj0 = 0 ;
9082 PyObject * obj1 = 0 ;
9083 PyObject * obj2 = 0 ;
9084 char *kwnames[] = {
9085 (char *) "self",(char *) "key",(char *) "value", NULL
9086 };
9087
9088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
9089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9090 {
9091 arg2 = wxString_in_helper(obj1);
9092 if (arg2 == NULL) SWIG_fail;
9093 temp2 = True;
9094 }
9095 {
9096 arg3 = wxString_in_helper(obj2);
9097 if (arg3 == NULL) SWIG_fail;
9098 temp3 = True;
9099 }
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
9103
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
9107 Py_INCREF(Py_None); resultobj = Py_None;
9108 {
9109 if (temp2)
9110 delete arg2;
9111 }
9112 {
9113 if (temp3)
9114 delete arg3;
9115 }
9116 return resultobj;
9117 fail:
9118 {
9119 if (temp2)
9120 delete arg2;
9121 }
9122 {
9123 if (temp3)
9124 delete arg3;
9125 }
9126 return NULL;
9127 }
9128
9129
9130 static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
9131 PyObject *resultobj;
9132 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9133 int arg2 ;
9134 wxString *arg3 = 0 ;
9135 bool temp3 = False ;
9136 PyObject * obj0 = 0 ;
9137 PyObject * obj2 = 0 ;
9138 char *kwnames[] = {
9139 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
9140 };
9141
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&arg2,&obj2)) goto fail;
9143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9144 {
9145 arg3 = wxString_in_helper(obj2);
9146 if (arg3 == NULL) SWIG_fail;
9147 temp3 = True;
9148 }
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 Py_INCREF(Py_None); resultobj = Py_None;
9157 {
9158 if (temp3)
9159 delete arg3;
9160 }
9161 return resultobj;
9162 fail:
9163 {
9164 if (temp3)
9165 delete arg3;
9166 }
9167 return NULL;
9168 }
9169
9170
9171 static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj;
9173 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9174 wxString *arg2 = 0 ;
9175 bool temp2 = False ;
9176 PyObject * obj0 = 0 ;
9177 PyObject * obj1 = 0 ;
9178 char *kwnames[] = {
9179 (char *) "self",(char *) "language", NULL
9180 };
9181
9182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
9183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9184 {
9185 arg2 = wxString_in_helper(obj1);
9186 if (arg2 == NULL) SWIG_fail;
9187 temp2 = True;
9188 }
9189 {
9190 PyThreadState* __tstate = wxPyBeginAllowThreads();
9191 (arg1)->SetLexerLanguage((wxString const &)*arg2);
9192
9193 wxPyEndAllowThreads(__tstate);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 }
9196 Py_INCREF(Py_None); resultobj = Py_None;
9197 {
9198 if (temp2)
9199 delete arg2;
9200 }
9201 return resultobj;
9202 fail:
9203 {
9204 if (temp2)
9205 delete arg2;
9206 }
9207 return NULL;
9208 }
9209
9210
9211 static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj;
9213 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9214 int result;
9215 PyObject * obj0 = 0 ;
9216 char *kwnames[] = {
9217 (char *) "self", NULL
9218 };
9219
9220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
9221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9222 {
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
9224 result = (int)(arg1)->GetCurrentLine();
9225
9226 wxPyEndAllowThreads(__tstate);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
9229 resultobj = PyInt_FromLong((long)result);
9230 return resultobj;
9231 fail:
9232 return NULL;
9233 }
9234
9235
9236 static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
9237 PyObject *resultobj;
9238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9239 int arg2 ;
9240 wxString *arg3 = 0 ;
9241 bool temp3 = False ;
9242 PyObject * obj0 = 0 ;
9243 PyObject * obj2 = 0 ;
9244 char *kwnames[] = {
9245 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
9246 };
9247
9248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&arg2,&obj2)) goto fail;
9249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9250 {
9251 arg3 = wxString_in_helper(obj2);
9252 if (arg3 == NULL) SWIG_fail;
9253 temp3 = True;
9254 }
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
9257 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
9258
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 Py_INCREF(Py_None); resultobj = Py_None;
9263 {
9264 if (temp3)
9265 delete arg3;
9266 }
9267 return resultobj;
9268 fail:
9269 {
9270 if (temp3)
9271 delete arg3;
9272 }
9273 return NULL;
9274 }
9275
9276
9277 static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9278 PyObject *resultobj;
9279 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9280 int arg2 ;
9281 wxFont *arg3 = 0 ;
9282 PyObject * obj0 = 0 ;
9283 PyObject * obj2 = 0 ;
9284 char *kwnames[] = {
9285 (char *) "self",(char *) "styleNum",(char *) "font", NULL
9286 };
9287
9288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&arg2,&obj2)) goto fail;
9289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9290 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9291 if (arg3 == NULL) {
9292 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9293 }
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 (arg1)->StyleSetFont(arg2,*arg3);
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 Py_INCREF(Py_None); resultobj = Py_None;
9302 return resultobj;
9303 fail:
9304 return NULL;
9305 }
9306
9307
9308 static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9309 PyObject *resultobj;
9310 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9311 int arg2 ;
9312 int arg3 ;
9313 wxString *arg4 = 0 ;
9314 bool arg5 ;
9315 bool arg6 ;
9316 bool arg7 ;
9317 bool temp4 = False ;
9318 PyObject * obj0 = 0 ;
9319 PyObject * obj3 = 0 ;
9320 PyObject * obj4 = 0 ;
9321 PyObject * obj5 = 0 ;
9322 PyObject * obj6 = 0 ;
9323 char *kwnames[] = {
9324 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
9325 };
9326
9327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5,&obj6)) goto fail;
9328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9329 {
9330 arg4 = wxString_in_helper(obj3);
9331 if (arg4 == NULL) SWIG_fail;
9332 temp4 = True;
9333 }
9334 arg5 = PyInt_AsLong(obj4) ? true : false;
9335 if (PyErr_Occurred()) SWIG_fail;
9336 arg6 = PyInt_AsLong(obj5) ? true : false;
9337 if (PyErr_Occurred()) SWIG_fail;
9338 arg7 = PyInt_AsLong(obj6) ? true : false;
9339 if (PyErr_Occurred()) SWIG_fail;
9340 {
9341 PyThreadState* __tstate = wxPyBeginAllowThreads();
9342 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9343
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 Py_INCREF(Py_None); resultobj = Py_None;
9348 {
9349 if (temp4)
9350 delete arg4;
9351 }
9352 return resultobj;
9353 fail:
9354 {
9355 if (temp4)
9356 delete arg4;
9357 }
9358 return NULL;
9359 }
9360
9361
9362 static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj;
9364 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9365 int arg2 ;
9366 PyObject * obj0 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "self",(char *) "cmd", NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&arg2)) goto fail;
9372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 (arg1)->CmdKeyExecute(arg2);
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
9380 Py_INCREF(Py_None); resultobj = Py_None;
9381 return resultobj;
9382 fail:
9383 return NULL;
9384 }
9385
9386
9387 static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj;
9389 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9390 int arg2 ;
9391 int arg3 ;
9392 PyObject * obj0 = 0 ;
9393 char *kwnames[] = {
9394 (char *) "self",(char *) "left",(char *) "right", NULL
9395 };
9396
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
9398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 (arg1)->SetMargins(arg2,arg3);
9402
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 }
9406 Py_INCREF(Py_None); resultobj = Py_None;
9407 return resultobj;
9408 fail:
9409 return NULL;
9410 }
9411
9412
9413 static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9414 PyObject *resultobj;
9415 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9416 int *arg2 = (int *) 0 ;
9417 int *arg3 = (int *) 0 ;
9418 int temp2 ;
9419 int temp3 ;
9420 PyObject * obj0 = 0 ;
9421 char *kwnames[] = {
9422 (char *) "self", NULL
9423 };
9424
9425 arg2 = &temp2;
9426 arg3 = &temp3;
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
9428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 (arg1)->GetSelection(arg2,arg3);
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 Py_INCREF(Py_None); resultobj = Py_None;
9437 {
9438 PyObject *o = PyInt_FromLong((long) (*arg2));
9439 resultobj = t_output_helper(resultobj,o);
9440 }
9441 {
9442 PyObject *o = PyInt_FromLong((long) (*arg3));
9443 resultobj = t_output_helper(resultobj,o);
9444 }
9445 return resultobj;
9446 fail:
9447 return NULL;
9448 }
9449
9450
9451 static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9452 PyObject *resultobj;
9453 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9454 int arg2 ;
9455 wxPoint result;
9456 PyObject * obj0 = 0 ;
9457 char *kwnames[] = {
9458 (char *) "self",(char *) "pos", NULL
9459 };
9460
9461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&arg2)) goto fail;
9462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 result = (arg1)->PointFromPosition(arg2);
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
9470 {
9471 wxPoint * resultptr;
9472 resultptr = new wxPoint((wxPoint &) result);
9473 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9474 }
9475 return resultobj;
9476 fail:
9477 return NULL;
9478 }
9479
9480
9481 static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj;
9483 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9484 int arg2 ;
9485 PyObject * obj0 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self",(char *) "line", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&arg2)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 (arg1)->ScrollToLine(arg2);
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
9499 Py_INCREF(Py_None); resultobj = Py_None;
9500 return resultobj;
9501 fail:
9502 return NULL;
9503 }
9504
9505
9506 static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
9507 PyObject *resultobj;
9508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9509 int arg2 ;
9510 PyObject * obj0 = 0 ;
9511 char *kwnames[] = {
9512 (char *) "self",(char *) "column", NULL
9513 };
9514
9515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&arg2)) goto fail;
9516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 (arg1)->ScrollToColumn(arg2);
9520
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
9524 Py_INCREF(Py_None); resultobj = Py_None;
9525 return resultobj;
9526 fail:
9527 return NULL;
9528 }
9529
9530
9531 static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9534 int arg2 ;
9535 long arg3 = (long) 0 ;
9536 long arg4 = (long) 0 ;
9537 long result;
9538 PyObject * obj0 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ll:StyledTextCtrl_SendMsg",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
9548
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
9552 resultobj = PyInt_FromLong((long)result);
9553 return resultobj;
9554 fail:
9555 return NULL;
9556 }
9557
9558
9559 static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9560 PyObject *resultobj;
9561 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9562 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
9563 PyObject * obj0 = 0 ;
9564 PyObject * obj1 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self",(char *) "bar", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
9570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9571 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 (arg1)->SetVScrollBar(arg2);
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 Py_INCREF(Py_None); resultobj = Py_None;
9580 return resultobj;
9581 fail:
9582 return NULL;
9583 }
9584
9585
9586 static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj;
9588 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9589 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
9590 PyObject * obj0 = 0 ;
9591 PyObject * obj1 = 0 ;
9592 char *kwnames[] = {
9593 (char *) "self",(char *) "bar", NULL
9594 };
9595
9596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
9597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
9601 (arg1)->SetHScrollBar(arg2);
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 Py_INCREF(Py_None); resultobj = Py_None;
9607 return resultobj;
9608 fail:
9609 return NULL;
9610 }
9611
9612
9613 static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
9614 PyObject *resultobj;
9615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9616 bool result;
9617 PyObject * obj0 = 0 ;
9618 char *kwnames[] = {
9619 (char *) "self", NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
9623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = (bool)(arg1)->GetLastKeydownProcessed();
9627
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 resultobj = PyInt_FromLong((long)result);
9632 return resultobj;
9633 fail:
9634 return NULL;
9635 }
9636
9637
9638 static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
9639 PyObject *resultobj;
9640 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9641 bool arg2 ;
9642 PyObject * obj0 = 0 ;
9643 PyObject * obj1 = 0 ;
9644 char *kwnames[] = {
9645 (char *) "self",(char *) "val", NULL
9646 };
9647
9648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
9649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9650 arg2 = PyInt_AsLong(obj1) ? true : false;
9651 if (PyErr_Occurred()) SWIG_fail;
9652 {
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 (arg1)->SetLastKeydownProcessed(arg2);
9655
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 Py_INCREF(Py_None); resultobj = Py_None;
9660 return resultobj;
9661 fail:
9662 return NULL;
9663 }
9664
9665
9666 static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9667 PyObject *resultobj;
9668 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9669 wxString *arg2 = 0 ;
9670 bool result;
9671 bool temp2 = False ;
9672 PyObject * obj0 = 0 ;
9673 PyObject * obj1 = 0 ;
9674 char *kwnames[] = {
9675 (char *) "self",(char *) "filename", NULL
9676 };
9677
9678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
9679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9680 {
9681 arg2 = wxString_in_helper(obj1);
9682 if (arg2 == NULL) SWIG_fail;
9683 temp2 = True;
9684 }
9685 {
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
9687 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
9688
9689 wxPyEndAllowThreads(__tstate);
9690 if (PyErr_Occurred()) SWIG_fail;
9691 }
9692 resultobj = PyInt_FromLong((long)result);
9693 {
9694 if (temp2)
9695 delete arg2;
9696 }
9697 return resultobj;
9698 fail:
9699 {
9700 if (temp2)
9701 delete arg2;
9702 }
9703 return NULL;
9704 }
9705
9706
9707 static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9708 PyObject *resultobj;
9709 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9710 wxString *arg2 = 0 ;
9711 bool result;
9712 bool temp2 = False ;
9713 PyObject * obj0 = 0 ;
9714 PyObject * obj1 = 0 ;
9715 char *kwnames[] = {
9716 (char *) "self",(char *) "filename", NULL
9717 };
9718
9719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
9720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9721 {
9722 arg2 = wxString_in_helper(obj1);
9723 if (arg2 == NULL) SWIG_fail;
9724 temp2 = True;
9725 }
9726 {
9727 PyThreadState* __tstate = wxPyBeginAllowThreads();
9728 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
9729
9730 wxPyEndAllowThreads(__tstate);
9731 if (PyErr_Occurred()) SWIG_fail;
9732 }
9733 resultobj = PyInt_FromLong((long)result);
9734 {
9735 if (temp2)
9736 delete arg2;
9737 }
9738 return resultobj;
9739 fail:
9740 {
9741 if (temp2)
9742 delete arg2;
9743 }
9744 return NULL;
9745 }
9746
9747
9748 static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
9749 PyObject *resultobj;
9750 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9751 int arg2 ;
9752 int arg3 ;
9753 wxDragResult arg4 ;
9754 wxDragResult result;
9755 wxDragResult *argp4 ;
9756 PyObject * obj0 = 0 ;
9757 PyObject * obj3 = 0 ;
9758 char *kwnames[] = {
9759 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
9763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9764 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
9765 arg4 = *argp4;
9766 {
9767 PyThreadState* __tstate = wxPyBeginAllowThreads();
9768 result = (arg1)->DoDragOver(arg2,arg3,arg4);
9769
9770 wxPyEndAllowThreads(__tstate);
9771 if (PyErr_Occurred()) SWIG_fail;
9772 }
9773 {
9774 wxDragResult * resultptr;
9775 resultptr = new wxDragResult((wxDragResult &) result);
9776 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1);
9777 }
9778 return resultobj;
9779 fail:
9780 return NULL;
9781 }
9782
9783
9784 static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) {
9785 PyObject *resultobj;
9786 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9787 long arg2 ;
9788 long arg3 ;
9789 wxString *arg4 = 0 ;
9790 bool result;
9791 bool temp4 = False ;
9792 PyObject * obj0 = 0 ;
9793 PyObject * obj3 = 0 ;
9794 char *kwnames[] = {
9795 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
9796 };
9797
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:StyledTextCtrl_DoDropText",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
9799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9800 {
9801 arg4 = wxString_in_helper(obj3);
9802 if (arg4 == NULL) SWIG_fail;
9803 temp4 = True;
9804 }
9805 {
9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
9807 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
9808
9809 wxPyEndAllowThreads(__tstate);
9810 if (PyErr_Occurred()) SWIG_fail;
9811 }
9812 resultobj = PyInt_FromLong((long)result);
9813 {
9814 if (temp4)
9815 delete arg4;
9816 }
9817 return resultobj;
9818 fail:
9819 {
9820 if (temp4)
9821 delete arg4;
9822 }
9823 return NULL;
9824 }
9825
9826
9827 static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) {
9828 PyObject *obj;
9829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9830 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
9831 Py_INCREF(obj);
9832 return Py_BuildValue((char *)"");
9833 }
9834 static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9835 PyObject *resultobj;
9836 wxEventType arg1 = (wxEventType) 0 ;
9837 int arg2 = (int) 0 ;
9838 wxStyledTextEvent *result;
9839 char *kwnames[] = {
9840 (char *) "commandType",(char *) "id", NULL
9841 };
9842
9843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_StyledTextEvent",kwnames,&arg1,&arg2)) goto fail;
9844 {
9845 PyThreadState* __tstate = wxPyBeginAllowThreads();
9846 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
9847
9848 wxPyEndAllowThreads(__tstate);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextEvent, 1);
9852 return resultobj;
9853 fail:
9854 return NULL;
9855 }
9856
9857
9858 static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9859 PyObject *resultobj;
9860 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9861 PyObject * obj0 = 0 ;
9862 char *kwnames[] = {
9863 (char *) "self", NULL
9864 };
9865
9866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
9867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9868 {
9869 PyThreadState* __tstate = wxPyBeginAllowThreads();
9870 delete arg1;
9871
9872 wxPyEndAllowThreads(__tstate);
9873 if (PyErr_Occurred()) SWIG_fail;
9874 }
9875 Py_INCREF(Py_None); resultobj = Py_None;
9876 return resultobj;
9877 fail:
9878 return NULL;
9879 }
9880
9881
9882 static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9883 PyObject *resultobj;
9884 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9885 int arg2 ;
9886 PyObject * obj0 = 0 ;
9887 char *kwnames[] = {
9888 (char *) "self",(char *) "pos", NULL
9889 };
9890
9891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
9892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9893 {
9894 PyThreadState* __tstate = wxPyBeginAllowThreads();
9895 (arg1)->SetPosition(arg2);
9896
9897 wxPyEndAllowThreads(__tstate);
9898 if (PyErr_Occurred()) SWIG_fail;
9899 }
9900 Py_INCREF(Py_None); resultobj = Py_None;
9901 return resultobj;
9902 fail:
9903 return NULL;
9904 }
9905
9906
9907 static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
9908 PyObject *resultobj;
9909 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9910 int arg2 ;
9911 PyObject * obj0 = 0 ;
9912 char *kwnames[] = {
9913 (char *) "self",(char *) "k", NULL
9914 };
9915
9916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetKey",kwnames,&obj0,&arg2)) goto fail;
9917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 (arg1)->SetKey(arg2);
9921
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 Py_INCREF(Py_None); resultobj = Py_None;
9926 return resultobj;
9927 fail:
9928 return NULL;
9929 }
9930
9931
9932 static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
9933 PyObject *resultobj;
9934 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9935 int arg2 ;
9936 PyObject * obj0 = 0 ;
9937 char *kwnames[] = {
9938 (char *) "self",(char *) "m", NULL
9939 };
9940
9941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetModifiers",kwnames,&obj0,&arg2)) goto fail;
9942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9943 {
9944 PyThreadState* __tstate = wxPyBeginAllowThreads();
9945 (arg1)->SetModifiers(arg2);
9946
9947 wxPyEndAllowThreads(__tstate);
9948 if (PyErr_Occurred()) SWIG_fail;
9949 }
9950 Py_INCREF(Py_None); resultobj = Py_None;
9951 return resultobj;
9952 fail:
9953 return NULL;
9954 }
9955
9956
9957 static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
9958 PyObject *resultobj;
9959 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9960 int arg2 ;
9961 PyObject * obj0 = 0 ;
9962 char *kwnames[] = {
9963 (char *) "self",(char *) "t", NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetModificationType",kwnames,&obj0,&arg2)) goto fail;
9967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 (arg1)->SetModificationType(arg2);
9971
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 Py_INCREF(Py_None); resultobj = Py_None;
9976 return resultobj;
9977 fail:
9978 return NULL;
9979 }
9980
9981
9982 static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
9983 PyObject *resultobj;
9984 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9985 wxString *arg2 = 0 ;
9986 bool temp2 = False ;
9987 PyObject * obj0 = 0 ;
9988 PyObject * obj1 = 0 ;
9989 char *kwnames[] = {
9990 (char *) "self",(char *) "t", NULL
9991 };
9992
9993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
9994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9995 {
9996 arg2 = wxString_in_helper(obj1);
9997 if (arg2 == NULL) SWIG_fail;
9998 temp2 = True;
9999 }
10000 {
10001 PyThreadState* __tstate = wxPyBeginAllowThreads();
10002 (arg1)->SetText((wxString const &)*arg2);
10003
10004 wxPyEndAllowThreads(__tstate);
10005 if (PyErr_Occurred()) SWIG_fail;
10006 }
10007 Py_INCREF(Py_None); resultobj = Py_None;
10008 {
10009 if (temp2)
10010 delete arg2;
10011 }
10012 return resultobj;
10013 fail:
10014 {
10015 if (temp2)
10016 delete arg2;
10017 }
10018 return NULL;
10019 }
10020
10021
10022 static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10023 PyObject *resultobj;
10024 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10025 int arg2 ;
10026 PyObject * obj0 = 0 ;
10027 char *kwnames[] = {
10028 (char *) "self",(char *) "len", NULL
10029 };
10030
10031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLength",kwnames,&obj0,&arg2)) goto fail;
10032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 (arg1)->SetLength(arg2);
10036
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 Py_INCREF(Py_None); resultobj = Py_None;
10041 return resultobj;
10042 fail:
10043 return NULL;
10044 }
10045
10046
10047 static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
10048 PyObject *resultobj;
10049 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10050 int arg2 ;
10051 PyObject * obj0 = 0 ;
10052 char *kwnames[] = {
10053 (char *) "self",(char *) "num", NULL
10054 };
10055
10056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&arg2)) goto fail;
10057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10058 {
10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
10060 (arg1)->SetLinesAdded(arg2);
10061
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 Py_INCREF(Py_None); resultobj = Py_None;
10066 return resultobj;
10067 fail:
10068 return NULL;
10069 }
10070
10071
10072 static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10073 PyObject *resultobj;
10074 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10075 int arg2 ;
10076 PyObject * obj0 = 0 ;
10077 char *kwnames[] = {
10078 (char *) "self",(char *) "val", NULL
10079 };
10080
10081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLine",kwnames,&obj0,&arg2)) goto fail;
10082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10083 {
10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
10085 (arg1)->SetLine(arg2);
10086
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) SWIG_fail;
10089 }
10090 Py_INCREF(Py_None); resultobj = Py_None;
10091 return resultobj;
10092 fail:
10093 return NULL;
10094 }
10095
10096
10097 static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
10098 PyObject *resultobj;
10099 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10100 int arg2 ;
10101 PyObject * obj0 = 0 ;
10102 char *kwnames[] = {
10103 (char *) "self",(char *) "val", NULL
10104 };
10105
10106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&arg2)) goto fail;
10107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 (arg1)->SetFoldLevelNow(arg2);
10111
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 Py_INCREF(Py_None); resultobj = Py_None;
10116 return resultobj;
10117 fail:
10118 return NULL;
10119 }
10120
10121
10122 static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj;
10124 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10125 int arg2 ;
10126 PyObject * obj0 = 0 ;
10127 char *kwnames[] = {
10128 (char *) "self",(char *) "val", NULL
10129 };
10130
10131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&arg2)) goto fail;
10132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 (arg1)->SetFoldLevelPrev(arg2);
10136
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
10140 Py_INCREF(Py_None); resultobj = Py_None;
10141 return resultobj;
10142 fail:
10143 return NULL;
10144 }
10145
10146
10147 static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj;
10149 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10150 int arg2 ;
10151 PyObject * obj0 = 0 ;
10152 char *kwnames[] = {
10153 (char *) "self",(char *) "val", NULL
10154 };
10155
10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetMargin",kwnames,&obj0,&arg2)) goto fail;
10157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
10160 (arg1)->SetMargin(arg2);
10161
10162 wxPyEndAllowThreads(__tstate);
10163 if (PyErr_Occurred()) SWIG_fail;
10164 }
10165 Py_INCREF(Py_None); resultobj = Py_None;
10166 return resultobj;
10167 fail:
10168 return NULL;
10169 }
10170
10171
10172 static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10173 PyObject *resultobj;
10174 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10175 int arg2 ;
10176 PyObject * obj0 = 0 ;
10177 char *kwnames[] = {
10178 (char *) "self",(char *) "val", NULL
10179 };
10180
10181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetMessage",kwnames,&obj0,&arg2)) goto fail;
10182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10183 {
10184 PyThreadState* __tstate = wxPyBeginAllowThreads();
10185 (arg1)->SetMessage(arg2);
10186
10187 wxPyEndAllowThreads(__tstate);
10188 if (PyErr_Occurred()) SWIG_fail;
10189 }
10190 Py_INCREF(Py_None); resultobj = Py_None;
10191 return resultobj;
10192 fail:
10193 return NULL;
10194 }
10195
10196
10197 static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10198 PyObject *resultobj;
10199 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10200 int arg2 ;
10201 PyObject * obj0 = 0 ;
10202 char *kwnames[] = {
10203 (char *) "self",(char *) "val", NULL
10204 };
10205
10206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetWParam",kwnames,&obj0,&arg2)) goto fail;
10207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10208 {
10209 PyThreadState* __tstate = wxPyBeginAllowThreads();
10210 (arg1)->SetWParam(arg2);
10211
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 Py_INCREF(Py_None); resultobj = Py_None;
10216 return resultobj;
10217 fail:
10218 return NULL;
10219 }
10220
10221
10222 static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10223 PyObject *resultobj;
10224 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10225 int arg2 ;
10226 PyObject * obj0 = 0 ;
10227 char *kwnames[] = {
10228 (char *) "self",(char *) "val", NULL
10229 };
10230
10231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLParam",kwnames,&obj0,&arg2)) goto fail;
10232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10233 {
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 (arg1)->SetLParam(arg2);
10236
10237 wxPyEndAllowThreads(__tstate);
10238 if (PyErr_Occurred()) SWIG_fail;
10239 }
10240 Py_INCREF(Py_None); resultobj = Py_None;
10241 return resultobj;
10242 fail:
10243 return NULL;
10244 }
10245
10246
10247 static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
10248 PyObject *resultobj;
10249 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10250 int arg2 ;
10251 PyObject * obj0 = 0 ;
10252 char *kwnames[] = {
10253 (char *) "self",(char *) "val", NULL
10254 };
10255
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetListType",kwnames,&obj0,&arg2)) goto fail;
10257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10258 {
10259 PyThreadState* __tstate = wxPyBeginAllowThreads();
10260 (arg1)->SetListType(arg2);
10261
10262 wxPyEndAllowThreads(__tstate);
10263 if (PyErr_Occurred()) SWIG_fail;
10264 }
10265 Py_INCREF(Py_None); resultobj = Py_None;
10266 return resultobj;
10267 fail:
10268 return NULL;
10269 }
10270
10271
10272 static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
10273 PyObject *resultobj;
10274 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10275 int arg2 ;
10276 PyObject * obj0 = 0 ;
10277 char *kwnames[] = {
10278 (char *) "self",(char *) "val", NULL
10279 };
10280
10281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetX",kwnames,&obj0,&arg2)) goto fail;
10282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10283 {
10284 PyThreadState* __tstate = wxPyBeginAllowThreads();
10285 (arg1)->SetX(arg2);
10286
10287 wxPyEndAllowThreads(__tstate);
10288 if (PyErr_Occurred()) SWIG_fail;
10289 }
10290 Py_INCREF(Py_None); resultobj = Py_None;
10291 return resultobj;
10292 fail:
10293 return NULL;
10294 }
10295
10296
10297 static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
10298 PyObject *resultobj;
10299 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10300 int arg2 ;
10301 PyObject * obj0 = 0 ;
10302 char *kwnames[] = {
10303 (char *) "self",(char *) "val", NULL
10304 };
10305
10306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetY",kwnames,&obj0,&arg2)) goto fail;
10307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10308 {
10309 PyThreadState* __tstate = wxPyBeginAllowThreads();
10310 (arg1)->SetY(arg2);
10311
10312 wxPyEndAllowThreads(__tstate);
10313 if (PyErr_Occurred()) SWIG_fail;
10314 }
10315 Py_INCREF(Py_None); resultobj = Py_None;
10316 return resultobj;
10317 fail:
10318 return NULL;
10319 }
10320
10321
10322 static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj;
10324 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10325 wxString *arg2 = 0 ;
10326 bool temp2 = False ;
10327 PyObject * obj0 = 0 ;
10328 PyObject * obj1 = 0 ;
10329 char *kwnames[] = {
10330 (char *) "self",(char *) "val", NULL
10331 };
10332
10333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
10334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10335 {
10336 arg2 = wxString_in_helper(obj1);
10337 if (arg2 == NULL) SWIG_fail;
10338 temp2 = True;
10339 }
10340 {
10341 PyThreadState* __tstate = wxPyBeginAllowThreads();
10342 (arg1)->SetDragText((wxString const &)*arg2);
10343
10344 wxPyEndAllowThreads(__tstate);
10345 if (PyErr_Occurred()) SWIG_fail;
10346 }
10347 Py_INCREF(Py_None); resultobj = Py_None;
10348 {
10349 if (temp2)
10350 delete arg2;
10351 }
10352 return resultobj;
10353 fail:
10354 {
10355 if (temp2)
10356 delete arg2;
10357 }
10358 return NULL;
10359 }
10360
10361
10362 static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10363 PyObject *resultobj;
10364 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10365 bool arg2 ;
10366 PyObject * obj0 = 0 ;
10367 PyObject * obj1 = 0 ;
10368 char *kwnames[] = {
10369 (char *) "self",(char *) "val", NULL
10370 };
10371
10372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
10373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10374 arg2 = PyInt_AsLong(obj1) ? true : false;
10375 if (PyErr_Occurred()) SWIG_fail;
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 (arg1)->SetDragAllowMove(arg2);
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
10383 Py_INCREF(Py_None); resultobj = Py_None;
10384 return resultobj;
10385 fail:
10386 return NULL;
10387 }
10388
10389
10390 static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
10391 PyObject *resultobj;
10392 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10393 wxDragResult arg2 ;
10394 wxDragResult *argp2 ;
10395 PyObject * obj0 = 0 ;
10396 PyObject * obj1 = 0 ;
10397 char *kwnames[] = {
10398 (char *) "self",(char *) "val", NULL
10399 };
10400
10401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
10402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10403 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
10404 arg2 = *argp2;
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 (arg1)->SetDragResult(arg2);
10408
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 Py_INCREF(Py_None); resultobj = Py_None;
10413 return resultobj;
10414 fail:
10415 return NULL;
10416 }
10417
10418
10419 static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10420 PyObject *resultobj;
10421 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10422 int result;
10423 PyObject * obj0 = 0 ;
10424 char *kwnames[] = {
10425 (char *) "self", NULL
10426 };
10427
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
10429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10430 {
10431 PyThreadState* __tstate = wxPyBeginAllowThreads();
10432 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
10433
10434 wxPyEndAllowThreads(__tstate);
10435 if (PyErr_Occurred()) SWIG_fail;
10436 }
10437 resultobj = PyInt_FromLong((long)result);
10438 return resultobj;
10439 fail:
10440 return NULL;
10441 }
10442
10443
10444 static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
10445 PyObject *resultobj;
10446 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10447 int result;
10448 PyObject * obj0 = 0 ;
10449 char *kwnames[] = {
10450 (char *) "self", NULL
10451 };
10452
10453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
10454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10455 {
10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
10457 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
10458
10459 wxPyEndAllowThreads(__tstate);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 resultobj = PyInt_FromLong((long)result);
10463 return resultobj;
10464 fail:
10465 return NULL;
10466 }
10467
10468
10469 static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
10470 PyObject *resultobj;
10471 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10472 int result;
10473 PyObject * obj0 = 0 ;
10474 char *kwnames[] = {
10475 (char *) "self", NULL
10476 };
10477
10478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
10479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10480 {
10481 PyThreadState* __tstate = wxPyBeginAllowThreads();
10482 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
10483
10484 wxPyEndAllowThreads(__tstate);
10485 if (PyErr_Occurred()) SWIG_fail;
10486 }
10487 resultobj = PyInt_FromLong((long)result);
10488 return resultobj;
10489 fail:
10490 return NULL;
10491 }
10492
10493
10494 static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
10495 PyObject *resultobj;
10496 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10497 int result;
10498 PyObject * obj0 = 0 ;
10499 char *kwnames[] = {
10500 (char *) "self", NULL
10501 };
10502
10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
10504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
10508
10509 wxPyEndAllowThreads(__tstate);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 resultobj = PyInt_FromLong((long)result);
10513 return resultobj;
10514 fail:
10515 return NULL;
10516 }
10517
10518
10519 static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
10520 PyObject *resultobj;
10521 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10522 wxString result;
10523 PyObject * obj0 = 0 ;
10524 char *kwnames[] = {
10525 (char *) "self", NULL
10526 };
10527
10528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
10529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 result = ((wxStyledTextEvent const *)arg1)->GetText();
10533
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 {
10538 #if wxUSE_UNICODE
10539 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10540 #else
10541 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10542 #endif
10543 }
10544 return resultobj;
10545 fail:
10546 return NULL;
10547 }
10548
10549
10550 static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10551 PyObject *resultobj;
10552 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10553 int result;
10554 PyObject * obj0 = 0 ;
10555 char *kwnames[] = {
10556 (char *) "self", NULL
10557 };
10558
10559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
10560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 resultobj = PyInt_FromLong((long)result);
10569 return resultobj;
10570 fail:
10571 return NULL;
10572 }
10573
10574
10575 static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
10576 PyObject *resultobj;
10577 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10578 int result;
10579 PyObject * obj0 = 0 ;
10580 char *kwnames[] = {
10581 (char *) "self", NULL
10582 };
10583
10584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
10585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
10588 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
10589
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 resultobj = PyInt_FromLong((long)result);
10594 return resultobj;
10595 fail:
10596 return NULL;
10597 }
10598
10599
10600 static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj;
10602 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10603 int result;
10604 PyObject * obj0 = 0 ;
10605 char *kwnames[] = {
10606 (char *) "self", NULL
10607 };
10608
10609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
10610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10611 {
10612 PyThreadState* __tstate = wxPyBeginAllowThreads();
10613 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
10614
10615 wxPyEndAllowThreads(__tstate);
10616 if (PyErr_Occurred()) SWIG_fail;
10617 }
10618 resultobj = PyInt_FromLong((long)result);
10619 return resultobj;
10620 fail:
10621 return NULL;
10622 }
10623
10624
10625 static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
10626 PyObject *resultobj;
10627 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10628 int result;
10629 PyObject * obj0 = 0 ;
10630 char *kwnames[] = {
10631 (char *) "self", NULL
10632 };
10633
10634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
10635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10636 {
10637 PyThreadState* __tstate = wxPyBeginAllowThreads();
10638 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
10639
10640 wxPyEndAllowThreads(__tstate);
10641 if (PyErr_Occurred()) SWIG_fail;
10642 }
10643 resultobj = PyInt_FromLong((long)result);
10644 return resultobj;
10645 fail:
10646 return NULL;
10647 }
10648
10649
10650 static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
10651 PyObject *resultobj;
10652 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10653 int result;
10654 PyObject * obj0 = 0 ;
10655 char *kwnames[] = {
10656 (char *) "self", NULL
10657 };
10658
10659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
10660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10661 {
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
10664
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 resultobj = PyInt_FromLong((long)result);
10669 return resultobj;
10670 fail:
10671 return NULL;
10672 }
10673
10674
10675 static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
10676 PyObject *resultobj;
10677 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10678 int result;
10679 PyObject * obj0 = 0 ;
10680 char *kwnames[] = {
10681 (char *) "self", NULL
10682 };
10683
10684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
10685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10686 {
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
10689
10690 wxPyEndAllowThreads(__tstate);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 resultobj = PyInt_FromLong((long)result);
10694 return resultobj;
10695 fail:
10696 return NULL;
10697 }
10698
10699
10700 static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10701 PyObject *resultobj;
10702 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10703 int result;
10704 PyObject * obj0 = 0 ;
10705 char *kwnames[] = {
10706 (char *) "self", NULL
10707 };
10708
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
10710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 resultobj = PyInt_FromLong((long)result);
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10728 int result;
10729 PyObject * obj0 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
10735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 resultobj = PyInt_FromLong((long)result);
10744 return resultobj;
10745 fail:
10746 return NULL;
10747 }
10748
10749
10750 static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10751 PyObject *resultobj;
10752 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10753 int result;
10754 PyObject * obj0 = 0 ;
10755 char *kwnames[] = {
10756 (char *) "self", NULL
10757 };
10758
10759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
10760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
10764
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
10768 resultobj = PyInt_FromLong((long)result);
10769 return resultobj;
10770 fail:
10771 return NULL;
10772 }
10773
10774
10775 static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj;
10777 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10778 int result;
10779 PyObject * obj0 = 0 ;
10780 char *kwnames[] = {
10781 (char *) "self", NULL
10782 };
10783
10784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
10785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10786 {
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
10789
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
10793 resultobj = PyInt_FromLong((long)result);
10794 return resultobj;
10795 fail:
10796 return NULL;
10797 }
10798
10799
10800 static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj;
10802 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10803 int result;
10804 PyObject * obj0 = 0 ;
10805 char *kwnames[] = {
10806 (char *) "self", NULL
10807 };
10808
10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
10810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10811 {
10812 PyThreadState* __tstate = wxPyBeginAllowThreads();
10813 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
10814
10815 wxPyEndAllowThreads(__tstate);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 }
10818 resultobj = PyInt_FromLong((long)result);
10819 return resultobj;
10820 fail:
10821 return NULL;
10822 }
10823
10824
10825 static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
10826 PyObject *resultobj;
10827 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10828 int result;
10829 PyObject * obj0 = 0 ;
10830 char *kwnames[] = {
10831 (char *) "self", NULL
10832 };
10833
10834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
10835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10836 {
10837 PyThreadState* __tstate = wxPyBeginAllowThreads();
10838 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
10839
10840 wxPyEndAllowThreads(__tstate);
10841 if (PyErr_Occurred()) SWIG_fail;
10842 }
10843 resultobj = PyInt_FromLong((long)result);
10844 return resultobj;
10845 fail:
10846 return NULL;
10847 }
10848
10849
10850 static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
10851 PyObject *resultobj;
10852 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10853 wxString result;
10854 PyObject * obj0 = 0 ;
10855 char *kwnames[] = {
10856 (char *) "self", NULL
10857 };
10858
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
10860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10861 {
10862 PyThreadState* __tstate = wxPyBeginAllowThreads();
10863 result = (arg1)->GetDragText();
10864
10865 wxPyEndAllowThreads(__tstate);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 }
10868 {
10869 #if wxUSE_UNICODE
10870 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10871 #else
10872 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10873 #endif
10874 }
10875 return resultobj;
10876 fail:
10877 return NULL;
10878 }
10879
10880
10881 static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10882 PyObject *resultobj;
10883 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10884 bool result;
10885 PyObject * obj0 = 0 ;
10886 char *kwnames[] = {
10887 (char *) "self", NULL
10888 };
10889
10890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
10891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10892 {
10893 PyThreadState* __tstate = wxPyBeginAllowThreads();
10894 result = (bool)(arg1)->GetDragAllowMove();
10895
10896 wxPyEndAllowThreads(__tstate);
10897 if (PyErr_Occurred()) SWIG_fail;
10898 }
10899 resultobj = PyInt_FromLong((long)result);
10900 return resultobj;
10901 fail:
10902 return NULL;
10903 }
10904
10905
10906 static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
10907 PyObject *resultobj;
10908 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10909 wxDragResult result;
10910 PyObject * obj0 = 0 ;
10911 char *kwnames[] = {
10912 (char *) "self", NULL
10913 };
10914
10915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
10916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10917 {
10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
10919 result = (arg1)->GetDragResult();
10920
10921 wxPyEndAllowThreads(__tstate);
10922 if (PyErr_Occurred()) SWIG_fail;
10923 }
10924 {
10925 wxDragResult * resultptr;
10926 resultptr = new wxDragResult((wxDragResult &) result);
10927 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1);
10928 }
10929 return resultobj;
10930 fail:
10931 return NULL;
10932 }
10933
10934
10935 static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
10936 PyObject *resultobj;
10937 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10938 bool result;
10939 PyObject * obj0 = 0 ;
10940 char *kwnames[] = {
10941 (char *) "self", NULL
10942 };
10943
10944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
10945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
10949
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 resultobj = PyInt_FromLong((long)result);
10954 return resultobj;
10955 fail:
10956 return NULL;
10957 }
10958
10959
10960 static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
10961 PyObject *resultobj;
10962 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10963 bool result;
10964 PyObject * obj0 = 0 ;
10965 char *kwnames[] = {
10966 (char *) "self", NULL
10967 };
10968
10969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
10970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10971 {
10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
10973 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
10974
10975 wxPyEndAllowThreads(__tstate);
10976 if (PyErr_Occurred()) SWIG_fail;
10977 }
10978 resultobj = PyInt_FromLong((long)result);
10979 return resultobj;
10980 fail:
10981 return NULL;
10982 }
10983
10984
10985 static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
10986 PyObject *resultobj;
10987 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10988 bool result;
10989 PyObject * obj0 = 0 ;
10990 char *kwnames[] = {
10991 (char *) "self", NULL
10992 };
10993
10994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
10995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
10999
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 resultobj = PyInt_FromLong((long)result);
11004 return resultobj;
11005 fail:
11006 return NULL;
11007 }
11008
11009
11010 static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11011 PyObject *resultobj;
11012 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11013 wxEvent *result;
11014 PyObject * obj0 = 0 ;
11015 char *kwnames[] = {
11016 (char *) "self", NULL
11017 };
11018
11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
11020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11021 {
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
11024
11025 wxPyEndAllowThreads(__tstate);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 }
11028 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11029 return resultobj;
11030 fail:
11031 return NULL;
11032 }
11033
11034
11035 static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) {
11036 PyObject *obj;
11037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11038 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
11039 Py_INCREF(obj);
11040 return Py_BuildValue((char *)"");
11041 }
11042 static PyMethodDef SwigMethods[] = {
11043 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
11044 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
11045 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11046 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
11047 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
11048 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
11049 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
11050 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
11051 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
11052 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
11053 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
11054 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
11055 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
11056 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
11057 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
11058 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
11059 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
11060 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
11061 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
11062 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
11063 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
11064 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
11065 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
11066 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
11067 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
11068 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
11069 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
11070 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
11071 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
11072 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
11073 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
11074 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
11075 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
11076 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
11077 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
11078 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
11079 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
11080 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
11081 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
11082 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
11083 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
11084 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
11085 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
11086 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
11087 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
11088 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
11089 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
11090 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
11091 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
11092 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
11093 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
11094 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
11095 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
11096 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11097 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11098 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
11099 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
11100 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
11101 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
11102 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
11103 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
11104 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
11105 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
11106 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
11107 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
11108 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
11109 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
11110 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
11111 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
11112 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
11113 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
11114 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
11115 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
11116 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
11117 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
11118 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
11119 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
11120 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
11121 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
11122 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
11123 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
11124 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
11125 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
11126 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
11127 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
11128 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
11129 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
11130 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
11131 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
11132 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS },
11133 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS },
11134 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
11135 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
11136 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
11137 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
11138 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
11139 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
11140 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
11141 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
11142 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
11143 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS },
11144 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
11145 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
11146 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
11147 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
11148 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
11149 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
11150 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
11151 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
11152 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
11153 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
11154 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
11155 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
11156 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
11157 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
11158 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
11159 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
11160 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
11161 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
11162 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
11163 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
11164 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
11165 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
11166 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
11167 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
11168 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
11169 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
11170 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
11171 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
11172 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
11173 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
11174 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
11175 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
11176 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
11177 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
11178 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
11179 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
11180 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
11181 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
11182 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
11183 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
11184 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
11185 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
11186 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
11187 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
11188 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
11189 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
11190 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
11191 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
11192 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
11193 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
11194 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
11195 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
11196 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
11197 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
11198 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
11199 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
11200 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
11201 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
11202 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
11203 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
11204 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
11205 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
11206 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
11207 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
11208 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
11209 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
11210 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
11211 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
11212 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
11213 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
11214 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
11215 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
11216 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
11217 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
11218 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
11219 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
11220 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
11221 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
11222 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
11223 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
11224 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
11225 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
11226 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
11227 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
11228 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
11229 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
11230 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
11231 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
11232 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
11233 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
11234 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
11235 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
11236 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
11237 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
11238 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
11239 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
11240 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
11241 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
11242 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
11243 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
11244 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
11245 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
11246 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
11247 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
11248 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
11249 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
11250 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
11251 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
11252 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
11253 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
11254 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
11255 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
11256 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
11257 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
11258 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
11259 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
11260 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
11261 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
11262 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
11263 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
11264 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
11265 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
11266 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
11267 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
11268 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
11269 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS },
11270 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS },
11271 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS },
11272 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS },
11273 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS },
11274 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS },
11275 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS },
11276 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS },
11277 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS },
11278 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
11279 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
11280 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
11281 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
11282 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
11283 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
11284 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
11285 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
11286 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
11287 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
11288 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
11289 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
11290 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
11291 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
11292 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
11293 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
11294 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
11295 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS },
11296 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS },
11297 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
11298 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
11299 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
11300 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
11301 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
11302 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
11303 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
11304 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
11305 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
11306 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
11307 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
11308 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
11309 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
11310 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
11311 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
11312 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
11313 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
11314 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
11315 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
11316 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
11317 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
11318 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
11319 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
11320 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
11321 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
11322 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
11323 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
11324 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
11325 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
11326 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
11327 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
11328 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
11329 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
11330 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
11331 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS },
11332 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS },
11333 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
11334 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
11335 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
11336 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
11337 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
11338 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
11339 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
11340 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
11341 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
11342 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
11343 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
11344 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
11345 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
11346 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
11347 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
11348 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
11349 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
11350 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
11351 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
11352 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS },
11353 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS },
11354 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS },
11355 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS },
11356 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
11357 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
11358 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
11359 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
11360 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
11361 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
11362 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
11363 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
11364 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
11365 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
11366 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
11367 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
11368 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
11369 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
11370 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
11371 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
11372 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
11373 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
11374 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
11375 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
11376 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
11377 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
11378 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
11379 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
11380 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
11381 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS },
11382 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS },
11383 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS },
11384 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
11385 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
11386 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
11387 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
11388 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
11389 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
11390 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
11391 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
11392 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
11393 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
11394 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
11395 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
11396 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
11397 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
11398 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
11399 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
11400 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
11401 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
11402 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
11403 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
11404 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
11405 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
11406 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
11407 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
11408 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
11409 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
11410 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
11411 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
11412 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
11413 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
11414 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
11415 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
11416 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
11417 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
11418 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
11419 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
11420 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
11421 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
11422 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
11423 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
11424 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
11425 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
11426 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
11427 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
11428 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
11429 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
11430 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS },
11431 { NULL, NULL }
11432 };
11433
11434
11435 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11436
11437 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11438 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11439 }
11440 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11441 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11442 }
11443 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11444 return (void *)((wxObject *) ((wxSizerItem *) x));
11445 }
11446 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11447 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11448 }
11449 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11450 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11451 }
11452 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11453 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11454 }
11455 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11456 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11457 }
11458 static void *_p_wxSizerTo_p_wxObject(void *x) {
11459 return (void *)((wxObject *) ((wxSizer *) x));
11460 }
11461 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11462 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11463 }
11464 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11465 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11466 }
11467 static void *_p_wxEventTo_p_wxObject(void *x) {
11468 return (void *)((wxObject *) ((wxEvent *) x));
11469 }
11470 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11471 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11472 }
11473 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11474 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11475 }
11476 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11477 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11478 }
11479 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11480 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11481 }
11482 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11483 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11484 }
11485 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
11486 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
11487 }
11488 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
11489 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
11490 }
11491 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
11492 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
11493 }
11494 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
11495 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11496 }
11497 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
11498 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
11499 }
11500 static void *_p_wxControlTo_p_wxObject(void *x) {
11501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11502 }
11503 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11504 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11505 }
11506 static void *_p_wxFSFileTo_p_wxObject(void *x) {
11507 return (void *)((wxObject *) ((wxFSFile *) x));
11508 }
11509 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11510 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11511 }
11512 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
11513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
11514 }
11515 static void *_p_wxPyEventTo_p_wxObject(void *x) {
11516 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11517 }
11518 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11519 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11520 }
11521 static void *_p_wxShowEventTo_p_wxObject(void *x) {
11522 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
11523 }
11524 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11525 return (void *)((wxObject *) ((wxMenuItem *) x));
11526 }
11527 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11528 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11529 }
11530 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11531 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11532 }
11533 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11534 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11535 }
11536 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11537 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11538 }
11539 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11540 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11541 }
11542 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11543 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11544 }
11545 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11546 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11547 }
11548 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11549 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11550 }
11551 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11552 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11553 }
11554 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
11555 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
11556 }
11557 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
11558 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
11559 }
11560 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
11561 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
11562 }
11563 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
11564 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
11565 }
11566 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11567 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11568 }
11569 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11570 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11571 }
11572 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11573 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11574 }
11575 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11576 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11577 }
11578 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11579 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11580 }
11581 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11582 return (void *)((wxObject *) ((wxImageHandler *) x));
11583 }
11584 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11585 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11586 }
11587 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11588 return (void *)((wxObject *) ((wxEvtHandler *) x));
11589 }
11590 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11591 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11592 }
11593 static void *_p_wxImageTo_p_wxObject(void *x) {
11594 return (void *)((wxObject *) ((wxImage *) x));
11595 }
11596 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11597 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11598 }
11599 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11600 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11601 }
11602 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11603 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11604 }
11605 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11606 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11607 }
11608 static void *_p_wxWindowTo_p_wxObject(void *x) {
11609 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11610 }
11611 static void *_p_wxMenuTo_p_wxObject(void *x) {
11612 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11613 }
11614 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11616 }
11617 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11618 return (void *)((wxObject *) ((wxFileSystem *) x));
11619 }
11620 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
11621 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
11622 }
11623 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
11624 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
11625 }
11626 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11627 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11628 }
11629 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11630 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11631 }
11632 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11633 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11634 }
11635 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11636 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11637 }
11638 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
11639 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
11640 }
11641 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
11642 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
11643 }
11644 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
11645 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11646 }
11647 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11648 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11649 }
11650 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11652 }
11653 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11655 }
11656 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11657 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11658 }
11659 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11660 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11661 }
11662 static void *_p_wxControlTo_p_wxWindow(void *x) {
11663 return (void *)((wxWindow *) ((wxControl *) x));
11664 }
11665 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11666 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11667 }
11668 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
11669 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
11670 }
11671 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11672 return (void *)((wxWindow *) ((wxMenuBar *) x));
11673 }
11674 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
11675 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
11676 }
11677 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
11678 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
11679 }
11680 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
11681 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
11682 }
11683 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
11684 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
11685 }
11686 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
11687 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
11688 }
11689 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
11690 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11691 }
11692 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
11693 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
11694 }
11695 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
11696 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
11697 }
11698 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
11699 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
11700 }
11701 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11702 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11703 }
11704 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11705 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11706 }
11707 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11708 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11709 }
11710 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11711 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11712 }
11713 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
11714 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
11715 }
11716 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11717 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11718 }
11719 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11720 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11721 }
11722 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11723 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11724 }
11725 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11726 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11727 }
11728 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
11729 return (void *)((wxControl *) ((wxControlWithItems *) x));
11730 }
11731 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
11732 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
11733 }
11734 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
11735 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
11736 }
11737 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
11738 return (void *)((wxEvent *) ((wxMenuEvent *) x));
11739 }
11740 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
11741 return (void *)((wxEvent *) ((wxCloseEvent *) x));
11742 }
11743 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
11744 return (void *)((wxEvent *) ((wxMouseEvent *) x));
11745 }
11746 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
11747 return (void *)((wxEvent *) ((wxEraseEvent *) x));
11748 }
11749 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
11750 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
11751 }
11752 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
11753 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
11754 }
11755 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
11756 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
11757 }
11758 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
11759 return (void *)((wxEvent *) ((wxPyEvent *) x));
11760 }
11761 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
11762 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
11763 }
11764 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
11765 return (void *)((wxEvent *) ((wxIdleEvent *) x));
11766 }
11767 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
11768 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
11769 }
11770 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
11771 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
11772 }
11773 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
11774 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
11775 }
11776 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
11777 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
11778 }
11779 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
11780 return (void *)((wxEvent *) ((wxActivateEvent *) x));
11781 }
11782 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
11783 return (void *)((wxEvent *) ((wxSizeEvent *) x));
11784 }
11785 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
11786 return (void *)((wxEvent *) ((wxMoveEvent *) x));
11787 }
11788 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
11789 return (void *)((wxEvent *) ((wxPaintEvent *) x));
11790 }
11791 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
11792 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
11793 }
11794 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
11795 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
11796 }
11797 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
11798 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
11799 }
11800 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
11801 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
11802 }
11803 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
11804 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
11805 }
11806 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
11807 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11808 }
11809 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
11810 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
11811 }
11812 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
11813 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
11814 }
11815 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
11816 return (void *)((wxEvent *) ((wxFocusEvent *) x));
11817 }
11818 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
11819 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
11820 }
11821 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
11822 return (void *)((wxEvent *) ((wxShowEvent *) x));
11823 }
11824 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
11825 return (void *)((wxEvent *) ((wxCommandEvent *) x));
11826 }
11827 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
11828 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
11829 }
11830 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
11831 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11832 }
11833 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
11834 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
11835 }
11836 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
11837 return (void *)((wxEvent *) ((wxKeyEvent *) x));
11838 }
11839 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
11840 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
11841 }
11842 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
11843 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
11844 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}};
11845 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
11846 static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0},{"_p_wxStyledTextEvent"},{0}};
11847 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}};
11848 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}};
11849 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
11850 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
11851 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
11852 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
11853 static swig_type_info _swigt__p_wxDragResult[] = {{"_p_wxDragResult", 0, "wxDragResult *", 0},{"_p_wxDragResult"},{0}};
11854 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
11855 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}};
11856 static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0},{"_p_wxStyledTextCtrl"},{0}};
11857 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
11858 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}};
11859 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}};
11860 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
11861 static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0},{"_p_wxMemoryBuffer"},{0}};
11862
11863 static swig_type_info *swig_types_initial[] = {
11864 _swigt__p_wxRect,
11865 _swigt__p_wxColour,
11866 _swigt__p_wxObject,
11867 _swigt__p_wxScrollBar,
11868 _swigt__p_wxStyledTextEvent,
11869 _swigt__p_wxWindow,
11870 _swigt__p_wxCommandEvent,
11871 _swigt__p_wxBitmap,
11872 _swigt__p_void,
11873 _swigt__p_wxPoint,
11874 _swigt__p_wxDC,
11875 _swigt__p_wxDragResult,
11876 _swigt__p_wxString,
11877 _swigt__p_wxEvtHandler,
11878 _swigt__p_wxStyledTextCtrl,
11879 _swigt__p_wxFont,
11880 _swigt__p_wxControl,
11881 _swigt__p_wxEvent,
11882 _swigt__p_int,
11883 _swigt__p_wxMemoryBuffer,
11884 0
11885 };
11886
11887
11888 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11889
11890 static swig_const_info swig_const_table[] = {
11891 { SWIG_PY_INT, (char *)"STC_USE_DND", (long) 1, 0, 0, 0},
11892 { SWIG_PY_INT, (char *)"STC_USE_POPUP", (long) 1, 0, 0, 0},
11893 { SWIG_PY_INT, (char *)"STC_INVALID_POSITION", (long) -1, 0, 0, 0},
11894 { SWIG_PY_INT, (char *)"STC_START", (long) 2000, 0, 0, 0},
11895 { SWIG_PY_INT, (char *)"STC_OPTIONAL_START", (long) 3000, 0, 0, 0},
11896 { SWIG_PY_INT, (char *)"STC_LEXER_START", (long) 4000, 0, 0, 0},
11897 { SWIG_PY_INT, (char *)"STC_WS_INVISIBLE", (long) 0, 0, 0, 0},
11898 { SWIG_PY_INT, (char *)"STC_WS_VISIBLEALWAYS", (long) 1, 0, 0, 0},
11899 { SWIG_PY_INT, (char *)"STC_WS_VISIBLEAFTERINDENT", (long) 2, 0, 0, 0},
11900 { SWIG_PY_INT, (char *)"STC_EOL_CRLF", (long) 0, 0, 0, 0},
11901 { SWIG_PY_INT, (char *)"STC_EOL_CR", (long) 1, 0, 0, 0},
11902 { SWIG_PY_INT, (char *)"STC_EOL_LF", (long) 2, 0, 0, 0},
11903 { SWIG_PY_INT, (char *)"STC_CP_UTF8", (long) 65001, 0, 0, 0},
11904 { SWIG_PY_INT, (char *)"STC_CP_DBCS", (long) 1, 0, 0, 0},
11905 { SWIG_PY_INT, (char *)"STC_MARKER_MAX", (long) 31, 0, 0, 0},
11906 { SWIG_PY_INT, (char *)"STC_MARK_CIRCLE", (long) 0, 0, 0, 0},
11907 { SWIG_PY_INT, (char *)"STC_MARK_ROUNDRECT", (long) 1, 0, 0, 0},
11908 { SWIG_PY_INT, (char *)"STC_MARK_ARROW", (long) 2, 0, 0, 0},
11909 { SWIG_PY_INT, (char *)"STC_MARK_SMALLRECT", (long) 3, 0, 0, 0},
11910 { SWIG_PY_INT, (char *)"STC_MARK_SHORTARROW", (long) 4, 0, 0, 0},
11911 { SWIG_PY_INT, (char *)"STC_MARK_EMPTY", (long) 5, 0, 0, 0},
11912 { SWIG_PY_INT, (char *)"STC_MARK_ARROWDOWN", (long) 6, 0, 0, 0},
11913 { SWIG_PY_INT, (char *)"STC_MARK_MINUS", (long) 7, 0, 0, 0},
11914 { SWIG_PY_INT, (char *)"STC_MARK_PLUS", (long) 8, 0, 0, 0},
11915 { SWIG_PY_INT, (char *)"STC_MARK_VLINE", (long) 9, 0, 0, 0},
11916 { SWIG_PY_INT, (char *)"STC_MARK_LCORNER", (long) 10, 0, 0, 0},
11917 { SWIG_PY_INT, (char *)"STC_MARK_TCORNER", (long) 11, 0, 0, 0},
11918 { SWIG_PY_INT, (char *)"STC_MARK_BOXPLUS", (long) 12, 0, 0, 0},
11919 { SWIG_PY_INT, (char *)"STC_MARK_BOXPLUSCONNECTED", (long) 13, 0, 0, 0},
11920 { SWIG_PY_INT, (char *)"STC_MARK_BOXMINUS", (long) 14, 0, 0, 0},
11921 { SWIG_PY_INT, (char *)"STC_MARK_BOXMINUSCONNECTED", (long) 15, 0, 0, 0},
11922 { SWIG_PY_INT, (char *)"STC_MARK_LCORNERCURVE", (long) 16, 0, 0, 0},
11923 { SWIG_PY_INT, (char *)"STC_MARK_TCORNERCURVE", (long) 17, 0, 0, 0},
11924 { SWIG_PY_INT, (char *)"STC_MARK_CIRCLEPLUS", (long) 18, 0, 0, 0},
11925 { SWIG_PY_INT, (char *)"STC_MARK_CIRCLEPLUSCONNECTED", (long) 19, 0, 0, 0},
11926 { SWIG_PY_INT, (char *)"STC_MARK_CIRCLEMINUS", (long) 20, 0, 0, 0},
11927 { SWIG_PY_INT, (char *)"STC_MARK_CIRCLEMINUSCONNECTED", (long) 21, 0, 0, 0},
11928 { SWIG_PY_INT, (char *)"STC_MARK_BACKGROUND", (long) 22, 0, 0, 0},
11929 { SWIG_PY_INT, (char *)"STC_MARK_DOTDOTDOT", (long) 23, 0, 0, 0},
11930 { SWIG_PY_INT, (char *)"STC_MARK_ARROWS", (long) 24, 0, 0, 0},
11931 { SWIG_PY_INT, (char *)"STC_MARK_PIXMAP", (long) 25, 0, 0, 0},
11932 { SWIG_PY_INT, (char *)"STC_MARK_CHARACTER", (long) 10000, 0, 0, 0},
11933 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEREND", (long) 25, 0, 0, 0},
11934 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEROPENMID", (long) 26, 0, 0, 0},
11935 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERMIDTAIL", (long) 27, 0, 0, 0},
11936 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERTAIL", (long) 28, 0, 0, 0},
11937 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERSUB", (long) 29, 0, 0, 0},
11938 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDER", (long) 30, 0, 0, 0},
11939 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEROPEN", (long) 31, 0, 0, 0},
11940 { SWIG_PY_INT, (char *)"STC_MASK_FOLDERS", (long) 0xFE000000, 0, 0, 0},
11941 { SWIG_PY_INT, (char *)"STC_MARGIN_SYMBOL", (long) 0, 0, 0, 0},
11942 { SWIG_PY_INT, (char *)"STC_MARGIN_NUMBER", (long) 1, 0, 0, 0},
11943 { SWIG_PY_INT, (char *)"STC_STYLE_DEFAULT", (long) 32, 0, 0, 0},
11944 { SWIG_PY_INT, (char *)"STC_STYLE_LINENUMBER", (long) 33, 0, 0, 0},
11945 { SWIG_PY_INT, (char *)"STC_STYLE_BRACELIGHT", (long) 34, 0, 0, 0},
11946 { SWIG_PY_INT, (char *)"STC_STYLE_BRACEBAD", (long) 35, 0, 0, 0},
11947 { SWIG_PY_INT, (char *)"STC_STYLE_CONTROLCHAR", (long) 36, 0, 0, 0},
11948 { SWIG_PY_INT, (char *)"STC_STYLE_INDENTGUIDE", (long) 37, 0, 0, 0},
11949 { SWIG_PY_INT, (char *)"STC_STYLE_LASTPREDEFINED", (long) 39, 0, 0, 0},
11950 { SWIG_PY_INT, (char *)"STC_STYLE_MAX", (long) 127, 0, 0, 0},
11951 { SWIG_PY_INT, (char *)"STC_CHARSET_ANSI", (long) 0, 0, 0, 0},
11952 { SWIG_PY_INT, (char *)"STC_CHARSET_DEFAULT", (long) 1, 0, 0, 0},
11953 { SWIG_PY_INT, (char *)"STC_CHARSET_BALTIC", (long) 186, 0, 0, 0},
11954 { SWIG_PY_INT, (char *)"STC_CHARSET_CHINESEBIG5", (long) 136, 0, 0, 0},
11955 { SWIG_PY_INT, (char *)"STC_CHARSET_EASTEUROPE", (long) 238, 0, 0, 0},
11956 { SWIG_PY_INT, (char *)"STC_CHARSET_GB2312", (long) 134, 0, 0, 0},
11957 { SWIG_PY_INT, (char *)"STC_CHARSET_GREEK", (long) 161, 0, 0, 0},
11958 { SWIG_PY_INT, (char *)"STC_CHARSET_HANGUL", (long) 129, 0, 0, 0},
11959 { SWIG_PY_INT, (char *)"STC_CHARSET_MAC", (long) 77, 0, 0, 0},
11960 { SWIG_PY_INT, (char *)"STC_CHARSET_OEM", (long) 255, 0, 0, 0},
11961 { SWIG_PY_INT, (char *)"STC_CHARSET_RUSSIAN", (long) 204, 0, 0, 0},
11962 { SWIG_PY_INT, (char *)"STC_CHARSET_SHIFTJIS", (long) 128, 0, 0, 0},
11963 { SWIG_PY_INT, (char *)"STC_CHARSET_SYMBOL", (long) 2, 0, 0, 0},
11964 { SWIG_PY_INT, (char *)"STC_CHARSET_TURKISH", (long) 162, 0, 0, 0},
11965 { SWIG_PY_INT, (char *)"STC_CHARSET_JOHAB", (long) 130, 0, 0, 0},
11966 { SWIG_PY_INT, (char *)"STC_CHARSET_HEBREW", (long) 177, 0, 0, 0},
11967 { SWIG_PY_INT, (char *)"STC_CHARSET_ARABIC", (long) 178, 0, 0, 0},
11968 { SWIG_PY_INT, (char *)"STC_CHARSET_VIETNAMESE", (long) 163, 0, 0, 0},
11969 { SWIG_PY_INT, (char *)"STC_CHARSET_THAI", (long) 222, 0, 0, 0},
11970 { SWIG_PY_INT, (char *)"STC_CASE_MIXED", (long) 0, 0, 0, 0},
11971 { SWIG_PY_INT, (char *)"STC_CASE_UPPER", (long) 1, 0, 0, 0},
11972 { SWIG_PY_INT, (char *)"STC_CASE_LOWER", (long) 2, 0, 0, 0},
11973 { SWIG_PY_INT, (char *)"STC_INDIC_MAX", (long) 7, 0, 0, 0},
11974 { SWIG_PY_INT, (char *)"STC_INDIC_PLAIN", (long) 0, 0, 0, 0},
11975 { SWIG_PY_INT, (char *)"STC_INDIC_SQUIGGLE", (long) 1, 0, 0, 0},
11976 { SWIG_PY_INT, (char *)"STC_INDIC_TT", (long) 2, 0, 0, 0},
11977 { SWIG_PY_INT, (char *)"STC_INDIC_DIAGONAL", (long) 3, 0, 0, 0},
11978 { SWIG_PY_INT, (char *)"STC_INDIC_STRIKE", (long) 4, 0, 0, 0},
11979 { SWIG_PY_INT, (char *)"STC_INDIC_HIDDEN", (long) 5, 0, 0, 0},
11980 { SWIG_PY_INT, (char *)"STC_INDIC0_MASK", (long) 0x20, 0, 0, 0},
11981 { SWIG_PY_INT, (char *)"STC_INDIC1_MASK", (long) 0x40, 0, 0, 0},
11982 { SWIG_PY_INT, (char *)"STC_INDIC2_MASK", (long) 0x80, 0, 0, 0},
11983 { SWIG_PY_INT, (char *)"STC_INDICS_MASK", (long) 0xE0, 0, 0, 0},
11984 { SWIG_PY_INT, (char *)"STC_PRINT_NORMAL", (long) 0, 0, 0, 0},
11985 { SWIG_PY_INT, (char *)"STC_PRINT_INVERTLIGHT", (long) 1, 0, 0, 0},
11986 { SWIG_PY_INT, (char *)"STC_PRINT_BLACKONWHITE", (long) 2, 0, 0, 0},
11987 { SWIG_PY_INT, (char *)"STC_PRINT_COLOURONWHITE", (long) 3, 0, 0, 0},
11988 { SWIG_PY_INT, (char *)"STC_PRINT_COLOURONWHITEDEFAULTBG", (long) 4, 0, 0, 0},
11989 { SWIG_PY_INT, (char *)"STC_FIND_WHOLEWORD", (long) 2, 0, 0, 0},
11990 { SWIG_PY_INT, (char *)"STC_FIND_MATCHCASE", (long) 4, 0, 0, 0},
11991 { SWIG_PY_INT, (char *)"STC_FIND_WORDSTART", (long) 0x00100000, 0, 0, 0},
11992 { SWIG_PY_INT, (char *)"STC_FIND_REGEXP", (long) 0x00200000, 0, 0, 0},
11993 { SWIG_PY_INT, (char *)"STC_FIND_POSIX", (long) 0x00400000, 0, 0, 0},
11994 { SWIG_PY_INT, (char *)"STC_FOLDLEVELBASE", (long) 0x400, 0, 0, 0},
11995 { SWIG_PY_INT, (char *)"STC_FOLDLEVELWHITEFLAG", (long) 0x1000, 0, 0, 0},
11996 { SWIG_PY_INT, (char *)"STC_FOLDLEVELHEADERFLAG", (long) 0x2000, 0, 0, 0},
11997 { SWIG_PY_INT, (char *)"STC_FOLDLEVELBOXHEADERFLAG", (long) 0x4000, 0, 0, 0},
11998 { SWIG_PY_INT, (char *)"STC_FOLDLEVELBOXFOOTERFLAG", (long) 0x8000, 0, 0, 0},
11999 { SWIG_PY_INT, (char *)"STC_FOLDLEVELCONTRACTED", (long) 0x10000, 0, 0, 0},
12000 { SWIG_PY_INT, (char *)"STC_FOLDLEVELUNINDENT", (long) 0x20000, 0, 0, 0},
12001 { SWIG_PY_INT, (char *)"STC_FOLDLEVELNUMBERMASK", (long) 0x0FFF, 0, 0, 0},
12002 { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEBEFORE_EXPANDED", (long) 0x0002, 0, 0, 0},
12003 { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", (long) 0x0004, 0, 0, 0},
12004 { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEAFTER_EXPANDED", (long) 0x0008, 0, 0, 0},
12005 { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEAFTER_CONTRACTED", (long) 0x0010, 0, 0, 0},
12006 { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LEVELNUMBERS", (long) 0x0040, 0, 0, 0},
12007 { SWIG_PY_INT, (char *)"STC_FOLDFLAG_BOX", (long) 0x0001, 0, 0, 0},
12008 { SWIG_PY_INT, (char *)"STC_TIME_FOREVER", (long) 10000000, 0, 0, 0},
12009 { SWIG_PY_INT, (char *)"STC_WRAP_NONE", (long) 0, 0, 0, 0},
12010 { SWIG_PY_INT, (char *)"STC_WRAP_WORD", (long) 1, 0, 0, 0},
12011 { SWIG_PY_INT, (char *)"STC_CACHE_NONE", (long) 0, 0, 0, 0},
12012 { SWIG_PY_INT, (char *)"STC_CACHE_CARET", (long) 1, 0, 0, 0},
12013 { SWIG_PY_INT, (char *)"STC_CACHE_PAGE", (long) 2, 0, 0, 0},
12014 { SWIG_PY_INT, (char *)"STC_CACHE_DOCUMENT", (long) 3, 0, 0, 0},
12015 { SWIG_PY_INT, (char *)"STC_EDGE_NONE", (long) 0, 0, 0, 0},
12016 { SWIG_PY_INT, (char *)"STC_EDGE_LINE", (long) 1, 0, 0, 0},
12017 { SWIG_PY_INT, (char *)"STC_EDGE_BACKGROUND", (long) 2, 0, 0, 0},
12018 { SWIG_PY_INT, (char *)"STC_CURSORNORMAL", (long) -1, 0, 0, 0},
12019 { SWIG_PY_INT, (char *)"STC_CURSORWAIT", (long) 4, 0, 0, 0},
12020 { SWIG_PY_INT, (char *)"STC_VISIBLE_SLOP", (long) 0x01, 0, 0, 0},
12021 { SWIG_PY_INT, (char *)"STC_VISIBLE_STRICT", (long) 0x04, 0, 0, 0},
12022 { SWIG_PY_INT, (char *)"STC_CARET_SLOP", (long) 0x01, 0, 0, 0},
12023 { SWIG_PY_INT, (char *)"STC_CARET_STRICT", (long) 0x04, 0, 0, 0},
12024 { SWIG_PY_INT, (char *)"STC_CARET_JUMPS", (long) 0x10, 0, 0, 0},
12025 { SWIG_PY_INT, (char *)"STC_CARET_EVEN", (long) 0x08, 0, 0, 0},
12026 { SWIG_PY_INT, (char *)"STC_KEYWORDSET_MAX", (long) 8, 0, 0, 0},
12027 { SWIG_PY_INT, (char *)"STC_MOD_INSERTTEXT", (long) 0x1, 0, 0, 0},
12028 { SWIG_PY_INT, (char *)"STC_MOD_DELETETEXT", (long) 0x2, 0, 0, 0},
12029 { SWIG_PY_INT, (char *)"STC_MOD_CHANGESTYLE", (long) 0x4, 0, 0, 0},
12030 { SWIG_PY_INT, (char *)"STC_MOD_CHANGEFOLD", (long) 0x8, 0, 0, 0},
12031 { SWIG_PY_INT, (char *)"STC_PERFORMED_USER", (long) 0x10, 0, 0, 0},
12032 { SWIG_PY_INT, (char *)"STC_PERFORMED_UNDO", (long) 0x20, 0, 0, 0},
12033 { SWIG_PY_INT, (char *)"STC_PERFORMED_REDO", (long) 0x40, 0, 0, 0},
12034 { SWIG_PY_INT, (char *)"STC_LASTSTEPINUNDOREDO", (long) 0x100, 0, 0, 0},
12035 { SWIG_PY_INT, (char *)"STC_MOD_CHANGEMARKER", (long) 0x200, 0, 0, 0},
12036 { SWIG_PY_INT, (char *)"STC_MOD_BEFOREINSERT", (long) 0x400, 0, 0, 0},
12037 { SWIG_PY_INT, (char *)"STC_MOD_BEFOREDELETE", (long) 0x800, 0, 0, 0},
12038 { SWIG_PY_INT, (char *)"STC_MODEVENTMASKALL", (long) 0xF77, 0, 0, 0},
12039 { SWIG_PY_INT, (char *)"STC_KEY_DOWN", (long) 300, 0, 0, 0},
12040 { SWIG_PY_INT, (char *)"STC_KEY_UP", (long) 301, 0, 0, 0},
12041 { SWIG_PY_INT, (char *)"STC_KEY_LEFT", (long) 302, 0, 0, 0},
12042 { SWIG_PY_INT, (char *)"STC_KEY_RIGHT", (long) 303, 0, 0, 0},
12043 { SWIG_PY_INT, (char *)"STC_KEY_HOME", (long) 304, 0, 0, 0},
12044 { SWIG_PY_INT, (char *)"STC_KEY_END", (long) 305, 0, 0, 0},
12045 { SWIG_PY_INT, (char *)"STC_KEY_PRIOR", (long) 306, 0, 0, 0},
12046 { SWIG_PY_INT, (char *)"STC_KEY_NEXT", (long) 307, 0, 0, 0},
12047 { SWIG_PY_INT, (char *)"STC_KEY_DELETE", (long) 308, 0, 0, 0},
12048 { SWIG_PY_INT, (char *)"STC_KEY_INSERT", (long) 309, 0, 0, 0},
12049 { SWIG_PY_INT, (char *)"STC_KEY_ESCAPE", (long) 7, 0, 0, 0},
12050 { SWIG_PY_INT, (char *)"STC_KEY_BACK", (long) 8, 0, 0, 0},
12051 { SWIG_PY_INT, (char *)"STC_KEY_TAB", (long) 9, 0, 0, 0},
12052 { SWIG_PY_INT, (char *)"STC_KEY_RETURN", (long) 13, 0, 0, 0},
12053 { SWIG_PY_INT, (char *)"STC_KEY_ADD", (long) 310, 0, 0, 0},
12054 { SWIG_PY_INT, (char *)"STC_KEY_SUBTRACT", (long) 311, 0, 0, 0},
12055 { SWIG_PY_INT, (char *)"STC_KEY_DIVIDE", (long) 312, 0, 0, 0},
12056 { SWIG_PY_INT, (char *)"STC_SCMOD_SHIFT", (long) 1, 0, 0, 0},
12057 { SWIG_PY_INT, (char *)"STC_SCMOD_CTRL", (long) 2, 0, 0, 0},
12058 { SWIG_PY_INT, (char *)"STC_SCMOD_ALT", (long) 4, 0, 0, 0},
12059 { SWIG_PY_INT, (char *)"STC_LEX_CONTAINER", (long) 0, 0, 0, 0},
12060 { SWIG_PY_INT, (char *)"STC_LEX_NULL", (long) 1, 0, 0, 0},
12061 { SWIG_PY_INT, (char *)"STC_LEX_PYTHON", (long) 2, 0, 0, 0},
12062 { SWIG_PY_INT, (char *)"STC_LEX_CPP", (long) 3, 0, 0, 0},
12063 { SWIG_PY_INT, (char *)"STC_LEX_HTML", (long) 4, 0, 0, 0},
12064 { SWIG_PY_INT, (char *)"STC_LEX_XML", (long) 5, 0, 0, 0},
12065 { SWIG_PY_INT, (char *)"STC_LEX_PERL", (long) 6, 0, 0, 0},
12066 { SWIG_PY_INT, (char *)"STC_LEX_SQL", (long) 7, 0, 0, 0},
12067 { SWIG_PY_INT, (char *)"STC_LEX_VB", (long) 8, 0, 0, 0},
12068 { SWIG_PY_INT, (char *)"STC_LEX_PROPERTIES", (long) 9, 0, 0, 0},
12069 { SWIG_PY_INT, (char *)"STC_LEX_ERRORLIST", (long) 10, 0, 0, 0},
12070 { SWIG_PY_INT, (char *)"STC_LEX_MAKEFILE", (long) 11, 0, 0, 0},
12071 { SWIG_PY_INT, (char *)"STC_LEX_BATCH", (long) 12, 0, 0, 0},
12072 { SWIG_PY_INT, (char *)"STC_LEX_XCODE", (long) 13, 0, 0, 0},
12073 { SWIG_PY_INT, (char *)"STC_LEX_LATEX", (long) 14, 0, 0, 0},
12074 { SWIG_PY_INT, (char *)"STC_LEX_LUA", (long) 15, 0, 0, 0},
12075 { SWIG_PY_INT, (char *)"STC_LEX_DIFF", (long) 16, 0, 0, 0},
12076 { SWIG_PY_INT, (char *)"STC_LEX_CONF", (long) 17, 0, 0, 0},
12077 { SWIG_PY_INT, (char *)"STC_LEX_PASCAL", (long) 18, 0, 0, 0},
12078 { SWIG_PY_INT, (char *)"STC_LEX_AVE", (long) 19, 0, 0, 0},
12079 { SWIG_PY_INT, (char *)"STC_LEX_ADA", (long) 20, 0, 0, 0},
12080 { SWIG_PY_INT, (char *)"STC_LEX_LISP", (long) 21, 0, 0, 0},
12081 { SWIG_PY_INT, (char *)"STC_LEX_RUBY", (long) 22, 0, 0, 0},
12082 { SWIG_PY_INT, (char *)"STC_LEX_EIFFEL", (long) 23, 0, 0, 0},
12083 { SWIG_PY_INT, (char *)"STC_LEX_EIFFELKW", (long) 24, 0, 0, 0},
12084 { SWIG_PY_INT, (char *)"STC_LEX_TCL", (long) 25, 0, 0, 0},
12085 { SWIG_PY_INT, (char *)"STC_LEX_NNCRONTAB", (long) 26, 0, 0, 0},
12086 { SWIG_PY_INT, (char *)"STC_LEX_BULLANT", (long) 27, 0, 0, 0},
12087 { SWIG_PY_INT, (char *)"STC_LEX_VBSCRIPT", (long) 28, 0, 0, 0},
12088 { SWIG_PY_INT, (char *)"STC_LEX_ASP", (long) 29, 0, 0, 0},
12089 { SWIG_PY_INT, (char *)"STC_LEX_PHP", (long) 30, 0, 0, 0},
12090 { SWIG_PY_INT, (char *)"STC_LEX_BAAN", (long) 31, 0, 0, 0},
12091 { SWIG_PY_INT, (char *)"STC_LEX_MATLAB", (long) 32, 0, 0, 0},
12092 { SWIG_PY_INT, (char *)"STC_LEX_SCRIPTOL", (long) 33, 0, 0, 0},
12093 { SWIG_PY_INT, (char *)"STC_LEX_ASM", (long) 34, 0, 0, 0},
12094 { SWIG_PY_INT, (char *)"STC_LEX_CPPNOCASE", (long) 35, 0, 0, 0},
12095 { SWIG_PY_INT, (char *)"STC_LEX_FORTRAN", (long) 36, 0, 0, 0},
12096 { SWIG_PY_INT, (char *)"STC_LEX_F77", (long) 37, 0, 0, 0},
12097 { SWIG_PY_INT, (char *)"STC_LEX_CSS", (long) 38, 0, 0, 0},
12098 { SWIG_PY_INT, (char *)"STC_LEX_POV", (long) 39, 0, 0, 0},
12099 { SWIG_PY_INT, (char *)"STC_LEX_LOUT", (long) 40, 0, 0, 0},
12100 { SWIG_PY_INT, (char *)"STC_LEX_ESCRIPT", (long) 41, 0, 0, 0},
12101 { SWIG_PY_INT, (char *)"STC_LEX_PS", (long) 42, 0, 0, 0},
12102 { SWIG_PY_INT, (char *)"STC_LEX_NSIS", (long) 43, 0, 0, 0},
12103 { SWIG_PY_INT, (char *)"STC_LEX_MMIXAL", (long) 44, 0, 0, 0},
12104 { SWIG_PY_INT, (char *)"STC_LEX_AUTOMATIC", (long) 1000, 0, 0, 0},
12105 { SWIG_PY_INT, (char *)"STC_P_DEFAULT", (long) 0, 0, 0, 0},
12106 { SWIG_PY_INT, (char *)"STC_P_COMMENTLINE", (long) 1, 0, 0, 0},
12107 { SWIG_PY_INT, (char *)"STC_P_NUMBER", (long) 2, 0, 0, 0},
12108 { SWIG_PY_INT, (char *)"STC_P_STRING", (long) 3, 0, 0, 0},
12109 { SWIG_PY_INT, (char *)"STC_P_CHARACTER", (long) 4, 0, 0, 0},
12110 { SWIG_PY_INT, (char *)"STC_P_WORD", (long) 5, 0, 0, 0},
12111 { SWIG_PY_INT, (char *)"STC_P_TRIPLE", (long) 6, 0, 0, 0},
12112 { SWIG_PY_INT, (char *)"STC_P_TRIPLEDOUBLE", (long) 7, 0, 0, 0},
12113 { SWIG_PY_INT, (char *)"STC_P_CLASSNAME", (long) 8, 0, 0, 0},
12114 { SWIG_PY_INT, (char *)"STC_P_DEFNAME", (long) 9, 0, 0, 0},
12115 { SWIG_PY_INT, (char *)"STC_P_OPERATOR", (long) 10, 0, 0, 0},
12116 { SWIG_PY_INT, (char *)"STC_P_IDENTIFIER", (long) 11, 0, 0, 0},
12117 { SWIG_PY_INT, (char *)"STC_P_COMMENTBLOCK", (long) 12, 0, 0, 0},
12118 { SWIG_PY_INT, (char *)"STC_P_STRINGEOL", (long) 13, 0, 0, 0},
12119 { SWIG_PY_INT, (char *)"STC_C_DEFAULT", (long) 0, 0, 0, 0},
12120 { SWIG_PY_INT, (char *)"STC_C_COMMENT", (long) 1, 0, 0, 0},
12121 { SWIG_PY_INT, (char *)"STC_C_COMMENTLINE", (long) 2, 0, 0, 0},
12122 { SWIG_PY_INT, (char *)"STC_C_COMMENTDOC", (long) 3, 0, 0, 0},
12123 { SWIG_PY_INT, (char *)"STC_C_NUMBER", (long) 4, 0, 0, 0},
12124 { SWIG_PY_INT, (char *)"STC_C_WORD", (long) 5, 0, 0, 0},
12125 { SWIG_PY_INT, (char *)"STC_C_STRING", (long) 6, 0, 0, 0},
12126 { SWIG_PY_INT, (char *)"STC_C_CHARACTER", (long) 7, 0, 0, 0},
12127 { SWIG_PY_INT, (char *)"STC_C_UUID", (long) 8, 0, 0, 0},
12128 { SWIG_PY_INT, (char *)"STC_C_PREPROCESSOR", (long) 9, 0, 0, 0},
12129 { SWIG_PY_INT, (char *)"STC_C_OPERATOR", (long) 10, 0, 0, 0},
12130 { SWIG_PY_INT, (char *)"STC_C_IDENTIFIER", (long) 11, 0, 0, 0},
12131 { SWIG_PY_INT, (char *)"STC_C_STRINGEOL", (long) 12, 0, 0, 0},
12132 { SWIG_PY_INT, (char *)"STC_C_VERBATIM", (long) 13, 0, 0, 0},
12133 { SWIG_PY_INT, (char *)"STC_C_REGEX", (long) 14, 0, 0, 0},
12134 { SWIG_PY_INT, (char *)"STC_C_COMMENTLINEDOC", (long) 15, 0, 0, 0},
12135 { SWIG_PY_INT, (char *)"STC_C_WORD2", (long) 16, 0, 0, 0},
12136 { SWIG_PY_INT, (char *)"STC_C_COMMENTDOCKEYWORD", (long) 17, 0, 0, 0},
12137 { SWIG_PY_INT, (char *)"STC_C_COMMENTDOCKEYWORDERROR", (long) 18, 0, 0, 0},
12138 { SWIG_PY_INT, (char *)"STC_C_GLOBALCLASS", (long) 19, 0, 0, 0},
12139 { SWIG_PY_INT, (char *)"STC_H_DEFAULT", (long) 0, 0, 0, 0},
12140 { SWIG_PY_INT, (char *)"STC_H_TAG", (long) 1, 0, 0, 0},
12141 { SWIG_PY_INT, (char *)"STC_H_TAGUNKNOWN", (long) 2, 0, 0, 0},
12142 { SWIG_PY_INT, (char *)"STC_H_ATTRIBUTE", (long) 3, 0, 0, 0},
12143 { SWIG_PY_INT, (char *)"STC_H_ATTRIBUTEUNKNOWN", (long) 4, 0, 0, 0},
12144 { SWIG_PY_INT, (char *)"STC_H_NUMBER", (long) 5, 0, 0, 0},
12145 { SWIG_PY_INT, (char *)"STC_H_DOUBLESTRING", (long) 6, 0, 0, 0},
12146 { SWIG_PY_INT, (char *)"STC_H_SINGLESTRING", (long) 7, 0, 0, 0},
12147 { SWIG_PY_INT, (char *)"STC_H_OTHER", (long) 8, 0, 0, 0},
12148 { SWIG_PY_INT, (char *)"STC_H_COMMENT", (long) 9, 0, 0, 0},
12149 { SWIG_PY_INT, (char *)"STC_H_ENTITY", (long) 10, 0, 0, 0},
12150 { SWIG_PY_INT, (char *)"STC_H_TAGEND", (long) 11, 0, 0, 0},
12151 { SWIG_PY_INT, (char *)"STC_H_XMLSTART", (long) 12, 0, 0, 0},
12152 { SWIG_PY_INT, (char *)"STC_H_XMLEND", (long) 13, 0, 0, 0},
12153 { SWIG_PY_INT, (char *)"STC_H_SCRIPT", (long) 14, 0, 0, 0},
12154 { SWIG_PY_INT, (char *)"STC_H_ASP", (long) 15, 0, 0, 0},
12155 { SWIG_PY_INT, (char *)"STC_H_ASPAT", (long) 16, 0, 0, 0},
12156 { SWIG_PY_INT, (char *)"STC_H_CDATA", (long) 17, 0, 0, 0},
12157 { SWIG_PY_INT, (char *)"STC_H_QUESTION", (long) 18, 0, 0, 0},
12158 { SWIG_PY_INT, (char *)"STC_H_VALUE", (long) 19, 0, 0, 0},
12159 { SWIG_PY_INT, (char *)"STC_H_XCCOMMENT", (long) 20, 0, 0, 0},
12160 { SWIG_PY_INT, (char *)"STC_H_SGML_DEFAULT", (long) 21, 0, 0, 0},
12161 { SWIG_PY_INT, (char *)"STC_H_SGML_COMMAND", (long) 22, 0, 0, 0},
12162 { SWIG_PY_INT, (char *)"STC_H_SGML_1ST_PARAM", (long) 23, 0, 0, 0},
12163 { SWIG_PY_INT, (char *)"STC_H_SGML_DOUBLESTRING", (long) 24, 0, 0, 0},
12164 { SWIG_PY_INT, (char *)"STC_H_SGML_SIMPLESTRING", (long) 25, 0, 0, 0},
12165 { SWIG_PY_INT, (char *)"STC_H_SGML_ERROR", (long) 26, 0, 0, 0},
12166 { SWIG_PY_INT, (char *)"STC_H_SGML_SPECIAL", (long) 27, 0, 0, 0},
12167 { SWIG_PY_INT, (char *)"STC_H_SGML_ENTITY", (long) 28, 0, 0, 0},
12168 { SWIG_PY_INT, (char *)"STC_H_SGML_COMMENT", (long) 29, 0, 0, 0},
12169 { SWIG_PY_INT, (char *)"STC_H_SGML_1ST_PARAM_COMMENT", (long) 30, 0, 0, 0},
12170 { SWIG_PY_INT, (char *)"STC_H_SGML_BLOCK_DEFAULT", (long) 31, 0, 0, 0},
12171 { SWIG_PY_INT, (char *)"STC_HJ_START", (long) 40, 0, 0, 0},
12172 { SWIG_PY_INT, (char *)"STC_HJ_DEFAULT", (long) 41, 0, 0, 0},
12173 { SWIG_PY_INT, (char *)"STC_HJ_COMMENT", (long) 42, 0, 0, 0},
12174 { SWIG_PY_INT, (char *)"STC_HJ_COMMENTLINE", (long) 43, 0, 0, 0},
12175 { SWIG_PY_INT, (char *)"STC_HJ_COMMENTDOC", (long) 44, 0, 0, 0},
12176 { SWIG_PY_INT, (char *)"STC_HJ_NUMBER", (long) 45, 0, 0, 0},
12177 { SWIG_PY_INT, (char *)"STC_HJ_WORD", (long) 46, 0, 0, 0},
12178 { SWIG_PY_INT, (char *)"STC_HJ_KEYWORD", (long) 47, 0, 0, 0},
12179 { SWIG_PY_INT, (char *)"STC_HJ_DOUBLESTRING", (long) 48, 0, 0, 0},
12180 { SWIG_PY_INT, (char *)"STC_HJ_SINGLESTRING", (long) 49, 0, 0, 0},
12181 { SWIG_PY_INT, (char *)"STC_HJ_SYMBOLS", (long) 50, 0, 0, 0},
12182 { SWIG_PY_INT, (char *)"STC_HJ_STRINGEOL", (long) 51, 0, 0, 0},
12183 { SWIG_PY_INT, (char *)"STC_HJ_REGEX", (long) 52, 0, 0, 0},
12184 { SWIG_PY_INT, (char *)"STC_HJA_START", (long) 55, 0, 0, 0},
12185 { SWIG_PY_INT, (char *)"STC_HJA_DEFAULT", (long) 56, 0, 0, 0},
12186 { SWIG_PY_INT, (char *)"STC_HJA_COMMENT", (long) 57, 0, 0, 0},
12187 { SWIG_PY_INT, (char *)"STC_HJA_COMMENTLINE", (long) 58, 0, 0, 0},
12188 { SWIG_PY_INT, (char *)"STC_HJA_COMMENTDOC", (long) 59, 0, 0, 0},
12189 { SWIG_PY_INT, (char *)"STC_HJA_NUMBER", (long) 60, 0, 0, 0},
12190 { SWIG_PY_INT, (char *)"STC_HJA_WORD", (long) 61, 0, 0, 0},
12191 { SWIG_PY_INT, (char *)"STC_HJA_KEYWORD", (long) 62, 0, 0, 0},
12192 { SWIG_PY_INT, (char *)"STC_HJA_DOUBLESTRING", (long) 63, 0, 0, 0},
12193 { SWIG_PY_INT, (char *)"STC_HJA_SINGLESTRING", (long) 64, 0, 0, 0},
12194 { SWIG_PY_INT, (char *)"STC_HJA_SYMBOLS", (long) 65, 0, 0, 0},
12195 { SWIG_PY_INT, (char *)"STC_HJA_STRINGEOL", (long) 66, 0, 0, 0},
12196 { SWIG_PY_INT, (char *)"STC_HJA_REGEX", (long) 67, 0, 0, 0},
12197 { SWIG_PY_INT, (char *)"STC_HB_START", (long) 70, 0, 0, 0},
12198 { SWIG_PY_INT, (char *)"STC_HB_DEFAULT", (long) 71, 0, 0, 0},
12199 { SWIG_PY_INT, (char *)"STC_HB_COMMENTLINE", (long) 72, 0, 0, 0},
12200 { SWIG_PY_INT, (char *)"STC_HB_NUMBER", (long) 73, 0, 0, 0},
12201 { SWIG_PY_INT, (char *)"STC_HB_WORD", (long) 74, 0, 0, 0},
12202 { SWIG_PY_INT, (char *)"STC_HB_STRING", (long) 75, 0, 0, 0},
12203 { SWIG_PY_INT, (char *)"STC_HB_IDENTIFIER", (long) 76, 0, 0, 0},
12204 { SWIG_PY_INT, (char *)"STC_HB_STRINGEOL", (long) 77, 0, 0, 0},
12205 { SWIG_PY_INT, (char *)"STC_HBA_START", (long) 80, 0, 0, 0},
12206 { SWIG_PY_INT, (char *)"STC_HBA_DEFAULT", (long) 81, 0, 0, 0},
12207 { SWIG_PY_INT, (char *)"STC_HBA_COMMENTLINE", (long) 82, 0, 0, 0},
12208 { SWIG_PY_INT, (char *)"STC_HBA_NUMBER", (long) 83, 0, 0, 0},
12209 { SWIG_PY_INT, (char *)"STC_HBA_WORD", (long) 84, 0, 0, 0},
12210 { SWIG_PY_INT, (char *)"STC_HBA_STRING", (long) 85, 0, 0, 0},
12211 { SWIG_PY_INT, (char *)"STC_HBA_IDENTIFIER", (long) 86, 0, 0, 0},
12212 { SWIG_PY_INT, (char *)"STC_HBA_STRINGEOL", (long) 87, 0, 0, 0},
12213 { SWIG_PY_INT, (char *)"STC_HP_START", (long) 90, 0, 0, 0},
12214 { SWIG_PY_INT, (char *)"STC_HP_DEFAULT", (long) 91, 0, 0, 0},
12215 { SWIG_PY_INT, (char *)"STC_HP_COMMENTLINE", (long) 92, 0, 0, 0},
12216 { SWIG_PY_INT, (char *)"STC_HP_NUMBER", (long) 93, 0, 0, 0},
12217 { SWIG_PY_INT, (char *)"STC_HP_STRING", (long) 94, 0, 0, 0},
12218 { SWIG_PY_INT, (char *)"STC_HP_CHARACTER", (long) 95, 0, 0, 0},
12219 { SWIG_PY_INT, (char *)"STC_HP_WORD", (long) 96, 0, 0, 0},
12220 { SWIG_PY_INT, (char *)"STC_HP_TRIPLE", (long) 97, 0, 0, 0},
12221 { SWIG_PY_INT, (char *)"STC_HP_TRIPLEDOUBLE", (long) 98, 0, 0, 0},
12222 { SWIG_PY_INT, (char *)"STC_HP_CLASSNAME", (long) 99, 0, 0, 0},
12223 { SWIG_PY_INT, (char *)"STC_HP_DEFNAME", (long) 100, 0, 0, 0},
12224 { SWIG_PY_INT, (char *)"STC_HP_OPERATOR", (long) 101, 0, 0, 0},
12225 { SWIG_PY_INT, (char *)"STC_HP_IDENTIFIER", (long) 102, 0, 0, 0},
12226 { SWIG_PY_INT, (char *)"STC_HPA_START", (long) 105, 0, 0, 0},
12227 { SWIG_PY_INT, (char *)"STC_HPA_DEFAULT", (long) 106, 0, 0, 0},
12228 { SWIG_PY_INT, (char *)"STC_HPA_COMMENTLINE", (long) 107, 0, 0, 0},
12229 { SWIG_PY_INT, (char *)"STC_HPA_NUMBER", (long) 108, 0, 0, 0},
12230 { SWIG_PY_INT, (char *)"STC_HPA_STRING", (long) 109, 0, 0, 0},
12231 { SWIG_PY_INT, (char *)"STC_HPA_CHARACTER", (long) 110, 0, 0, 0},
12232 { SWIG_PY_INT, (char *)"STC_HPA_WORD", (long) 111, 0, 0, 0},
12233 { SWIG_PY_INT, (char *)"STC_HPA_TRIPLE", (long) 112, 0, 0, 0},
12234 { SWIG_PY_INT, (char *)"STC_HPA_TRIPLEDOUBLE", (long) 113, 0, 0, 0},
12235 { SWIG_PY_INT, (char *)"STC_HPA_CLASSNAME", (long) 114, 0, 0, 0},
12236 { SWIG_PY_INT, (char *)"STC_HPA_DEFNAME", (long) 115, 0, 0, 0},
12237 { SWIG_PY_INT, (char *)"STC_HPA_OPERATOR", (long) 116, 0, 0, 0},
12238 { SWIG_PY_INT, (char *)"STC_HPA_IDENTIFIER", (long) 117, 0, 0, 0},
12239 { SWIG_PY_INT, (char *)"STC_HPHP_DEFAULT", (long) 118, 0, 0, 0},
12240 { SWIG_PY_INT, (char *)"STC_HPHP_HSTRING", (long) 119, 0, 0, 0},
12241 { SWIG_PY_INT, (char *)"STC_HPHP_SIMPLESTRING", (long) 120, 0, 0, 0},
12242 { SWIG_PY_INT, (char *)"STC_HPHP_WORD", (long) 121, 0, 0, 0},
12243 { SWIG_PY_INT, (char *)"STC_HPHP_NUMBER", (long) 122, 0, 0, 0},
12244 { SWIG_PY_INT, (char *)"STC_HPHP_VARIABLE", (long) 123, 0, 0, 0},
12245 { SWIG_PY_INT, (char *)"STC_HPHP_COMMENT", (long) 124, 0, 0, 0},
12246 { SWIG_PY_INT, (char *)"STC_HPHP_COMMENTLINE", (long) 125, 0, 0, 0},
12247 { SWIG_PY_INT, (char *)"STC_HPHP_HSTRING_VARIABLE", (long) 126, 0, 0, 0},
12248 { SWIG_PY_INT, (char *)"STC_HPHP_OPERATOR", (long) 127, 0, 0, 0},
12249 { SWIG_PY_INT, (char *)"STC_PL_DEFAULT", (long) 0, 0, 0, 0},
12250 { SWIG_PY_INT, (char *)"STC_PL_ERROR", (long) 1, 0, 0, 0},
12251 { SWIG_PY_INT, (char *)"STC_PL_COMMENTLINE", (long) 2, 0, 0, 0},
12252 { SWIG_PY_INT, (char *)"STC_PL_POD", (long) 3, 0, 0, 0},
12253 { SWIG_PY_INT, (char *)"STC_PL_NUMBER", (long) 4, 0, 0, 0},
12254 { SWIG_PY_INT, (char *)"STC_PL_WORD", (long) 5, 0, 0, 0},
12255 { SWIG_PY_INT, (char *)"STC_PL_STRING", (long) 6, 0, 0, 0},
12256 { SWIG_PY_INT, (char *)"STC_PL_CHARACTER", (long) 7, 0, 0, 0},
12257 { SWIG_PY_INT, (char *)"STC_PL_PUNCTUATION", (long) 8, 0, 0, 0},
12258 { SWIG_PY_INT, (char *)"STC_PL_PREPROCESSOR", (long) 9, 0, 0, 0},
12259 { SWIG_PY_INT, (char *)"STC_PL_OPERATOR", (long) 10, 0, 0, 0},
12260 { SWIG_PY_INT, (char *)"STC_PL_IDENTIFIER", (long) 11, 0, 0, 0},
12261 { SWIG_PY_INT, (char *)"STC_PL_SCALAR", (long) 12, 0, 0, 0},
12262 { SWIG_PY_INT, (char *)"STC_PL_ARRAY", (long) 13, 0, 0, 0},
12263 { SWIG_PY_INT, (char *)"STC_PL_HASH", (long) 14, 0, 0, 0},
12264 { SWIG_PY_INT, (char *)"STC_PL_SYMBOLTABLE", (long) 15, 0, 0, 0},
12265 { SWIG_PY_INT, (char *)"STC_PL_REGEX", (long) 17, 0, 0, 0},
12266 { SWIG_PY_INT, (char *)"STC_PL_REGSUBST", (long) 18, 0, 0, 0},
12267 { SWIG_PY_INT, (char *)"STC_PL_LONGQUOTE", (long) 19, 0, 0, 0},
12268 { SWIG_PY_INT, (char *)"STC_PL_BACKTICKS", (long) 20, 0, 0, 0},
12269 { SWIG_PY_INT, (char *)"STC_PL_DATASECTION", (long) 21, 0, 0, 0},
12270 { SWIG_PY_INT, (char *)"STC_PL_HERE_DELIM", (long) 22, 0, 0, 0},
12271 { SWIG_PY_INT, (char *)"STC_PL_HERE_Q", (long) 23, 0, 0, 0},
12272 { SWIG_PY_INT, (char *)"STC_PL_HERE_QQ", (long) 24, 0, 0, 0},
12273 { SWIG_PY_INT, (char *)"STC_PL_HERE_QX", (long) 25, 0, 0, 0},
12274 { SWIG_PY_INT, (char *)"STC_PL_STRING_Q", (long) 26, 0, 0, 0},
12275 { SWIG_PY_INT, (char *)"STC_PL_STRING_QQ", (long) 27, 0, 0, 0},
12276 { SWIG_PY_INT, (char *)"STC_PL_STRING_QX", (long) 28, 0, 0, 0},
12277 { SWIG_PY_INT, (char *)"STC_PL_STRING_QR", (long) 29, 0, 0, 0},
12278 { SWIG_PY_INT, (char *)"STC_PL_STRING_QW", (long) 30, 0, 0, 0},
12279 { SWIG_PY_INT, (char *)"STC_B_DEFAULT", (long) 0, 0, 0, 0},
12280 { SWIG_PY_INT, (char *)"STC_B_COMMENT", (long) 1, 0, 0, 0},
12281 { SWIG_PY_INT, (char *)"STC_B_NUMBER", (long) 2, 0, 0, 0},
12282 { SWIG_PY_INT, (char *)"STC_B_KEYWORD", (long) 3, 0, 0, 0},
12283 { SWIG_PY_INT, (char *)"STC_B_STRING", (long) 4, 0, 0, 0},
12284 { SWIG_PY_INT, (char *)"STC_B_PREPROCESSOR", (long) 5, 0, 0, 0},
12285 { SWIG_PY_INT, (char *)"STC_B_OPERATOR", (long) 6, 0, 0, 0},
12286 { SWIG_PY_INT, (char *)"STC_B_IDENTIFIER", (long) 7, 0, 0, 0},
12287 { SWIG_PY_INT, (char *)"STC_B_DATE", (long) 8, 0, 0, 0},
12288 { SWIG_PY_INT, (char *)"STC_PROPS_DEFAULT", (long) 0, 0, 0, 0},
12289 { SWIG_PY_INT, (char *)"STC_PROPS_COMMENT", (long) 1, 0, 0, 0},
12290 { SWIG_PY_INT, (char *)"STC_PROPS_SECTION", (long) 2, 0, 0, 0},
12291 { SWIG_PY_INT, (char *)"STC_PROPS_ASSIGNMENT", (long) 3, 0, 0, 0},
12292 { SWIG_PY_INT, (char *)"STC_PROPS_DEFVAL", (long) 4, 0, 0, 0},
12293 { SWIG_PY_INT, (char *)"STC_L_DEFAULT", (long) 0, 0, 0, 0},
12294 { SWIG_PY_INT, (char *)"STC_L_COMMAND", (long) 1, 0, 0, 0},
12295 { SWIG_PY_INT, (char *)"STC_L_TAG", (long) 2, 0, 0, 0},
12296 { SWIG_PY_INT, (char *)"STC_L_MATH", (long) 3, 0, 0, 0},
12297 { SWIG_PY_INT, (char *)"STC_L_COMMENT", (long) 4, 0, 0, 0},
12298 { SWIG_PY_INT, (char *)"STC_LUA_DEFAULT", (long) 0, 0, 0, 0},
12299 { SWIG_PY_INT, (char *)"STC_LUA_COMMENT", (long) 1, 0, 0, 0},
12300 { SWIG_PY_INT, (char *)"STC_LUA_COMMENTLINE", (long) 2, 0, 0, 0},
12301 { SWIG_PY_INT, (char *)"STC_LUA_COMMENTDOC", (long) 3, 0, 0, 0},
12302 { SWIG_PY_INT, (char *)"STC_LUA_NUMBER", (long) 4, 0, 0, 0},
12303 { SWIG_PY_INT, (char *)"STC_LUA_WORD", (long) 5, 0, 0, 0},
12304 { SWIG_PY_INT, (char *)"STC_LUA_STRING", (long) 6, 0, 0, 0},
12305 { SWIG_PY_INT, (char *)"STC_LUA_CHARACTER", (long) 7, 0, 0, 0},
12306 { SWIG_PY_INT, (char *)"STC_LUA_LITERALSTRING", (long) 8, 0, 0, 0},
12307 { SWIG_PY_INT, (char *)"STC_LUA_PREPROCESSOR", (long) 9, 0, 0, 0},
12308 { SWIG_PY_INT, (char *)"STC_LUA_OPERATOR", (long) 10, 0, 0, 0},
12309 { SWIG_PY_INT, (char *)"STC_LUA_IDENTIFIER", (long) 11, 0, 0, 0},
12310 { SWIG_PY_INT, (char *)"STC_LUA_STRINGEOL", (long) 12, 0, 0, 0},
12311 { SWIG_PY_INT, (char *)"STC_LUA_WORD2", (long) 13, 0, 0, 0},
12312 { SWIG_PY_INT, (char *)"STC_LUA_WORD3", (long) 14, 0, 0, 0},
12313 { SWIG_PY_INT, (char *)"STC_LUA_WORD4", (long) 15, 0, 0, 0},
12314 { SWIG_PY_INT, (char *)"STC_LUA_WORD5", (long) 16, 0, 0, 0},
12315 { SWIG_PY_INT, (char *)"STC_LUA_WORD6", (long) 17, 0, 0, 0},
12316 { SWIG_PY_INT, (char *)"STC_LUA_WORD7", (long) 18, 0, 0, 0},
12317 { SWIG_PY_INT, (char *)"STC_LUA_WORD8", (long) 19, 0, 0, 0},
12318 { SWIG_PY_INT, (char *)"STC_ERR_DEFAULT", (long) 0, 0, 0, 0},
12319 { SWIG_PY_INT, (char *)"STC_ERR_PYTHON", (long) 1, 0, 0, 0},
12320 { SWIG_PY_INT, (char *)"STC_ERR_GCC", (long) 2, 0, 0, 0},
12321 { SWIG_PY_INT, (char *)"STC_ERR_MS", (long) 3, 0, 0, 0},
12322 { SWIG_PY_INT, (char *)"STC_ERR_CMD", (long) 4, 0, 0, 0},
12323 { SWIG_PY_INT, (char *)"STC_ERR_BORLAND", (long) 5, 0, 0, 0},
12324 { SWIG_PY_INT, (char *)"STC_ERR_PERL", (long) 6, 0, 0, 0},
12325 { SWIG_PY_INT, (char *)"STC_ERR_NET", (long) 7, 0, 0, 0},
12326 { SWIG_PY_INT, (char *)"STC_ERR_LUA", (long) 8, 0, 0, 0},
12327 { SWIG_PY_INT, (char *)"STC_ERR_CTAG", (long) 9, 0, 0, 0},
12328 { SWIG_PY_INT, (char *)"STC_ERR_DIFF_CHANGED", (long) 10, 0, 0, 0},
12329 { SWIG_PY_INT, (char *)"STC_ERR_DIFF_ADDITION", (long) 11, 0, 0, 0},
12330 { SWIG_PY_INT, (char *)"STC_ERR_DIFF_DELETION", (long) 12, 0, 0, 0},
12331 { SWIG_PY_INT, (char *)"STC_ERR_DIFF_MESSAGE", (long) 13, 0, 0, 0},
12332 { SWIG_PY_INT, (char *)"STC_ERR_PHP", (long) 14, 0, 0, 0},
12333 { SWIG_PY_INT, (char *)"STC_ERR_ELF", (long) 15, 0, 0, 0},
12334 { SWIG_PY_INT, (char *)"STC_ERR_IFC", (long) 16, 0, 0, 0},
12335 { SWIG_PY_INT, (char *)"STC_BAT_DEFAULT", (long) 0, 0, 0, 0},
12336 { SWIG_PY_INT, (char *)"STC_BAT_COMMENT", (long) 1, 0, 0, 0},
12337 { SWIG_PY_INT, (char *)"STC_BAT_WORD", (long) 2, 0, 0, 0},
12338 { SWIG_PY_INT, (char *)"STC_BAT_LABEL", (long) 3, 0, 0, 0},
12339 { SWIG_PY_INT, (char *)"STC_BAT_HIDE", (long) 4, 0, 0, 0},
12340 { SWIG_PY_INT, (char *)"STC_BAT_COMMAND", (long) 5, 0, 0, 0},
12341 { SWIG_PY_INT, (char *)"STC_BAT_IDENTIFIER", (long) 6, 0, 0, 0},
12342 { SWIG_PY_INT, (char *)"STC_BAT_OPERATOR", (long) 7, 0, 0, 0},
12343 { SWIG_PY_INT, (char *)"STC_MAKE_DEFAULT", (long) 0, 0, 0, 0},
12344 { SWIG_PY_INT, (char *)"STC_MAKE_COMMENT", (long) 1, 0, 0, 0},
12345 { SWIG_PY_INT, (char *)"STC_MAKE_PREPROCESSOR", (long) 2, 0, 0, 0},
12346 { SWIG_PY_INT, (char *)"STC_MAKE_IDENTIFIER", (long) 3, 0, 0, 0},
12347 { SWIG_PY_INT, (char *)"STC_MAKE_OPERATOR", (long) 4, 0, 0, 0},
12348 { SWIG_PY_INT, (char *)"STC_MAKE_TARGET", (long) 5, 0, 0, 0},
12349 { SWIG_PY_INT, (char *)"STC_MAKE_IDEOL", (long) 9, 0, 0, 0},
12350 { SWIG_PY_INT, (char *)"STC_DIFF_DEFAULT", (long) 0, 0, 0, 0},
12351 { SWIG_PY_INT, (char *)"STC_DIFF_COMMENT", (long) 1, 0, 0, 0},
12352 { SWIG_PY_INT, (char *)"STC_DIFF_COMMAND", (long) 2, 0, 0, 0},
12353 { SWIG_PY_INT, (char *)"STC_DIFF_HEADER", (long) 3, 0, 0, 0},
12354 { SWIG_PY_INT, (char *)"STC_DIFF_POSITION", (long) 4, 0, 0, 0},
12355 { SWIG_PY_INT, (char *)"STC_DIFF_DELETED", (long) 5, 0, 0, 0},
12356 { SWIG_PY_INT, (char *)"STC_DIFF_ADDED", (long) 6, 0, 0, 0},
12357 { SWIG_PY_INT, (char *)"STC_CONF_DEFAULT", (long) 0, 0, 0, 0},
12358 { SWIG_PY_INT, (char *)"STC_CONF_COMMENT", (long) 1, 0, 0, 0},
12359 { SWIG_PY_INT, (char *)"STC_CONF_NUMBER", (long) 2, 0, 0, 0},
12360 { SWIG_PY_INT, (char *)"STC_CONF_IDENTIFIER", (long) 3, 0, 0, 0},
12361 { SWIG_PY_INT, (char *)"STC_CONF_EXTENSION", (long) 4, 0, 0, 0},
12362 { SWIG_PY_INT, (char *)"STC_CONF_PARAMETER", (long) 5, 0, 0, 0},
12363 { SWIG_PY_INT, (char *)"STC_CONF_STRING", (long) 6, 0, 0, 0},
12364 { SWIG_PY_INT, (char *)"STC_CONF_OPERATOR", (long) 7, 0, 0, 0},
12365 { SWIG_PY_INT, (char *)"STC_CONF_IP", (long) 8, 0, 0, 0},
12366 { SWIG_PY_INT, (char *)"STC_CONF_DIRECTIVE", (long) 9, 0, 0, 0},
12367 { SWIG_PY_INT, (char *)"STC_AVE_DEFAULT", (long) 0, 0, 0, 0},
12368 { SWIG_PY_INT, (char *)"STC_AVE_COMMENT", (long) 1, 0, 0, 0},
12369 { SWIG_PY_INT, (char *)"STC_AVE_NUMBER", (long) 2, 0, 0, 0},
12370 { SWIG_PY_INT, (char *)"STC_AVE_WORD", (long) 3, 0, 0, 0},
12371 { SWIG_PY_INT, (char *)"STC_AVE_STRING", (long) 6, 0, 0, 0},
12372 { SWIG_PY_INT, (char *)"STC_AVE_ENUM", (long) 7, 0, 0, 0},
12373 { SWIG_PY_INT, (char *)"STC_AVE_STRINGEOL", (long) 8, 0, 0, 0},
12374 { SWIG_PY_INT, (char *)"STC_AVE_IDENTIFIER", (long) 9, 0, 0, 0},
12375 { SWIG_PY_INT, (char *)"STC_AVE_OPERATOR", (long) 10, 0, 0, 0},
12376 { SWIG_PY_INT, (char *)"STC_AVE_WORD1", (long) 11, 0, 0, 0},
12377 { SWIG_PY_INT, (char *)"STC_AVE_WORD2", (long) 12, 0, 0, 0},
12378 { SWIG_PY_INT, (char *)"STC_AVE_WORD3", (long) 13, 0, 0, 0},
12379 { SWIG_PY_INT, (char *)"STC_AVE_WORD4", (long) 14, 0, 0, 0},
12380 { SWIG_PY_INT, (char *)"STC_AVE_WORD5", (long) 15, 0, 0, 0},
12381 { SWIG_PY_INT, (char *)"STC_AVE_WORD6", (long) 16, 0, 0, 0},
12382 { SWIG_PY_INT, (char *)"STC_ADA_DEFAULT", (long) 0, 0, 0, 0},
12383 { SWIG_PY_INT, (char *)"STC_ADA_WORD", (long) 1, 0, 0, 0},
12384 { SWIG_PY_INT, (char *)"STC_ADA_IDENTIFIER", (long) 2, 0, 0, 0},
12385 { SWIG_PY_INT, (char *)"STC_ADA_NUMBER", (long) 3, 0, 0, 0},
12386 { SWIG_PY_INT, (char *)"STC_ADA_DELIMITER", (long) 4, 0, 0, 0},
12387 { SWIG_PY_INT, (char *)"STC_ADA_CHARACTER", (long) 5, 0, 0, 0},
12388 { SWIG_PY_INT, (char *)"STC_ADA_CHARACTEREOL", (long) 6, 0, 0, 0},
12389 { SWIG_PY_INT, (char *)"STC_ADA_STRING", (long) 7, 0, 0, 0},
12390 { SWIG_PY_INT, (char *)"STC_ADA_STRINGEOL", (long) 8, 0, 0, 0},
12391 { SWIG_PY_INT, (char *)"STC_ADA_LABEL", (long) 9, 0, 0, 0},
12392 { SWIG_PY_INT, (char *)"STC_ADA_COMMENTLINE", (long) 10, 0, 0, 0},
12393 { SWIG_PY_INT, (char *)"STC_ADA_ILLEGAL", (long) 11, 0, 0, 0},
12394 { SWIG_PY_INT, (char *)"STC_BAAN_DEFAULT", (long) 0, 0, 0, 0},
12395 { SWIG_PY_INT, (char *)"STC_BAAN_COMMENT", (long) 1, 0, 0, 0},
12396 { SWIG_PY_INT, (char *)"STC_BAAN_COMMENTDOC", (long) 2, 0, 0, 0},
12397 { SWIG_PY_INT, (char *)"STC_BAAN_NUMBER", (long) 3, 0, 0, 0},
12398 { SWIG_PY_INT, (char *)"STC_BAAN_WORD", (long) 4, 0, 0, 0},
12399 { SWIG_PY_INT, (char *)"STC_BAAN_STRING", (long) 5, 0, 0, 0},
12400 { SWIG_PY_INT, (char *)"STC_BAAN_PREPROCESSOR", (long) 6, 0, 0, 0},
12401 { SWIG_PY_INT, (char *)"STC_BAAN_OPERATOR", (long) 7, 0, 0, 0},
12402 { SWIG_PY_INT, (char *)"STC_BAAN_IDENTIFIER", (long) 8, 0, 0, 0},
12403 { SWIG_PY_INT, (char *)"STC_BAAN_STRINGEOL", (long) 9, 0, 0, 0},
12404 { SWIG_PY_INT, (char *)"STC_BAAN_WORD2", (long) 10, 0, 0, 0},
12405 { SWIG_PY_INT, (char *)"STC_LISP_DEFAULT", (long) 0, 0, 0, 0},
12406 { SWIG_PY_INT, (char *)"STC_LISP_COMMENT", (long) 1, 0, 0, 0},
12407 { SWIG_PY_INT, (char *)"STC_LISP_NUMBER", (long) 2, 0, 0, 0},
12408 { SWIG_PY_INT, (char *)"STC_LISP_KEYWORD", (long) 3, 0, 0, 0},
12409 { SWIG_PY_INT, (char *)"STC_LISP_STRING", (long) 6, 0, 0, 0},
12410 { SWIG_PY_INT, (char *)"STC_LISP_STRINGEOL", (long) 8, 0, 0, 0},
12411 { SWIG_PY_INT, (char *)"STC_LISP_IDENTIFIER", (long) 9, 0, 0, 0},
12412 { SWIG_PY_INT, (char *)"STC_LISP_OPERATOR", (long) 10, 0, 0, 0},
12413 { SWIG_PY_INT, (char *)"STC_EIFFEL_DEFAULT", (long) 0, 0, 0, 0},
12414 { SWIG_PY_INT, (char *)"STC_EIFFEL_COMMENTLINE", (long) 1, 0, 0, 0},
12415 { SWIG_PY_INT, (char *)"STC_EIFFEL_NUMBER", (long) 2, 0, 0, 0},
12416 { SWIG_PY_INT, (char *)"STC_EIFFEL_WORD", (long) 3, 0, 0, 0},
12417 { SWIG_PY_INT, (char *)"STC_EIFFEL_STRING", (long) 4, 0, 0, 0},
12418 { SWIG_PY_INT, (char *)"STC_EIFFEL_CHARACTER", (long) 5, 0, 0, 0},
12419 { SWIG_PY_INT, (char *)"STC_EIFFEL_OPERATOR", (long) 6, 0, 0, 0},
12420 { SWIG_PY_INT, (char *)"STC_EIFFEL_IDENTIFIER", (long) 7, 0, 0, 0},
12421 { SWIG_PY_INT, (char *)"STC_EIFFEL_STRINGEOL", (long) 8, 0, 0, 0},
12422 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_DEFAULT", (long) 0, 0, 0, 0},
12423 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_COMMENT", (long) 1, 0, 0, 0},
12424 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_TASK", (long) 2, 0, 0, 0},
12425 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_SECTION", (long) 3, 0, 0, 0},
12426 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_KEYWORD", (long) 4, 0, 0, 0},
12427 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_MODIFIER", (long) 5, 0, 0, 0},
12428 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_ASTERISK", (long) 6, 0, 0, 0},
12429 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_NUMBER", (long) 7, 0, 0, 0},
12430 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_STRING", (long) 8, 0, 0, 0},
12431 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_ENVIRONMENT", (long) 9, 0, 0, 0},
12432 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_IDENTIFIER", (long) 10, 0, 0, 0},
12433 { SWIG_PY_INT, (char *)"STC_MATLAB_DEFAULT", (long) 0, 0, 0, 0},
12434 { SWIG_PY_INT, (char *)"STC_MATLAB_COMMENT", (long) 1, 0, 0, 0},
12435 { SWIG_PY_INT, (char *)"STC_MATLAB_COMMAND", (long) 2, 0, 0, 0},
12436 { SWIG_PY_INT, (char *)"STC_MATLAB_NUMBER", (long) 3, 0, 0, 0},
12437 { SWIG_PY_INT, (char *)"STC_MATLAB_KEYWORD", (long) 4, 0, 0, 0},
12438 { SWIG_PY_INT, (char *)"STC_MATLAB_STRING", (long) 5, 0, 0, 0},
12439 { SWIG_PY_INT, (char *)"STC_MATLAB_OPERATOR", (long) 6, 0, 0, 0},
12440 { SWIG_PY_INT, (char *)"STC_MATLAB_IDENTIFIER", (long) 7, 0, 0, 0},
12441 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_DEFAULT", (long) 0, 0, 0, 0},
12442 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENT", (long) 1, 0, 0, 0},
12443 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTLINE", (long) 2, 0, 0, 0},
12444 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOC", (long) 3, 0, 0, 0},
12445 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_NUMBER", (long) 4, 0, 0, 0},
12446 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_WORD", (long) 5, 0, 0, 0},
12447 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_STRING", (long) 6, 0, 0, 0},
12448 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_CHARACTER", (long) 7, 0, 0, 0},
12449 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_UUID", (long) 8, 0, 0, 0},
12450 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_PREPROCESSOR", (long) 9, 0, 0, 0},
12451 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_OPERATOR", (long) 10, 0, 0, 0},
12452 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_IDENTIFIER", (long) 11, 0, 0, 0},
12453 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_STRINGEOL", (long) 12, 0, 0, 0},
12454 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_VERBATIM", (long) 13, 0, 0, 0},
12455 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_REGEX", (long) 14, 0, 0, 0},
12456 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTLINEDOC", (long) 15, 0, 0, 0},
12457 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_WORD2", (long) 16, 0, 0, 0},
12458 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOCKEYWORD", (long) 17, 0, 0, 0},
12459 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOCKEYWORDERROR", (long) 18, 0, 0, 0},
12460 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTBASIC", (long) 19, 0, 0, 0},
12461 { SWIG_PY_INT, (char *)"STC_ASM_DEFAULT", (long) 0, 0, 0, 0},
12462 { SWIG_PY_INT, (char *)"STC_ASM_COMMENT", (long) 1, 0, 0, 0},
12463 { SWIG_PY_INT, (char *)"STC_ASM_NUMBER", (long) 2, 0, 0, 0},
12464 { SWIG_PY_INT, (char *)"STC_ASM_STRING", (long) 3, 0, 0, 0},
12465 { SWIG_PY_INT, (char *)"STC_ASM_OPERATOR", (long) 4, 0, 0, 0},
12466 { SWIG_PY_INT, (char *)"STC_ASM_IDENTIFIER", (long) 5, 0, 0, 0},
12467 { SWIG_PY_INT, (char *)"STC_ASM_CPUINSTRUCTION", (long) 6, 0, 0, 0},
12468 { SWIG_PY_INT, (char *)"STC_ASM_MATHINSTRUCTION", (long) 7, 0, 0, 0},
12469 { SWIG_PY_INT, (char *)"STC_ASM_REGISTER", (long) 8, 0, 0, 0},
12470 { SWIG_PY_INT, (char *)"STC_ASM_DIRECTIVE", (long) 9, 0, 0, 0},
12471 { SWIG_PY_INT, (char *)"STC_ASM_DIRECTIVEOPERAND", (long) 10, 0, 0, 0},
12472 { SWIG_PY_INT, (char *)"STC_F_DEFAULT", (long) 0, 0, 0, 0},
12473 { SWIG_PY_INT, (char *)"STC_F_COMMENT", (long) 1, 0, 0, 0},
12474 { SWIG_PY_INT, (char *)"STC_F_NUMBER", (long) 2, 0, 0, 0},
12475 { SWIG_PY_INT, (char *)"STC_F_STRING1", (long) 3, 0, 0, 0},
12476 { SWIG_PY_INT, (char *)"STC_F_STRING2", (long) 4, 0, 0, 0},
12477 { SWIG_PY_INT, (char *)"STC_F_STRINGEOL", (long) 5, 0, 0, 0},
12478 { SWIG_PY_INT, (char *)"STC_F_OPERATOR", (long) 6, 0, 0, 0},
12479 { SWIG_PY_INT, (char *)"STC_F_IDENTIFIER", (long) 7, 0, 0, 0},
12480 { SWIG_PY_INT, (char *)"STC_F_WORD", (long) 8, 0, 0, 0},
12481 { SWIG_PY_INT, (char *)"STC_F_WORD2", (long) 9, 0, 0, 0},
12482 { SWIG_PY_INT, (char *)"STC_F_WORD3", (long) 10, 0, 0, 0},
12483 { SWIG_PY_INT, (char *)"STC_F_PREPROCESSOR", (long) 11, 0, 0, 0},
12484 { SWIG_PY_INT, (char *)"STC_F_OPERATOR2", (long) 12, 0, 0, 0},
12485 { SWIG_PY_INT, (char *)"STC_F_LABEL", (long) 13, 0, 0, 0},
12486 { SWIG_PY_INT, (char *)"STC_F_CONTINUATION", (long) 14, 0, 0, 0},
12487 { SWIG_PY_INT, (char *)"STC_CSS_DEFAULT", (long) 0, 0, 0, 0},
12488 { SWIG_PY_INT, (char *)"STC_CSS_TAG", (long) 1, 0, 0, 0},
12489 { SWIG_PY_INT, (char *)"STC_CSS_CLASS", (long) 2, 0, 0, 0},
12490 { SWIG_PY_INT, (char *)"STC_CSS_PSEUDOCLASS", (long) 3, 0, 0, 0},
12491 { SWIG_PY_INT, (char *)"STC_CSS_UNKNOWN_PSEUDOCLASS", (long) 4, 0, 0, 0},
12492 { SWIG_PY_INT, (char *)"STC_CSS_OPERATOR", (long) 5, 0, 0, 0},
12493 { SWIG_PY_INT, (char *)"STC_CSS_IDENTIFIER", (long) 6, 0, 0, 0},
12494 { SWIG_PY_INT, (char *)"STC_CSS_UNKNOWN_IDENTIFIER", (long) 7, 0, 0, 0},
12495 { SWIG_PY_INT, (char *)"STC_CSS_VALUE", (long) 8, 0, 0, 0},
12496 { SWIG_PY_INT, (char *)"STC_CSS_COMMENT", (long) 9, 0, 0, 0},
12497 { SWIG_PY_INT, (char *)"STC_CSS_ID", (long) 10, 0, 0, 0},
12498 { SWIG_PY_INT, (char *)"STC_CSS_IMPORTANT", (long) 11, 0, 0, 0},
12499 { SWIG_PY_INT, (char *)"STC_CSS_DIRECTIVE", (long) 12, 0, 0, 0},
12500 { SWIG_PY_INT, (char *)"STC_CSS_DOUBLESTRING", (long) 13, 0, 0, 0},
12501 { SWIG_PY_INT, (char *)"STC_CSS_SINGLESTRING", (long) 14, 0, 0, 0},
12502 { SWIG_PY_INT, (char *)"STC_POV_DEFAULT", (long) 0, 0, 0, 0},
12503 { SWIG_PY_INT, (char *)"STC_POV_COMMENT", (long) 1, 0, 0, 0},
12504 { SWIG_PY_INT, (char *)"STC_POV_COMMENTLINE", (long) 2, 0, 0, 0},
12505 { SWIG_PY_INT, (char *)"STC_POV_NUMBER", (long) 3, 0, 0, 0},
12506 { SWIG_PY_INT, (char *)"STC_POV_OPERATOR", (long) 4, 0, 0, 0},
12507 { SWIG_PY_INT, (char *)"STC_POV_IDENTIFIER", (long) 5, 0, 0, 0},
12508 { SWIG_PY_INT, (char *)"STC_POV_STRING", (long) 6, 0, 0, 0},
12509 { SWIG_PY_INT, (char *)"STC_POV_STRINGEOL", (long) 7, 0, 0, 0},
12510 { SWIG_PY_INT, (char *)"STC_POV_DIRECTIVE", (long) 8, 0, 0, 0},
12511 { SWIG_PY_INT, (char *)"STC_POV_BADDIRECTIVE", (long) 9, 0, 0, 0},
12512 { SWIG_PY_INT, (char *)"STC_POV_WORD2", (long) 10, 0, 0, 0},
12513 { SWIG_PY_INT, (char *)"STC_POV_WORD3", (long) 11, 0, 0, 0},
12514 { SWIG_PY_INT, (char *)"STC_POV_WORD4", (long) 12, 0, 0, 0},
12515 { SWIG_PY_INT, (char *)"STC_POV_WORD5", (long) 13, 0, 0, 0},
12516 { SWIG_PY_INT, (char *)"STC_POV_WORD6", (long) 14, 0, 0, 0},
12517 { SWIG_PY_INT, (char *)"STC_POV_WORD7", (long) 15, 0, 0, 0},
12518 { SWIG_PY_INT, (char *)"STC_POV_WORD8", (long) 16, 0, 0, 0},
12519 { SWIG_PY_INT, (char *)"STC_LOUT_DEFAULT", (long) 0, 0, 0, 0},
12520 { SWIG_PY_INT, (char *)"STC_LOUT_COMMENT", (long) 1, 0, 0, 0},
12521 { SWIG_PY_INT, (char *)"STC_LOUT_NUMBER", (long) 2, 0, 0, 0},
12522 { SWIG_PY_INT, (char *)"STC_LOUT_WORD", (long) 3, 0, 0, 0},
12523 { SWIG_PY_INT, (char *)"STC_LOUT_WORD2", (long) 4, 0, 0, 0},
12524 { SWIG_PY_INT, (char *)"STC_LOUT_WORD3", (long) 5, 0, 0, 0},
12525 { SWIG_PY_INT, (char *)"STC_LOUT_WORD4", (long) 6, 0, 0, 0},
12526 { SWIG_PY_INT, (char *)"STC_LOUT_STRING", (long) 7, 0, 0, 0},
12527 { SWIG_PY_INT, (char *)"STC_LOUT_OPERATOR", (long) 8, 0, 0, 0},
12528 { SWIG_PY_INT, (char *)"STC_LOUT_IDENTIFIER", (long) 9, 0, 0, 0},
12529 { SWIG_PY_INT, (char *)"STC_LOUT_STRINGEOL", (long) 10, 0, 0, 0},
12530 { SWIG_PY_INT, (char *)"STC_ESCRIPT_DEFAULT", (long) 0, 0, 0, 0},
12531 { SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENT", (long) 1, 0, 0, 0},
12532 { SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENTLINE", (long) 2, 0, 0, 0},
12533 { SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENTDOC", (long) 3, 0, 0, 0},
12534 { SWIG_PY_INT, (char *)"STC_ESCRIPT_NUMBER", (long) 4, 0, 0, 0},
12535 { SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD", (long) 5, 0, 0, 0},
12536 { SWIG_PY_INT, (char *)"STC_ESCRIPT_STRING", (long) 6, 0, 0, 0},
12537 { SWIG_PY_INT, (char *)"STC_ESCRIPT_OPERATOR", (long) 7, 0, 0, 0},
12538 { SWIG_PY_INT, (char *)"STC_ESCRIPT_IDENTIFIER", (long) 8, 0, 0, 0},
12539 { SWIG_PY_INT, (char *)"STC_ESCRIPT_BRACE", (long) 9, 0, 0, 0},
12540 { SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD2", (long) 10, 0, 0, 0},
12541 { SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD3", (long) 11, 0, 0, 0},
12542 { SWIG_PY_INT, (char *)"STC_PS_DEFAULT", (long) 0, 0, 0, 0},
12543 { SWIG_PY_INT, (char *)"STC_PS_COMMENT", (long) 1, 0, 0, 0},
12544 { SWIG_PY_INT, (char *)"STC_PS_DSC_COMMENT", (long) 2, 0, 0, 0},
12545 { SWIG_PY_INT, (char *)"STC_PS_DSC_VALUE", (long) 3, 0, 0, 0},
12546 { SWIG_PY_INT, (char *)"STC_PS_NUMBER", (long) 4, 0, 0, 0},
12547 { SWIG_PY_INT, (char *)"STC_PS_NAME", (long) 5, 0, 0, 0},
12548 { SWIG_PY_INT, (char *)"STC_PS_KEYWORD", (long) 6, 0, 0, 0},
12549 { SWIG_PY_INT, (char *)"STC_PS_LITERAL", (long) 7, 0, 0, 0},
12550 { SWIG_PY_INT, (char *)"STC_PS_IMMEVAL", (long) 8, 0, 0, 0},
12551 { SWIG_PY_INT, (char *)"STC_PS_PAREN_ARRAY", (long) 9, 0, 0, 0},
12552 { SWIG_PY_INT, (char *)"STC_PS_PAREN_DICT", (long) 10, 0, 0, 0},
12553 { SWIG_PY_INT, (char *)"STC_PS_PAREN_PROC", (long) 11, 0, 0, 0},
12554 { SWIG_PY_INT, (char *)"STC_PS_TEXT", (long) 12, 0, 0, 0},
12555 { SWIG_PY_INT, (char *)"STC_PS_HEXSTRING", (long) 13, 0, 0, 0},
12556 { SWIG_PY_INT, (char *)"STC_PS_BASE85STRING", (long) 14, 0, 0, 0},
12557 { SWIG_PY_INT, (char *)"STC_PS_BADSTRINGCHAR", (long) 15, 0, 0, 0},
12558 { SWIG_PY_INT, (char *)"STC_NSIS_DEFAULT", (long) 0, 0, 0, 0},
12559 { SWIG_PY_INT, (char *)"STC_NSIS_COMMENT", (long) 1, 0, 0, 0},
12560 { SWIG_PY_INT, (char *)"STC_NSIS_STRINGDQ", (long) 2, 0, 0, 0},
12561 { SWIG_PY_INT, (char *)"STC_NSIS_STRINGLQ", (long) 3, 0, 0, 0},
12562 { SWIG_PY_INT, (char *)"STC_NSIS_STRINGRQ", (long) 4, 0, 0, 0},
12563 { SWIG_PY_INT, (char *)"STC_NSIS_FUNCTION", (long) 5, 0, 0, 0},
12564 { SWIG_PY_INT, (char *)"STC_NSIS_VARIABLE", (long) 6, 0, 0, 0},
12565 { SWIG_PY_INT, (char *)"STC_NSIS_LABEL", (long) 7, 0, 0, 0},
12566 { SWIG_PY_INT, (char *)"STC_NSIS_USERDEFINED", (long) 8, 0, 0, 0},
12567 { SWIG_PY_INT, (char *)"STC_NSIS_SECTIONDEF", (long) 9, 0, 0, 0},
12568 { SWIG_PY_INT, (char *)"STC_NSIS_SUBSECTIONDEF", (long) 10, 0, 0, 0},
12569 { SWIG_PY_INT, (char *)"STC_NSIS_IFDEFINEDEF", (long) 11, 0, 0, 0},
12570 { SWIG_PY_INT, (char *)"STC_NSIS_MACRODEF", (long) 12, 0, 0, 0},
12571 { SWIG_PY_INT, (char *)"STC_NSIS_STRINGVAR", (long) 13, 0, 0, 0},
12572 { SWIG_PY_INT, (char *)"STC_MMIXAL_LEADWS", (long) 0, 0, 0, 0},
12573 { SWIG_PY_INT, (char *)"STC_MMIXAL_COMMENT", (long) 1, 0, 0, 0},
12574 { SWIG_PY_INT, (char *)"STC_MMIXAL_LABEL", (long) 2, 0, 0, 0},
12575 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE", (long) 3, 0, 0, 0},
12576 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_PRE", (long) 4, 0, 0, 0},
12577 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_VALID", (long) 5, 0, 0, 0},
12578 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_UNKNOWN", (long) 6, 0, 0, 0},
12579 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_POST", (long) 7, 0, 0, 0},
12580 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPERANDS", (long) 8, 0, 0, 0},
12581 { SWIG_PY_INT, (char *)"STC_MMIXAL_NUMBER", (long) 9, 0, 0, 0},
12582 { SWIG_PY_INT, (char *)"STC_MMIXAL_REF", (long) 10, 0, 0, 0},
12583 { SWIG_PY_INT, (char *)"STC_MMIXAL_CHAR", (long) 11, 0, 0, 0},
12584 { SWIG_PY_INT, (char *)"STC_MMIXAL_STRING", (long) 12, 0, 0, 0},
12585 { SWIG_PY_INT, (char *)"STC_MMIXAL_REGISTER", (long) 13, 0, 0, 0},
12586 { SWIG_PY_INT, (char *)"STC_MMIXAL_HEX", (long) 14, 0, 0, 0},
12587 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPERATOR", (long) 15, 0, 0, 0},
12588 { SWIG_PY_INT, (char *)"STC_MMIXAL_SYMBOL", (long) 16, 0, 0, 0},
12589 { SWIG_PY_INT, (char *)"STC_MMIXAL_INCLUDE", (long) 17, 0, 0, 0},
12590 { SWIG_PY_INT, (char *)"STC_CMD_REDO", (long) 2011, 0, 0, 0},
12591 { SWIG_PY_INT, (char *)"STC_CMD_SELECTALL", (long) 2013, 0, 0, 0},
12592 { SWIG_PY_INT, (char *)"STC_CMD_UNDO", (long) 2176, 0, 0, 0},
12593 { SWIG_PY_INT, (char *)"STC_CMD_CUT", (long) 2177, 0, 0, 0},
12594 { SWIG_PY_INT, (char *)"STC_CMD_COPY", (long) 2178, 0, 0, 0},
12595 { SWIG_PY_INT, (char *)"STC_CMD_PASTE", (long) 2179, 0, 0, 0},
12596 { SWIG_PY_INT, (char *)"STC_CMD_CLEAR", (long) 2180, 0, 0, 0},
12597 { SWIG_PY_INT, (char *)"STC_CMD_LINEDOWN", (long) 2300, 0, 0, 0},
12598 { SWIG_PY_INT, (char *)"STC_CMD_LINEDOWNEXTEND", (long) 2301, 0, 0, 0},
12599 { SWIG_PY_INT, (char *)"STC_CMD_LINEUP", (long) 2302, 0, 0, 0},
12600 { SWIG_PY_INT, (char *)"STC_CMD_LINEUPEXTEND", (long) 2303, 0, 0, 0},
12601 { SWIG_PY_INT, (char *)"STC_CMD_CHARLEFT", (long) 2304, 0, 0, 0},
12602 { SWIG_PY_INT, (char *)"STC_CMD_CHARLEFTEXTEND", (long) 2305, 0, 0, 0},
12603 { SWIG_PY_INT, (char *)"STC_CMD_CHARRIGHT", (long) 2306, 0, 0, 0},
12604 { SWIG_PY_INT, (char *)"STC_CMD_CHARRIGHTEXTEND", (long) 2307, 0, 0, 0},
12605 { SWIG_PY_INT, (char *)"STC_CMD_WORDLEFT", (long) 2308, 0, 0, 0},
12606 { SWIG_PY_INT, (char *)"STC_CMD_WORDLEFTEXTEND", (long) 2309, 0, 0, 0},
12607 { SWIG_PY_INT, (char *)"STC_CMD_WORDRIGHT", (long) 2310, 0, 0, 0},
12608 { SWIG_PY_INT, (char *)"STC_CMD_WORDRIGHTEXTEND", (long) 2311, 0, 0, 0},
12609 { SWIG_PY_INT, (char *)"STC_CMD_HOME", (long) 2312, 0, 0, 0},
12610 { SWIG_PY_INT, (char *)"STC_CMD_HOMEEXTEND", (long) 2313, 0, 0, 0},
12611 { SWIG_PY_INT, (char *)"STC_CMD_LINEEND", (long) 2314, 0, 0, 0},
12612 { SWIG_PY_INT, (char *)"STC_CMD_LINEENDEXTEND", (long) 2315, 0, 0, 0},
12613 { SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTSTART", (long) 2316, 0, 0, 0},
12614 { SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTSTARTEXTEND", (long) 2317, 0, 0, 0},
12615 { SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTEND", (long) 2318, 0, 0, 0},
12616 { SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTENDEXTEND", (long) 2319, 0, 0, 0},
12617 { SWIG_PY_INT, (char *)"STC_CMD_PAGEUP", (long) 2320, 0, 0, 0},
12618 { SWIG_PY_INT, (char *)"STC_CMD_PAGEUPEXTEND", (long) 2321, 0, 0, 0},
12619 { SWIG_PY_INT, (char *)"STC_CMD_PAGEDOWN", (long) 2322, 0, 0, 0},
12620 { SWIG_PY_INT, (char *)"STC_CMD_PAGEDOWNEXTEND", (long) 2323, 0, 0, 0},
12621 { SWIG_PY_INT, (char *)"STC_CMD_EDITTOGGLEOVERTYPE", (long) 2324, 0, 0, 0},
12622 { SWIG_PY_INT, (char *)"STC_CMD_CANCEL", (long) 2325, 0, 0, 0},
12623 { SWIG_PY_INT, (char *)"STC_CMD_DELETEBACK", (long) 2326, 0, 0, 0},
12624 { SWIG_PY_INT, (char *)"STC_CMD_TAB", (long) 2327, 0, 0, 0},
12625 { SWIG_PY_INT, (char *)"STC_CMD_BACKTAB", (long) 2328, 0, 0, 0},
12626 { SWIG_PY_INT, (char *)"STC_CMD_NEWLINE", (long) 2329, 0, 0, 0},
12627 { SWIG_PY_INT, (char *)"STC_CMD_FORMFEED", (long) 2330, 0, 0, 0},
12628 { SWIG_PY_INT, (char *)"STC_CMD_VCHOME", (long) 2331, 0, 0, 0},
12629 { SWIG_PY_INT, (char *)"STC_CMD_VCHOMEEXTEND", (long) 2332, 0, 0, 0},
12630 { SWIG_PY_INT, (char *)"STC_CMD_ZOOMIN", (long) 2333, 0, 0, 0},
12631 { SWIG_PY_INT, (char *)"STC_CMD_ZOOMOUT", (long) 2334, 0, 0, 0},
12632 { SWIG_PY_INT, (char *)"STC_CMD_DELWORDLEFT", (long) 2335, 0, 0, 0},
12633 { SWIG_PY_INT, (char *)"STC_CMD_DELWORDRIGHT", (long) 2336, 0, 0, 0},
12634 { SWIG_PY_INT, (char *)"STC_CMD_LINECUT", (long) 2337, 0, 0, 0},
12635 { SWIG_PY_INT, (char *)"STC_CMD_LINEDELETE", (long) 2338, 0, 0, 0},
12636 { SWIG_PY_INT, (char *)"STC_CMD_LINETRANSPOSE", (long) 2339, 0, 0, 0},
12637 { SWIG_PY_INT, (char *)"STC_CMD_LINEDUPLICATE", (long) 2404, 0, 0, 0},
12638 { SWIG_PY_INT, (char *)"STC_CMD_LOWERCASE", (long) 2340, 0, 0, 0},
12639 { SWIG_PY_INT, (char *)"STC_CMD_UPPERCASE", (long) 2341, 0, 0, 0},
12640 { SWIG_PY_INT, (char *)"STC_CMD_LINESCROLLDOWN", (long) 2342, 0, 0, 0},
12641 { SWIG_PY_INT, (char *)"STC_CMD_LINESCROLLUP", (long) 2343, 0, 0, 0},
12642 { SWIG_PY_INT, (char *)"STC_CMD_DELETEBACKNOTLINE", (long) 2344, 0, 0, 0},
12643 { SWIG_PY_INT, (char *)"STC_CMD_HOMEDISPLAY", (long) 2345, 0, 0, 0},
12644 { SWIG_PY_INT, (char *)"STC_CMD_HOMEDISPLAYEXTEND", (long) 2346, 0, 0, 0},
12645 { SWIG_PY_INT, (char *)"STC_CMD_LINEENDDISPLAY", (long) 2347, 0, 0, 0},
12646 { SWIG_PY_INT, (char *)"STC_CMD_LINEENDDISPLAYEXTEND", (long) 2348, 0, 0, 0},
12647 { SWIG_PY_INT, (char *)"STC_CMD_HOMEWRAP", (long) 2349, 0, 0, 0},
12648 { SWIG_PY_INT, (char *)"STC_CMD_HOMEWRAPEXTEND", (long) 2450, 0, 0, 0},
12649 { SWIG_PY_INT, (char *)"STC_CMD_LINEENDWRAP", (long) 2451, 0, 0, 0},
12650 { SWIG_PY_INT, (char *)"STC_CMD_LINEENDWRAPEXTEND", (long) 2452, 0, 0, 0},
12651 { SWIG_PY_INT, (char *)"STC_CMD_VCHOMEWRAP", (long) 2453, 0, 0, 0},
12652 { SWIG_PY_INT, (char *)"STC_CMD_VCHOMEWRAPEXTEND", (long) 2454, 0, 0, 0},
12653 { SWIG_PY_INT, (char *)"STC_CMD_WORDPARTLEFT", (long) 2390, 0, 0, 0},
12654 { SWIG_PY_INT, (char *)"STC_CMD_WORDPARTLEFTEXTEND", (long) 2391, 0, 0, 0},
12655 { SWIG_PY_INT, (char *)"STC_CMD_WORDPARTRIGHT", (long) 2392, 0, 0, 0},
12656 { SWIG_PY_INT, (char *)"STC_CMD_WORDPARTRIGHTEXTEND", (long) 2393, 0, 0, 0},
12657 { SWIG_PY_INT, (char *)"STC_CMD_DELLINELEFT", (long) 2395, 0, 0, 0},
12658 { SWIG_PY_INT, (char *)"STC_CMD_DELLINERIGHT", (long) 2396, 0, 0, 0},
12659 { SWIG_PY_INT, (char *)"STC_CMD_PARADOWN", (long) 2413, 0, 0, 0},
12660 { SWIG_PY_INT, (char *)"STC_CMD_PARADOWNEXTEND", (long) 2414, 0, 0, 0},
12661 { SWIG_PY_INT, (char *)"STC_CMD_PARAUP", (long) 2415, 0, 0, 0},
12662 { SWIG_PY_INT, (char *)"STC_CMD_PARAUPEXTEND", (long) 2416, 0, 0, 0},
12663 { SWIG_PY_INT, (char *)"wxEVT_STC_CHANGE", (long) wxEVT_STC_CHANGE, 0, 0, 0},
12664 { SWIG_PY_INT, (char *)"wxEVT_STC_STYLENEEDED", (long) wxEVT_STC_STYLENEEDED, 0, 0, 0},
12665 { SWIG_PY_INT, (char *)"wxEVT_STC_CHARADDED", (long) wxEVT_STC_CHARADDED, 0, 0, 0},
12666 { SWIG_PY_INT, (char *)"wxEVT_STC_SAVEPOINTREACHED", (long) wxEVT_STC_SAVEPOINTREACHED, 0, 0, 0},
12667 { SWIG_PY_INT, (char *)"wxEVT_STC_SAVEPOINTLEFT", (long) wxEVT_STC_SAVEPOINTLEFT, 0, 0, 0},
12668 { SWIG_PY_INT, (char *)"wxEVT_STC_ROMODIFYATTEMPT", (long) wxEVT_STC_ROMODIFYATTEMPT, 0, 0, 0},
12669 { SWIG_PY_INT, (char *)"wxEVT_STC_KEY", (long) wxEVT_STC_KEY, 0, 0, 0},
12670 { SWIG_PY_INT, (char *)"wxEVT_STC_DOUBLECLICK", (long) wxEVT_STC_DOUBLECLICK, 0, 0, 0},
12671 { SWIG_PY_INT, (char *)"wxEVT_STC_UPDATEUI", (long) wxEVT_STC_UPDATEUI, 0, 0, 0},
12672 { SWIG_PY_INT, (char *)"wxEVT_STC_MODIFIED", (long) wxEVT_STC_MODIFIED, 0, 0, 0},
12673 { SWIG_PY_INT, (char *)"wxEVT_STC_MACRORECORD", (long) wxEVT_STC_MACRORECORD, 0, 0, 0},
12674 { SWIG_PY_INT, (char *)"wxEVT_STC_MARGINCLICK", (long) wxEVT_STC_MARGINCLICK, 0, 0, 0},
12675 { SWIG_PY_INT, (char *)"wxEVT_STC_NEEDSHOWN", (long) wxEVT_STC_NEEDSHOWN, 0, 0, 0},
12676 { SWIG_PY_INT, (char *)"wxEVT_STC_POSCHANGED", (long) wxEVT_STC_POSCHANGED, 0, 0, 0},
12677 { SWIG_PY_INT, (char *)"wxEVT_STC_PAINTED", (long) wxEVT_STC_PAINTED, 0, 0, 0},
12678 { SWIG_PY_INT, (char *)"wxEVT_STC_USERLISTSELECTION", (long) wxEVT_STC_USERLISTSELECTION, 0, 0, 0},
12679 { SWIG_PY_INT, (char *)"wxEVT_STC_URIDROPPED", (long) wxEVT_STC_URIDROPPED, 0, 0, 0},
12680 { SWIG_PY_INT, (char *)"wxEVT_STC_DWELLSTART", (long) wxEVT_STC_DWELLSTART, 0, 0, 0},
12681 { SWIG_PY_INT, (char *)"wxEVT_STC_DWELLEND", (long) wxEVT_STC_DWELLEND, 0, 0, 0},
12682 { SWIG_PY_INT, (char *)"wxEVT_STC_START_DRAG", (long) wxEVT_STC_START_DRAG, 0, 0, 0},
12683 { SWIG_PY_INT, (char *)"wxEVT_STC_DRAG_OVER", (long) wxEVT_STC_DRAG_OVER, 0, 0, 0},
12684 { SWIG_PY_INT, (char *)"wxEVT_STC_DO_DROP", (long) wxEVT_STC_DO_DROP, 0, 0, 0},
12685 { SWIG_PY_INT, (char *)"wxEVT_STC_ZOOM", (long) wxEVT_STC_ZOOM, 0, 0, 0},
12686 { SWIG_PY_INT, (char *)"wxEVT_STC_HOTSPOT_CLICK", (long) wxEVT_STC_HOTSPOT_CLICK, 0, 0, 0},
12687 { SWIG_PY_INT, (char *)"wxEVT_STC_HOTSPOT_DCLICK", (long) wxEVT_STC_HOTSPOT_DCLICK, 0, 0, 0},
12688 { SWIG_PY_INT, (char *)"wxEVT_STC_CALLTIP_CLICK", (long) wxEVT_STC_CALLTIP_CLICK, 0, 0, 0},
12689 {0}};
12690
12691 #ifdef __cplusplus
12692 }
12693 #endif
12694
12695 #ifdef __cplusplus
12696 extern "C"
12697 #endif
12698 SWIGEXPORT(void) SWIG_init(void) {
12699 static PyObject *SWIG_globals = 0;
12700 static int typeinit = 0;
12701 PyObject *m, *d;
12702 int i;
12703 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
12704 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12705 d = PyModule_GetDict(m);
12706
12707 if (!typeinit) {
12708 for (i = 0; swig_types_initial[i]; i++) {
12709 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
12710 }
12711 typeinit = 1;
12712 }
12713 SWIG_InstallConstants(d,swig_const_table);
12714
12715
12716
12717 }
12718