]> 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
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121 #endif
122
123 /***********************************************************************
124 * pyrun.swg for wxPython
125 *
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
129 * anyway.
130 *
131 ************************************************************************/
132
133
134 #include "Python.h"
135
136 #ifdef __cplusplus
137 extern "C" {
138 #endif
139
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
145
146 /* Flags for pointer conversion */
147
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
150
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
153
154 /* Constant information structure */
155 typedef struct swig_const_info {
156 int type;
157 char *name;
158 long lvalue;
159 double dvalue;
160 void *pvalue;
161 swig_type_info **ptype;
162 } swig_const_info;
163
164
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
189
190
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
192 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
194
195 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
200 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
202
203
204 /* Contract support */
205
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
208
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
211
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
215
216 #ifdef __cplusplus
217 }
218 #endif
219
220
221
222 /* -------- TYPES TABLE (BEGIN) -------- */
223
224 #define SWIGTYPE_p_wxRect swig_types[0]
225 #define SWIGTYPE_p_wxColour swig_types[1]
226 #define SWIGTYPE_p_wxObject swig_types[2]
227 #define SWIGTYPE_p_wxScrollBar swig_types[3]
228 #define SWIGTYPE_p_wxStyledTextEvent swig_types[4]
229 #define SWIGTYPE_p_wxWindow swig_types[5]
230 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
231 #define SWIGTYPE_p_wxBitmap swig_types[7]
232 #define SWIGTYPE_p_void swig_types[8]
233 #define SWIGTYPE_p_wxPoint swig_types[9]
234 #define SWIGTYPE_p_wxDC swig_types[10]
235 #define SWIGTYPE_p_wxDragResult swig_types[11]
236 #define SWIGTYPE_p_wxString swig_types[12]
237 #define SWIGTYPE_p_wxEvtHandler swig_types[13]
238 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[14]
239 #define SWIGTYPE_p_wxFont swig_types[15]
240 #define SWIGTYPE_p_wxControl swig_types[16]
241 #define SWIGTYPE_p_wxEvent swig_types[17]
242 #define SWIGTYPE_p_int swig_types[18]
243 #define SWIGTYPE_p_wxMemoryBuffer swig_types[19]
244 static swig_type_info *swig_types[21];
245
246 /* -------- TYPES TABLE (END) -------- */
247
248
249 /*-----------------------------------------------
250 @(target):= _stc.so
251 ------------------------------------------------*/
252 #define SWIG_init init_stc
253
254 #define SWIG_name "_stc"
255
256 #include "wx/wxPython/wxPython.h"
257 #include "wx/wxPython/pyclasses.h"
258 #include <wx/stc/stc.h>
259
260 DECLARE_DEF_STRING(STCNameStr);
261
262
263 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
264 PyObject* o2;
265 PyObject* o3;
266
267 if (!target) {
268 target = o;
269 } else if (target == Py_None) {
270 Py_DECREF(Py_None);
271 target = o;
272 } else {
273 if (!PyTuple_Check(target)) {
274 o2 = target;
275 target = PyTuple_New(1);
276 PyTuple_SetItem(target, 0, o2);
277 }
278 o3 = PyTuple_New(1);
279 PyTuple_SetItem(o3, 0, o);
280
281 o2 = target;
282 target = PySequence_Concat(o2, o3);
283 Py_DECREF(o2);
284 Py_DECREF(o3);
285 }
286 return target;
287 }
288
289 #ifdef __cplusplus
290 extern "C" {
291 #endif
292 static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
293 PyObject *resultobj;
294 wxWindow *arg1 = (wxWindow *) 0 ;
295 int arg2 ;
296 wxPoint const &arg3_defvalue = wxDefaultPosition ;
297 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
298 wxSize const &arg4_defvalue = wxDefaultSize ;
299 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
300 long arg5 = (long) 0 ;
301 wxString const &arg6_defvalue = wxPySTCNameStr ;
302 wxString *arg6 = (wxString *) &arg6_defvalue ;
303 wxStyledTextCtrl *result;
304 wxPoint temp3 ;
305 wxSize temp4 ;
306 bool temp6 = False ;
307 PyObject * obj0 = 0 ;
308 PyObject * obj2 = 0 ;
309 PyObject * obj3 = 0 ;
310 PyObject * obj5 = 0 ;
311 char *kwnames[] = {
312 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
313 };
314
315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StyledTextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
317 if (obj2) {
318 {
319 arg3 = &temp3;
320 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
321 }
322 }
323 if (obj3) {
324 {
325 arg4 = &temp4;
326 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
327 }
328 }
329 if (obj5) {
330 {
331 arg6 = wxString_in_helper(obj5);
332 if (arg6 == NULL) SWIG_fail;
333 temp6 = True;
334 }
335 }
336 {
337 PyThreadState* __tstate = wxPyBeginAllowThreads();
338 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
339
340 wxPyEndAllowThreads(__tstate);
341 if (PyErr_Occurred()) SWIG_fail;
342 }
343 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
344 {
345 if (temp6)
346 delete arg6;
347 }
348 return resultobj;
349 fail:
350 {
351 if (temp6)
352 delete arg6;
353 }
354 return NULL;
355 }
356
357
358 static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
359 PyObject *resultobj;
360 wxStyledTextCtrl *result;
361 char *kwnames[] = {
362 NULL
363 };
364
365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
366 {
367 PyThreadState* __tstate = wxPyBeginAllowThreads();
368 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
369
370 wxPyEndAllowThreads(__tstate);
371 if (PyErr_Occurred()) SWIG_fail;
372 }
373 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
374 return resultobj;
375 fail:
376 return NULL;
377 }
378
379
380 static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
381 PyObject *resultobj;
382 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
383 wxWindow *arg2 = (wxWindow *) 0 ;
384 int arg3 ;
385 wxPoint const &arg4_defvalue = wxDefaultPosition ;
386 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
387 wxSize const &arg5_defvalue = wxDefaultSize ;
388 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
389 long arg6 = (long) 0 ;
390 wxString const &arg7_defvalue = wxSTCNameStr ;
391 wxString *arg7 = (wxString *) &arg7_defvalue ;
392 wxPoint temp4 ;
393 wxSize temp5 ;
394 bool temp7 = False ;
395 PyObject * obj0 = 0 ;
396 PyObject * obj1 = 0 ;
397 PyObject * obj3 = 0 ;
398 PyObject * obj4 = 0 ;
399 PyObject * obj6 = 0 ;
400 char *kwnames[] = {
401 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
402 };
403
404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
407 if (obj3) {
408 {
409 arg4 = &temp4;
410 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
411 }
412 }
413 if (obj4) {
414 {
415 arg5 = &temp5;
416 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
417 }
418 }
419 if (obj6) {
420 {
421 arg7 = wxString_in_helper(obj6);
422 if (arg7 == NULL) SWIG_fail;
423 temp7 = True;
424 }
425 }
426 {
427 PyThreadState* __tstate = wxPyBeginAllowThreads();
428 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
429
430 wxPyEndAllowThreads(__tstate);
431 if (PyErr_Occurred()) SWIG_fail;
432 }
433 Py_INCREF(Py_None); resultobj = Py_None;
434 {
435 if (temp7)
436 delete arg7;
437 }
438 return resultobj;
439 fail:
440 {
441 if (temp7)
442 delete arg7;
443 }
444 return NULL;
445 }
446
447
448 static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
449 PyObject *resultobj;
450 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
451 wxString *arg2 = 0 ;
452 bool temp2 = False ;
453 PyObject * obj0 = 0 ;
454 PyObject * obj1 = 0 ;
455 char *kwnames[] = {
456 (char *) "self",(char *) "text", NULL
457 };
458
459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
461 {
462 arg2 = wxString_in_helper(obj1);
463 if (arg2 == NULL) SWIG_fail;
464 temp2 = True;
465 }
466 {
467 PyThreadState* __tstate = wxPyBeginAllowThreads();
468 (arg1)->AddText((wxString const &)*arg2);
469
470 wxPyEndAllowThreads(__tstate);
471 if (PyErr_Occurred()) SWIG_fail;
472 }
473 Py_INCREF(Py_None); resultobj = Py_None;
474 {
475 if (temp2)
476 delete arg2;
477 }
478 return resultobj;
479 fail:
480 {
481 if (temp2)
482 delete arg2;
483 }
484 return NULL;
485 }
486
487
488 static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
489 PyObject *resultobj;
490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
491 wxMemoryBuffer *arg2 = 0 ;
492 PyObject * obj0 = 0 ;
493 PyObject * obj1 = 0 ;
494 char *kwnames[] = {
495 (char *) "self",(char *) "data", NULL
496 };
497
498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMemoryBuffer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
501 if (arg2 == NULL) {
502 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
503 }
504 {
505 PyThreadState* __tstate = wxPyBeginAllowThreads();
506 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
507
508 wxPyEndAllowThreads(__tstate);
509 if (PyErr_Occurred()) SWIG_fail;
510 }
511 Py_INCREF(Py_None); resultobj = Py_None;
512 return resultobj;
513 fail:
514 return NULL;
515 }
516
517
518 static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
519 PyObject *resultobj;
520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
521 int arg2 ;
522 wxString *arg3 = 0 ;
523 bool temp3 = False ;
524 PyObject * obj0 = 0 ;
525 PyObject * obj2 = 0 ;
526 char *kwnames[] = {
527 (char *) "self",(char *) "pos",(char *) "text", NULL
528 };
529
530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_InsertText",kwnames,&obj0,&arg2,&obj2)) goto fail;
531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
532 {
533 arg3 = wxString_in_helper(obj2);
534 if (arg3 == NULL) SWIG_fail;
535 temp3 = True;
536 }
537 {
538 PyThreadState* __tstate = wxPyBeginAllowThreads();
539 (arg1)->InsertText(arg2,(wxString const &)*arg3);
540
541 wxPyEndAllowThreads(__tstate);
542 if (PyErr_Occurred()) SWIG_fail;
543 }
544 Py_INCREF(Py_None); resultobj = Py_None;
545 {
546 if (temp3)
547 delete arg3;
548 }
549 return resultobj;
550 fail:
551 {
552 if (temp3)
553 delete arg3;
554 }
555 return NULL;
556 }
557
558
559 static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
560 PyObject *resultobj;
561 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
562 PyObject * obj0 = 0 ;
563 char *kwnames[] = {
564 (char *) "self", NULL
565 };
566
567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
569 {
570 PyThreadState* __tstate = wxPyBeginAllowThreads();
571 (arg1)->ClearAll();
572
573 wxPyEndAllowThreads(__tstate);
574 if (PyErr_Occurred()) SWIG_fail;
575 }
576 Py_INCREF(Py_None); resultobj = Py_None;
577 return resultobj;
578 fail:
579 return NULL;
580 }
581
582
583 static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
584 PyObject *resultobj;
585 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
586 PyObject * obj0 = 0 ;
587 char *kwnames[] = {
588 (char *) "self", NULL
589 };
590
591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
593 {
594 PyThreadState* __tstate = wxPyBeginAllowThreads();
595 (arg1)->ClearDocumentStyle();
596
597 wxPyEndAllowThreads(__tstate);
598 if (PyErr_Occurred()) SWIG_fail;
599 }
600 Py_INCREF(Py_None); resultobj = Py_None;
601 return resultobj;
602 fail:
603 return NULL;
604 }
605
606
607 static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
608 PyObject *resultobj;
609 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
610 int result;
611 PyObject * obj0 = 0 ;
612 char *kwnames[] = {
613 (char *) "self", NULL
614 };
615
616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
618 {
619 PyThreadState* __tstate = wxPyBeginAllowThreads();
620 result = (int)(arg1)->GetLength();
621
622 wxPyEndAllowThreads(__tstate);
623 if (PyErr_Occurred()) SWIG_fail;
624 }
625 resultobj = PyInt_FromLong((long)result);
626 return resultobj;
627 fail:
628 return NULL;
629 }
630
631
632 static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
633 PyObject *resultobj;
634 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
635 int arg2 ;
636 int result;
637 PyObject * obj0 = 0 ;
638 char *kwnames[] = {
639 (char *) "self",(char *) "pos", NULL
640 };
641
642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetCharAt",kwnames,&obj0,&arg2)) goto fail;
643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
644 {
645 PyThreadState* __tstate = wxPyBeginAllowThreads();
646 result = (int)(arg1)->GetCharAt(arg2);
647
648 wxPyEndAllowThreads(__tstate);
649 if (PyErr_Occurred()) SWIG_fail;
650 }
651 resultobj = PyInt_FromLong((long)result);
652 return resultobj;
653 fail:
654 return NULL;
655 }
656
657
658 static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
659 PyObject *resultobj;
660 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
661 int result;
662 PyObject * obj0 = 0 ;
663 char *kwnames[] = {
664 (char *) "self", NULL
665 };
666
667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
669 {
670 PyThreadState* __tstate = wxPyBeginAllowThreads();
671 result = (int)(arg1)->GetCurrentPos();
672
673 wxPyEndAllowThreads(__tstate);
674 if (PyErr_Occurred()) SWIG_fail;
675 }
676 resultobj = PyInt_FromLong((long)result);
677 return resultobj;
678 fail:
679 return NULL;
680 }
681
682
683 static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
684 PyObject *resultobj;
685 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
686 int result;
687 PyObject * obj0 = 0 ;
688 char *kwnames[] = {
689 (char *) "self", NULL
690 };
691
692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
694 {
695 PyThreadState* __tstate = wxPyBeginAllowThreads();
696 result = (int)(arg1)->GetAnchor();
697
698 wxPyEndAllowThreads(__tstate);
699 if (PyErr_Occurred()) SWIG_fail;
700 }
701 resultobj = PyInt_FromLong((long)result);
702 return resultobj;
703 fail:
704 return NULL;
705 }
706
707
708 static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
709 PyObject *resultobj;
710 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
711 int arg2 ;
712 int result;
713 PyObject * obj0 = 0 ;
714 char *kwnames[] = {
715 (char *) "self",(char *) "pos", NULL
716 };
717
718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&arg2)) goto fail;
719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
720 {
721 PyThreadState* __tstate = wxPyBeginAllowThreads();
722 result = (int)(arg1)->GetStyleAt(arg2);
723
724 wxPyEndAllowThreads(__tstate);
725 if (PyErr_Occurred()) SWIG_fail;
726 }
727 resultobj = PyInt_FromLong((long)result);
728 return resultobj;
729 fail:
730 return NULL;
731 }
732
733
734 static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
735 PyObject *resultobj;
736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
737 PyObject * obj0 = 0 ;
738 char *kwnames[] = {
739 (char *) "self", NULL
740 };
741
742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
744 {
745 PyThreadState* __tstate = wxPyBeginAllowThreads();
746 (arg1)->Redo();
747
748 wxPyEndAllowThreads(__tstate);
749 if (PyErr_Occurred()) SWIG_fail;
750 }
751 Py_INCREF(Py_None); resultobj = Py_None;
752 return resultobj;
753 fail:
754 return NULL;
755 }
756
757
758 static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
759 PyObject *resultobj;
760 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
761 bool arg2 ;
762 PyObject * obj0 = 0 ;
763 PyObject * obj1 = 0 ;
764 char *kwnames[] = {
765 (char *) "self",(char *) "collectUndo", NULL
766 };
767
768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
770 arg2 = PyInt_AsLong(obj1) ? true : false;
771 if (PyErr_Occurred()) SWIG_fail;
772 {
773 PyThreadState* __tstate = wxPyBeginAllowThreads();
774 (arg1)->SetUndoCollection(arg2);
775
776 wxPyEndAllowThreads(__tstate);
777 if (PyErr_Occurred()) SWIG_fail;
778 }
779 Py_INCREF(Py_None); resultobj = Py_None;
780 return resultobj;
781 fail:
782 return NULL;
783 }
784
785
786 static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
787 PyObject *resultobj;
788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
789 PyObject * obj0 = 0 ;
790 char *kwnames[] = {
791 (char *) "self", NULL
792 };
793
794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
796 {
797 PyThreadState* __tstate = wxPyBeginAllowThreads();
798 (arg1)->SelectAll();
799
800 wxPyEndAllowThreads(__tstate);
801 if (PyErr_Occurred()) SWIG_fail;
802 }
803 Py_INCREF(Py_None); resultobj = Py_None;
804 return resultobj;
805 fail:
806 return NULL;
807 }
808
809
810 static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
811 PyObject *resultobj;
812 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
813 PyObject * obj0 = 0 ;
814 char *kwnames[] = {
815 (char *) "self", NULL
816 };
817
818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
820 {
821 PyThreadState* __tstate = wxPyBeginAllowThreads();
822 (arg1)->SetSavePoint();
823
824 wxPyEndAllowThreads(__tstate);
825 if (PyErr_Occurred()) SWIG_fail;
826 }
827 Py_INCREF(Py_None); resultobj = Py_None;
828 return resultobj;
829 fail:
830 return NULL;
831 }
832
833
834 static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
835 PyObject *resultobj;
836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
837 int arg2 ;
838 int arg3 ;
839 wxMemoryBuffer result;
840 PyObject * obj0 = 0 ;
841 char *kwnames[] = {
842 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
843 };
844
845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetStyledText",kwnames,&obj0,&arg2,&arg3)) goto fail;
846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
847 {
848 PyThreadState* __tstate = wxPyBeginAllowThreads();
849 result = (arg1)->GetStyledText(arg2,arg3);
850
851 wxPyEndAllowThreads(__tstate);
852 if (PyErr_Occurred()) SWIG_fail;
853 }
854 {
855 wxMemoryBuffer * resultptr;
856 resultptr = new wxMemoryBuffer((wxMemoryBuffer &) result);
857 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMemoryBuffer, 1);
858 }
859 return resultobj;
860 fail:
861 return NULL;
862 }
863
864
865 static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
866 PyObject *resultobj;
867 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
868 bool result;
869 PyObject * obj0 = 0 ;
870 char *kwnames[] = {
871 (char *) "self", NULL
872 };
873
874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
876 {
877 PyThreadState* __tstate = wxPyBeginAllowThreads();
878 result = (bool)(arg1)->CanRedo();
879
880 wxPyEndAllowThreads(__tstate);
881 if (PyErr_Occurred()) SWIG_fail;
882 }
883 resultobj = PyInt_FromLong((long)result);
884 return resultobj;
885 fail:
886 return NULL;
887 }
888
889
890 static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
891 PyObject *resultobj;
892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
893 int arg2 ;
894 int result;
895 PyObject * obj0 = 0 ;
896 char *kwnames[] = {
897 (char *) "self",(char *) "handle", NULL
898 };
899
900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&arg2)) goto fail;
901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
902 {
903 PyThreadState* __tstate = wxPyBeginAllowThreads();
904 result = (int)(arg1)->MarkerLineFromHandle(arg2);
905
906 wxPyEndAllowThreads(__tstate);
907 if (PyErr_Occurred()) SWIG_fail;
908 }
909 resultobj = PyInt_FromLong((long)result);
910 return resultobj;
911 fail:
912 return NULL;
913 }
914
915
916 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
917 PyObject *resultobj;
918 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
919 int arg2 ;
920 PyObject * obj0 = 0 ;
921 char *kwnames[] = {
922 (char *) "self",(char *) "handle", NULL
923 };
924
925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&arg2)) goto fail;
926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
927 {
928 PyThreadState* __tstate = wxPyBeginAllowThreads();
929 (arg1)->MarkerDeleteHandle(arg2);
930
931 wxPyEndAllowThreads(__tstate);
932 if (PyErr_Occurred()) SWIG_fail;
933 }
934 Py_INCREF(Py_None); resultobj = Py_None;
935 return resultobj;
936 fail:
937 return NULL;
938 }
939
940
941 static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
942 PyObject *resultobj;
943 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
944 bool result;
945 PyObject * obj0 = 0 ;
946 char *kwnames[] = {
947 (char *) "self", NULL
948 };
949
950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
952 {
953 PyThreadState* __tstate = wxPyBeginAllowThreads();
954 result = (bool)(arg1)->GetUndoCollection();
955
956 wxPyEndAllowThreads(__tstate);
957 if (PyErr_Occurred()) SWIG_fail;
958 }
959 resultobj = PyInt_FromLong((long)result);
960 return resultobj;
961 fail:
962 return NULL;
963 }
964
965
966 static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
967 PyObject *resultobj;
968 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
969 int result;
970 PyObject * obj0 = 0 ;
971 char *kwnames[] = {
972 (char *) "self", NULL
973 };
974
975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
977 {
978 PyThreadState* __tstate = wxPyBeginAllowThreads();
979 result = (int)(arg1)->GetViewWhiteSpace();
980
981 wxPyEndAllowThreads(__tstate);
982 if (PyErr_Occurred()) SWIG_fail;
983 }
984 resultobj = PyInt_FromLong((long)result);
985 return resultobj;
986 fail:
987 return NULL;
988 }
989
990
991 static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
992 PyObject *resultobj;
993 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
994 int arg2 ;
995 PyObject * obj0 = 0 ;
996 char *kwnames[] = {
997 (char *) "self",(char *) "viewWS", NULL
998 };
999
1000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&arg2)) goto fail;
1001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1002 {
1003 PyThreadState* __tstate = wxPyBeginAllowThreads();
1004 (arg1)->SetViewWhiteSpace(arg2);
1005
1006 wxPyEndAllowThreads(__tstate);
1007 if (PyErr_Occurred()) SWIG_fail;
1008 }
1009 Py_INCREF(Py_None); resultobj = Py_None;
1010 return resultobj;
1011 fail:
1012 return NULL;
1013 }
1014
1015
1016 static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1017 PyObject *resultobj;
1018 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1019 wxPoint arg2 ;
1020 int result;
1021 wxPoint *argp2 ;
1022 PyObject * obj0 = 0 ;
1023 PyObject * obj1 = 0 ;
1024 char *kwnames[] = {
1025 (char *) "self",(char *) "pt", NULL
1026 };
1027
1028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
1029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1030 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1031 arg2 = *argp2;
1032 {
1033 PyThreadState* __tstate = wxPyBeginAllowThreads();
1034 result = (int)(arg1)->PositionFromPoint(arg2);
1035
1036 wxPyEndAllowThreads(__tstate);
1037 if (PyErr_Occurred()) SWIG_fail;
1038 }
1039 resultobj = PyInt_FromLong((long)result);
1040 return resultobj;
1041 fail:
1042 return NULL;
1043 }
1044
1045
1046 static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
1047 PyObject *resultobj;
1048 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1049 int arg2 ;
1050 int arg3 ;
1051 int result;
1052 PyObject * obj0 = 0 ;
1053 char *kwnames[] = {
1054 (char *) "self",(char *) "x",(char *) "y", NULL
1055 };
1056
1057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&arg2,&arg3)) goto fail;
1058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1059 {
1060 PyThreadState* __tstate = wxPyBeginAllowThreads();
1061 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
1062
1063 wxPyEndAllowThreads(__tstate);
1064 if (PyErr_Occurred()) SWIG_fail;
1065 }
1066 resultobj = PyInt_FromLong((long)result);
1067 return resultobj;
1068 fail:
1069 return NULL;
1070 }
1071
1072
1073 static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1074 PyObject *resultobj;
1075 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1076 int arg2 ;
1077 PyObject * obj0 = 0 ;
1078 char *kwnames[] = {
1079 (char *) "self",(char *) "line", NULL
1080 };
1081
1082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GotoLine",kwnames,&obj0,&arg2)) goto fail;
1083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1084 {
1085 PyThreadState* __tstate = wxPyBeginAllowThreads();
1086 (arg1)->GotoLine(arg2);
1087
1088 wxPyEndAllowThreads(__tstate);
1089 if (PyErr_Occurred()) SWIG_fail;
1090 }
1091 Py_INCREF(Py_None); resultobj = Py_None;
1092 return resultobj;
1093 fail:
1094 return NULL;
1095 }
1096
1097
1098 static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1099 PyObject *resultobj;
1100 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1101 int arg2 ;
1102 PyObject * obj0 = 0 ;
1103 char *kwnames[] = {
1104 (char *) "self",(char *) "pos", NULL
1105 };
1106
1107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GotoPos",kwnames,&obj0,&arg2)) goto fail;
1108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1109 {
1110 PyThreadState* __tstate = wxPyBeginAllowThreads();
1111 (arg1)->GotoPos(arg2);
1112
1113 wxPyEndAllowThreads(__tstate);
1114 if (PyErr_Occurred()) SWIG_fail;
1115 }
1116 Py_INCREF(Py_None); resultobj = Py_None;
1117 return resultobj;
1118 fail:
1119 return NULL;
1120 }
1121
1122
1123 static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
1124 PyObject *resultobj;
1125 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1126 int arg2 ;
1127 PyObject * obj0 = 0 ;
1128 char *kwnames[] = {
1129 (char *) "self",(char *) "posAnchor", NULL
1130 };
1131
1132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetAnchor",kwnames,&obj0,&arg2)) goto fail;
1133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 (arg1)->SetAnchor(arg2);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) SWIG_fail;
1140 }
1141 Py_INCREF(Py_None); resultobj = Py_None;
1142 return resultobj;
1143 fail:
1144 return NULL;
1145 }
1146
1147
1148 static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1149 PyObject *resultobj;
1150 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1151 int *arg2 = (int *) 0 ;
1152 wxString result;
1153 int temp2 ;
1154 PyObject * obj0 = 0 ;
1155 char *kwnames[] = {
1156 (char *) "self", NULL
1157 };
1158
1159 arg2 = &temp2;
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
1161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1162 {
1163 PyThreadState* __tstate = wxPyBeginAllowThreads();
1164 result = (arg1)->GetCurLine(arg2);
1165
1166 wxPyEndAllowThreads(__tstate);
1167 if (PyErr_Occurred()) SWIG_fail;
1168 }
1169 {
1170 #if wxUSE_UNICODE
1171 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1172 #else
1173 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1174 #endif
1175 }
1176 {
1177 PyObject *o = PyInt_FromLong((long) (*arg2));
1178 resultobj = t_output_helper(resultobj,o);
1179 }
1180 return resultobj;
1181 fail:
1182 return NULL;
1183 }
1184
1185
1186 static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
1187 PyObject *resultobj;
1188 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1189 int result;
1190 PyObject * obj0 = 0 ;
1191 char *kwnames[] = {
1192 (char *) "self", NULL
1193 };
1194
1195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
1196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1197 {
1198 PyThreadState* __tstate = wxPyBeginAllowThreads();
1199 result = (int)(arg1)->GetEndStyled();
1200
1201 wxPyEndAllowThreads(__tstate);
1202 if (PyErr_Occurred()) SWIG_fail;
1203 }
1204 resultobj = PyInt_FromLong((long)result);
1205 return resultobj;
1206 fail:
1207 return NULL;
1208 }
1209
1210
1211 static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
1212 PyObject *resultobj;
1213 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1214 int arg2 ;
1215 PyObject * obj0 = 0 ;
1216 char *kwnames[] = {
1217 (char *) "self",(char *) "eolMode", NULL
1218 };
1219
1220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&arg2)) goto fail;
1221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1222 {
1223 PyThreadState* __tstate = wxPyBeginAllowThreads();
1224 (arg1)->ConvertEOLs(arg2);
1225
1226 wxPyEndAllowThreads(__tstate);
1227 if (PyErr_Occurred()) SWIG_fail;
1228 }
1229 Py_INCREF(Py_None); resultobj = Py_None;
1230 return resultobj;
1231 fail:
1232 return NULL;
1233 }
1234
1235
1236 static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1237 PyObject *resultobj;
1238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1239 int result;
1240 PyObject * obj0 = 0 ;
1241 char *kwnames[] = {
1242 (char *) "self", NULL
1243 };
1244
1245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
1246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1247 {
1248 PyThreadState* __tstate = wxPyBeginAllowThreads();
1249 result = (int)(arg1)->GetEOLMode();
1250
1251 wxPyEndAllowThreads(__tstate);
1252 if (PyErr_Occurred()) SWIG_fail;
1253 }
1254 resultobj = PyInt_FromLong((long)result);
1255 return resultobj;
1256 fail:
1257 return NULL;
1258 }
1259
1260
1261 static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1262 PyObject *resultobj;
1263 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1264 int arg2 ;
1265 PyObject * obj0 = 0 ;
1266 char *kwnames[] = {
1267 (char *) "self",(char *) "eolMode", NULL
1268 };
1269
1270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&arg2)) goto fail;
1271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1272 {
1273 PyThreadState* __tstate = wxPyBeginAllowThreads();
1274 (arg1)->SetEOLMode(arg2);
1275
1276 wxPyEndAllowThreads(__tstate);
1277 if (PyErr_Occurred()) SWIG_fail;
1278 }
1279 Py_INCREF(Py_None); resultobj = Py_None;
1280 return resultobj;
1281 fail:
1282 return NULL;
1283 }
1284
1285
1286 static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1287 PyObject *resultobj;
1288 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1289 int arg2 ;
1290 int arg3 ;
1291 PyObject * obj0 = 0 ;
1292 char *kwnames[] = {
1293 (char *) "self",(char *) "pos",(char *) "mask", NULL
1294 };
1295
1296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StartStyling",kwnames,&obj0,&arg2,&arg3)) goto fail;
1297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1298 {
1299 PyThreadState* __tstate = wxPyBeginAllowThreads();
1300 (arg1)->StartStyling(arg2,arg3);
1301
1302 wxPyEndAllowThreads(__tstate);
1303 if (PyErr_Occurred()) SWIG_fail;
1304 }
1305 Py_INCREF(Py_None); resultobj = Py_None;
1306 return resultobj;
1307 fail:
1308 return NULL;
1309 }
1310
1311
1312 static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1313 PyObject *resultobj;
1314 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1315 int arg2 ;
1316 int arg3 ;
1317 PyObject * obj0 = 0 ;
1318 char *kwnames[] = {
1319 (char *) "self",(char *) "length",(char *) "style", NULL
1320 };
1321
1322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetStyling",kwnames,&obj0,&arg2,&arg3)) goto fail;
1323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1324 {
1325 PyThreadState* __tstate = wxPyBeginAllowThreads();
1326 (arg1)->SetStyling(arg2,arg3);
1327
1328 wxPyEndAllowThreads(__tstate);
1329 if (PyErr_Occurred()) SWIG_fail;
1330 }
1331 Py_INCREF(Py_None); resultobj = Py_None;
1332 return resultobj;
1333 fail:
1334 return NULL;
1335 }
1336
1337
1338 static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1339 PyObject *resultobj;
1340 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1341 bool result;
1342 PyObject * obj0 = 0 ;
1343 char *kwnames[] = {
1344 (char *) "self", NULL
1345 };
1346
1347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
1348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1349 {
1350 PyThreadState* __tstate = wxPyBeginAllowThreads();
1351 result = (bool)(arg1)->GetBufferedDraw();
1352
1353 wxPyEndAllowThreads(__tstate);
1354 if (PyErr_Occurred()) SWIG_fail;
1355 }
1356 resultobj = PyInt_FromLong((long)result);
1357 return resultobj;
1358 fail:
1359 return NULL;
1360 }
1361
1362
1363 static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1364 PyObject *resultobj;
1365 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1366 bool arg2 ;
1367 PyObject * obj0 = 0 ;
1368 PyObject * obj1 = 0 ;
1369 char *kwnames[] = {
1370 (char *) "self",(char *) "buffered", NULL
1371 };
1372
1373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
1374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1375 arg2 = PyInt_AsLong(obj1) ? true : false;
1376 if (PyErr_Occurred()) SWIG_fail;
1377 {
1378 PyThreadState* __tstate = wxPyBeginAllowThreads();
1379 (arg1)->SetBufferedDraw(arg2);
1380
1381 wxPyEndAllowThreads(__tstate);
1382 if (PyErr_Occurred()) SWIG_fail;
1383 }
1384 Py_INCREF(Py_None); resultobj = Py_None;
1385 return resultobj;
1386 fail:
1387 return NULL;
1388 }
1389
1390
1391 static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1392 PyObject *resultobj;
1393 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1394 int arg2 ;
1395 PyObject * obj0 = 0 ;
1396 char *kwnames[] = {
1397 (char *) "self",(char *) "tabWidth", NULL
1398 };
1399
1400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&arg2)) goto fail;
1401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1402 {
1403 PyThreadState* __tstate = wxPyBeginAllowThreads();
1404 (arg1)->SetTabWidth(arg2);
1405
1406 wxPyEndAllowThreads(__tstate);
1407 if (PyErr_Occurred()) SWIG_fail;
1408 }
1409 Py_INCREF(Py_None); resultobj = Py_None;
1410 return resultobj;
1411 fail:
1412 return NULL;
1413 }
1414
1415
1416 static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1417 PyObject *resultobj;
1418 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1419 int result;
1420 PyObject * obj0 = 0 ;
1421 char *kwnames[] = {
1422 (char *) "self", NULL
1423 };
1424
1425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
1426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1427 {
1428 PyThreadState* __tstate = wxPyBeginAllowThreads();
1429 result = (int)(arg1)->GetTabWidth();
1430
1431 wxPyEndAllowThreads(__tstate);
1432 if (PyErr_Occurred()) SWIG_fail;
1433 }
1434 resultobj = PyInt_FromLong((long)result);
1435 return resultobj;
1436 fail:
1437 return NULL;
1438 }
1439
1440
1441 static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1442 PyObject *resultobj;
1443 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1444 int arg2 ;
1445 PyObject * obj0 = 0 ;
1446 char *kwnames[] = {
1447 (char *) "self",(char *) "codePage", NULL
1448 };
1449
1450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCodePage",kwnames,&obj0,&arg2)) goto fail;
1451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1452 {
1453 PyThreadState* __tstate = wxPyBeginAllowThreads();
1454 (arg1)->SetCodePage(arg2);
1455
1456 wxPyEndAllowThreads(__tstate);
1457 if (PyErr_Occurred()) SWIG_fail;
1458 }
1459 Py_INCREF(Py_None); resultobj = Py_None;
1460 return resultobj;
1461 fail:
1462 return NULL;
1463 }
1464
1465
1466 static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
1467 PyObject *resultobj;
1468 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1469 int arg2 ;
1470 int arg3 ;
1471 wxColour const &arg4_defvalue = wxNullColour ;
1472 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
1473 wxColour const &arg5_defvalue = wxNullColour ;
1474 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
1475 wxColour temp4 ;
1476 wxColour temp5 ;
1477 PyObject * obj0 = 0 ;
1478 PyObject * obj3 = 0 ;
1479 PyObject * obj4 = 0 ;
1480 char *kwnames[] = {
1481 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1482 };
1483
1484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
1485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1486 if (obj3) {
1487 {
1488 arg4 = &temp4;
1489 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
1490 }
1491 }
1492 if (obj4) {
1493 {
1494 arg5 = &temp5;
1495 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
1496 }
1497 }
1498 {
1499 PyThreadState* __tstate = wxPyBeginAllowThreads();
1500 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
1501
1502 wxPyEndAllowThreads(__tstate);
1503 if (PyErr_Occurred()) SWIG_fail;
1504 }
1505 Py_INCREF(Py_None); resultobj = Py_None;
1506 return resultobj;
1507 fail:
1508 return NULL;
1509 }
1510
1511
1512 static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1513 PyObject *resultobj;
1514 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1515 int arg2 ;
1516 wxColour *arg3 = 0 ;
1517 wxColour temp3 ;
1518 PyObject * obj0 = 0 ;
1519 PyObject * obj2 = 0 ;
1520 char *kwnames[] = {
1521 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1522 };
1523
1524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail;
1525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1526 {
1527 arg3 = &temp3;
1528 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1529 }
1530 {
1531 PyThreadState* __tstate = wxPyBeginAllowThreads();
1532 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
1533
1534 wxPyEndAllowThreads(__tstate);
1535 if (PyErr_Occurred()) SWIG_fail;
1536 }
1537 Py_INCREF(Py_None); resultobj = Py_None;
1538 return resultobj;
1539 fail:
1540 return NULL;
1541 }
1542
1543
1544 static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1545 PyObject *resultobj;
1546 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1547 int arg2 ;
1548 wxColour *arg3 = 0 ;
1549 wxColour temp3 ;
1550 PyObject * obj0 = 0 ;
1551 PyObject * obj2 = 0 ;
1552 char *kwnames[] = {
1553 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1554 };
1555
1556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&arg2,&obj2)) goto fail;
1557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1558 {
1559 arg3 = &temp3;
1560 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1561 }
1562 {
1563 PyThreadState* __tstate = wxPyBeginAllowThreads();
1564 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
1565
1566 wxPyEndAllowThreads(__tstate);
1567 if (PyErr_Occurred()) SWIG_fail;
1568 }
1569 Py_INCREF(Py_None); resultobj = Py_None;
1570 return resultobj;
1571 fail:
1572 return NULL;
1573 }
1574
1575
1576 static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
1577 PyObject *resultobj;
1578 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1579 int arg2 ;
1580 int arg3 ;
1581 int result;
1582 PyObject * obj0 = 0 ;
1583 char *kwnames[] = {
1584 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1585 };
1586
1587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&arg2,&arg3)) goto fail;
1588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1589 {
1590 PyThreadState* __tstate = wxPyBeginAllowThreads();
1591 result = (int)(arg1)->MarkerAdd(arg2,arg3);
1592
1593 wxPyEndAllowThreads(__tstate);
1594 if (PyErr_Occurred()) SWIG_fail;
1595 }
1596 resultobj = PyInt_FromLong((long)result);
1597 return resultobj;
1598 fail:
1599 return NULL;
1600 }
1601
1602
1603 static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1604 PyObject *resultobj;
1605 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1606 int arg2 ;
1607 int arg3 ;
1608 PyObject * obj0 = 0 ;
1609 char *kwnames[] = {
1610 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1611 };
1612
1613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&arg2,&arg3)) goto fail;
1614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1615 {
1616 PyThreadState* __tstate = wxPyBeginAllowThreads();
1617 (arg1)->MarkerDelete(arg2,arg3);
1618
1619 wxPyEndAllowThreads(__tstate);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 }
1622 Py_INCREF(Py_None); resultobj = Py_None;
1623 return resultobj;
1624 fail:
1625 return NULL;
1626 }
1627
1628
1629 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1630 PyObject *resultobj;
1631 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1632 int arg2 ;
1633 PyObject * obj0 = 0 ;
1634 char *kwnames[] = {
1635 (char *) "self",(char *) "markerNumber", NULL
1636 };
1637
1638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&arg2)) goto fail;
1639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1640 {
1641 PyThreadState* __tstate = wxPyBeginAllowThreads();
1642 (arg1)->MarkerDeleteAll(arg2);
1643
1644 wxPyEndAllowThreads(__tstate);
1645 if (PyErr_Occurred()) SWIG_fail;
1646 }
1647 Py_INCREF(Py_None); resultobj = Py_None;
1648 return resultobj;
1649 fail:
1650 return NULL;
1651 }
1652
1653
1654 static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
1655 PyObject *resultobj;
1656 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1657 int arg2 ;
1658 int result;
1659 PyObject * obj0 = 0 ;
1660 char *kwnames[] = {
1661 (char *) "self",(char *) "line", NULL
1662 };
1663
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerGet",kwnames,&obj0,&arg2)) goto fail;
1665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1666 {
1667 PyThreadState* __tstate = wxPyBeginAllowThreads();
1668 result = (int)(arg1)->MarkerGet(arg2);
1669
1670 wxPyEndAllowThreads(__tstate);
1671 if (PyErr_Occurred()) SWIG_fail;
1672 }
1673 resultobj = PyInt_FromLong((long)result);
1674 return resultobj;
1675 fail:
1676 return NULL;
1677 }
1678
1679
1680 static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
1681 PyObject *resultobj;
1682 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1683 int arg2 ;
1684 int arg3 ;
1685 int result;
1686 PyObject * obj0 = 0 ;
1687 char *kwnames[] = {
1688 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1689 };
1690
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerNext",kwnames,&obj0,&arg2,&arg3)) goto fail;
1692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1693 {
1694 PyThreadState* __tstate = wxPyBeginAllowThreads();
1695 result = (int)(arg1)->MarkerNext(arg2,arg3);
1696
1697 wxPyEndAllowThreads(__tstate);
1698 if (PyErr_Occurred()) SWIG_fail;
1699 }
1700 resultobj = PyInt_FromLong((long)result);
1701 return resultobj;
1702 fail:
1703 return NULL;
1704 }
1705
1706
1707 static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
1708 PyObject *resultobj;
1709 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1710 int arg2 ;
1711 int arg3 ;
1712 int result;
1713 PyObject * obj0 = 0 ;
1714 char *kwnames[] = {
1715 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1716 };
1717
1718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&arg2,&arg3)) goto fail;
1719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1720 {
1721 PyThreadState* __tstate = wxPyBeginAllowThreads();
1722 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
1723
1724 wxPyEndAllowThreads(__tstate);
1725 if (PyErr_Occurred()) SWIG_fail;
1726 }
1727 resultobj = PyInt_FromLong((long)result);
1728 return resultobj;
1729 fail:
1730 return NULL;
1731 }
1732
1733
1734 static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
1735 PyObject *resultobj;
1736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1737 int arg2 ;
1738 wxBitmap *arg3 = 0 ;
1739 PyObject * obj0 = 0 ;
1740 PyObject * obj2 = 0 ;
1741 char *kwnames[] = {
1742 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
1743 };
1744
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&arg2,&obj2)) goto fail;
1746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1747 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1748 if (arg3 == NULL) {
1749 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1750 }
1751 {
1752 PyThreadState* __tstate = wxPyBeginAllowThreads();
1753 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
1754
1755 wxPyEndAllowThreads(__tstate);
1756 if (PyErr_Occurred()) SWIG_fail;
1757 }
1758 Py_INCREF(Py_None); resultobj = Py_None;
1759 return resultobj;
1760 fail:
1761 return NULL;
1762 }
1763
1764
1765 static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
1766 PyObject *resultobj;
1767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1768 int arg2 ;
1769 int arg3 ;
1770 PyObject * obj0 = 0 ;
1771 char *kwnames[] = {
1772 (char *) "self",(char *) "margin",(char *) "marginType", NULL
1773 };
1774
1775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginType",kwnames,&obj0,&arg2,&arg3)) goto fail;
1776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1777 {
1778 PyThreadState* __tstate = wxPyBeginAllowThreads();
1779 (arg1)->SetMarginType(arg2,arg3);
1780
1781 wxPyEndAllowThreads(__tstate);
1782 if (PyErr_Occurred()) SWIG_fail;
1783 }
1784 Py_INCREF(Py_None); resultobj = Py_None;
1785 return resultobj;
1786 fail:
1787 return NULL;
1788 }
1789
1790
1791 static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
1792 PyObject *resultobj;
1793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1794 int arg2 ;
1795 int result;
1796 PyObject * obj0 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self",(char *) "margin", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginType",kwnames,&obj0,&arg2)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1803 {
1804 PyThreadState* __tstate = wxPyBeginAllowThreads();
1805 result = (int)(arg1)->GetMarginType(arg2);
1806
1807 wxPyEndAllowThreads(__tstate);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 resultobj = PyInt_FromLong((long)result);
1811 return resultobj;
1812 fail:
1813 return NULL;
1814 }
1815
1816
1817 static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1818 PyObject *resultobj;
1819 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1820 int arg2 ;
1821 int arg3 ;
1822 PyObject * obj0 = 0 ;
1823 char *kwnames[] = {
1824 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
1825 };
1826
1827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
1828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1829 {
1830 PyThreadState* __tstate = wxPyBeginAllowThreads();
1831 (arg1)->SetMarginWidth(arg2,arg3);
1832
1833 wxPyEndAllowThreads(__tstate);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 }
1836 Py_INCREF(Py_None); resultobj = Py_None;
1837 return resultobj;
1838 fail:
1839 return NULL;
1840 }
1841
1842
1843 static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject *resultobj;
1845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1846 int arg2 ;
1847 int result;
1848 PyObject * obj0 = 0 ;
1849 char *kwnames[] = {
1850 (char *) "self",(char *) "margin", NULL
1851 };
1852
1853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&arg2)) goto fail;
1854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1855 {
1856 PyThreadState* __tstate = wxPyBeginAllowThreads();
1857 result = (int)(arg1)->GetMarginWidth(arg2);
1858
1859 wxPyEndAllowThreads(__tstate);
1860 if (PyErr_Occurred()) SWIG_fail;
1861 }
1862 resultobj = PyInt_FromLong((long)result);
1863 return resultobj;
1864 fail:
1865 return NULL;
1866 }
1867
1868
1869 static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1870 PyObject *resultobj;
1871 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1872 int arg2 ;
1873 int arg3 ;
1874 PyObject * obj0 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "self",(char *) "margin",(char *) "mask", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&arg2,&arg3)) goto fail;
1880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1881 {
1882 PyThreadState* __tstate = wxPyBeginAllowThreads();
1883 (arg1)->SetMarginMask(arg2,arg3);
1884
1885 wxPyEndAllowThreads(__tstate);
1886 if (PyErr_Occurred()) SWIG_fail;
1887 }
1888 Py_INCREF(Py_None); resultobj = Py_None;
1889 return resultobj;
1890 fail:
1891 return NULL;
1892 }
1893
1894
1895 static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1896 PyObject *resultobj;
1897 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1898 int arg2 ;
1899 int result;
1900 PyObject * obj0 = 0 ;
1901 char *kwnames[] = {
1902 (char *) "self",(char *) "margin", NULL
1903 };
1904
1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&arg2)) goto fail;
1906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1907 {
1908 PyThreadState* __tstate = wxPyBeginAllowThreads();
1909 result = (int)(arg1)->GetMarginMask(arg2);
1910
1911 wxPyEndAllowThreads(__tstate);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 }
1914 resultobj = PyInt_FromLong((long)result);
1915 return resultobj;
1916 fail:
1917 return NULL;
1918 }
1919
1920
1921 static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1924 int arg2 ;
1925 bool arg3 ;
1926 PyObject * obj0 = 0 ;
1927 PyObject * obj2 = 0 ;
1928 char *kwnames[] = {
1929 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
1930 };
1931
1932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&arg2,&obj2)) goto fail;
1933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1934 arg3 = PyInt_AsLong(obj2) ? true : false;
1935 if (PyErr_Occurred()) SWIG_fail;
1936 {
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 (arg1)->SetMarginSensitive(arg2,arg3);
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 Py_INCREF(Py_None); resultobj = Py_None;
1944 return resultobj;
1945 fail:
1946 return NULL;
1947 }
1948
1949
1950 static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
1951 PyObject *resultobj;
1952 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1953 int arg2 ;
1954 bool result;
1955 PyObject * obj0 = 0 ;
1956 char *kwnames[] = {
1957 (char *) "self",(char *) "margin", NULL
1958 };
1959
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&arg2)) goto fail;
1961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1962 {
1963 PyThreadState* __tstate = wxPyBeginAllowThreads();
1964 result = (bool)(arg1)->GetMarginSensitive(arg2);
1965
1966 wxPyEndAllowThreads(__tstate);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 }
1969 resultobj = PyInt_FromLong((long)result);
1970 return resultobj;
1971 fail:
1972 return NULL;
1973 }
1974
1975
1976 static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1977 PyObject *resultobj;
1978 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1979 PyObject * obj0 = 0 ;
1980 char *kwnames[] = {
1981 (char *) "self", NULL
1982 };
1983
1984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
1985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1986 {
1987 PyThreadState* __tstate = wxPyBeginAllowThreads();
1988 (arg1)->StyleClearAll();
1989
1990 wxPyEndAllowThreads(__tstate);
1991 if (PyErr_Occurred()) SWIG_fail;
1992 }
1993 Py_INCREF(Py_None); resultobj = Py_None;
1994 return resultobj;
1995 fail:
1996 return NULL;
1997 }
1998
1999
2000 static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2001 PyObject *resultobj;
2002 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2003 int arg2 ;
2004 wxColour *arg3 = 0 ;
2005 wxColour temp3 ;
2006 PyObject * obj0 = 0 ;
2007 PyObject * obj2 = 0 ;
2008 char *kwnames[] = {
2009 (char *) "self",(char *) "style",(char *) "fore", NULL
2010 };
2011
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail;
2013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2014 {
2015 arg3 = &temp3;
2016 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2017 }
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
2020 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 }
2025 Py_INCREF(Py_None); resultobj = Py_None;
2026 return resultobj;
2027 fail:
2028 return NULL;
2029 }
2030
2031
2032 static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2033 PyObject *resultobj;
2034 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2035 int arg2 ;
2036 wxColour *arg3 = 0 ;
2037 wxColour temp3 ;
2038 PyObject * obj0 = 0 ;
2039 PyObject * obj2 = 0 ;
2040 char *kwnames[] = {
2041 (char *) "self",(char *) "style",(char *) "back", NULL
2042 };
2043
2044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&arg2,&obj2)) goto fail;
2045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2046 {
2047 arg3 = &temp3;
2048 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2049 }
2050 {
2051 PyThreadState* __tstate = wxPyBeginAllowThreads();
2052 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
2053
2054 wxPyEndAllowThreads(__tstate);
2055 if (PyErr_Occurred()) SWIG_fail;
2056 }
2057 Py_INCREF(Py_None); resultobj = Py_None;
2058 return resultobj;
2059 fail:
2060 return NULL;
2061 }
2062
2063
2064 static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2065 PyObject *resultobj;
2066 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2067 int arg2 ;
2068 bool arg3 ;
2069 PyObject * obj0 = 0 ;
2070 PyObject * obj2 = 0 ;
2071 char *kwnames[] = {
2072 (char *) "self",(char *) "style",(char *) "bold", NULL
2073 };
2074
2075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&arg2,&obj2)) goto fail;
2076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2077 arg3 = PyInt_AsLong(obj2) ? true : false;
2078 if (PyErr_Occurred()) SWIG_fail;
2079 {
2080 PyThreadState* __tstate = wxPyBeginAllowThreads();
2081 (arg1)->StyleSetBold(arg2,arg3);
2082
2083 wxPyEndAllowThreads(__tstate);
2084 if (PyErr_Occurred()) SWIG_fail;
2085 }
2086 Py_INCREF(Py_None); resultobj = Py_None;
2087 return resultobj;
2088 fail:
2089 return NULL;
2090 }
2091
2092
2093 static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2094 PyObject *resultobj;
2095 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2096 int arg2 ;
2097 bool arg3 ;
2098 PyObject * obj0 = 0 ;
2099 PyObject * obj2 = 0 ;
2100 char *kwnames[] = {
2101 (char *) "self",(char *) "style",(char *) "italic", NULL
2102 };
2103
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&arg2,&obj2)) goto fail;
2105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2106 arg3 = PyInt_AsLong(obj2) ? true : false;
2107 if (PyErr_Occurred()) SWIG_fail;
2108 {
2109 PyThreadState* __tstate = wxPyBeginAllowThreads();
2110 (arg1)->StyleSetItalic(arg2,arg3);
2111
2112 wxPyEndAllowThreads(__tstate);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
2115 Py_INCREF(Py_None); resultobj = Py_None;
2116 return resultobj;
2117 fail:
2118 return NULL;
2119 }
2120
2121
2122 static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2123 PyObject *resultobj;
2124 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2125 int arg2 ;
2126 int arg3 ;
2127 PyObject * obj0 = 0 ;
2128 char *kwnames[] = {
2129 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2130 };
2131
2132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2134 {
2135 PyThreadState* __tstate = wxPyBeginAllowThreads();
2136 (arg1)->StyleSetSize(arg2,arg3);
2137
2138 wxPyEndAllowThreads(__tstate);
2139 if (PyErr_Occurred()) SWIG_fail;
2140 }
2141 Py_INCREF(Py_None); resultobj = Py_None;
2142 return resultobj;
2143 fail:
2144 return NULL;
2145 }
2146
2147
2148 static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
2149 PyObject *resultobj;
2150 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2151 int arg2 ;
2152 wxString *arg3 = 0 ;
2153 bool temp3 = False ;
2154 PyObject * obj0 = 0 ;
2155 PyObject * obj2 = 0 ;
2156 char *kwnames[] = {
2157 (char *) "self",(char *) "style",(char *) "fontName", NULL
2158 };
2159
2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&arg2,&obj2)) goto fail;
2161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2162 {
2163 arg3 = wxString_in_helper(obj2);
2164 if (arg3 == NULL) SWIG_fail;
2165 temp3 = True;
2166 }
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
2174 Py_INCREF(Py_None); resultobj = Py_None;
2175 {
2176 if (temp3)
2177 delete arg3;
2178 }
2179 return resultobj;
2180 fail:
2181 {
2182 if (temp3)
2183 delete arg3;
2184 }
2185 return NULL;
2186 }
2187
2188
2189 static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
2190 PyObject *resultobj;
2191 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2192 int arg2 ;
2193 bool arg3 ;
2194 PyObject * obj0 = 0 ;
2195 PyObject * obj2 = 0 ;
2196 char *kwnames[] = {
2197 (char *) "self",(char *) "style",(char *) "filled", NULL
2198 };
2199
2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&arg2,&obj2)) goto fail;
2201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2202 arg3 = PyInt_AsLong(obj2) ? true : false;
2203 if (PyErr_Occurred()) SWIG_fail;
2204 {
2205 PyThreadState* __tstate = wxPyBeginAllowThreads();
2206 (arg1)->StyleSetEOLFilled(arg2,arg3);
2207
2208 wxPyEndAllowThreads(__tstate);
2209 if (PyErr_Occurred()) SWIG_fail;
2210 }
2211 Py_INCREF(Py_None); resultobj = Py_None;
2212 return resultobj;
2213 fail:
2214 return NULL;
2215 }
2216
2217
2218 static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
2219 PyObject *resultobj;
2220 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2221 PyObject * obj0 = 0 ;
2222 char *kwnames[] = {
2223 (char *) "self", NULL
2224 };
2225
2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
2227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2228 {
2229 PyThreadState* __tstate = wxPyBeginAllowThreads();
2230 (arg1)->StyleResetDefault();
2231
2232 wxPyEndAllowThreads(__tstate);
2233 if (PyErr_Occurred()) SWIG_fail;
2234 }
2235 Py_INCREF(Py_None); resultobj = Py_None;
2236 return resultobj;
2237 fail:
2238 return NULL;
2239 }
2240
2241
2242 static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
2243 PyObject *resultobj;
2244 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2245 int arg2 ;
2246 bool arg3 ;
2247 PyObject * obj0 = 0 ;
2248 PyObject * obj2 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self",(char *) "style",(char *) "underline", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&arg2,&obj2)) goto fail;
2254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2255 arg3 = PyInt_AsLong(obj2) ? true : false;
2256 if (PyErr_Occurred()) SWIG_fail;
2257 {
2258 PyThreadState* __tstate = wxPyBeginAllowThreads();
2259 (arg1)->StyleSetUnderline(arg2,arg3);
2260
2261 wxPyEndAllowThreads(__tstate);
2262 if (PyErr_Occurred()) SWIG_fail;
2263 }
2264 Py_INCREF(Py_None); resultobj = Py_None;
2265 return resultobj;
2266 fail:
2267 return NULL;
2268 }
2269
2270
2271 static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
2272 PyObject *resultobj;
2273 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2274 int arg2 ;
2275 int arg3 ;
2276 PyObject * obj0 = 0 ;
2277 char *kwnames[] = {
2278 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2279 };
2280
2281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&arg2,&arg3)) goto fail;
2282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2283 {
2284 PyThreadState* __tstate = wxPyBeginAllowThreads();
2285 (arg1)->StyleSetCase(arg2,arg3);
2286
2287 wxPyEndAllowThreads(__tstate);
2288 if (PyErr_Occurred()) SWIG_fail;
2289 }
2290 Py_INCREF(Py_None); resultobj = Py_None;
2291 return resultobj;
2292 fail:
2293 return NULL;
2294 }
2295
2296
2297 static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) {
2298 PyObject *resultobj;
2299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2300 int arg2 ;
2301 int arg3 ;
2302 PyObject * obj0 = 0 ;
2303 char *kwnames[] = {
2304 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2305 };
2306
2307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&arg2,&arg3)) goto fail;
2308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 (arg1)->StyleSetCharacterSet(arg2,arg3);
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
2316 Py_INCREF(Py_None); resultobj = Py_None;
2317 return resultobj;
2318 fail:
2319 return NULL;
2320 }
2321
2322
2323 static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
2324 PyObject *resultobj;
2325 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2326 int arg2 ;
2327 bool arg3 ;
2328 PyObject * obj0 = 0 ;
2329 PyObject * obj2 = 0 ;
2330 char *kwnames[] = {
2331 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2332 };
2333
2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&arg2,&obj2)) goto fail;
2335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2336 arg3 = PyInt_AsLong(obj2) ? true : false;
2337 if (PyErr_Occurred()) SWIG_fail;
2338 {
2339 PyThreadState* __tstate = wxPyBeginAllowThreads();
2340 (arg1)->StyleSetHotSpot(arg2,arg3);
2341
2342 wxPyEndAllowThreads(__tstate);
2343 if (PyErr_Occurred()) SWIG_fail;
2344 }
2345 Py_INCREF(Py_None); resultobj = Py_None;
2346 return resultobj;
2347 fail:
2348 return NULL;
2349 }
2350
2351
2352 static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2353 PyObject *resultobj;
2354 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2355 bool arg2 ;
2356 wxColour *arg3 = 0 ;
2357 wxColour temp3 ;
2358 PyObject * obj0 = 0 ;
2359 PyObject * obj1 = 0 ;
2360 PyObject * obj2 = 0 ;
2361 char *kwnames[] = {
2362 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2363 };
2364
2365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2367 arg2 = PyInt_AsLong(obj1) ? true : false;
2368 if (PyErr_Occurred()) SWIG_fail;
2369 {
2370 arg3 = &temp3;
2371 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2372 }
2373 {
2374 PyThreadState* __tstate = wxPyBeginAllowThreads();
2375 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
2376
2377 wxPyEndAllowThreads(__tstate);
2378 if (PyErr_Occurred()) SWIG_fail;
2379 }
2380 Py_INCREF(Py_None); resultobj = Py_None;
2381 return resultobj;
2382 fail:
2383 return NULL;
2384 }
2385
2386
2387 static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2388 PyObject *resultobj;
2389 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2390 bool arg2 ;
2391 wxColour *arg3 = 0 ;
2392 wxColour temp3 ;
2393 PyObject * obj0 = 0 ;
2394 PyObject * obj1 = 0 ;
2395 PyObject * obj2 = 0 ;
2396 char *kwnames[] = {
2397 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2398 };
2399
2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2402 arg2 = PyInt_AsLong(obj1) ? true : false;
2403 if (PyErr_Occurred()) SWIG_fail;
2404 {
2405 arg3 = &temp3;
2406 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2407 }
2408 {
2409 PyThreadState* __tstate = wxPyBeginAllowThreads();
2410 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
2411
2412 wxPyEndAllowThreads(__tstate);
2413 if (PyErr_Occurred()) SWIG_fail;
2414 }
2415 Py_INCREF(Py_None); resultobj = Py_None;
2416 return resultobj;
2417 fail:
2418 return NULL;
2419 }
2420
2421
2422 static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2423 PyObject *resultobj;
2424 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2425 wxColour *arg2 = 0 ;
2426 wxColour temp2 ;
2427 PyObject * obj0 = 0 ;
2428 PyObject * obj1 = 0 ;
2429 char *kwnames[] = {
2430 (char *) "self",(char *) "fore", NULL
2431 };
2432
2433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
2434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2435 {
2436 arg2 = &temp2;
2437 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2438 }
2439 {
2440 PyThreadState* __tstate = wxPyBeginAllowThreads();
2441 (arg1)->SetCaretForeground((wxColour const &)*arg2);
2442
2443 wxPyEndAllowThreads(__tstate);
2444 if (PyErr_Occurred()) SWIG_fail;
2445 }
2446 Py_INCREF(Py_None); resultobj = Py_None;
2447 return resultobj;
2448 fail:
2449 return NULL;
2450 }
2451
2452
2453 static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
2454 PyObject *resultobj;
2455 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2456 int arg2 ;
2457 int arg3 ;
2458 int arg4 ;
2459 PyObject * obj0 = 0 ;
2460 char *kwnames[] = {
2461 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2462 };
2463
2464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
2465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2466 {
2467 PyThreadState* __tstate = wxPyBeginAllowThreads();
2468 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
2469
2470 wxPyEndAllowThreads(__tstate);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 }
2473 Py_INCREF(Py_None); resultobj = Py_None;
2474 return resultobj;
2475 fail:
2476 return NULL;
2477 }
2478
2479
2480 static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
2481 PyObject *resultobj;
2482 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2483 int arg2 ;
2484 int arg3 ;
2485 PyObject * obj0 = 0 ;
2486 char *kwnames[] = {
2487 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2488 };
2489
2490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&arg2,&arg3)) goto fail;
2491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2492 {
2493 PyThreadState* __tstate = wxPyBeginAllowThreads();
2494 (arg1)->CmdKeyClear(arg2,arg3);
2495
2496 wxPyEndAllowThreads(__tstate);
2497 if (PyErr_Occurred()) SWIG_fail;
2498 }
2499 Py_INCREF(Py_None); resultobj = Py_None;
2500 return resultobj;
2501 fail:
2502 return NULL;
2503 }
2504
2505
2506 static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2507 PyObject *resultobj;
2508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2509 PyObject * obj0 = 0 ;
2510 char *kwnames[] = {
2511 (char *) "self", NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
2515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2516 {
2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
2518 (arg1)->CmdKeyClearAll();
2519
2520 wxPyEndAllowThreads(__tstate);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 }
2523 Py_INCREF(Py_None); resultobj = Py_None;
2524 return resultobj;
2525 fail:
2526 return NULL;
2527 }
2528
2529
2530 static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
2531 PyObject *resultobj;
2532 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2533 int arg2 ;
2534 char *arg3 ;
2535 PyObject * obj0 = 0 ;
2536 char *kwnames[] = {
2537 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
2538 };
2539
2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ois:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&arg2,&arg3)) goto fail;
2541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2542 {
2543 PyThreadState* __tstate = wxPyBeginAllowThreads();
2544 (arg1)->SetStyleBytes(arg2,arg3);
2545
2546 wxPyEndAllowThreads(__tstate);
2547 if (PyErr_Occurred()) SWIG_fail;
2548 }
2549 Py_INCREF(Py_None); resultobj = Py_None;
2550 return resultobj;
2551 fail:
2552 return NULL;
2553 }
2554
2555
2556 static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2557 PyObject *resultobj;
2558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2559 int arg2 ;
2560 bool arg3 ;
2561 PyObject * obj0 = 0 ;
2562 PyObject * obj2 = 0 ;
2563 char *kwnames[] = {
2564 (char *) "self",(char *) "style",(char *) "visible", NULL
2565 };
2566
2567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
2568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2569 arg3 = PyInt_AsLong(obj2) ? true : false;
2570 if (PyErr_Occurred()) SWIG_fail;
2571 {
2572 PyThreadState* __tstate = wxPyBeginAllowThreads();
2573 (arg1)->StyleSetVisible(arg2,arg3);
2574
2575 wxPyEndAllowThreads(__tstate);
2576 if (PyErr_Occurred()) SWIG_fail;
2577 }
2578 Py_INCREF(Py_None); resultobj = Py_None;
2579 return resultobj;
2580 fail:
2581 return NULL;
2582 }
2583
2584
2585 static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
2586 PyObject *resultobj;
2587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2588 int result;
2589 PyObject * obj0 = 0 ;
2590 char *kwnames[] = {
2591 (char *) "self", NULL
2592 };
2593
2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
2595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2596 {
2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
2598 result = (int)(arg1)->GetCaretPeriod();
2599
2600 wxPyEndAllowThreads(__tstate);
2601 if (PyErr_Occurred()) SWIG_fail;
2602 }
2603 resultobj = PyInt_FromLong((long)result);
2604 return resultobj;
2605 fail:
2606 return NULL;
2607 }
2608
2609
2610 static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
2611 PyObject *resultobj;
2612 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2613 int arg2 ;
2614 PyObject * obj0 = 0 ;
2615 char *kwnames[] = {
2616 (char *) "self",(char *) "periodMilliseconds", NULL
2617 };
2618
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&arg2)) goto fail;
2620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2621 {
2622 PyThreadState* __tstate = wxPyBeginAllowThreads();
2623 (arg1)->SetCaretPeriod(arg2);
2624
2625 wxPyEndAllowThreads(__tstate);
2626 if (PyErr_Occurred()) SWIG_fail;
2627 }
2628 Py_INCREF(Py_None); resultobj = Py_None;
2629 return resultobj;
2630 fail:
2631 return NULL;
2632 }
2633
2634
2635 static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
2636 PyObject *resultobj;
2637 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2638 wxString *arg2 = 0 ;
2639 bool temp2 = False ;
2640 PyObject * obj0 = 0 ;
2641 PyObject * obj1 = 0 ;
2642 char *kwnames[] = {
2643 (char *) "self",(char *) "characters", NULL
2644 };
2645
2646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
2647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2648 {
2649 arg2 = wxString_in_helper(obj1);
2650 if (arg2 == NULL) SWIG_fail;
2651 temp2 = True;
2652 }
2653 {
2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
2655 (arg1)->SetWordChars((wxString const &)*arg2);
2656
2657 wxPyEndAllowThreads(__tstate);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 }
2660 Py_INCREF(Py_None); resultobj = Py_None;
2661 {
2662 if (temp2)
2663 delete arg2;
2664 }
2665 return resultobj;
2666 fail:
2667 {
2668 if (temp2)
2669 delete arg2;
2670 }
2671 return NULL;
2672 }
2673
2674
2675 static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
2676 PyObject *resultobj;
2677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2678 PyObject * obj0 = 0 ;
2679 char *kwnames[] = {
2680 (char *) "self", NULL
2681 };
2682
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
2684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 (arg1)->BeginUndoAction();
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 Py_INCREF(Py_None); resultobj = Py_None;
2693 return resultobj;
2694 fail:
2695 return NULL;
2696 }
2697
2698
2699 static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
2700 PyObject *resultobj;
2701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2702 PyObject * obj0 = 0 ;
2703 char *kwnames[] = {
2704 (char *) "self", NULL
2705 };
2706
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
2708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2709 {
2710 PyThreadState* __tstate = wxPyBeginAllowThreads();
2711 (arg1)->EndUndoAction();
2712
2713 wxPyEndAllowThreads(__tstate);
2714 if (PyErr_Occurred()) SWIG_fail;
2715 }
2716 Py_INCREF(Py_None); resultobj = Py_None;
2717 return resultobj;
2718 fail:
2719 return NULL;
2720 }
2721
2722
2723 static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2724 PyObject *resultobj;
2725 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2726 int arg2 ;
2727 int arg3 ;
2728 PyObject * obj0 = 0 ;
2729 char *kwnames[] = {
2730 (char *) "self",(char *) "indic",(char *) "style", NULL
2731 };
2732
2733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&arg2,&arg3)) goto fail;
2734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2735 {
2736 PyThreadState* __tstate = wxPyBeginAllowThreads();
2737 (arg1)->IndicatorSetStyle(arg2,arg3);
2738
2739 wxPyEndAllowThreads(__tstate);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 }
2742 Py_INCREF(Py_None); resultobj = Py_None;
2743 return resultobj;
2744 fail:
2745 return NULL;
2746 }
2747
2748
2749 static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2750 PyObject *resultobj;
2751 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2752 int arg2 ;
2753 int result;
2754 PyObject * obj0 = 0 ;
2755 char *kwnames[] = {
2756 (char *) "self",(char *) "indic", NULL
2757 };
2758
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&arg2)) goto fail;
2760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2761 {
2762 PyThreadState* __tstate = wxPyBeginAllowThreads();
2763 result = (int)(arg1)->IndicatorGetStyle(arg2);
2764
2765 wxPyEndAllowThreads(__tstate);
2766 if (PyErr_Occurred()) SWIG_fail;
2767 }
2768 resultobj = PyInt_FromLong((long)result);
2769 return resultobj;
2770 fail:
2771 return NULL;
2772 }
2773
2774
2775 static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2776 PyObject *resultobj;
2777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2778 int arg2 ;
2779 wxColour *arg3 = 0 ;
2780 wxColour temp3 ;
2781 PyObject * obj0 = 0 ;
2782 PyObject * obj2 = 0 ;
2783 char *kwnames[] = {
2784 (char *) "self",(char *) "indic",(char *) "fore", NULL
2785 };
2786
2787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail;
2788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2789 {
2790 arg3 = &temp3;
2791 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2792 }
2793 {
2794 PyThreadState* __tstate = wxPyBeginAllowThreads();
2795 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
2796
2797 wxPyEndAllowThreads(__tstate);
2798 if (PyErr_Occurred()) SWIG_fail;
2799 }
2800 Py_INCREF(Py_None); resultobj = Py_None;
2801 return resultobj;
2802 fail:
2803 return NULL;
2804 }
2805
2806
2807 static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject *resultobj;
2809 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2810 int arg2 ;
2811 wxColour result;
2812 PyObject * obj0 = 0 ;
2813 char *kwnames[] = {
2814 (char *) "self",(char *) "indic", NULL
2815 };
2816
2817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&arg2)) goto fail;
2818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2819 {
2820 PyThreadState* __tstate = wxPyBeginAllowThreads();
2821 result = (arg1)->IndicatorGetForeground(arg2);
2822
2823 wxPyEndAllowThreads(__tstate);
2824 if (PyErr_Occurred()) SWIG_fail;
2825 }
2826 {
2827 wxColour * resultptr;
2828 resultptr = new wxColour((wxColour &) result);
2829 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
2830 }
2831 return resultobj;
2832 fail:
2833 return NULL;
2834 }
2835
2836
2837 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2838 PyObject *resultobj;
2839 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2840 bool arg2 ;
2841 wxColour *arg3 = 0 ;
2842 wxColour temp3 ;
2843 PyObject * obj0 = 0 ;
2844 PyObject * obj1 = 0 ;
2845 PyObject * obj2 = 0 ;
2846 char *kwnames[] = {
2847 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2848 };
2849
2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2852 arg2 = PyInt_AsLong(obj1) ? true : false;
2853 if (PyErr_Occurred()) SWIG_fail;
2854 {
2855 arg3 = &temp3;
2856 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2857 }
2858 {
2859 PyThreadState* __tstate = wxPyBeginAllowThreads();
2860 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
2861
2862 wxPyEndAllowThreads(__tstate);
2863 if (PyErr_Occurred()) SWIG_fail;
2864 }
2865 Py_INCREF(Py_None); resultobj = Py_None;
2866 return resultobj;
2867 fail:
2868 return NULL;
2869 }
2870
2871
2872 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2873 PyObject *resultobj;
2874 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2875 bool arg2 ;
2876 wxColour *arg3 = 0 ;
2877 wxColour temp3 ;
2878 PyObject * obj0 = 0 ;
2879 PyObject * obj1 = 0 ;
2880 PyObject * obj2 = 0 ;
2881 char *kwnames[] = {
2882 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2883 };
2884
2885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2887 arg2 = PyInt_AsLong(obj1) ? true : false;
2888 if (PyErr_Occurred()) SWIG_fail;
2889 {
2890 arg3 = &temp3;
2891 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2892 }
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 Py_INCREF(Py_None); resultobj = Py_None;
2901 return resultobj;
2902 fail:
2903 return NULL;
2904 }
2905
2906
2907 static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2908 PyObject *resultobj;
2909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2910 int arg2 ;
2911 PyObject * obj0 = 0 ;
2912 char *kwnames[] = {
2913 (char *) "self",(char *) "bits", NULL
2914 };
2915
2916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&arg2)) goto fail;
2917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 (arg1)->SetStyleBits(arg2);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 Py_INCREF(Py_None); resultobj = Py_None;
2926 return resultobj;
2927 fail:
2928 return NULL;
2929 }
2930
2931
2932 static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2933 PyObject *resultobj;
2934 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2935 int result;
2936 PyObject * obj0 = 0 ;
2937 char *kwnames[] = {
2938 (char *) "self", NULL
2939 };
2940
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
2942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 result = (int)(arg1)->GetStyleBits();
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 resultobj = PyInt_FromLong((long)result);
2951 return resultobj;
2952 fail:
2953 return NULL;
2954 }
2955
2956
2957 static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2958 PyObject *resultobj;
2959 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2960 int arg2 ;
2961 int arg3 ;
2962 PyObject * obj0 = 0 ;
2963 char *kwnames[] = {
2964 (char *) "self",(char *) "line",(char *) "state", NULL
2965 };
2966
2967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetLineState",kwnames,&obj0,&arg2,&arg3)) goto fail;
2968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2969 {
2970 PyThreadState* __tstate = wxPyBeginAllowThreads();
2971 (arg1)->SetLineState(arg2,arg3);
2972
2973 wxPyEndAllowThreads(__tstate);
2974 if (PyErr_Occurred()) SWIG_fail;
2975 }
2976 Py_INCREF(Py_None); resultobj = Py_None;
2977 return resultobj;
2978 fail:
2979 return NULL;
2980 }
2981
2982
2983 static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2984 PyObject *resultobj;
2985 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2986 int arg2 ;
2987 int result;
2988 PyObject * obj0 = 0 ;
2989 char *kwnames[] = {
2990 (char *) "self",(char *) "line", NULL
2991 };
2992
2993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineState",kwnames,&obj0,&arg2)) goto fail;
2994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2995 {
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 result = (int)(arg1)->GetLineState(arg2);
2998
2999 wxPyEndAllowThreads(__tstate);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 resultobj = PyInt_FromLong((long)result);
3003 return resultobj;
3004 fail:
3005 return NULL;
3006 }
3007
3008
3009 static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3010 PyObject *resultobj;
3011 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3012 int result;
3013 PyObject * obj0 = 0 ;
3014 char *kwnames[] = {
3015 (char *) "self", NULL
3016 };
3017
3018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
3019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 result = (int)(arg1)->GetMaxLineState();
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 resultobj = PyInt_FromLong((long)result);
3028 return resultobj;
3029 fail:
3030 return NULL;
3031 }
3032
3033
3034 static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3035 PyObject *resultobj;
3036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3037 bool result;
3038 PyObject * obj0 = 0 ;
3039 char *kwnames[] = {
3040 (char *) "self", NULL
3041 };
3042
3043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
3044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3045 {
3046 PyThreadState* __tstate = wxPyBeginAllowThreads();
3047 result = (bool)(arg1)->GetCaretLineVisible();
3048
3049 wxPyEndAllowThreads(__tstate);
3050 if (PyErr_Occurred()) SWIG_fail;
3051 }
3052 resultobj = PyInt_FromLong((long)result);
3053 return resultobj;
3054 fail:
3055 return NULL;
3056 }
3057
3058
3059 static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3060 PyObject *resultobj;
3061 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3062 bool arg2 ;
3063 PyObject * obj0 = 0 ;
3064 PyObject * obj1 = 0 ;
3065 char *kwnames[] = {
3066 (char *) "self",(char *) "show", NULL
3067 };
3068
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
3070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3071 arg2 = PyInt_AsLong(obj1) ? true : false;
3072 if (PyErr_Occurred()) SWIG_fail;
3073 {
3074 PyThreadState* __tstate = wxPyBeginAllowThreads();
3075 (arg1)->SetCaretLineVisible(arg2);
3076
3077 wxPyEndAllowThreads(__tstate);
3078 if (PyErr_Occurred()) SWIG_fail;
3079 }
3080 Py_INCREF(Py_None); resultobj = Py_None;
3081 return resultobj;
3082 fail:
3083 return NULL;
3084 }
3085
3086
3087 static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3088 PyObject *resultobj;
3089 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3090 wxColour result;
3091 PyObject * obj0 = 0 ;
3092 char *kwnames[] = {
3093 (char *) "self", NULL
3094 };
3095
3096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
3097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3098 {
3099 PyThreadState* __tstate = wxPyBeginAllowThreads();
3100 result = (arg1)->GetCaretLineBack();
3101
3102 wxPyEndAllowThreads(__tstate);
3103 if (PyErr_Occurred()) SWIG_fail;
3104 }
3105 {
3106 wxColour * resultptr;
3107 resultptr = new wxColour((wxColour &) result);
3108 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3109 }
3110 return resultobj;
3111 fail:
3112 return NULL;
3113 }
3114
3115
3116 static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3117 PyObject *resultobj;
3118 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3119 wxColour *arg2 = 0 ;
3120 wxColour temp2 ;
3121 PyObject * obj0 = 0 ;
3122 PyObject * obj1 = 0 ;
3123 char *kwnames[] = {
3124 (char *) "self",(char *) "back", NULL
3125 };
3126
3127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
3128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3129 {
3130 arg2 = &temp2;
3131 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3132 }
3133 {
3134 PyThreadState* __tstate = wxPyBeginAllowThreads();
3135 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
3136
3137 wxPyEndAllowThreads(__tstate);
3138 if (PyErr_Occurred()) SWIG_fail;
3139 }
3140 Py_INCREF(Py_None); resultobj = Py_None;
3141 return resultobj;
3142 fail:
3143 return NULL;
3144 }
3145
3146
3147 static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) {
3148 PyObject *resultobj;
3149 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3150 int arg2 ;
3151 bool arg3 ;
3152 PyObject * obj0 = 0 ;
3153 PyObject * obj2 = 0 ;
3154 char *kwnames[] = {
3155 (char *) "self",(char *) "style",(char *) "changeable", NULL
3156 };
3157
3158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&arg2,&obj2)) goto fail;
3159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3160 arg3 = PyInt_AsLong(obj2) ? true : false;
3161 if (PyErr_Occurred()) SWIG_fail;
3162 {
3163 PyThreadState* __tstate = wxPyBeginAllowThreads();
3164 (arg1)->StyleSetChangeable(arg2,arg3);
3165
3166 wxPyEndAllowThreads(__tstate);
3167 if (PyErr_Occurred()) SWIG_fail;
3168 }
3169 Py_INCREF(Py_None); resultobj = Py_None;
3170 return resultobj;
3171 fail:
3172 return NULL;
3173 }
3174
3175
3176 static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3177 PyObject *resultobj;
3178 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3179 int arg2 ;
3180 wxString *arg3 = 0 ;
3181 bool temp3 = False ;
3182 PyObject * obj0 = 0 ;
3183 PyObject * obj2 = 0 ;
3184 char *kwnames[] = {
3185 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3186 };
3187
3188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&arg2,&obj2)) goto fail;
3189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3190 {
3191 arg3 = wxString_in_helper(obj2);
3192 if (arg3 == NULL) SWIG_fail;
3193 temp3 = True;
3194 }
3195 {
3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
3197 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
3198
3199 wxPyEndAllowThreads(__tstate);
3200 if (PyErr_Occurred()) SWIG_fail;
3201 }
3202 Py_INCREF(Py_None); resultobj = Py_None;
3203 {
3204 if (temp3)
3205 delete arg3;
3206 }
3207 return resultobj;
3208 fail:
3209 {
3210 if (temp3)
3211 delete arg3;
3212 }
3213 return NULL;
3214 }
3215
3216
3217 static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
3218 PyObject *resultobj;
3219 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3220 PyObject * obj0 = 0 ;
3221 char *kwnames[] = {
3222 (char *) "self", NULL
3223 };
3224
3225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
3226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3227 {
3228 PyThreadState* __tstate = wxPyBeginAllowThreads();
3229 (arg1)->AutoCompCancel();
3230
3231 wxPyEndAllowThreads(__tstate);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 }
3234 Py_INCREF(Py_None); resultobj = Py_None;
3235 return resultobj;
3236 fail:
3237 return NULL;
3238 }
3239
3240
3241 static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3242 PyObject *resultobj;
3243 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3244 bool result;
3245 PyObject * obj0 = 0 ;
3246 char *kwnames[] = {
3247 (char *) "self", NULL
3248 };
3249
3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
3251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3252 {
3253 PyThreadState* __tstate = wxPyBeginAllowThreads();
3254 result = (bool)(arg1)->AutoCompActive();
3255
3256 wxPyEndAllowThreads(__tstate);
3257 if (PyErr_Occurred()) SWIG_fail;
3258 }
3259 resultobj = PyInt_FromLong((long)result);
3260 return resultobj;
3261 fail:
3262 return NULL;
3263 }
3264
3265
3266 static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3267 PyObject *resultobj;
3268 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3269 int result;
3270 PyObject * obj0 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
3276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3277 {
3278 PyThreadState* __tstate = wxPyBeginAllowThreads();
3279 result = (int)(arg1)->AutoCompPosStart();
3280
3281 wxPyEndAllowThreads(__tstate);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
3284 resultobj = PyInt_FromLong((long)result);
3285 return resultobj;
3286 fail:
3287 return NULL;
3288 }
3289
3290
3291 static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
3292 PyObject *resultobj;
3293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3294 PyObject * obj0 = 0 ;
3295 char *kwnames[] = {
3296 (char *) "self", NULL
3297 };
3298
3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
3300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 (arg1)->AutoCompComplete();
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 Py_INCREF(Py_None); resultobj = Py_None;
3309 return resultobj;
3310 fail:
3311 return NULL;
3312 }
3313
3314
3315 static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3318 wxString *arg2 = 0 ;
3319 bool temp2 = False ;
3320 PyObject * obj0 = 0 ;
3321 PyObject * obj1 = 0 ;
3322 char *kwnames[] = {
3323 (char *) "self",(char *) "characterSet", NULL
3324 };
3325
3326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
3327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3328 {
3329 arg2 = wxString_in_helper(obj1);
3330 if (arg2 == NULL) SWIG_fail;
3331 temp2 = True;
3332 }
3333 {
3334 PyThreadState* __tstate = wxPyBeginAllowThreads();
3335 (arg1)->AutoCompStops((wxString const &)*arg2);
3336
3337 wxPyEndAllowThreads(__tstate);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 }
3340 Py_INCREF(Py_None); resultobj = Py_None;
3341 {
3342 if (temp2)
3343 delete arg2;
3344 }
3345 return resultobj;
3346 fail:
3347 {
3348 if (temp2)
3349 delete arg2;
3350 }
3351 return NULL;
3352 }
3353
3354
3355 static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3356 PyObject *resultobj;
3357 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3358 int arg2 ;
3359 PyObject * obj0 = 0 ;
3360 char *kwnames[] = {
3361 (char *) "self",(char *) "separatorCharacter", NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&arg2)) goto fail;
3365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3366 {
3367 PyThreadState* __tstate = wxPyBeginAllowThreads();
3368 (arg1)->AutoCompSetSeparator(arg2);
3369
3370 wxPyEndAllowThreads(__tstate);
3371 if (PyErr_Occurred()) SWIG_fail;
3372 }
3373 Py_INCREF(Py_None); resultobj = Py_None;
3374 return resultobj;
3375 fail:
3376 return NULL;
3377 }
3378
3379
3380 static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3381 PyObject *resultobj;
3382 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3383 int result;
3384 PyObject * obj0 = 0 ;
3385 char *kwnames[] = {
3386 (char *) "self", NULL
3387 };
3388
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
3390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3391 {
3392 PyThreadState* __tstate = wxPyBeginAllowThreads();
3393 result = (int)(arg1)->AutoCompGetSeparator();
3394
3395 wxPyEndAllowThreads(__tstate);
3396 if (PyErr_Occurred()) SWIG_fail;
3397 }
3398 resultobj = PyInt_FromLong((long)result);
3399 return resultobj;
3400 fail:
3401 return NULL;
3402 }
3403
3404
3405 static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
3406 PyObject *resultobj;
3407 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3408 wxString *arg2 = 0 ;
3409 bool temp2 = False ;
3410 PyObject * obj0 = 0 ;
3411 PyObject * obj1 = 0 ;
3412 char *kwnames[] = {
3413 (char *) "self",(char *) "text", NULL
3414 };
3415
3416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
3417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3418 {
3419 arg2 = wxString_in_helper(obj1);
3420 if (arg2 == NULL) SWIG_fail;
3421 temp2 = True;
3422 }
3423 {
3424 PyThreadState* __tstate = wxPyBeginAllowThreads();
3425 (arg1)->AutoCompSelect((wxString const &)*arg2);
3426
3427 wxPyEndAllowThreads(__tstate);
3428 if (PyErr_Occurred()) SWIG_fail;
3429 }
3430 Py_INCREF(Py_None); resultobj = Py_None;
3431 {
3432 if (temp2)
3433 delete arg2;
3434 }
3435 return resultobj;
3436 fail:
3437 {
3438 if (temp2)
3439 delete arg2;
3440 }
3441 return NULL;
3442 }
3443
3444
3445 static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3446 PyObject *resultobj;
3447 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3448 bool arg2 ;
3449 PyObject * obj0 = 0 ;
3450 PyObject * obj1 = 0 ;
3451 char *kwnames[] = {
3452 (char *) "self",(char *) "cancel", NULL
3453 };
3454
3455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
3456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3457 arg2 = PyInt_AsLong(obj1) ? true : false;
3458 if (PyErr_Occurred()) SWIG_fail;
3459 {
3460 PyThreadState* __tstate = wxPyBeginAllowThreads();
3461 (arg1)->AutoCompSetCancelAtStart(arg2);
3462
3463 wxPyEndAllowThreads(__tstate);
3464 if (PyErr_Occurred()) SWIG_fail;
3465 }
3466 Py_INCREF(Py_None); resultobj = Py_None;
3467 return resultobj;
3468 fail:
3469 return NULL;
3470 }
3471
3472
3473 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3474 PyObject *resultobj;
3475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3476 bool result;
3477 PyObject * obj0 = 0 ;
3478 char *kwnames[] = {
3479 (char *) "self", NULL
3480 };
3481
3482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
3483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3484 {
3485 PyThreadState* __tstate = wxPyBeginAllowThreads();
3486 result = (bool)(arg1)->AutoCompGetCancelAtStart();
3487
3488 wxPyEndAllowThreads(__tstate);
3489 if (PyErr_Occurred()) SWIG_fail;
3490 }
3491 resultobj = PyInt_FromLong((long)result);
3492 return resultobj;
3493 fail:
3494 return NULL;
3495 }
3496
3497
3498 static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
3499 PyObject *resultobj;
3500 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3501 wxString *arg2 = 0 ;
3502 bool temp2 = False ;
3503 PyObject * obj0 = 0 ;
3504 PyObject * obj1 = 0 ;
3505 char *kwnames[] = {
3506 (char *) "self",(char *) "characterSet", NULL
3507 };
3508
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
3510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3511 {
3512 arg2 = wxString_in_helper(obj1);
3513 if (arg2 == NULL) SWIG_fail;
3514 temp2 = True;
3515 }
3516 {
3517 PyThreadState* __tstate = wxPyBeginAllowThreads();
3518 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
3519
3520 wxPyEndAllowThreads(__tstate);
3521 if (PyErr_Occurred()) SWIG_fail;
3522 }
3523 Py_INCREF(Py_None); resultobj = Py_None;
3524 {
3525 if (temp2)
3526 delete arg2;
3527 }
3528 return resultobj;
3529 fail:
3530 {
3531 if (temp2)
3532 delete arg2;
3533 }
3534 return NULL;
3535 }
3536
3537
3538 static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
3539 PyObject *resultobj;
3540 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3541 bool arg2 ;
3542 PyObject * obj0 = 0 ;
3543 PyObject * obj1 = 0 ;
3544 char *kwnames[] = {
3545 (char *) "self",(char *) "chooseSingle", NULL
3546 };
3547
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
3549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3550 arg2 = PyInt_AsLong(obj1) ? true : false;
3551 if (PyErr_Occurred()) SWIG_fail;
3552 {
3553 PyThreadState* __tstate = wxPyBeginAllowThreads();
3554 (arg1)->AutoCompSetChooseSingle(arg2);
3555
3556 wxPyEndAllowThreads(__tstate);
3557 if (PyErr_Occurred()) SWIG_fail;
3558 }
3559 Py_INCREF(Py_None); resultobj = Py_None;
3560 return resultobj;
3561 fail:
3562 return NULL;
3563 }
3564
3565
3566 static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
3567 PyObject *resultobj;
3568 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3569 bool result;
3570 PyObject * obj0 = 0 ;
3571 char *kwnames[] = {
3572 (char *) "self", NULL
3573 };
3574
3575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
3576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 result = (bool)(arg1)->AutoCompGetChooseSingle();
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 resultobj = PyInt_FromLong((long)result);
3585 return resultobj;
3586 fail:
3587 return NULL;
3588 }
3589
3590
3591 static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3594 bool arg2 ;
3595 PyObject * obj0 = 0 ;
3596 PyObject * obj1 = 0 ;
3597 char *kwnames[] = {
3598 (char *) "self",(char *) "ignoreCase", NULL
3599 };
3600
3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
3602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3603 arg2 = PyInt_AsLong(obj1) ? true : false;
3604 if (PyErr_Occurred()) SWIG_fail;
3605 {
3606 PyThreadState* __tstate = wxPyBeginAllowThreads();
3607 (arg1)->AutoCompSetIgnoreCase(arg2);
3608
3609 wxPyEndAllowThreads(__tstate);
3610 if (PyErr_Occurred()) SWIG_fail;
3611 }
3612 Py_INCREF(Py_None); resultobj = Py_None;
3613 return resultobj;
3614 fail:
3615 return NULL;
3616 }
3617
3618
3619 static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
3620 PyObject *resultobj;
3621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3622 bool result;
3623 PyObject * obj0 = 0 ;
3624 char *kwnames[] = {
3625 (char *) "self", NULL
3626 };
3627
3628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
3629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3630 {
3631 PyThreadState* __tstate = wxPyBeginAllowThreads();
3632 result = (bool)(arg1)->AutoCompGetIgnoreCase();
3633
3634 wxPyEndAllowThreads(__tstate);
3635 if (PyErr_Occurred()) SWIG_fail;
3636 }
3637 resultobj = PyInt_FromLong((long)result);
3638 return resultobj;
3639 fail:
3640 return NULL;
3641 }
3642
3643
3644 static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3645 PyObject *resultobj;
3646 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3647 int arg2 ;
3648 wxString *arg3 = 0 ;
3649 bool temp3 = False ;
3650 PyObject * obj0 = 0 ;
3651 PyObject * obj2 = 0 ;
3652 char *kwnames[] = {
3653 (char *) "self",(char *) "listType",(char *) "itemList", NULL
3654 };
3655
3656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_UserListShow",kwnames,&obj0,&arg2,&obj2)) goto fail;
3657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3658 {
3659 arg3 = wxString_in_helper(obj2);
3660 if (arg3 == NULL) SWIG_fail;
3661 temp3 = True;
3662 }
3663 {
3664 PyThreadState* __tstate = wxPyBeginAllowThreads();
3665 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
3666
3667 wxPyEndAllowThreads(__tstate);
3668 if (PyErr_Occurred()) SWIG_fail;
3669 }
3670 Py_INCREF(Py_None); resultobj = Py_None;
3671 {
3672 if (temp3)
3673 delete arg3;
3674 }
3675 return resultobj;
3676 fail:
3677 {
3678 if (temp3)
3679 delete arg3;
3680 }
3681 return NULL;
3682 }
3683
3684
3685 static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
3686 PyObject *resultobj;
3687 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3688 bool arg2 ;
3689 PyObject * obj0 = 0 ;
3690 PyObject * obj1 = 0 ;
3691 char *kwnames[] = {
3692 (char *) "self",(char *) "autoHide", NULL
3693 };
3694
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
3696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3697 arg2 = PyInt_AsLong(obj1) ? true : false;
3698 if (PyErr_Occurred()) SWIG_fail;
3699 {
3700 PyThreadState* __tstate = wxPyBeginAllowThreads();
3701 (arg1)->AutoCompSetAutoHide(arg2);
3702
3703 wxPyEndAllowThreads(__tstate);
3704 if (PyErr_Occurred()) SWIG_fail;
3705 }
3706 Py_INCREF(Py_None); resultobj = Py_None;
3707 return resultobj;
3708 fail:
3709 return NULL;
3710 }
3711
3712
3713 static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
3714 PyObject *resultobj;
3715 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3716 bool result;
3717 PyObject * obj0 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "self", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
3723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3724 {
3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
3726 result = (bool)(arg1)->AutoCompGetAutoHide();
3727
3728 wxPyEndAllowThreads(__tstate);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 resultobj = PyInt_FromLong((long)result);
3732 return resultobj;
3733 fail:
3734 return NULL;
3735 }
3736
3737
3738 static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
3739 PyObject *resultobj;
3740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3741 bool arg2 ;
3742 PyObject * obj0 = 0 ;
3743 PyObject * obj1 = 0 ;
3744 char *kwnames[] = {
3745 (char *) "self",(char *) "dropRestOfWord", NULL
3746 };
3747
3748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
3749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3750 arg2 = PyInt_AsLong(obj1) ? true : false;
3751 if (PyErr_Occurred()) SWIG_fail;
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 (arg1)->AutoCompSetDropRestOfWord(arg2);
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 Py_INCREF(Py_None); resultobj = Py_None;
3760 return resultobj;
3761 fail:
3762 return NULL;
3763 }
3764
3765
3766 static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3769 bool result;
3770 PyObject * obj0 = 0 ;
3771 char *kwnames[] = {
3772 (char *) "self", NULL
3773 };
3774
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
3776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 resultobj = PyInt_FromLong((long)result);
3785 return resultobj;
3786 fail:
3787 return NULL;
3788 }
3789
3790
3791 static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3792 PyObject *resultobj;
3793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3794 int arg2 ;
3795 wxBitmap *arg3 = 0 ;
3796 PyObject * obj0 = 0 ;
3797 PyObject * obj2 = 0 ;
3798 char *kwnames[] = {
3799 (char *) "self",(char *) "type",(char *) "bmp", NULL
3800 };
3801
3802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&arg2,&obj2)) goto fail;
3803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3804 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3805 if (arg3 == NULL) {
3806 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3807 }
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
3810 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
3811
3812 wxPyEndAllowThreads(__tstate);
3813 if (PyErr_Occurred()) SWIG_fail;
3814 }
3815 Py_INCREF(Py_None); resultobj = Py_None;
3816 return resultobj;
3817 fail:
3818 return NULL;
3819 }
3820
3821
3822 static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject *resultobj;
3824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3825 PyObject * obj0 = 0 ;
3826 char *kwnames[] = {
3827 (char *) "self", NULL
3828 };
3829
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
3831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 (arg1)->ClearRegisteredImages();
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 Py_INCREF(Py_None); resultobj = Py_None;
3840 return resultobj;
3841 fail:
3842 return NULL;
3843 }
3844
3845
3846 static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3847 PyObject *resultobj;
3848 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3849 int result;
3850 PyObject * obj0 = 0 ;
3851 char *kwnames[] = {
3852 (char *) "self", NULL
3853 };
3854
3855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
3856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (int)(arg1)->AutoCompGetTypeSeparator();
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 resultobj = PyInt_FromLong((long)result);
3865 return resultobj;
3866 fail:
3867 return NULL;
3868 }
3869
3870
3871 static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3872 PyObject *resultobj;
3873 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3874 int arg2 ;
3875 PyObject * obj0 = 0 ;
3876 char *kwnames[] = {
3877 (char *) "self",(char *) "separatorCharacter", NULL
3878 };
3879
3880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&arg2)) goto fail;
3881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3882 {
3883 PyThreadState* __tstate = wxPyBeginAllowThreads();
3884 (arg1)->AutoCompSetTypeSeparator(arg2);
3885
3886 wxPyEndAllowThreads(__tstate);
3887 if (PyErr_Occurred()) SWIG_fail;
3888 }
3889 Py_INCREF(Py_None); resultobj = Py_None;
3890 return resultobj;
3891 fail:
3892 return NULL;
3893 }
3894
3895
3896 static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3897 PyObject *resultobj;
3898 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3899 int arg2 ;
3900 PyObject * obj0 = 0 ;
3901 char *kwnames[] = {
3902 (char *) "self",(char *) "indentSize", NULL
3903 };
3904
3905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetIndent",kwnames,&obj0,&arg2)) goto fail;
3906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3907 {
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 (arg1)->SetIndent(arg2);
3910
3911 wxPyEndAllowThreads(__tstate);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 Py_INCREF(Py_None); resultobj = Py_None;
3915 return resultobj;
3916 fail:
3917 return NULL;
3918 }
3919
3920
3921 static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3922 PyObject *resultobj;
3923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3924 int result;
3925 PyObject * obj0 = 0 ;
3926 char *kwnames[] = {
3927 (char *) "self", NULL
3928 };
3929
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
3931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3932 {
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
3934 result = (int)(arg1)->GetIndent();
3935
3936 wxPyEndAllowThreads(__tstate);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 }
3939 resultobj = PyInt_FromLong((long)result);
3940 return resultobj;
3941 fail:
3942 return NULL;
3943 }
3944
3945
3946 static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
3947 PyObject *resultobj;
3948 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3949 bool arg2 ;
3950 PyObject * obj0 = 0 ;
3951 PyObject * obj1 = 0 ;
3952 char *kwnames[] = {
3953 (char *) "self",(char *) "useTabs", NULL
3954 };
3955
3956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
3957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3958 arg2 = PyInt_AsLong(obj1) ? true : false;
3959 if (PyErr_Occurred()) SWIG_fail;
3960 {
3961 PyThreadState* __tstate = wxPyBeginAllowThreads();
3962 (arg1)->SetUseTabs(arg2);
3963
3964 wxPyEndAllowThreads(__tstate);
3965 if (PyErr_Occurred()) SWIG_fail;
3966 }
3967 Py_INCREF(Py_None); resultobj = Py_None;
3968 return resultobj;
3969 fail:
3970 return NULL;
3971 }
3972
3973
3974 static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
3975 PyObject *resultobj;
3976 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3977 bool result;
3978 PyObject * obj0 = 0 ;
3979 char *kwnames[] = {
3980 (char *) "self", NULL
3981 };
3982
3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
3984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 result = (bool)(arg1)->GetUseTabs();
3988
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 resultobj = PyInt_FromLong((long)result);
3993 return resultobj;
3994 fail:
3995 return NULL;
3996 }
3997
3998
3999 static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj;
4001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4002 int arg2 ;
4003 int arg3 ;
4004 PyObject * obj0 = 0 ;
4005 char *kwnames[] = {
4006 (char *) "self",(char *) "line",(char *) "indentSize", NULL
4007 };
4008
4009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&arg2,&arg3)) goto fail;
4010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 (arg1)->SetLineIndentation(arg2,arg3);
4014
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 Py_INCREF(Py_None); resultobj = Py_None;
4019 return resultobj;
4020 fail:
4021 return NULL;
4022 }
4023
4024
4025 static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4026 PyObject *resultobj;
4027 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4028 int arg2 ;
4029 int result;
4030 PyObject * obj0 = 0 ;
4031 char *kwnames[] = {
4032 (char *) "self",(char *) "line", NULL
4033 };
4034
4035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&arg2)) goto fail;
4036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4037 {
4038 PyThreadState* __tstate = wxPyBeginAllowThreads();
4039 result = (int)(arg1)->GetLineIndentation(arg2);
4040
4041 wxPyEndAllowThreads(__tstate);
4042 if (PyErr_Occurred()) SWIG_fail;
4043 }
4044 resultobj = PyInt_FromLong((long)result);
4045 return resultobj;
4046 fail:
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4054 int arg2 ;
4055 int result;
4056 PyObject * obj0 = 0 ;
4057 char *kwnames[] = {
4058 (char *) "self",(char *) "line", NULL
4059 };
4060
4061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&arg2)) goto fail;
4062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 result = (int)(arg1)->GetLineIndentPosition(arg2);
4066
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 resultobj = PyInt_FromLong((long)result);
4071 return resultobj;
4072 fail:
4073 return NULL;
4074 }
4075
4076
4077 static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4078 PyObject *resultobj;
4079 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4080 int arg2 ;
4081 int result;
4082 PyObject * obj0 = 0 ;
4083 char *kwnames[] = {
4084 (char *) "self",(char *) "pos", NULL
4085 };
4086
4087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
4088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4089 {
4090 PyThreadState* __tstate = wxPyBeginAllowThreads();
4091 result = (int)(arg1)->GetColumn(arg2);
4092
4093 wxPyEndAllowThreads(__tstate);
4094 if (PyErr_Occurred()) SWIG_fail;
4095 }
4096 resultobj = PyInt_FromLong((long)result);
4097 return resultobj;
4098 fail:
4099 return NULL;
4100 }
4101
4102
4103 static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4104 PyObject *resultobj;
4105 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4106 bool arg2 ;
4107 PyObject * obj0 = 0 ;
4108 PyObject * obj1 = 0 ;
4109 char *kwnames[] = {
4110 (char *) "self",(char *) "show", NULL
4111 };
4112
4113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
4114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4115 arg2 = PyInt_AsLong(obj1) ? true : false;
4116 if (PyErr_Occurred()) SWIG_fail;
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 (arg1)->SetUseHorizontalScrollBar(arg2);
4120
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 Py_INCREF(Py_None); resultobj = Py_None;
4125 return resultobj;
4126 fail:
4127 return NULL;
4128 }
4129
4130
4131 static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4132 PyObject *resultobj;
4133 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4134 bool result;
4135 PyObject * obj0 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "self", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
4141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 result = (bool)(arg1)->GetUseHorizontalScrollBar();
4145
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4149 resultobj = PyInt_FromLong((long)result);
4150 return resultobj;
4151 fail:
4152 return NULL;
4153 }
4154
4155
4156 static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4157 PyObject *resultobj;
4158 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4159 bool arg2 ;
4160 PyObject * obj0 = 0 ;
4161 PyObject * obj1 = 0 ;
4162 char *kwnames[] = {
4163 (char *) "self",(char *) "show", NULL
4164 };
4165
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
4167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4168 arg2 = PyInt_AsLong(obj1) ? true : false;
4169 if (PyErr_Occurred()) SWIG_fail;
4170 {
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 (arg1)->SetIndentationGuides(arg2);
4173
4174 wxPyEndAllowThreads(__tstate);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 }
4177 Py_INCREF(Py_None); resultobj = Py_None;
4178 return resultobj;
4179 fail:
4180 return NULL;
4181 }
4182
4183
4184 static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject *resultobj;
4186 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4187 bool result;
4188 PyObject * obj0 = 0 ;
4189 char *kwnames[] = {
4190 (char *) "self", NULL
4191 };
4192
4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
4194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4195 {
4196 PyThreadState* __tstate = wxPyBeginAllowThreads();
4197 result = (bool)(arg1)->GetIndentationGuides();
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
4202 resultobj = PyInt_FromLong((long)result);
4203 return resultobj;
4204 fail:
4205 return NULL;
4206 }
4207
4208
4209 static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4210 PyObject *resultobj;
4211 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4212 int arg2 ;
4213 PyObject * obj0 = 0 ;
4214 char *kwnames[] = {
4215 (char *) "self",(char *) "column", NULL
4216 };
4217
4218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&arg2)) goto fail;
4219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4220 {
4221 PyThreadState* __tstate = wxPyBeginAllowThreads();
4222 (arg1)->SetHighlightGuide(arg2);
4223
4224 wxPyEndAllowThreads(__tstate);
4225 if (PyErr_Occurred()) SWIG_fail;
4226 }
4227 Py_INCREF(Py_None); resultobj = Py_None;
4228 return resultobj;
4229 fail:
4230 return NULL;
4231 }
4232
4233
4234 static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4235 PyObject *resultobj;
4236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4237 int result;
4238 PyObject * obj0 = 0 ;
4239 char *kwnames[] = {
4240 (char *) "self", NULL
4241 };
4242
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
4244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4245 {
4246 PyThreadState* __tstate = wxPyBeginAllowThreads();
4247 result = (int)(arg1)->GetHighlightGuide();
4248
4249 wxPyEndAllowThreads(__tstate);
4250 if (PyErr_Occurred()) SWIG_fail;
4251 }
4252 resultobj = PyInt_FromLong((long)result);
4253 return resultobj;
4254 fail:
4255 return NULL;
4256 }
4257
4258
4259 static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj;
4261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4262 int arg2 ;
4263 int result;
4264 PyObject * obj0 = 0 ;
4265 char *kwnames[] = {
4266 (char *) "self",(char *) "line", NULL
4267 };
4268
4269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&arg2)) goto fail;
4270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4271 {
4272 PyThreadState* __tstate = wxPyBeginAllowThreads();
4273 result = (int)(arg1)->GetLineEndPosition(arg2);
4274
4275 wxPyEndAllowThreads(__tstate);
4276 if (PyErr_Occurred()) SWIG_fail;
4277 }
4278 resultobj = PyInt_FromLong((long)result);
4279 return resultobj;
4280 fail:
4281 return NULL;
4282 }
4283
4284
4285 static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4286 PyObject *resultobj;
4287 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4288 int result;
4289 PyObject * obj0 = 0 ;
4290 char *kwnames[] = {
4291 (char *) "self", NULL
4292 };
4293
4294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
4295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 result = (int)(arg1)->GetCodePage();
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 resultobj = PyInt_FromLong((long)result);
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4313 wxColour result;
4314 PyObject * obj0 = 0 ;
4315 char *kwnames[] = {
4316 (char *) "self", NULL
4317 };
4318
4319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
4320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 result = (arg1)->GetCaretForeground();
4324
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 {
4329 wxColour * resultptr;
4330 resultptr = new wxColour((wxColour &) result);
4331 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4332 }
4333 return resultobj;
4334 fail:
4335 return NULL;
4336 }
4337
4338
4339 static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4340 PyObject *resultobj;
4341 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4342 bool result;
4343 PyObject * obj0 = 0 ;
4344 char *kwnames[] = {
4345 (char *) "self", NULL
4346 };
4347
4348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
4349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 result = (bool)(arg1)->GetReadOnly();
4353
4354 wxPyEndAllowThreads(__tstate);
4355 if (PyErr_Occurred()) SWIG_fail;
4356 }
4357 resultobj = PyInt_FromLong((long)result);
4358 return resultobj;
4359 fail:
4360 return NULL;
4361 }
4362
4363
4364 static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4365 PyObject *resultobj;
4366 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4367 int arg2 ;
4368 PyObject * obj0 = 0 ;
4369 char *kwnames[] = {
4370 (char *) "self",(char *) "pos", NULL
4371 };
4372
4373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&arg2)) goto fail;
4374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4375 {
4376 PyThreadState* __tstate = wxPyBeginAllowThreads();
4377 (arg1)->SetCurrentPos(arg2);
4378
4379 wxPyEndAllowThreads(__tstate);
4380 if (PyErr_Occurred()) SWIG_fail;
4381 }
4382 Py_INCREF(Py_None); resultobj = Py_None;
4383 return resultobj;
4384 fail:
4385 return NULL;
4386 }
4387
4388
4389 static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4390 PyObject *resultobj;
4391 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4392 int arg2 ;
4393 PyObject * obj0 = 0 ;
4394 char *kwnames[] = {
4395 (char *) "self",(char *) "pos", NULL
4396 };
4397
4398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&arg2)) goto fail;
4399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4400 {
4401 PyThreadState* __tstate = wxPyBeginAllowThreads();
4402 (arg1)->SetSelectionStart(arg2);
4403
4404 wxPyEndAllowThreads(__tstate);
4405 if (PyErr_Occurred()) SWIG_fail;
4406 }
4407 Py_INCREF(Py_None); resultobj = Py_None;
4408 return resultobj;
4409 fail:
4410 return NULL;
4411 }
4412
4413
4414 static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4415 PyObject *resultobj;
4416 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4417 int result;
4418 PyObject * obj0 = 0 ;
4419 char *kwnames[] = {
4420 (char *) "self", NULL
4421 };
4422
4423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
4424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4425 {
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
4427 result = (int)(arg1)->GetSelectionStart();
4428
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 resultobj = PyInt_FromLong((long)result);
4433 return resultobj;
4434 fail:
4435 return NULL;
4436 }
4437
4438
4439 static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4440 PyObject *resultobj;
4441 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4442 int arg2 ;
4443 PyObject * obj0 = 0 ;
4444 char *kwnames[] = {
4445 (char *) "self",(char *) "pos", NULL
4446 };
4447
4448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&arg2)) goto fail;
4449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4450 {
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 (arg1)->SetSelectionEnd(arg2);
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
4457 Py_INCREF(Py_None); resultobj = Py_None;
4458 return resultobj;
4459 fail:
4460 return NULL;
4461 }
4462
4463
4464 static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4465 PyObject *resultobj;
4466 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4467 int result;
4468 PyObject * obj0 = 0 ;
4469 char *kwnames[] = {
4470 (char *) "self", NULL
4471 };
4472
4473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
4474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 result = (int)(arg1)->GetSelectionEnd();
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 resultobj = PyInt_FromLong((long)result);
4483 return resultobj;
4484 fail:
4485 return NULL;
4486 }
4487
4488
4489 static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj;
4491 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4492 int arg2 ;
4493 PyObject * obj0 = 0 ;
4494 char *kwnames[] = {
4495 (char *) "self",(char *) "magnification", NULL
4496 };
4497
4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&arg2)) goto fail;
4499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 (arg1)->SetPrintMagnification(arg2);
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 Py_INCREF(Py_None); resultobj = Py_None;
4508 return resultobj;
4509 fail:
4510 return NULL;
4511 }
4512
4513
4514 static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
4515 PyObject *resultobj;
4516 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4517 int result;
4518 PyObject * obj0 = 0 ;
4519 char *kwnames[] = {
4520 (char *) "self", NULL
4521 };
4522
4523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
4524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4525 {
4526 PyThreadState* __tstate = wxPyBeginAllowThreads();
4527 result = (int)(arg1)->GetPrintMagnification();
4528
4529 wxPyEndAllowThreads(__tstate);
4530 if (PyErr_Occurred()) SWIG_fail;
4531 }
4532 resultobj = PyInt_FromLong((long)result);
4533 return resultobj;
4534 fail:
4535 return NULL;
4536 }
4537
4538
4539 static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4540 PyObject *resultobj;
4541 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4542 int arg2 ;
4543 PyObject * obj0 = 0 ;
4544 char *kwnames[] = {
4545 (char *) "self",(char *) "mode", NULL
4546 };
4547
4548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&arg2)) goto fail;
4549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4550 {
4551 PyThreadState* __tstate = wxPyBeginAllowThreads();
4552 (arg1)->SetPrintColourMode(arg2);
4553
4554 wxPyEndAllowThreads(__tstate);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 }
4557 Py_INCREF(Py_None); resultobj = Py_None;
4558 return resultobj;
4559 fail:
4560 return NULL;
4561 }
4562
4563
4564 static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4565 PyObject *resultobj;
4566 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4567 int result;
4568 PyObject * obj0 = 0 ;
4569 char *kwnames[] = {
4570 (char *) "self", NULL
4571 };
4572
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
4574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4575 {
4576 PyThreadState* __tstate = wxPyBeginAllowThreads();
4577 result = (int)(arg1)->GetPrintColourMode();
4578
4579 wxPyEndAllowThreads(__tstate);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 }
4582 resultobj = PyInt_FromLong((long)result);
4583 return resultobj;
4584 fail:
4585 return NULL;
4586 }
4587
4588
4589 static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
4590 PyObject *resultobj;
4591 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4592 int arg2 ;
4593 int arg3 ;
4594 wxString *arg4 = 0 ;
4595 int arg5 = (int) 0 ;
4596 int result;
4597 bool temp4 = False ;
4598 PyObject * obj0 = 0 ;
4599 PyObject * obj3 = 0 ;
4600 char *kwnames[] = {
4601 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
4602 };
4603
4604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO|i:StyledTextCtrl_FindText",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
4605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4606 {
4607 arg4 = wxString_in_helper(obj3);
4608 if (arg4 == NULL) SWIG_fail;
4609 temp4 = True;
4610 }
4611 {
4612 PyThreadState* __tstate = wxPyBeginAllowThreads();
4613 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
4614
4615 wxPyEndAllowThreads(__tstate);
4616 if (PyErr_Occurred()) SWIG_fail;
4617 }
4618 resultobj = PyInt_FromLong((long)result);
4619 {
4620 if (temp4)
4621 delete arg4;
4622 }
4623 return resultobj;
4624 fail:
4625 {
4626 if (temp4)
4627 delete arg4;
4628 }
4629 return NULL;
4630 }
4631
4632
4633 static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4634 PyObject *resultobj;
4635 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4636 bool arg2 ;
4637 int arg3 ;
4638 int arg4 ;
4639 wxDC *arg5 = (wxDC *) 0 ;
4640 wxDC *arg6 = (wxDC *) 0 ;
4641 wxRect arg7 ;
4642 wxRect arg8 ;
4643 int result;
4644 wxRect *argp7 ;
4645 wxRect *argp8 ;
4646 PyObject * obj0 = 0 ;
4647 PyObject * obj1 = 0 ;
4648 PyObject * obj4 = 0 ;
4649 PyObject * obj5 = 0 ;
4650 PyObject * obj6 = 0 ;
4651 PyObject * obj7 = 0 ;
4652 char *kwnames[] = {
4653 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
4654 };
4655
4656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6,&obj7)) goto fail;
4657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4658 arg2 = PyInt_AsLong(obj1) ? true : false;
4659 if (PyErr_Occurred()) SWIG_fail;
4660 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4661 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4662 if ((SWIG_ConvertPtr(obj6,(void **) &argp7, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
4663 arg7 = *argp7;
4664 if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
4665 arg8 = *argp8;
4666 {
4667 PyThreadState* __tstate = wxPyBeginAllowThreads();
4668 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4669
4670 wxPyEndAllowThreads(__tstate);
4671 if (PyErr_Occurred()) SWIG_fail;
4672 }
4673 resultobj = PyInt_FromLong((long)result);
4674 return resultobj;
4675 fail:
4676 return NULL;
4677 }
4678
4679
4680 static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4681 PyObject *resultobj;
4682 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4683 int result;
4684 PyObject * obj0 = 0 ;
4685 char *kwnames[] = {
4686 (char *) "self", NULL
4687 };
4688
4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
4690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4691 {
4692 PyThreadState* __tstate = wxPyBeginAllowThreads();
4693 result = (int)(arg1)->GetFirstVisibleLine();
4694
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 resultobj = PyInt_FromLong((long)result);
4699 return resultobj;
4700 fail:
4701 return NULL;
4702 }
4703
4704
4705 static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4706 PyObject *resultobj;
4707 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4708 int arg2 ;
4709 wxString result;
4710 PyObject * obj0 = 0 ;
4711 char *kwnames[] = {
4712 (char *) "self",(char *) "line", NULL
4713 };
4714
4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLine",kwnames,&obj0,&arg2)) goto fail;
4716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 result = (arg1)->GetLine(arg2);
4720
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 {
4725 #if wxUSE_UNICODE
4726 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4727 #else
4728 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4729 #endif
4730 }
4731 return resultobj;
4732 fail:
4733 return NULL;
4734 }
4735
4736
4737 static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4738 PyObject *resultobj;
4739 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4740 int result;
4741 PyObject * obj0 = 0 ;
4742 char *kwnames[] = {
4743 (char *) "self", NULL
4744 };
4745
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
4747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4748 {
4749 PyThreadState* __tstate = wxPyBeginAllowThreads();
4750 result = (int)(arg1)->GetLineCount();
4751
4752 wxPyEndAllowThreads(__tstate);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 }
4755 resultobj = PyInt_FromLong((long)result);
4756 return resultobj;
4757 fail:
4758 return NULL;
4759 }
4760
4761
4762 static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4763 PyObject *resultobj;
4764 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4765 int arg2 ;
4766 PyObject * obj0 = 0 ;
4767 char *kwnames[] = {
4768 (char *) "self",(char *) "pixelWidth", NULL
4769 };
4770
4771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&arg2)) goto fail;
4772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4773 {
4774 PyThreadState* __tstate = wxPyBeginAllowThreads();
4775 (arg1)->SetMarginLeft(arg2);
4776
4777 wxPyEndAllowThreads(__tstate);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 Py_INCREF(Py_None); resultobj = Py_None;
4781 return resultobj;
4782 fail:
4783 return NULL;
4784 }
4785
4786
4787 static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4788 PyObject *resultobj;
4789 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4790 int result;
4791 PyObject * obj0 = 0 ;
4792 char *kwnames[] = {
4793 (char *) "self", NULL
4794 };
4795
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
4797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 result = (int)(arg1)->GetMarginLeft();
4801
4802 wxPyEndAllowThreads(__tstate);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 }
4805 resultobj = PyInt_FromLong((long)result);
4806 return resultobj;
4807 fail:
4808 return NULL;
4809 }
4810
4811
4812 static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4813 PyObject *resultobj;
4814 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4815 int arg2 ;
4816 PyObject * obj0 = 0 ;
4817 char *kwnames[] = {
4818 (char *) "self",(char *) "pixelWidth", NULL
4819 };
4820
4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&arg2)) goto fail;
4822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4823 {
4824 PyThreadState* __tstate = wxPyBeginAllowThreads();
4825 (arg1)->SetMarginRight(arg2);
4826
4827 wxPyEndAllowThreads(__tstate);
4828 if (PyErr_Occurred()) SWIG_fail;
4829 }
4830 Py_INCREF(Py_None); resultobj = Py_None;
4831 return resultobj;
4832 fail:
4833 return NULL;
4834 }
4835
4836
4837 static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4838 PyObject *resultobj;
4839 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4840 int result;
4841 PyObject * obj0 = 0 ;
4842 char *kwnames[] = {
4843 (char *) "self", NULL
4844 };
4845
4846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
4847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4848 {
4849 PyThreadState* __tstate = wxPyBeginAllowThreads();
4850 result = (int)(arg1)->GetMarginRight();
4851
4852 wxPyEndAllowThreads(__tstate);
4853 if (PyErr_Occurred()) SWIG_fail;
4854 }
4855 resultobj = PyInt_FromLong((long)result);
4856 return resultobj;
4857 fail:
4858 return NULL;
4859 }
4860
4861
4862 static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
4863 PyObject *resultobj;
4864 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4865 bool result;
4866 PyObject * obj0 = 0 ;
4867 char *kwnames[] = {
4868 (char *) "self", NULL
4869 };
4870
4871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
4872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 result = (bool)(arg1)->GetModify();
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 resultobj = PyInt_FromLong((long)result);
4881 return resultobj;
4882 fail:
4883 return NULL;
4884 }
4885
4886
4887 static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4888 PyObject *resultobj;
4889 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4890 int arg2 ;
4891 int arg3 ;
4892 PyObject * obj0 = 0 ;
4893 char *kwnames[] = {
4894 (char *) "self",(char *) "start",(char *) "end", NULL
4895 };
4896
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
4898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 (arg1)->SetSelection(arg2,arg3);
4902
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 Py_INCREF(Py_None); resultobj = Py_None;
4907 return resultobj;
4908 fail:
4909 return NULL;
4910 }
4911
4912
4913 static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
4914 PyObject *resultobj;
4915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4916 wxString result;
4917 PyObject * obj0 = 0 ;
4918 char *kwnames[] = {
4919 (char *) "self", NULL
4920 };
4921
4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
4923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 result = (arg1)->GetSelectedText();
4927
4928 wxPyEndAllowThreads(__tstate);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
4931 {
4932 #if wxUSE_UNICODE
4933 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4934 #else
4935 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4936 #endif
4937 }
4938 return resultobj;
4939 fail:
4940 return NULL;
4941 }
4942
4943
4944 static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4945 PyObject *resultobj;
4946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4947 int arg2 ;
4948 int arg3 ;
4949 wxString result;
4950 PyObject * obj0 = 0 ;
4951 char *kwnames[] = {
4952 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
4953 };
4954
4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetTextRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
4956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 result = (arg1)->GetTextRange(arg2,arg3);
4960
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 {
4965 #if wxUSE_UNICODE
4966 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4967 #else
4968 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4969 #endif
4970 }
4971 return resultobj;
4972 fail:
4973 return NULL;
4974 }
4975
4976
4977 static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4978 PyObject *resultobj;
4979 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4980 bool arg2 ;
4981 PyObject * obj0 = 0 ;
4982 PyObject * obj1 = 0 ;
4983 char *kwnames[] = {
4984 (char *) "self",(char *) "normal", NULL
4985 };
4986
4987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
4988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4989 arg2 = PyInt_AsLong(obj1) ? true : false;
4990 if (PyErr_Occurred()) SWIG_fail;
4991 {
4992 PyThreadState* __tstate = wxPyBeginAllowThreads();
4993 (arg1)->HideSelection(arg2);
4994
4995 wxPyEndAllowThreads(__tstate);
4996 if (PyErr_Occurred()) SWIG_fail;
4997 }
4998 Py_INCREF(Py_None); resultobj = Py_None;
4999 return resultobj;
5000 fail:
5001 return NULL;
5002 }
5003
5004
5005 static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5006 PyObject *resultobj;
5007 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5008 int arg2 ;
5009 int result;
5010 PyObject * obj0 = 0 ;
5011 char *kwnames[] = {
5012 (char *) "self",(char *) "pos", NULL
5013 };
5014
5015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&arg2)) goto fail;
5016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 result = (int)(arg1)->LineFromPosition(arg2);
5020
5021 wxPyEndAllowThreads(__tstate);
5022 if (PyErr_Occurred()) SWIG_fail;
5023 }
5024 resultobj = PyInt_FromLong((long)result);
5025 return resultobj;
5026 fail:
5027 return NULL;
5028 }
5029
5030
5031 static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5032 PyObject *resultobj;
5033 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5034 int arg2 ;
5035 int result;
5036 PyObject * obj0 = 0 ;
5037 char *kwnames[] = {
5038 (char *) "self",(char *) "line", NULL
5039 };
5040
5041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&arg2)) goto fail;
5042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 result = (int)(arg1)->PositionFromLine(arg2);
5046
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
5050 resultobj = PyInt_FromLong((long)result);
5051 return resultobj;
5052 fail:
5053 return NULL;
5054 }
5055
5056
5057 static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5058 PyObject *resultobj;
5059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5060 int arg2 ;
5061 int arg3 ;
5062 PyObject * obj0 = 0 ;
5063 char *kwnames[] = {
5064 (char *) "self",(char *) "columns",(char *) "lines", NULL
5065 };
5066
5067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_LineScroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
5068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 (arg1)->LineScroll(arg2,arg3);
5072
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 Py_INCREF(Py_None); resultobj = Py_None;
5077 return resultobj;
5078 fail:
5079 return NULL;
5080 }
5081
5082
5083 static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5084 PyObject *resultobj;
5085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5086 PyObject * obj0 = 0 ;
5087 char *kwnames[] = {
5088 (char *) "self", NULL
5089 };
5090
5091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
5092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 (arg1)->EnsureCaretVisible();
5096
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 Py_INCREF(Py_None); resultobj = Py_None;
5101 return resultobj;
5102 fail:
5103 return NULL;
5104 }
5105
5106
5107 static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5108 PyObject *resultobj;
5109 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5110 wxString *arg2 = 0 ;
5111 bool temp2 = False ;
5112 PyObject * obj0 = 0 ;
5113 PyObject * obj1 = 0 ;
5114 char *kwnames[] = {
5115 (char *) "self",(char *) "text", NULL
5116 };
5117
5118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
5119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5120 {
5121 arg2 = wxString_in_helper(obj1);
5122 if (arg2 == NULL) SWIG_fail;
5123 temp2 = True;
5124 }
5125 {
5126 PyThreadState* __tstate = wxPyBeginAllowThreads();
5127 (arg1)->ReplaceSelection((wxString const &)*arg2);
5128
5129 wxPyEndAllowThreads(__tstate);
5130 if (PyErr_Occurred()) SWIG_fail;
5131 }
5132 Py_INCREF(Py_None); resultobj = Py_None;
5133 {
5134 if (temp2)
5135 delete arg2;
5136 }
5137 return resultobj;
5138 fail:
5139 {
5140 if (temp2)
5141 delete arg2;
5142 }
5143 return NULL;
5144 }
5145
5146
5147 static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5148 PyObject *resultobj;
5149 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5150 bool arg2 ;
5151 PyObject * obj0 = 0 ;
5152 PyObject * obj1 = 0 ;
5153 char *kwnames[] = {
5154 (char *) "self",(char *) "readOnly", NULL
5155 };
5156
5157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
5158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5159 arg2 = PyInt_AsLong(obj1) ? true : false;
5160 if (PyErr_Occurred()) SWIG_fail;
5161 {
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 (arg1)->SetReadOnly(arg2);
5164
5165 wxPyEndAllowThreads(__tstate);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 }
5168 Py_INCREF(Py_None); resultobj = Py_None;
5169 return resultobj;
5170 fail:
5171 return NULL;
5172 }
5173
5174
5175 static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5176 PyObject *resultobj;
5177 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5178 bool result;
5179 PyObject * obj0 = 0 ;
5180 char *kwnames[] = {
5181 (char *) "self", NULL
5182 };
5183
5184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
5185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5186 {
5187 PyThreadState* __tstate = wxPyBeginAllowThreads();
5188 result = (bool)(arg1)->CanPaste();
5189
5190 wxPyEndAllowThreads(__tstate);
5191 if (PyErr_Occurred()) SWIG_fail;
5192 }
5193 resultobj = PyInt_FromLong((long)result);
5194 return resultobj;
5195 fail:
5196 return NULL;
5197 }
5198
5199
5200 static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5201 PyObject *resultobj;
5202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5203 bool result;
5204 PyObject * obj0 = 0 ;
5205 char *kwnames[] = {
5206 (char *) "self", NULL
5207 };
5208
5209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
5210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5211 {
5212 PyThreadState* __tstate = wxPyBeginAllowThreads();
5213 result = (bool)(arg1)->CanUndo();
5214
5215 wxPyEndAllowThreads(__tstate);
5216 if (PyErr_Occurred()) SWIG_fail;
5217 }
5218 resultobj = PyInt_FromLong((long)result);
5219 return resultobj;
5220 fail:
5221 return NULL;
5222 }
5223
5224
5225 static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
5226 PyObject *resultobj;
5227 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5228 PyObject * obj0 = 0 ;
5229 char *kwnames[] = {
5230 (char *) "self", NULL
5231 };
5232
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
5234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 (arg1)->EmptyUndoBuffer();
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
5242 Py_INCREF(Py_None); resultobj = Py_None;
5243 return resultobj;
5244 fail:
5245 return NULL;
5246 }
5247
5248
5249 static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject *resultobj;
5251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5252 PyObject * obj0 = 0 ;
5253 char *kwnames[] = {
5254 (char *) "self", NULL
5255 };
5256
5257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
5258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 (arg1)->Undo();
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 Py_INCREF(Py_None); resultobj = Py_None;
5267 return resultobj;
5268 fail:
5269 return NULL;
5270 }
5271
5272
5273 static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
5274 PyObject *resultobj;
5275 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5276 PyObject * obj0 = 0 ;
5277 char *kwnames[] = {
5278 (char *) "self", NULL
5279 };
5280
5281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
5282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5283 {
5284 PyThreadState* __tstate = wxPyBeginAllowThreads();
5285 (arg1)->Cut();
5286
5287 wxPyEndAllowThreads(__tstate);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
5290 Py_INCREF(Py_None); resultobj = Py_None;
5291 return resultobj;
5292 fail:
5293 return NULL;
5294 }
5295
5296
5297 static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
5298 PyObject *resultobj;
5299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5300 PyObject * obj0 = 0 ;
5301 char *kwnames[] = {
5302 (char *) "self", NULL
5303 };
5304
5305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
5306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5307 {
5308 PyThreadState* __tstate = wxPyBeginAllowThreads();
5309 (arg1)->Copy();
5310
5311 wxPyEndAllowThreads(__tstate);
5312 if (PyErr_Occurred()) SWIG_fail;
5313 }
5314 Py_INCREF(Py_None); resultobj = Py_None;
5315 return resultobj;
5316 fail:
5317 return NULL;
5318 }
5319
5320
5321 static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
5322 PyObject *resultobj;
5323 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5324 PyObject * obj0 = 0 ;
5325 char *kwnames[] = {
5326 (char *) "self", NULL
5327 };
5328
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
5330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5331 {
5332 PyThreadState* __tstate = wxPyBeginAllowThreads();
5333 (arg1)->Paste();
5334
5335 wxPyEndAllowThreads(__tstate);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
5338 Py_INCREF(Py_None); resultobj = Py_None;
5339 return resultobj;
5340 fail:
5341 return NULL;
5342 }
5343
5344
5345 static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5346 PyObject *resultobj;
5347 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5348 PyObject * obj0 = 0 ;
5349 char *kwnames[] = {
5350 (char *) "self", NULL
5351 };
5352
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
5354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 (arg1)->Clear();
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 Py_INCREF(Py_None); resultobj = Py_None;
5363 return resultobj;
5364 fail:
5365 return NULL;
5366 }
5367
5368
5369 static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj;
5371 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5372 wxString *arg2 = 0 ;
5373 bool temp2 = False ;
5374 PyObject * obj0 = 0 ;
5375 PyObject * obj1 = 0 ;
5376 char *kwnames[] = {
5377 (char *) "self",(char *) "text", NULL
5378 };
5379
5380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
5381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5382 {
5383 arg2 = wxString_in_helper(obj1);
5384 if (arg2 == NULL) SWIG_fail;
5385 temp2 = True;
5386 }
5387 {
5388 PyThreadState* __tstate = wxPyBeginAllowThreads();
5389 (arg1)->SetText((wxString const &)*arg2);
5390
5391 wxPyEndAllowThreads(__tstate);
5392 if (PyErr_Occurred()) SWIG_fail;
5393 }
5394 Py_INCREF(Py_None); resultobj = Py_None;
5395 {
5396 if (temp2)
5397 delete arg2;
5398 }
5399 return resultobj;
5400 fail:
5401 {
5402 if (temp2)
5403 delete arg2;
5404 }
5405 return NULL;
5406 }
5407
5408
5409 static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5410 PyObject *resultobj;
5411 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5412 wxString result;
5413 PyObject * obj0 = 0 ;
5414 char *kwnames[] = {
5415 (char *) "self", NULL
5416 };
5417
5418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
5419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5420 {
5421 PyThreadState* __tstate = wxPyBeginAllowThreads();
5422 result = (arg1)->GetText();
5423
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
5427 {
5428 #if wxUSE_UNICODE
5429 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5430 #else
5431 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5432 #endif
5433 }
5434 return resultobj;
5435 fail:
5436 return NULL;
5437 }
5438
5439
5440 static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5441 PyObject *resultobj;
5442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5443 int result;
5444 PyObject * obj0 = 0 ;
5445 char *kwnames[] = {
5446 (char *) "self", NULL
5447 };
5448
5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
5450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5451 {
5452 PyThreadState* __tstate = wxPyBeginAllowThreads();
5453 result = (int)(arg1)->GetTextLength();
5454
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 resultobj = PyInt_FromLong((long)result);
5459 return resultobj;
5460 fail:
5461 return NULL;
5462 }
5463
5464
5465 static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
5466 PyObject *resultobj;
5467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5468 bool arg2 ;
5469 PyObject * obj0 = 0 ;
5470 PyObject * obj1 = 0 ;
5471 char *kwnames[] = {
5472 (char *) "self",(char *) "overtype", NULL
5473 };
5474
5475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
5476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5477 arg2 = PyInt_AsLong(obj1) ? true : false;
5478 if (PyErr_Occurred()) SWIG_fail;
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 (arg1)->SetOvertype(arg2);
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 Py_INCREF(Py_None); resultobj = Py_None;
5487 return resultobj;
5488 fail:
5489 return NULL;
5490 }
5491
5492
5493 static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
5494 PyObject *resultobj;
5495 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5496 bool result;
5497 PyObject * obj0 = 0 ;
5498 char *kwnames[] = {
5499 (char *) "self", NULL
5500 };
5501
5502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
5503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 result = (bool)(arg1)->GetOvertype();
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 resultobj = PyInt_FromLong((long)result);
5512 return resultobj;
5513 fail:
5514 return NULL;
5515 }
5516
5517
5518 static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj;
5520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5521 int arg2 ;
5522 PyObject * obj0 = 0 ;
5523 char *kwnames[] = {
5524 (char *) "self",(char *) "pixelWidth", NULL
5525 };
5526
5527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&arg2)) goto fail;
5528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 (arg1)->SetCaretWidth(arg2);
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
5536 Py_INCREF(Py_None); resultobj = Py_None;
5537 return resultobj;
5538 fail:
5539 return NULL;
5540 }
5541
5542
5543 static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5544 PyObject *resultobj;
5545 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5546 int result;
5547 PyObject * obj0 = 0 ;
5548 char *kwnames[] = {
5549 (char *) "self", NULL
5550 };
5551
5552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
5553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5554 {
5555 PyThreadState* __tstate = wxPyBeginAllowThreads();
5556 result = (int)(arg1)->GetCaretWidth();
5557
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
5561 resultobj = PyInt_FromLong((long)result);
5562 return resultobj;
5563 fail:
5564 return NULL;
5565 }
5566
5567
5568 static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5569 PyObject *resultobj;
5570 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5571 int arg2 ;
5572 PyObject * obj0 = 0 ;
5573 char *kwnames[] = {
5574 (char *) "self",(char *) "pos", NULL
5575 };
5576
5577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&arg2)) goto fail;
5578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 (arg1)->SetTargetStart(arg2);
5582
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 Py_INCREF(Py_None); resultobj = Py_None;
5587 return resultobj;
5588 fail:
5589 return NULL;
5590 }
5591
5592
5593 static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5594 PyObject *resultobj;
5595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5596 int result;
5597 PyObject * obj0 = 0 ;
5598 char *kwnames[] = {
5599 (char *) "self", NULL
5600 };
5601
5602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
5603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5604 {
5605 PyThreadState* __tstate = wxPyBeginAllowThreads();
5606 result = (int)(arg1)->GetTargetStart();
5607
5608 wxPyEndAllowThreads(__tstate);
5609 if (PyErr_Occurred()) SWIG_fail;
5610 }
5611 resultobj = PyInt_FromLong((long)result);
5612 return resultobj;
5613 fail:
5614 return NULL;
5615 }
5616
5617
5618 static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5619 PyObject *resultobj;
5620 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5621 int arg2 ;
5622 PyObject * obj0 = 0 ;
5623 char *kwnames[] = {
5624 (char *) "self",(char *) "pos", NULL
5625 };
5626
5627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&arg2)) goto fail;
5628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5629 {
5630 PyThreadState* __tstate = wxPyBeginAllowThreads();
5631 (arg1)->SetTargetEnd(arg2);
5632
5633 wxPyEndAllowThreads(__tstate);
5634 if (PyErr_Occurred()) SWIG_fail;
5635 }
5636 Py_INCREF(Py_None); resultobj = Py_None;
5637 return resultobj;
5638 fail:
5639 return NULL;
5640 }
5641
5642
5643 static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5644 PyObject *resultobj;
5645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5646 int result;
5647 PyObject * obj0 = 0 ;
5648 char *kwnames[] = {
5649 (char *) "self", NULL
5650 };
5651
5652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
5653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5654 {
5655 PyThreadState* __tstate = wxPyBeginAllowThreads();
5656 result = (int)(arg1)->GetTargetEnd();
5657
5658 wxPyEndAllowThreads(__tstate);
5659 if (PyErr_Occurred()) SWIG_fail;
5660 }
5661 resultobj = PyInt_FromLong((long)result);
5662 return resultobj;
5663 fail:
5664 return NULL;
5665 }
5666
5667
5668 static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5669 PyObject *resultobj;
5670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5671 wxString *arg2 = 0 ;
5672 int result;
5673 bool temp2 = False ;
5674 PyObject * obj0 = 0 ;
5675 PyObject * obj1 = 0 ;
5676 char *kwnames[] = {
5677 (char *) "self",(char *) "text", NULL
5678 };
5679
5680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
5681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5682 {
5683 arg2 = wxString_in_helper(obj1);
5684 if (arg2 == NULL) SWIG_fail;
5685 temp2 = True;
5686 }
5687 {
5688 PyThreadState* __tstate = wxPyBeginAllowThreads();
5689 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
5690
5691 wxPyEndAllowThreads(__tstate);
5692 if (PyErr_Occurred()) SWIG_fail;
5693 }
5694 resultobj = PyInt_FromLong((long)result);
5695 {
5696 if (temp2)
5697 delete arg2;
5698 }
5699 return resultobj;
5700 fail:
5701 {
5702 if (temp2)
5703 delete arg2;
5704 }
5705 return NULL;
5706 }
5707
5708
5709 static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj;
5711 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5712 wxString *arg2 = 0 ;
5713 int result;
5714 bool temp2 = False ;
5715 PyObject * obj0 = 0 ;
5716 PyObject * obj1 = 0 ;
5717 char *kwnames[] = {
5718 (char *) "self",(char *) "text", NULL
5719 };
5720
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
5722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5723 {
5724 arg2 = wxString_in_helper(obj1);
5725 if (arg2 == NULL) SWIG_fail;
5726 temp2 = True;
5727 }
5728 {
5729 PyThreadState* __tstate = wxPyBeginAllowThreads();
5730 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
5731
5732 wxPyEndAllowThreads(__tstate);
5733 if (PyErr_Occurred()) SWIG_fail;
5734 }
5735 resultobj = PyInt_FromLong((long)result);
5736 {
5737 if (temp2)
5738 delete arg2;
5739 }
5740 return resultobj;
5741 fail:
5742 {
5743 if (temp2)
5744 delete arg2;
5745 }
5746 return NULL;
5747 }
5748
5749
5750 static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5751 PyObject *resultobj;
5752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5753 wxString *arg2 = 0 ;
5754 int result;
5755 bool temp2 = False ;
5756 PyObject * obj0 = 0 ;
5757 PyObject * obj1 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "self",(char *) "text", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
5763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5764 {
5765 arg2 = wxString_in_helper(obj1);
5766 if (arg2 == NULL) SWIG_fail;
5767 temp2 = True;
5768 }
5769 {
5770 PyThreadState* __tstate = wxPyBeginAllowThreads();
5771 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
5772
5773 wxPyEndAllowThreads(__tstate);
5774 if (PyErr_Occurred()) SWIG_fail;
5775 }
5776 resultobj = PyInt_FromLong((long)result);
5777 {
5778 if (temp2)
5779 delete arg2;
5780 }
5781 return resultobj;
5782 fail:
5783 {
5784 if (temp2)
5785 delete arg2;
5786 }
5787 return NULL;
5788 }
5789
5790
5791 static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5792 PyObject *resultobj;
5793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5794 int arg2 ;
5795 PyObject * obj0 = 0 ;
5796 char *kwnames[] = {
5797 (char *) "self",(char *) "flags", NULL
5798 };
5799
5800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&arg2)) goto fail;
5801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5802 {
5803 PyThreadState* __tstate = wxPyBeginAllowThreads();
5804 (arg1)->SetSearchFlags(arg2);
5805
5806 wxPyEndAllowThreads(__tstate);
5807 if (PyErr_Occurred()) SWIG_fail;
5808 }
5809 Py_INCREF(Py_None); resultobj = Py_None;
5810 return resultobj;
5811 fail:
5812 return NULL;
5813 }
5814
5815
5816 static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5817 PyObject *resultobj;
5818 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5819 int result;
5820 PyObject * obj0 = 0 ;
5821 char *kwnames[] = {
5822 (char *) "self", NULL
5823 };
5824
5825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
5826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5827 {
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 result = (int)(arg1)->GetSearchFlags();
5830
5831 wxPyEndAllowThreads(__tstate);
5832 if (PyErr_Occurred()) SWIG_fail;
5833 }
5834 resultobj = PyInt_FromLong((long)result);
5835 return resultobj;
5836 fail:
5837 return NULL;
5838 }
5839
5840
5841 static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
5842 PyObject *resultobj;
5843 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5844 int arg2 ;
5845 wxString *arg3 = 0 ;
5846 bool temp3 = False ;
5847 PyObject * obj0 = 0 ;
5848 PyObject * obj2 = 0 ;
5849 char *kwnames[] = {
5850 (char *) "self",(char *) "pos",(char *) "definition", NULL
5851 };
5852
5853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&arg2,&obj2)) goto fail;
5854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5855 {
5856 arg3 = wxString_in_helper(obj2);
5857 if (arg3 == NULL) SWIG_fail;
5858 temp3 = True;
5859 }
5860 {
5861 PyThreadState* __tstate = wxPyBeginAllowThreads();
5862 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
5863
5864 wxPyEndAllowThreads(__tstate);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 Py_INCREF(Py_None); resultobj = Py_None;
5868 {
5869 if (temp3)
5870 delete arg3;
5871 }
5872 return resultobj;
5873 fail:
5874 {
5875 if (temp3)
5876 delete arg3;
5877 }
5878 return NULL;
5879 }
5880
5881
5882 static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
5883 PyObject *resultobj;
5884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5885 PyObject * obj0 = 0 ;
5886 char *kwnames[] = {
5887 (char *) "self", NULL
5888 };
5889
5890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
5891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5892 {
5893 PyThreadState* __tstate = wxPyBeginAllowThreads();
5894 (arg1)->CallTipCancel();
5895
5896 wxPyEndAllowThreads(__tstate);
5897 if (PyErr_Occurred()) SWIG_fail;
5898 }
5899 Py_INCREF(Py_None); resultobj = Py_None;
5900 return resultobj;
5901 fail:
5902 return NULL;
5903 }
5904
5905
5906 static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
5907 PyObject *resultobj;
5908 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5909 bool result;
5910 PyObject * obj0 = 0 ;
5911 char *kwnames[] = {
5912 (char *) "self", NULL
5913 };
5914
5915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
5916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5917 {
5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
5919 result = (bool)(arg1)->CallTipActive();
5920
5921 wxPyEndAllowThreads(__tstate);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 }
5924 resultobj = PyInt_FromLong((long)result);
5925 return resultobj;
5926 fail:
5927 return NULL;
5928 }
5929
5930
5931 static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5932 PyObject *resultobj;
5933 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5934 int result;
5935 PyObject * obj0 = 0 ;
5936 char *kwnames[] = {
5937 (char *) "self", NULL
5938 };
5939
5940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
5941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 result = (int)(arg1)->CallTipPosAtStart();
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 resultobj = PyInt_FromLong((long)result);
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj;
5958 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5959 int arg2 ;
5960 int arg3 ;
5961 PyObject * obj0 = 0 ;
5962 char *kwnames[] = {
5963 (char *) "self",(char *) "start",(char *) "end", NULL
5964 };
5965
5966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&arg2,&arg3)) goto fail;
5967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5968 {
5969 PyThreadState* __tstate = wxPyBeginAllowThreads();
5970 (arg1)->CallTipSetHighlight(arg2,arg3);
5971
5972 wxPyEndAllowThreads(__tstate);
5973 if (PyErr_Occurred()) SWIG_fail;
5974 }
5975 Py_INCREF(Py_None); resultobj = Py_None;
5976 return resultobj;
5977 fail:
5978 return NULL;
5979 }
5980
5981
5982 static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
5983 PyObject *resultobj;
5984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5985 wxColour *arg2 = 0 ;
5986 wxColour temp2 ;
5987 PyObject * obj0 = 0 ;
5988 PyObject * obj1 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self",(char *) "back", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5995 {
5996 arg2 = &temp2;
5997 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5998 }
5999 {
6000 PyThreadState* __tstate = wxPyBeginAllowThreads();
6001 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
6002
6003 wxPyEndAllowThreads(__tstate);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 }
6006 Py_INCREF(Py_None); resultobj = Py_None;
6007 return resultobj;
6008 fail:
6009 return NULL;
6010 }
6011
6012
6013 static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
6014 PyObject *resultobj;
6015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6016 wxColour *arg2 = 0 ;
6017 wxColour temp2 ;
6018 PyObject * obj0 = 0 ;
6019 PyObject * obj1 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self",(char *) "fore", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
6025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6026 {
6027 arg2 = &temp2;
6028 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6029 }
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
6033
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 Py_INCREF(Py_None); resultobj = Py_None;
6038 return resultobj;
6039 fail:
6040 return NULL;
6041 }
6042
6043
6044 static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6045 PyObject *resultobj;
6046 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6047 wxColour *arg2 = 0 ;
6048 wxColour temp2 ;
6049 PyObject * obj0 = 0 ;
6050 PyObject * obj1 = 0 ;
6051 char *kwnames[] = {
6052 (char *) "self",(char *) "fore", NULL
6053 };
6054
6055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
6056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6057 {
6058 arg2 = &temp2;
6059 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6060 }
6061 {
6062 PyThreadState* __tstate = wxPyBeginAllowThreads();
6063 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
6064
6065 wxPyEndAllowThreads(__tstate);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 }
6068 Py_INCREF(Py_None); resultobj = Py_None;
6069 return resultobj;
6070 fail:
6071 return NULL;
6072 }
6073
6074
6075 static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6076 PyObject *resultobj;
6077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6078 int arg2 ;
6079 int result;
6080 PyObject * obj0 = 0 ;
6081 char *kwnames[] = {
6082 (char *) "self",(char *) "line", NULL
6083 };
6084
6085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&arg2)) goto fail;
6086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6087 {
6088 PyThreadState* __tstate = wxPyBeginAllowThreads();
6089 result = (int)(arg1)->VisibleFromDocLine(arg2);
6090
6091 wxPyEndAllowThreads(__tstate);
6092 if (PyErr_Occurred()) SWIG_fail;
6093 }
6094 resultobj = PyInt_FromLong((long)result);
6095 return resultobj;
6096 fail:
6097 return NULL;
6098 }
6099
6100
6101 static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6102 PyObject *resultobj;
6103 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6104 int arg2 ;
6105 int result;
6106 PyObject * obj0 = 0 ;
6107 char *kwnames[] = {
6108 (char *) "self",(char *) "lineDisplay", NULL
6109 };
6110
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&arg2)) goto fail;
6112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 result = (int)(arg1)->DocLineFromVisible(arg2);
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 resultobj = PyInt_FromLong((long)result);
6121 return resultobj;
6122 fail:
6123 return NULL;
6124 }
6125
6126
6127 static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6128 PyObject *resultobj;
6129 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6130 int arg2 ;
6131 int arg3 ;
6132 PyObject * obj0 = 0 ;
6133 char *kwnames[] = {
6134 (char *) "self",(char *) "line",(char *) "level", NULL
6135 };
6136
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&arg2,&arg3)) goto fail;
6138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6139 {
6140 PyThreadState* __tstate = wxPyBeginAllowThreads();
6141 (arg1)->SetFoldLevel(arg2,arg3);
6142
6143 wxPyEndAllowThreads(__tstate);
6144 if (PyErr_Occurred()) SWIG_fail;
6145 }
6146 Py_INCREF(Py_None); resultobj = Py_None;
6147 return resultobj;
6148 fail:
6149 return NULL;
6150 }
6151
6152
6153 static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6154 PyObject *resultobj;
6155 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6156 int arg2 ;
6157 int result;
6158 PyObject * obj0 = 0 ;
6159 char *kwnames[] = {
6160 (char *) "self",(char *) "line", NULL
6161 };
6162
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&arg2)) goto fail;
6164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6165 {
6166 PyThreadState* __tstate = wxPyBeginAllowThreads();
6167 result = (int)(arg1)->GetFoldLevel(arg2);
6168
6169 wxPyEndAllowThreads(__tstate);
6170 if (PyErr_Occurred()) SWIG_fail;
6171 }
6172 resultobj = PyInt_FromLong((long)result);
6173 return resultobj;
6174 fail:
6175 return NULL;
6176 }
6177
6178
6179 static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6180 PyObject *resultobj;
6181 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6182 int arg2 ;
6183 int arg3 ;
6184 int result;
6185 PyObject * obj0 = 0 ;
6186 char *kwnames[] = {
6187 (char *) "self",(char *) "line",(char *) "level", NULL
6188 };
6189
6190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetLastChild",kwnames,&obj0,&arg2,&arg3)) goto fail;
6191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 result = (int)(arg1)->GetLastChild(arg2,arg3);
6195
6196 wxPyEndAllowThreads(__tstate);
6197 if (PyErr_Occurred()) SWIG_fail;
6198 }
6199 resultobj = PyInt_FromLong((long)result);
6200 return resultobj;
6201 fail:
6202 return NULL;
6203 }
6204
6205
6206 static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
6207 PyObject *resultobj;
6208 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6209 int arg2 ;
6210 int result;
6211 PyObject * obj0 = 0 ;
6212 char *kwnames[] = {
6213 (char *) "self",(char *) "line", NULL
6214 };
6215
6216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&arg2)) goto fail;
6217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 result = (int)(arg1)->GetFoldParent(arg2);
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 resultobj = PyInt_FromLong((long)result);
6226 return resultobj;
6227 fail:
6228 return NULL;
6229 }
6230
6231
6232 static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6233 PyObject *resultobj;
6234 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6235 int arg2 ;
6236 int arg3 ;
6237 PyObject * obj0 = 0 ;
6238 char *kwnames[] = {
6239 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
6240 };
6241
6242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_ShowLines",kwnames,&obj0,&arg2,&arg3)) goto fail;
6243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 (arg1)->ShowLines(arg2,arg3);
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
6251 Py_INCREF(Py_None); resultobj = Py_None;
6252 return resultobj;
6253 fail:
6254 return NULL;
6255 }
6256
6257
6258 static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6259 PyObject *resultobj;
6260 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6261 int arg2 ;
6262 int arg3 ;
6263 PyObject * obj0 = 0 ;
6264 char *kwnames[] = {
6265 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
6266 };
6267
6268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_HideLines",kwnames,&obj0,&arg2,&arg3)) goto fail;
6269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6270 {
6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
6272 (arg1)->HideLines(arg2,arg3);
6273
6274 wxPyEndAllowThreads(__tstate);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 }
6277 Py_INCREF(Py_None); resultobj = Py_None;
6278 return resultobj;
6279 fail:
6280 return NULL;
6281 }
6282
6283
6284 static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6285 PyObject *resultobj;
6286 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6287 int arg2 ;
6288 bool result;
6289 PyObject * obj0 = 0 ;
6290 char *kwnames[] = {
6291 (char *) "self",(char *) "line", NULL
6292 };
6293
6294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&arg2)) goto fail;
6295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6296 {
6297 PyThreadState* __tstate = wxPyBeginAllowThreads();
6298 result = (bool)(arg1)->GetLineVisible(arg2);
6299
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
6303 resultobj = PyInt_FromLong((long)result);
6304 return resultobj;
6305 fail:
6306 return NULL;
6307 }
6308
6309
6310 static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
6311 PyObject *resultobj;
6312 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6313 int arg2 ;
6314 bool arg3 ;
6315 PyObject * obj0 = 0 ;
6316 PyObject * obj2 = 0 ;
6317 char *kwnames[] = {
6318 (char *) "self",(char *) "line",(char *) "expanded", NULL
6319 };
6320
6321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&arg2,&obj2)) goto fail;
6322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6323 arg3 = PyInt_AsLong(obj2) ? true : false;
6324 if (PyErr_Occurred()) SWIG_fail;
6325 {
6326 PyThreadState* __tstate = wxPyBeginAllowThreads();
6327 (arg1)->SetFoldExpanded(arg2,arg3);
6328
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 Py_INCREF(Py_None); resultobj = Py_None;
6333 return resultobj;
6334 fail:
6335 return NULL;
6336 }
6337
6338
6339 static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj;
6341 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6342 int arg2 ;
6343 bool result;
6344 PyObject * obj0 = 0 ;
6345 char *kwnames[] = {
6346 (char *) "self",(char *) "line", NULL
6347 };
6348
6349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&arg2)) goto fail;
6350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 result = (bool)(arg1)->GetFoldExpanded(arg2);
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 resultobj = PyInt_FromLong((long)result);
6359 return resultobj;
6360 fail:
6361 return NULL;
6362 }
6363
6364
6365 static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
6366 PyObject *resultobj;
6367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6368 int arg2 ;
6369 PyObject * obj0 = 0 ;
6370 char *kwnames[] = {
6371 (char *) "self",(char *) "line", NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ToggleFold",kwnames,&obj0,&arg2)) goto fail;
6375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6376 {
6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
6378 (arg1)->ToggleFold(arg2);
6379
6380 wxPyEndAllowThreads(__tstate);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
6383 Py_INCREF(Py_None); resultobj = Py_None;
6384 return resultobj;
6385 fail:
6386 return NULL;
6387 }
6388
6389
6390 static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6391 PyObject *resultobj;
6392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6393 int arg2 ;
6394 PyObject * obj0 = 0 ;
6395 char *kwnames[] = {
6396 (char *) "self",(char *) "line", NULL
6397 };
6398
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
6400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 (arg1)->EnsureVisible(arg2);
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 }
6408 Py_INCREF(Py_None); resultobj = Py_None;
6409 return resultobj;
6410 fail:
6411 return NULL;
6412 }
6413
6414
6415 static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6416 PyObject *resultobj;
6417 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6418 int arg2 ;
6419 PyObject * obj0 = 0 ;
6420 char *kwnames[] = {
6421 (char *) "self",(char *) "flags", NULL
6422 };
6423
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&arg2)) goto fail;
6425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 (arg1)->SetFoldFlags(arg2);
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 Py_INCREF(Py_None); resultobj = Py_None;
6434 return resultobj;
6435 fail:
6436 return NULL;
6437 }
6438
6439
6440 static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
6441 PyObject *resultobj;
6442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6443 int arg2 ;
6444 PyObject * obj0 = 0 ;
6445 char *kwnames[] = {
6446 (char *) "self",(char *) "line", NULL
6447 };
6448
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&arg2)) goto fail;
6450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 {
6452 PyThreadState* __tstate = wxPyBeginAllowThreads();
6453 (arg1)->EnsureVisibleEnforcePolicy(arg2);
6454
6455 wxPyEndAllowThreads(__tstate);
6456 if (PyErr_Occurred()) SWIG_fail;
6457 }
6458 Py_INCREF(Py_None); resultobj = Py_None;
6459 return resultobj;
6460 fail:
6461 return NULL;
6462 }
6463
6464
6465 static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6466 PyObject *resultobj;
6467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6468 bool arg2 ;
6469 PyObject * obj0 = 0 ;
6470 PyObject * obj1 = 0 ;
6471 char *kwnames[] = {
6472 (char *) "self",(char *) "tabIndents", NULL
6473 };
6474
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
6476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6477 arg2 = PyInt_AsLong(obj1) ? true : false;
6478 if (PyErr_Occurred()) SWIG_fail;
6479 {
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 (arg1)->SetTabIndents(arg2);
6482
6483 wxPyEndAllowThreads(__tstate);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 }
6486 Py_INCREF(Py_None); resultobj = Py_None;
6487 return resultobj;
6488 fail:
6489 return NULL;
6490 }
6491
6492
6493 static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6496 bool result;
6497 PyObject * obj0 = 0 ;
6498 char *kwnames[] = {
6499 (char *) "self", NULL
6500 };
6501
6502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
6503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 result = (bool)(arg1)->GetTabIndents();
6507
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 resultobj = PyInt_FromLong((long)result);
6512 return resultobj;
6513 fail:
6514 return NULL;
6515 }
6516
6517
6518 static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6519 PyObject *resultobj;
6520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6521 bool arg2 ;
6522 PyObject * obj0 = 0 ;
6523 PyObject * obj1 = 0 ;
6524 char *kwnames[] = {
6525 (char *) "self",(char *) "bsUnIndents", NULL
6526 };
6527
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
6529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6530 arg2 = PyInt_AsLong(obj1) ? true : false;
6531 if (PyErr_Occurred()) SWIG_fail;
6532 {
6533 PyThreadState* __tstate = wxPyBeginAllowThreads();
6534 (arg1)->SetBackSpaceUnIndents(arg2);
6535
6536 wxPyEndAllowThreads(__tstate);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 Py_INCREF(Py_None); resultobj = Py_None;
6540 return resultobj;
6541 fail:
6542 return NULL;
6543 }
6544
6545
6546 static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6547 PyObject *resultobj;
6548 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6549 bool result;
6550 PyObject * obj0 = 0 ;
6551 char *kwnames[] = {
6552 (char *) "self", NULL
6553 };
6554
6555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
6556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6557 {
6558 PyThreadState* __tstate = wxPyBeginAllowThreads();
6559 result = (bool)(arg1)->GetBackSpaceUnIndents();
6560
6561 wxPyEndAllowThreads(__tstate);
6562 if (PyErr_Occurred()) SWIG_fail;
6563 }
6564 resultobj = PyInt_FromLong((long)result);
6565 return resultobj;
6566 fail:
6567 return NULL;
6568 }
6569
6570
6571 static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6572 PyObject *resultobj;
6573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6574 int arg2 ;
6575 PyObject * obj0 = 0 ;
6576 char *kwnames[] = {
6577 (char *) "self",(char *) "periodMilliseconds", NULL
6578 };
6579
6580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&arg2)) goto fail;
6581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6582 {
6583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6584 (arg1)->SetMouseDwellTime(arg2);
6585
6586 wxPyEndAllowThreads(__tstate);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
6589 Py_INCREF(Py_None); resultobj = Py_None;
6590 return resultobj;
6591 fail:
6592 return NULL;
6593 }
6594
6595
6596 static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6597 PyObject *resultobj;
6598 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6599 int result;
6600 PyObject * obj0 = 0 ;
6601 char *kwnames[] = {
6602 (char *) "self", NULL
6603 };
6604
6605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
6606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6607 {
6608 PyThreadState* __tstate = wxPyBeginAllowThreads();
6609 result = (int)(arg1)->GetMouseDwellTime();
6610
6611 wxPyEndAllowThreads(__tstate);
6612 if (PyErr_Occurred()) SWIG_fail;
6613 }
6614 resultobj = PyInt_FromLong((long)result);
6615 return resultobj;
6616 fail:
6617 return NULL;
6618 }
6619
6620
6621 static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6622 PyObject *resultobj;
6623 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6624 int arg2 ;
6625 bool arg3 ;
6626 int result;
6627 PyObject * obj0 = 0 ;
6628 PyObject * obj2 = 0 ;
6629 char *kwnames[] = {
6630 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
6631 };
6632
6633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
6634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6635 arg3 = PyInt_AsLong(obj2) ? true : false;
6636 if (PyErr_Occurred()) SWIG_fail;
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 result = (int)(arg1)->WordStartPosition(arg2,arg3);
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 resultobj = PyInt_FromLong((long)result);
6645 return resultobj;
6646 fail:
6647 return NULL;
6648 }
6649
6650
6651 static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6652 PyObject *resultobj;
6653 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6654 int arg2 ;
6655 bool arg3 ;
6656 int result;
6657 PyObject * obj0 = 0 ;
6658 PyObject * obj2 = 0 ;
6659 char *kwnames[] = {
6660 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
6661 };
6662
6663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
6664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6665 arg3 = PyInt_AsLong(obj2) ? true : false;
6666 if (PyErr_Occurred()) SWIG_fail;
6667 {
6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
6669 result = (int)(arg1)->WordEndPosition(arg2,arg3);
6670
6671 wxPyEndAllowThreads(__tstate);
6672 if (PyErr_Occurred()) SWIG_fail;
6673 }
6674 resultobj = PyInt_FromLong((long)result);
6675 return resultobj;
6676 fail:
6677 return NULL;
6678 }
6679
6680
6681 static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6682 PyObject *resultobj;
6683 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6684 int arg2 ;
6685 PyObject * obj0 = 0 ;
6686 char *kwnames[] = {
6687 (char *) "self",(char *) "mode", NULL
6688 };
6689
6690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&arg2)) goto fail;
6691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6692 {
6693 PyThreadState* __tstate = wxPyBeginAllowThreads();
6694 (arg1)->SetWrapMode(arg2);
6695
6696 wxPyEndAllowThreads(__tstate);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 Py_INCREF(Py_None); resultobj = Py_None;
6700 return resultobj;
6701 fail:
6702 return NULL;
6703 }
6704
6705
6706 static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6707 PyObject *resultobj;
6708 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6709 int result;
6710 PyObject * obj0 = 0 ;
6711 char *kwnames[] = {
6712 (char *) "self", NULL
6713 };
6714
6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
6716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 result = (int)(arg1)->GetWrapMode();
6720
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 resultobj = PyInt_FromLong((long)result);
6725 return resultobj;
6726 fail:
6727 return NULL;
6728 }
6729
6730
6731 static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
6732 PyObject *resultobj;
6733 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6734 int arg2 ;
6735 PyObject * obj0 = 0 ;
6736 char *kwnames[] = {
6737 (char *) "self",(char *) "mode", NULL
6738 };
6739
6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&arg2)) goto fail;
6741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6742 {
6743 PyThreadState* __tstate = wxPyBeginAllowThreads();
6744 (arg1)->SetLayoutCache(arg2);
6745
6746 wxPyEndAllowThreads(__tstate);
6747 if (PyErr_Occurred()) SWIG_fail;
6748 }
6749 Py_INCREF(Py_None); resultobj = Py_None;
6750 return resultobj;
6751 fail:
6752 return NULL;
6753 }
6754
6755
6756 static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
6757 PyObject *resultobj;
6758 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6759 int result;
6760 PyObject * obj0 = 0 ;
6761 char *kwnames[] = {
6762 (char *) "self", NULL
6763 };
6764
6765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
6766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6767 {
6768 PyThreadState* __tstate = wxPyBeginAllowThreads();
6769 result = (int)(arg1)->GetLayoutCache();
6770
6771 wxPyEndAllowThreads(__tstate);
6772 if (PyErr_Occurred()) SWIG_fail;
6773 }
6774 resultobj = PyInt_FromLong((long)result);
6775 return resultobj;
6776 fail:
6777 return NULL;
6778 }
6779
6780
6781 static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6782 PyObject *resultobj;
6783 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6784 int arg2 ;
6785 PyObject * obj0 = 0 ;
6786 char *kwnames[] = {
6787 (char *) "self",(char *) "pixelWidth", NULL
6788 };
6789
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&arg2)) goto fail;
6791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6792 {
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6794 (arg1)->SetScrollWidth(arg2);
6795
6796 wxPyEndAllowThreads(__tstate);
6797 if (PyErr_Occurred()) SWIG_fail;
6798 }
6799 Py_INCREF(Py_None); resultobj = Py_None;
6800 return resultobj;
6801 fail:
6802 return NULL;
6803 }
6804
6805
6806 static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6807 PyObject *resultobj;
6808 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6809 int result;
6810 PyObject * obj0 = 0 ;
6811 char *kwnames[] = {
6812 (char *) "self", NULL
6813 };
6814
6815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
6816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6817 {
6818 PyThreadState* __tstate = wxPyBeginAllowThreads();
6819 result = (int)(arg1)->GetScrollWidth();
6820
6821 wxPyEndAllowThreads(__tstate);
6822 if (PyErr_Occurred()) SWIG_fail;
6823 }
6824 resultobj = PyInt_FromLong((long)result);
6825 return resultobj;
6826 fail:
6827 return NULL;
6828 }
6829
6830
6831 static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6832 PyObject *resultobj;
6833 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6834 int arg2 ;
6835 wxString *arg3 = 0 ;
6836 int result;
6837 bool temp3 = False ;
6838 PyObject * obj0 = 0 ;
6839 PyObject * obj2 = 0 ;
6840 char *kwnames[] = {
6841 (char *) "self",(char *) "style",(char *) "text", NULL
6842 };
6843
6844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_TextWidth",kwnames,&obj0,&arg2,&obj2)) goto fail;
6845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6846 {
6847 arg3 = wxString_in_helper(obj2);
6848 if (arg3 == NULL) SWIG_fail;
6849 temp3 = True;
6850 }
6851 {
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
6854
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 resultobj = PyInt_FromLong((long)result);
6859 {
6860 if (temp3)
6861 delete arg3;
6862 }
6863 return resultobj;
6864 fail:
6865 {
6866 if (temp3)
6867 delete arg3;
6868 }
6869 return NULL;
6870 }
6871
6872
6873 static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6874 PyObject *resultobj;
6875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6876 bool arg2 ;
6877 PyObject * obj0 = 0 ;
6878 PyObject * obj1 = 0 ;
6879 char *kwnames[] = {
6880 (char *) "self",(char *) "endAtLastLine", NULL
6881 };
6882
6883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
6884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6885 arg2 = PyInt_AsLong(obj1) ? true : false;
6886 if (PyErr_Occurred()) SWIG_fail;
6887 {
6888 PyThreadState* __tstate = wxPyBeginAllowThreads();
6889 (arg1)->SetEndAtLastLine(arg2);
6890
6891 wxPyEndAllowThreads(__tstate);
6892 if (PyErr_Occurred()) SWIG_fail;
6893 }
6894 Py_INCREF(Py_None); resultobj = Py_None;
6895 return resultobj;
6896 fail:
6897 return NULL;
6898 }
6899
6900
6901 static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6902 PyObject *resultobj;
6903 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6904 int result;
6905 PyObject * obj0 = 0 ;
6906 char *kwnames[] = {
6907 (char *) "self", NULL
6908 };
6909
6910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
6911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6912 {
6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6914 result = (int)(arg1)->GetEndAtLastLine();
6915
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 resultobj = PyInt_FromLong((long)result);
6920 return resultobj;
6921 fail:
6922 return NULL;
6923 }
6924
6925
6926 static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6927 PyObject *resultobj;
6928 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6929 int arg2 ;
6930 int result;
6931 PyObject * obj0 = 0 ;
6932 char *kwnames[] = {
6933 (char *) "self",(char *) "line", NULL
6934 };
6935
6936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_TextHeight",kwnames,&obj0,&arg2)) goto fail;
6937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6938 {
6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6940 result = (int)(arg1)->TextHeight(arg2);
6941
6942 wxPyEndAllowThreads(__tstate);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
6945 resultobj = PyInt_FromLong((long)result);
6946 return resultobj;
6947 fail:
6948 return NULL;
6949 }
6950
6951
6952 static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6953 PyObject *resultobj;
6954 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6955 bool arg2 ;
6956 PyObject * obj0 = 0 ;
6957 PyObject * obj1 = 0 ;
6958 char *kwnames[] = {
6959 (char *) "self",(char *) "show", NULL
6960 };
6961
6962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
6963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6964 arg2 = PyInt_AsLong(obj1) ? true : false;
6965 if (PyErr_Occurred()) SWIG_fail;
6966 {
6967 PyThreadState* __tstate = wxPyBeginAllowThreads();
6968 (arg1)->SetUseVerticalScrollBar(arg2);
6969
6970 wxPyEndAllowThreads(__tstate);
6971 if (PyErr_Occurred()) SWIG_fail;
6972 }
6973 Py_INCREF(Py_None); resultobj = Py_None;
6974 return resultobj;
6975 fail:
6976 return NULL;
6977 }
6978
6979
6980 static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6981 PyObject *resultobj;
6982 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6983 bool result;
6984 PyObject * obj0 = 0 ;
6985 char *kwnames[] = {
6986 (char *) "self", NULL
6987 };
6988
6989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
6990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6991 {
6992 PyThreadState* __tstate = wxPyBeginAllowThreads();
6993 result = (bool)(arg1)->GetUseVerticalScrollBar();
6994
6995 wxPyEndAllowThreads(__tstate);
6996 if (PyErr_Occurred()) SWIG_fail;
6997 }
6998 resultobj = PyInt_FromLong((long)result);
6999 return resultobj;
7000 fail:
7001 return NULL;
7002 }
7003
7004
7005 static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7006 PyObject *resultobj;
7007 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7008 int arg2 ;
7009 wxString *arg3 = 0 ;
7010 bool temp3 = False ;
7011 PyObject * obj0 = 0 ;
7012 PyObject * obj2 = 0 ;
7013 char *kwnames[] = {
7014 (char *) "self",(char *) "length",(char *) "text", NULL
7015 };
7016
7017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_AppendText",kwnames,&obj0,&arg2,&obj2)) goto fail;
7018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7019 {
7020 arg3 = wxString_in_helper(obj2);
7021 if (arg3 == NULL) SWIG_fail;
7022 temp3 = True;
7023 }
7024 {
7025 PyThreadState* __tstate = wxPyBeginAllowThreads();
7026 (arg1)->AppendText(arg2,(wxString const &)*arg3);
7027
7028 wxPyEndAllowThreads(__tstate);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 Py_INCREF(Py_None); resultobj = Py_None;
7032 {
7033 if (temp3)
7034 delete arg3;
7035 }
7036 return resultobj;
7037 fail:
7038 {
7039 if (temp3)
7040 delete arg3;
7041 }
7042 return NULL;
7043 }
7044
7045
7046 static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7047 PyObject *resultobj;
7048 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7049 bool result;
7050 PyObject * obj0 = 0 ;
7051 char *kwnames[] = {
7052 (char *) "self", NULL
7053 };
7054
7055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
7056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7057 {
7058 PyThreadState* __tstate = wxPyBeginAllowThreads();
7059 result = (bool)(arg1)->GetTwoPhaseDraw();
7060
7061 wxPyEndAllowThreads(__tstate);
7062 if (PyErr_Occurred()) SWIG_fail;
7063 }
7064 resultobj = PyInt_FromLong((long)result);
7065 return resultobj;
7066 fail:
7067 return NULL;
7068 }
7069
7070
7071 static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7072 PyObject *resultobj;
7073 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7074 bool arg2 ;
7075 PyObject * obj0 = 0 ;
7076 PyObject * obj1 = 0 ;
7077 char *kwnames[] = {
7078 (char *) "self",(char *) "twoPhase", NULL
7079 };
7080
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
7082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7083 arg2 = PyInt_AsLong(obj1) ? true : false;
7084 if (PyErr_Occurred()) SWIG_fail;
7085 {
7086 PyThreadState* __tstate = wxPyBeginAllowThreads();
7087 (arg1)->SetTwoPhaseDraw(arg2);
7088
7089 wxPyEndAllowThreads(__tstate);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 Py_INCREF(Py_None); resultobj = Py_None;
7093 return resultobj;
7094 fail:
7095 return NULL;
7096 }
7097
7098
7099 static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7100 PyObject *resultobj;
7101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7102 PyObject * obj0 = 0 ;
7103 char *kwnames[] = {
7104 (char *) "self", NULL
7105 };
7106
7107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
7108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 (arg1)->TargetFromSelection();
7112
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 Py_INCREF(Py_None); resultobj = Py_None;
7117 return resultobj;
7118 fail:
7119 return NULL;
7120 }
7121
7122
7123 static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
7124 PyObject *resultobj;
7125 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7126 PyObject * obj0 = 0 ;
7127 char *kwnames[] = {
7128 (char *) "self", NULL
7129 };
7130
7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
7132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 (arg1)->LinesJoin();
7136
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 Py_INCREF(Py_None); resultobj = Py_None;
7141 return resultobj;
7142 fail:
7143 return NULL;
7144 }
7145
7146
7147 static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
7148 PyObject *resultobj;
7149 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7150 int arg2 ;
7151 PyObject * obj0 = 0 ;
7152 char *kwnames[] = {
7153 (char *) "self",(char *) "pixelWidth", NULL
7154 };
7155
7156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LinesSplit",kwnames,&obj0,&arg2)) goto fail;
7157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7158 {
7159 PyThreadState* __tstate = wxPyBeginAllowThreads();
7160 (arg1)->LinesSplit(arg2);
7161
7162 wxPyEndAllowThreads(__tstate);
7163 if (PyErr_Occurred()) SWIG_fail;
7164 }
7165 Py_INCREF(Py_None); resultobj = Py_None;
7166 return resultobj;
7167 fail:
7168 return NULL;
7169 }
7170
7171
7172 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7173 PyObject *resultobj;
7174 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7175 bool arg2 ;
7176 wxColour *arg3 = 0 ;
7177 wxColour temp3 ;
7178 PyObject * obj0 = 0 ;
7179 PyObject * obj1 = 0 ;
7180 PyObject * obj2 = 0 ;
7181 char *kwnames[] = {
7182 (char *) "self",(char *) "useSetting",(char *) "back", NULL
7183 };
7184
7185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7187 arg2 = PyInt_AsLong(obj1) ? true : false;
7188 if (PyErr_Occurred()) SWIG_fail;
7189 {
7190 arg3 = &temp3;
7191 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7192 }
7193 {
7194 PyThreadState* __tstate = wxPyBeginAllowThreads();
7195 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
7196
7197 wxPyEndAllowThreads(__tstate);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 }
7200 Py_INCREF(Py_None); resultobj = Py_None;
7201 return resultobj;
7202 fail:
7203 return NULL;
7204 }
7205
7206
7207 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7208 PyObject *resultobj;
7209 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7210 bool arg2 ;
7211 wxColour *arg3 = 0 ;
7212 wxColour temp3 ;
7213 PyObject * obj0 = 0 ;
7214 PyObject * obj1 = 0 ;
7215 PyObject * obj2 = 0 ;
7216 char *kwnames[] = {
7217 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
7218 };
7219
7220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7222 arg2 = PyInt_AsLong(obj1) ? true : false;
7223 if (PyErr_Occurred()) SWIG_fail;
7224 {
7225 arg3 = &temp3;
7226 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7227 }
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
7231
7232 wxPyEndAllowThreads(__tstate);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 }
7235 Py_INCREF(Py_None); resultobj = Py_None;
7236 return resultobj;
7237 fail:
7238 return NULL;
7239 }
7240
7241
7242 static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
7243 PyObject *resultobj;
7244 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7245 PyObject * obj0 = 0 ;
7246 char *kwnames[] = {
7247 (char *) "self", NULL
7248 };
7249
7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
7251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 (arg1)->LineDuplicate();
7255
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) SWIG_fail;
7258 }
7259 Py_INCREF(Py_None); resultobj = Py_None;
7260 return resultobj;
7261 fail:
7262 return NULL;
7263 }
7264
7265
7266 static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
7267 PyObject *resultobj;
7268 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7269 PyObject * obj0 = 0 ;
7270 char *kwnames[] = {
7271 (char *) "self", NULL
7272 };
7273
7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
7275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7276 {
7277 PyThreadState* __tstate = wxPyBeginAllowThreads();
7278 (arg1)->HomeDisplay();
7279
7280 wxPyEndAllowThreads(__tstate);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 }
7283 Py_INCREF(Py_None); resultobj = Py_None;
7284 return resultobj;
7285 fail:
7286 return NULL;
7287 }
7288
7289
7290 static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
7291 PyObject *resultobj;
7292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7293 PyObject * obj0 = 0 ;
7294 char *kwnames[] = {
7295 (char *) "self", NULL
7296 };
7297
7298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
7299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7300 {
7301 PyThreadState* __tstate = wxPyBeginAllowThreads();
7302 (arg1)->HomeDisplayExtend();
7303
7304 wxPyEndAllowThreads(__tstate);
7305 if (PyErr_Occurred()) SWIG_fail;
7306 }
7307 Py_INCREF(Py_None); resultobj = Py_None;
7308 return resultobj;
7309 fail:
7310 return NULL;
7311 }
7312
7313
7314 static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
7315 PyObject *resultobj;
7316 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7317 PyObject * obj0 = 0 ;
7318 char *kwnames[] = {
7319 (char *) "self", NULL
7320 };
7321
7322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
7323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7324 {
7325 PyThreadState* __tstate = wxPyBeginAllowThreads();
7326 (arg1)->LineEndDisplay();
7327
7328 wxPyEndAllowThreads(__tstate);
7329 if (PyErr_Occurred()) SWIG_fail;
7330 }
7331 Py_INCREF(Py_None); resultobj = Py_None;
7332 return resultobj;
7333 fail:
7334 return NULL;
7335 }
7336
7337
7338 static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
7339 PyObject *resultobj;
7340 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7341 PyObject * obj0 = 0 ;
7342 char *kwnames[] = {
7343 (char *) "self", NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
7347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 (arg1)->LineEndDisplayExtend();
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 Py_INCREF(Py_None); resultobj = Py_None;
7356 return resultobj;
7357 fail:
7358 return NULL;
7359 }
7360
7361
7362 static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7365 PyObject * obj0 = 0 ;
7366 char *kwnames[] = {
7367 (char *) "self", NULL
7368 };
7369
7370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
7371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 (arg1)->LineCopy();
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 Py_INCREF(Py_None); resultobj = Py_None;
7380 return resultobj;
7381 fail:
7382 return NULL;
7383 }
7384
7385
7386 static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
7387 PyObject *resultobj;
7388 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7389 PyObject * obj0 = 0 ;
7390 char *kwnames[] = {
7391 (char *) "self", NULL
7392 };
7393
7394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
7395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7396 {
7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
7398 (arg1)->MoveCaretInsideView();
7399
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 Py_INCREF(Py_None); resultobj = Py_None;
7404 return resultobj;
7405 fail:
7406 return NULL;
7407 }
7408
7409
7410 static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj;
7412 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7413 int arg2 ;
7414 int result;
7415 PyObject * obj0 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self",(char *) "line", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LineLength",kwnames,&obj0,&arg2)) goto fail;
7421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 result = (int)(arg1)->LineLength(arg2);
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 resultobj = PyInt_FromLong((long)result);
7430 return resultobj;
7431 fail:
7432 return NULL;
7433 }
7434
7435
7436 static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7437 PyObject *resultobj;
7438 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7439 int arg2 ;
7440 int arg3 ;
7441 PyObject * obj0 = 0 ;
7442 char *kwnames[] = {
7443 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
7444 };
7445
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&arg2,&arg3)) goto fail;
7447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 (arg1)->BraceHighlight(arg2,arg3);
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 Py_INCREF(Py_None); resultobj = Py_None;
7456 return resultobj;
7457 fail:
7458 return NULL;
7459 }
7460
7461
7462 static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7465 int arg2 ;
7466 PyObject * obj0 = 0 ;
7467 char *kwnames[] = {
7468 (char *) "self",(char *) "pos", NULL
7469 };
7470
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&arg2)) goto fail;
7472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7473 {
7474 PyThreadState* __tstate = wxPyBeginAllowThreads();
7475 (arg1)->BraceBadLight(arg2);
7476
7477 wxPyEndAllowThreads(__tstate);
7478 if (PyErr_Occurred()) SWIG_fail;
7479 }
7480 Py_INCREF(Py_None); resultobj = Py_None;
7481 return resultobj;
7482 fail:
7483 return NULL;
7484 }
7485
7486
7487 static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7488 PyObject *resultobj;
7489 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7490 int arg2 ;
7491 int result;
7492 PyObject * obj0 = 0 ;
7493 char *kwnames[] = {
7494 (char *) "self",(char *) "pos", NULL
7495 };
7496
7497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_BraceMatch",kwnames,&obj0,&arg2)) goto fail;
7498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 result = (int)(arg1)->BraceMatch(arg2);
7502
7503 wxPyEndAllowThreads(__tstate);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 }
7506 resultobj = PyInt_FromLong((long)result);
7507 return resultobj;
7508 fail:
7509 return NULL;
7510 }
7511
7512
7513 static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
7514 PyObject *resultobj;
7515 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7516 bool result;
7517 PyObject * obj0 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "self", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7524 {
7525 PyThreadState* __tstate = wxPyBeginAllowThreads();
7526 result = (bool)(arg1)->GetViewEOL();
7527
7528 wxPyEndAllowThreads(__tstate);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
7531 resultobj = PyInt_FromLong((long)result);
7532 return resultobj;
7533 fail:
7534 return NULL;
7535 }
7536
7537
7538 static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
7539 PyObject *resultobj;
7540 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7541 bool arg2 ;
7542 PyObject * obj0 = 0 ;
7543 PyObject * obj1 = 0 ;
7544 char *kwnames[] = {
7545 (char *) "self",(char *) "visible", NULL
7546 };
7547
7548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
7549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7550 arg2 = PyInt_AsLong(obj1) ? true : false;
7551 if (PyErr_Occurred()) SWIG_fail;
7552 {
7553 PyThreadState* __tstate = wxPyBeginAllowThreads();
7554 (arg1)->SetViewEOL(arg2);
7555
7556 wxPyEndAllowThreads(__tstate);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 }
7559 Py_INCREF(Py_None); resultobj = Py_None;
7560 return resultobj;
7561 fail:
7562 return NULL;
7563 }
7564
7565
7566 static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7569 void *result;
7570 PyObject * obj0 = 0 ;
7571 char *kwnames[] = {
7572 (char *) "self", NULL
7573 };
7574
7575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
7576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7577 {
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
7579 result = (void *)(arg1)->GetDocPointer();
7580
7581 wxPyEndAllowThreads(__tstate);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
7584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
7585 return resultobj;
7586 fail:
7587 return NULL;
7588 }
7589
7590
7591 static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
7592 PyObject *resultobj;
7593 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7594 void *arg2 = (void *) 0 ;
7595 PyObject * obj0 = 0 ;
7596 PyObject * obj1 = 0 ;
7597 char *kwnames[] = {
7598 (char *) "self",(char *) "docPointer", NULL
7599 };
7600
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
7602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7603 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 (arg1)->SetDocPointer(arg2);
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 Py_INCREF(Py_None); resultobj = Py_None;
7612 return resultobj;
7613 fail:
7614 return NULL;
7615 }
7616
7617
7618 static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7621 int arg2 ;
7622 PyObject * obj0 = 0 ;
7623 char *kwnames[] = {
7624 (char *) "self",(char *) "mask", NULL
7625 };
7626
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&arg2)) goto fail;
7628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 (arg1)->SetModEventMask(arg2);
7632
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
7636 Py_INCREF(Py_None); resultobj = Py_None;
7637 return resultobj;
7638 fail:
7639 return NULL;
7640 }
7641
7642
7643 static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj;
7645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7646 int result;
7647 PyObject * obj0 = 0 ;
7648 char *kwnames[] = {
7649 (char *) "self", NULL
7650 };
7651
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
7653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7654 {
7655 PyThreadState* __tstate = wxPyBeginAllowThreads();
7656 result = (int)(arg1)->GetEdgeColumn();
7657
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
7661 resultobj = PyInt_FromLong((long)result);
7662 return resultobj;
7663 fail:
7664 return NULL;
7665 }
7666
7667
7668 static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
7669 PyObject *resultobj;
7670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7671 int arg2 ;
7672 PyObject * obj0 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "self",(char *) "column", NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&arg2)) goto fail;
7678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 (arg1)->SetEdgeColumn(arg2);
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 Py_INCREF(Py_None); resultobj = Py_None;
7687 return resultobj;
7688 fail:
7689 return NULL;
7690 }
7691
7692
7693 static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj;
7695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7696 int result;
7697 PyObject * obj0 = 0 ;
7698 char *kwnames[] = {
7699 (char *) "self", NULL
7700 };
7701
7702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
7703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7704 {
7705 PyThreadState* __tstate = wxPyBeginAllowThreads();
7706 result = (int)(arg1)->GetEdgeMode();
7707
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 resultobj = PyInt_FromLong((long)result);
7712 return resultobj;
7713 fail:
7714 return NULL;
7715 }
7716
7717
7718 static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj;
7720 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7721 int arg2 ;
7722 PyObject * obj0 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self",(char *) "mode", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&arg2)) goto fail;
7728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 (arg1)->SetEdgeMode(arg2);
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 Py_INCREF(Py_None); resultobj = Py_None;
7737 return resultobj;
7738 fail:
7739 return NULL;
7740 }
7741
7742
7743 static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj;
7745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7746 wxColour result;
7747 PyObject * obj0 = 0 ;
7748 char *kwnames[] = {
7749 (char *) "self", NULL
7750 };
7751
7752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
7753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7754 {
7755 PyThreadState* __tstate = wxPyBeginAllowThreads();
7756 result = (arg1)->GetEdgeColour();
7757
7758 wxPyEndAllowThreads(__tstate);
7759 if (PyErr_Occurred()) SWIG_fail;
7760 }
7761 {
7762 wxColour * resultptr;
7763 resultptr = new wxColour((wxColour &) result);
7764 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
7765 }
7766 return resultobj;
7767 fail:
7768 return NULL;
7769 }
7770
7771
7772 static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj;
7774 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7775 wxColour *arg2 = 0 ;
7776 wxColour temp2 ;
7777 PyObject * obj0 = 0 ;
7778 PyObject * obj1 = 0 ;
7779 char *kwnames[] = {
7780 (char *) "self",(char *) "edgeColour", NULL
7781 };
7782
7783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
7784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7785 {
7786 arg2 = &temp2;
7787 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7788 }
7789 {
7790 PyThreadState* __tstate = wxPyBeginAllowThreads();
7791 (arg1)->SetEdgeColour((wxColour const &)*arg2);
7792
7793 wxPyEndAllowThreads(__tstate);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 Py_INCREF(Py_None); resultobj = Py_None;
7797 return resultobj;
7798 fail:
7799 return NULL;
7800 }
7801
7802
7803 static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
7804 PyObject *resultobj;
7805 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7806 PyObject * obj0 = 0 ;
7807 char *kwnames[] = {
7808 (char *) "self", NULL
7809 };
7810
7811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
7812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 (arg1)->SearchAnchor();
7816
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 Py_INCREF(Py_None); resultobj = Py_None;
7821 return resultobj;
7822 fail:
7823 return NULL;
7824 }
7825
7826
7827 static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7828 PyObject *resultobj;
7829 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7830 int arg2 ;
7831 wxString *arg3 = 0 ;
7832 int result;
7833 bool temp3 = False ;
7834 PyObject * obj0 = 0 ;
7835 PyObject * obj2 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "self",(char *) "flags",(char *) "text", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SearchNext",kwnames,&obj0,&arg2,&obj2)) goto fail;
7841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7842 {
7843 arg3 = wxString_in_helper(obj2);
7844 if (arg3 == NULL) SWIG_fail;
7845 temp3 = True;
7846 }
7847 {
7848 PyThreadState* __tstate = wxPyBeginAllowThreads();
7849 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
7850
7851 wxPyEndAllowThreads(__tstate);
7852 if (PyErr_Occurred()) SWIG_fail;
7853 }
7854 resultobj = PyInt_FromLong((long)result);
7855 {
7856 if (temp3)
7857 delete arg3;
7858 }
7859 return resultobj;
7860 fail:
7861 {
7862 if (temp3)
7863 delete arg3;
7864 }
7865 return NULL;
7866 }
7867
7868
7869 static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
7870 PyObject *resultobj;
7871 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7872 int arg2 ;
7873 wxString *arg3 = 0 ;
7874 int result;
7875 bool temp3 = False ;
7876 PyObject * obj0 = 0 ;
7877 PyObject * obj2 = 0 ;
7878 char *kwnames[] = {
7879 (char *) "self",(char *) "flags",(char *) "text", NULL
7880 };
7881
7882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&arg2,&obj2)) goto fail;
7883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7884 {
7885 arg3 = wxString_in_helper(obj2);
7886 if (arg3 == NULL) SWIG_fail;
7887 temp3 = True;
7888 }
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
7891 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
7892
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 resultobj = PyInt_FromLong((long)result);
7897 {
7898 if (temp3)
7899 delete arg3;
7900 }
7901 return resultobj;
7902 fail:
7903 {
7904 if (temp3)
7905 delete arg3;
7906 }
7907 return NULL;
7908 }
7909
7910
7911 static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
7912 PyObject *resultobj;
7913 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7914 int result;
7915 PyObject * obj0 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "self", NULL
7918 };
7919
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
7921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 result = (int)(arg1)->LinesOnScreen();
7925
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 resultobj = PyInt_FromLong((long)result);
7930 return resultobj;
7931 fail:
7932 return NULL;
7933 }
7934
7935
7936 static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj;
7938 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7939 bool arg2 ;
7940 PyObject * obj0 = 0 ;
7941 PyObject * obj1 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self",(char *) "allowPopUp", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
7947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7948 arg2 = PyInt_AsLong(obj1) ? true : false;
7949 if (PyErr_Occurred()) SWIG_fail;
7950 {
7951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7952 (arg1)->UsePopUp(arg2);
7953
7954 wxPyEndAllowThreads(__tstate);
7955 if (PyErr_Occurred()) SWIG_fail;
7956 }
7957 Py_INCREF(Py_None); resultobj = Py_None;
7958 return resultobj;
7959 fail:
7960 return NULL;
7961 }
7962
7963
7964 static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7965 PyObject *resultobj;
7966 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7967 bool result;
7968 PyObject * obj0 = 0 ;
7969 char *kwnames[] = {
7970 (char *) "self", NULL
7971 };
7972
7973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
7974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 result = (bool)(arg1)->SelectionIsRectangle();
7978
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 resultobj = PyInt_FromLong((long)result);
7983 return resultobj;
7984 fail:
7985 return NULL;
7986 }
7987
7988
7989 static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
7990 PyObject *resultobj;
7991 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7992 int arg2 ;
7993 PyObject * obj0 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "self",(char *) "zoom", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetZoom",kwnames,&obj0,&arg2)) goto fail;
7999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8000 {
8001 PyThreadState* __tstate = wxPyBeginAllowThreads();
8002 (arg1)->SetZoom(arg2);
8003
8004 wxPyEndAllowThreads(__tstate);
8005 if (PyErr_Occurred()) SWIG_fail;
8006 }
8007 Py_INCREF(Py_None); resultobj = Py_None;
8008 return resultobj;
8009 fail:
8010 return NULL;
8011 }
8012
8013
8014 static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
8015 PyObject *resultobj;
8016 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8017 int result;
8018 PyObject * obj0 = 0 ;
8019 char *kwnames[] = {
8020 (char *) "self", NULL
8021 };
8022
8023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
8024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 result = (int)(arg1)->GetZoom();
8028
8029 wxPyEndAllowThreads(__tstate);
8030 if (PyErr_Occurred()) SWIG_fail;
8031 }
8032 resultobj = PyInt_FromLong((long)result);
8033 return resultobj;
8034 fail:
8035 return NULL;
8036 }
8037
8038
8039 static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
8040 PyObject *resultobj;
8041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8042 void *result;
8043 PyObject * obj0 = 0 ;
8044 char *kwnames[] = {
8045 (char *) "self", NULL
8046 };
8047
8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
8049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8050 {
8051 PyThreadState* __tstate = wxPyBeginAllowThreads();
8052 result = (void *)(arg1)->CreateDocument();
8053
8054 wxPyEndAllowThreads(__tstate);
8055 if (PyErr_Occurred()) SWIG_fail;
8056 }
8057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
8058 return resultobj;
8059 fail:
8060 return NULL;
8061 }
8062
8063
8064 static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
8065 PyObject *resultobj;
8066 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8067 void *arg2 = (void *) 0 ;
8068 PyObject * obj0 = 0 ;
8069 PyObject * obj1 = 0 ;
8070 char *kwnames[] = {
8071 (char *) "self",(char *) "docPointer", NULL
8072 };
8073
8074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
8075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8077 {
8078 PyThreadState* __tstate = wxPyBeginAllowThreads();
8079 (arg1)->AddRefDocument(arg2);
8080
8081 wxPyEndAllowThreads(__tstate);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 }
8084 Py_INCREF(Py_None); resultobj = Py_None;
8085 return resultobj;
8086 fail:
8087 return NULL;
8088 }
8089
8090
8091 static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
8092 PyObject *resultobj;
8093 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8094 void *arg2 = (void *) 0 ;
8095 PyObject * obj0 = 0 ;
8096 PyObject * obj1 = 0 ;
8097 char *kwnames[] = {
8098 (char *) "self",(char *) "docPointer", NULL
8099 };
8100
8101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
8102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 (arg1)->ReleaseDocument(arg2);
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 Py_INCREF(Py_None); resultobj = Py_None;
8112 return resultobj;
8113 fail:
8114 return NULL;
8115 }
8116
8117
8118 static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8119 PyObject *resultobj;
8120 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8121 int result;
8122 PyObject * obj0 = 0 ;
8123 char *kwnames[] = {
8124 (char *) "self", NULL
8125 };
8126
8127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
8128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8129 {
8130 PyThreadState* __tstate = wxPyBeginAllowThreads();
8131 result = (int)(arg1)->GetModEventMask();
8132
8133 wxPyEndAllowThreads(__tstate);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 }
8136 resultobj = PyInt_FromLong((long)result);
8137 return resultobj;
8138 fail:
8139 return NULL;
8140 }
8141
8142
8143 static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8144 PyObject *resultobj;
8145 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8146 bool arg2 ;
8147 PyObject * obj0 = 0 ;
8148 PyObject * obj1 = 0 ;
8149 char *kwnames[] = {
8150 (char *) "self",(char *) "focus", NULL
8151 };
8152
8153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
8154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8155 arg2 = PyInt_AsLong(obj1) ? true : false;
8156 if (PyErr_Occurred()) SWIG_fail;
8157 {
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 (arg1)->SetSTCFocus(arg2);
8160
8161 wxPyEndAllowThreads(__tstate);
8162 if (PyErr_Occurred()) SWIG_fail;
8163 }
8164 Py_INCREF(Py_None); resultobj = Py_None;
8165 return resultobj;
8166 fail:
8167 return NULL;
8168 }
8169
8170
8171 static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8172 PyObject *resultobj;
8173 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8174 bool result;
8175 PyObject * obj0 = 0 ;
8176 char *kwnames[] = {
8177 (char *) "self", NULL
8178 };
8179
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
8181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8182 {
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8184 result = (bool)(arg1)->GetSTCFocus();
8185
8186 wxPyEndAllowThreads(__tstate);
8187 if (PyErr_Occurred()) SWIG_fail;
8188 }
8189 resultobj = PyInt_FromLong((long)result);
8190 return resultobj;
8191 fail:
8192 return NULL;
8193 }
8194
8195
8196 static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8197 PyObject *resultobj;
8198 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8199 int arg2 ;
8200 PyObject * obj0 = 0 ;
8201 char *kwnames[] = {
8202 (char *) "self",(char *) "statusCode", NULL
8203 };
8204
8205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetStatus",kwnames,&obj0,&arg2)) goto fail;
8206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8207 {
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 (arg1)->SetStatus(arg2);
8210
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 Py_INCREF(Py_None); resultobj = Py_None;
8215 return resultobj;
8216 fail:
8217 return NULL;
8218 }
8219
8220
8221 static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8222 PyObject *resultobj;
8223 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8224 int result;
8225 PyObject * obj0 = 0 ;
8226 char *kwnames[] = {
8227 (char *) "self", NULL
8228 };
8229
8230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
8231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 result = (int)(arg1)->GetStatus();
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 resultobj = PyInt_FromLong((long)result);
8240 return resultobj;
8241 fail:
8242 return NULL;
8243 }
8244
8245
8246 static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
8247 PyObject *resultobj;
8248 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8249 bool arg2 ;
8250 PyObject * obj0 = 0 ;
8251 PyObject * obj1 = 0 ;
8252 char *kwnames[] = {
8253 (char *) "self",(char *) "captures", NULL
8254 };
8255
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
8257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8258 arg2 = PyInt_AsLong(obj1) ? true : false;
8259 if (PyErr_Occurred()) SWIG_fail;
8260 {
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 (arg1)->SetMouseDownCaptures(arg2);
8263
8264 wxPyEndAllowThreads(__tstate);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 }
8267 Py_INCREF(Py_None); resultobj = Py_None;
8268 return resultobj;
8269 fail:
8270 return NULL;
8271 }
8272
8273
8274 static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
8275 PyObject *resultobj;
8276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8277 bool result;
8278 PyObject * obj0 = 0 ;
8279 char *kwnames[] = {
8280 (char *) "self", NULL
8281 };
8282
8283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
8284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 result = (bool)(arg1)->GetMouseDownCaptures();
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 resultobj = PyInt_FromLong((long)result);
8293 return resultobj;
8294 fail:
8295 return NULL;
8296 }
8297
8298
8299 static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8300 PyObject *resultobj;
8301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8302 int arg2 ;
8303 PyObject * obj0 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "self",(char *) "cursorType", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&arg2)) goto fail;
8309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 (arg1)->SetSTCCursor(arg2);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 Py_INCREF(Py_None); resultobj = Py_None;
8318 return resultobj;
8319 fail:
8320 return NULL;
8321 }
8322
8323
8324 static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj;
8326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8327 int result;
8328 PyObject * obj0 = 0 ;
8329 char *kwnames[] = {
8330 (char *) "self", NULL
8331 };
8332
8333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
8334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8335 {
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 result = (int)(arg1)->GetSTCCursor();
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 resultobj = PyInt_FromLong((long)result);
8343 return resultobj;
8344 fail:
8345 return NULL;
8346 }
8347
8348
8349 static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
8350 PyObject *resultobj;
8351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8352 int arg2 ;
8353 PyObject * obj0 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self",(char *) "symbol", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&arg2)) goto fail;
8359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8360 {
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
8362 (arg1)->SetControlCharSymbol(arg2);
8363
8364 wxPyEndAllowThreads(__tstate);
8365 if (PyErr_Occurred()) SWIG_fail;
8366 }
8367 Py_INCREF(Py_None); resultobj = Py_None;
8368 return resultobj;
8369 fail:
8370 return NULL;
8371 }
8372
8373
8374 static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
8375 PyObject *resultobj;
8376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8377 int result;
8378 PyObject * obj0 = 0 ;
8379 char *kwnames[] = {
8380 (char *) "self", NULL
8381 };
8382
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
8384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 result = (int)(arg1)->GetControlCharSymbol();
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 resultobj = PyInt_FromLong((long)result);
8393 return resultobj;
8394 fail:
8395 return NULL;
8396 }
8397
8398
8399 static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8400 PyObject *resultobj;
8401 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8402 PyObject * obj0 = 0 ;
8403 char *kwnames[] = {
8404 (char *) "self", NULL
8405 };
8406
8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
8408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 (arg1)->WordPartLeft();
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 Py_INCREF(Py_None); resultobj = Py_None;
8417 return resultobj;
8418 fail:
8419 return NULL;
8420 }
8421
8422
8423 static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8426 PyObject * obj0 = 0 ;
8427 char *kwnames[] = {
8428 (char *) "self", NULL
8429 };
8430
8431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
8432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 (arg1)->WordPartLeftExtend();
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 Py_INCREF(Py_None); resultobj = Py_None;
8441 return resultobj;
8442 fail:
8443 return NULL;
8444 }
8445
8446
8447 static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8450 PyObject * obj0 = 0 ;
8451 char *kwnames[] = {
8452 (char *) "self", NULL
8453 };
8454
8455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
8456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 (arg1)->WordPartRight();
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 Py_INCREF(Py_None); resultobj = Py_None;
8465 return resultobj;
8466 fail:
8467 return NULL;
8468 }
8469
8470
8471 static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8472 PyObject *resultobj;
8473 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8474 PyObject * obj0 = 0 ;
8475 char *kwnames[] = {
8476 (char *) "self", NULL
8477 };
8478
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
8480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8481 {
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
8483 (arg1)->WordPartRightExtend();
8484
8485 wxPyEndAllowThreads(__tstate);
8486 if (PyErr_Occurred()) SWIG_fail;
8487 }
8488 Py_INCREF(Py_None); resultobj = Py_None;
8489 return resultobj;
8490 fail:
8491 return NULL;
8492 }
8493
8494
8495 static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8496 PyObject *resultobj;
8497 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8498 int arg2 ;
8499 int arg3 ;
8500 PyObject * obj0 = 0 ;
8501 char *kwnames[] = {
8502 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
8503 };
8504
8505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&arg2,&arg3)) goto fail;
8506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8507 {
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 (arg1)->SetVisiblePolicy(arg2,arg3);
8510
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 Py_INCREF(Py_None); resultobj = Py_None;
8515 return resultobj;
8516 fail:
8517 return NULL;
8518 }
8519
8520
8521 static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8522 PyObject *resultobj;
8523 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8524 PyObject * obj0 = 0 ;
8525 char *kwnames[] = {
8526 (char *) "self", NULL
8527 };
8528
8529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
8530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8531 {
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 (arg1)->DelLineLeft();
8534
8535 wxPyEndAllowThreads(__tstate);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 }
8538 Py_INCREF(Py_None); resultobj = Py_None;
8539 return resultobj;
8540 fail:
8541 return NULL;
8542 }
8543
8544
8545 static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8546 PyObject *resultobj;
8547 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8548 PyObject * obj0 = 0 ;
8549 char *kwnames[] = {
8550 (char *) "self", NULL
8551 };
8552
8553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
8554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 (arg1)->DelLineRight();
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 Py_INCREF(Py_None); resultobj = Py_None;
8563 return resultobj;
8564 fail:
8565 return NULL;
8566 }
8567
8568
8569 static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
8570 PyObject *resultobj;
8571 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8572 int arg2 ;
8573 PyObject * obj0 = 0 ;
8574 char *kwnames[] = {
8575 (char *) "self",(char *) "newOffset", NULL
8576 };
8577
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetXOffset",kwnames,&obj0,&arg2)) goto fail;
8579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 (arg1)->SetXOffset(arg2);
8583
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 Py_INCREF(Py_None); resultobj = Py_None;
8588 return resultobj;
8589 fail:
8590 return NULL;
8591 }
8592
8593
8594 static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj;
8596 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8597 int result;
8598 PyObject * obj0 = 0 ;
8599 char *kwnames[] = {
8600 (char *) "self", NULL
8601 };
8602
8603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
8604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8605 {
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 result = (int)(arg1)->GetXOffset();
8608
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 resultobj = PyInt_FromLong((long)result);
8613 return resultobj;
8614 fail:
8615 return NULL;
8616 }
8617
8618
8619 static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
8620 PyObject *resultobj;
8621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8622 PyObject * obj0 = 0 ;
8623 char *kwnames[] = {
8624 (char *) "self", NULL
8625 };
8626
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
8628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 (arg1)->ChooseCaretX();
8632
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 Py_INCREF(Py_None); resultobj = Py_None;
8637 return resultobj;
8638 fail:
8639 return NULL;
8640 }
8641
8642
8643 static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8644 PyObject *resultobj;
8645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8646 int arg2 ;
8647 int arg3 ;
8648 PyObject * obj0 = 0 ;
8649 char *kwnames[] = {
8650 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
8651 };
8652
8653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&arg2,&arg3)) goto fail;
8654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8655 {
8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
8657 (arg1)->SetXCaretPolicy(arg2,arg3);
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 Py_INCREF(Py_None); resultobj = Py_None;
8663 return resultobj;
8664 fail:
8665 return NULL;
8666 }
8667
8668
8669 static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8670 PyObject *resultobj;
8671 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8672 int arg2 ;
8673 int arg3 ;
8674 PyObject * obj0 = 0 ;
8675 char *kwnames[] = {
8676 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
8677 };
8678
8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&arg2,&arg3)) goto fail;
8680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8681 {
8682 PyThreadState* __tstate = wxPyBeginAllowThreads();
8683 (arg1)->SetYCaretPolicy(arg2,arg3);
8684
8685 wxPyEndAllowThreads(__tstate);
8686 if (PyErr_Occurred()) SWIG_fail;
8687 }
8688 Py_INCREF(Py_None); resultobj = Py_None;
8689 return resultobj;
8690 fail:
8691 return NULL;
8692 }
8693
8694
8695 static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8696 PyObject *resultobj;
8697 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8698 int arg2 ;
8699 PyObject * obj0 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "self",(char *) "mode", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&arg2)) goto fail;
8705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 (arg1)->SetPrintWrapMode(arg2);
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 Py_INCREF(Py_None); resultobj = Py_None;
8714 return resultobj;
8715 fail:
8716 return NULL;
8717 }
8718
8719
8720 static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8721 PyObject *resultobj;
8722 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8723 int result;
8724 PyObject * obj0 = 0 ;
8725 char *kwnames[] = {
8726 (char *) "self", NULL
8727 };
8728
8729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
8730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 result = (int)(arg1)->GetPrintWrapMode();
8734
8735 wxPyEndAllowThreads(__tstate);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 }
8738 resultobj = PyInt_FromLong((long)result);
8739 return resultobj;
8740 fail:
8741 return NULL;
8742 }
8743
8744
8745 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
8746 PyObject *resultobj;
8747 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8748 bool arg2 ;
8749 wxColour *arg3 = 0 ;
8750 wxColour temp3 ;
8751 PyObject * obj0 = 0 ;
8752 PyObject * obj1 = 0 ;
8753 PyObject * obj2 = 0 ;
8754 char *kwnames[] = {
8755 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8756 };
8757
8758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
8759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8760 arg2 = PyInt_AsLong(obj1) ? true : false;
8761 if (PyErr_Occurred()) SWIG_fail;
8762 {
8763 arg3 = &temp3;
8764 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8765 }
8766 {
8767 PyThreadState* __tstate = wxPyBeginAllowThreads();
8768 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
8769
8770 wxPyEndAllowThreads(__tstate);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
8773 Py_INCREF(Py_None); resultobj = Py_None;
8774 return resultobj;
8775 fail:
8776 return NULL;
8777 }
8778
8779
8780 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8781 PyObject *resultobj;
8782 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8783 bool arg2 ;
8784 wxColour *arg3 = 0 ;
8785 wxColour temp3 ;
8786 PyObject * obj0 = 0 ;
8787 PyObject * obj1 = 0 ;
8788 PyObject * obj2 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
8794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8795 arg2 = PyInt_AsLong(obj1) ? true : false;
8796 if (PyErr_Occurred()) SWIG_fail;
8797 {
8798 arg3 = &temp3;
8799 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8800 }
8801 {
8802 PyThreadState* __tstate = wxPyBeginAllowThreads();
8803 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
8804
8805 wxPyEndAllowThreads(__tstate);
8806 if (PyErr_Occurred()) SWIG_fail;
8807 }
8808 Py_INCREF(Py_None); resultobj = Py_None;
8809 return resultobj;
8810 fail:
8811 return NULL;
8812 }
8813
8814
8815 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
8816 PyObject *resultobj;
8817 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8818 bool arg2 ;
8819 PyObject * obj0 = 0 ;
8820 PyObject * obj1 = 0 ;
8821 char *kwnames[] = {
8822 (char *) "self",(char *) "underline", NULL
8823 };
8824
8825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
8826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8827 arg2 = PyInt_AsLong(obj1) ? true : false;
8828 if (PyErr_Occurred()) SWIG_fail;
8829 {
8830 PyThreadState* __tstate = wxPyBeginAllowThreads();
8831 (arg1)->SetHotspotActiveUnderline(arg2);
8832
8833 wxPyEndAllowThreads(__tstate);
8834 if (PyErr_Occurred()) SWIG_fail;
8835 }
8836 Py_INCREF(Py_None); resultobj = Py_None;
8837 return resultobj;
8838 fail:
8839 return NULL;
8840 }
8841
8842
8843 static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8844 PyObject *resultobj;
8845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8846 int arg2 ;
8847 int result;
8848 PyObject * obj0 = 0 ;
8849 char *kwnames[] = {
8850 (char *) "self",(char *) "pos", NULL
8851 };
8852
8853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionBefore",kwnames,&obj0,&arg2)) goto fail;
8854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8855 {
8856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8857 result = (int)(arg1)->PositionBefore(arg2);
8858
8859 wxPyEndAllowThreads(__tstate);
8860 if (PyErr_Occurred()) SWIG_fail;
8861 }
8862 resultobj = PyInt_FromLong((long)result);
8863 return resultobj;
8864 fail:
8865 return NULL;
8866 }
8867
8868
8869 static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) {
8870 PyObject *resultobj;
8871 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8872 int arg2 ;
8873 int result;
8874 PyObject * obj0 = 0 ;
8875 char *kwnames[] = {
8876 (char *) "self",(char *) "pos", NULL
8877 };
8878
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionAfter",kwnames,&obj0,&arg2)) goto fail;
8880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 result = (int)(arg1)->PositionAfter(arg2);
8884
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
8888 resultobj = PyInt_FromLong((long)result);
8889 return resultobj;
8890 fail:
8891 return NULL;
8892 }
8893
8894
8895 static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8896 PyObject *resultobj;
8897 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8898 int arg2 ;
8899 int arg3 ;
8900 PyObject * obj0 = 0 ;
8901 char *kwnames[] = {
8902 (char *) "self",(char *) "start",(char *) "end", NULL
8903 };
8904
8905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CopyRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8907 {
8908 PyThreadState* __tstate = wxPyBeginAllowThreads();
8909 (arg1)->CopyRange(arg2,arg3);
8910
8911 wxPyEndAllowThreads(__tstate);
8912 if (PyErr_Occurred()) SWIG_fail;
8913 }
8914 Py_INCREF(Py_None); resultobj = Py_None;
8915 return resultobj;
8916 fail:
8917 return NULL;
8918 }
8919
8920
8921 static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) {
8922 PyObject *resultobj;
8923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8924 int arg2 ;
8925 wxString *arg3 = 0 ;
8926 bool temp3 = False ;
8927 PyObject * obj0 = 0 ;
8928 PyObject * obj2 = 0 ;
8929 char *kwnames[] = {
8930 (char *) "self",(char *) "length",(char *) "text", NULL
8931 };
8932
8933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_CopyText",kwnames,&obj0,&arg2,&obj2)) goto fail;
8934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8935 {
8936 arg3 = wxString_in_helper(obj2);
8937 if (arg3 == NULL) SWIG_fail;
8938 temp3 = True;
8939 }
8940 {
8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
8942 (arg1)->CopyText(arg2,(wxString const &)*arg3);
8943
8944 wxPyEndAllowThreads(__tstate);
8945 if (PyErr_Occurred()) SWIG_fail;
8946 }
8947 Py_INCREF(Py_None); resultobj = Py_None;
8948 {
8949 if (temp3)
8950 delete arg3;
8951 }
8952 return resultobj;
8953 fail:
8954 {
8955 if (temp3)
8956 delete arg3;
8957 }
8958 return NULL;
8959 }
8960
8961
8962 static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8963 PyObject *resultobj;
8964 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8965 PyObject * obj0 = 0 ;
8966 char *kwnames[] = {
8967 (char *) "self", NULL
8968 };
8969
8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
8971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 (arg1)->StartRecord();
8975
8976 wxPyEndAllowThreads(__tstate);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
8979 Py_INCREF(Py_None); resultobj = Py_None;
8980 return resultobj;
8981 fail:
8982 return NULL;
8983 }
8984
8985
8986 static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8987 PyObject *resultobj;
8988 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8989 PyObject * obj0 = 0 ;
8990 char *kwnames[] = {
8991 (char *) "self", NULL
8992 };
8993
8994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
8995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8996 {
8997 PyThreadState* __tstate = wxPyBeginAllowThreads();
8998 (arg1)->StopRecord();
8999
9000 wxPyEndAllowThreads(__tstate);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 Py_INCREF(Py_None); resultobj = Py_None;
9004 return resultobj;
9005 fail:
9006 return NULL;
9007 }
9008
9009
9010 static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
9011 PyObject *resultobj;
9012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9013 int arg2 ;
9014 PyObject * obj0 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self",(char *) "lexer", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetLexer",kwnames,&obj0,&arg2)) goto fail;
9020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
9023 (arg1)->SetLexer(arg2);
9024
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
9028 Py_INCREF(Py_None); resultobj = Py_None;
9029 return resultobj;
9030 fail:
9031 return NULL;
9032 }
9033
9034
9035 static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
9036 PyObject *resultobj;
9037 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9038 int result;
9039 PyObject * obj0 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self", NULL
9042 };
9043
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
9045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9046 {
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 result = (int)(arg1)->GetLexer();
9049
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 resultobj = PyInt_FromLong((long)result);
9054 return resultobj;
9055 fail:
9056 return NULL;
9057 }
9058
9059
9060 static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
9061 PyObject *resultobj;
9062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9063 int arg2 ;
9064 int arg3 ;
9065 PyObject * obj0 = 0 ;
9066 char *kwnames[] = {
9067 (char *) "self",(char *) "start",(char *) "end", NULL
9068 };
9069
9070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_Colourise",kwnames,&obj0,&arg2,&arg3)) goto fail;
9071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9072 {
9073 PyThreadState* __tstate = wxPyBeginAllowThreads();
9074 (arg1)->Colourise(arg2,arg3);
9075
9076 wxPyEndAllowThreads(__tstate);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 }
9079 Py_INCREF(Py_None); resultobj = Py_None;
9080 return resultobj;
9081 fail:
9082 return NULL;
9083 }
9084
9085
9086 static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
9087 PyObject *resultobj;
9088 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9089 wxString *arg2 = 0 ;
9090 wxString *arg3 = 0 ;
9091 bool temp2 = False ;
9092 bool temp3 = False ;
9093 PyObject * obj0 = 0 ;
9094 PyObject * obj1 = 0 ;
9095 PyObject * obj2 = 0 ;
9096 char *kwnames[] = {
9097 (char *) "self",(char *) "key",(char *) "value", NULL
9098 };
9099
9100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
9101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9102 {
9103 arg2 = wxString_in_helper(obj1);
9104 if (arg2 == NULL) SWIG_fail;
9105 temp2 = True;
9106 }
9107 {
9108 arg3 = wxString_in_helper(obj2);
9109 if (arg3 == NULL) SWIG_fail;
9110 temp3 = True;
9111 }
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 Py_INCREF(Py_None); resultobj = Py_None;
9120 {
9121 if (temp2)
9122 delete arg2;
9123 }
9124 {
9125 if (temp3)
9126 delete arg3;
9127 }
9128 return resultobj;
9129 fail:
9130 {
9131 if (temp2)
9132 delete arg2;
9133 }
9134 {
9135 if (temp3)
9136 delete arg3;
9137 }
9138 return NULL;
9139 }
9140
9141
9142 static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9145 int arg2 ;
9146 wxString *arg3 = 0 ;
9147 bool temp3 = False ;
9148 PyObject * obj0 = 0 ;
9149 PyObject * obj2 = 0 ;
9150 char *kwnames[] = {
9151 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
9152 };
9153
9154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&arg2,&obj2)) goto fail;
9155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9156 {
9157 arg3 = wxString_in_helper(obj2);
9158 if (arg3 == NULL) SWIG_fail;
9159 temp3 = True;
9160 }
9161 {
9162 PyThreadState* __tstate = wxPyBeginAllowThreads();
9163 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
9164
9165 wxPyEndAllowThreads(__tstate);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 }
9168 Py_INCREF(Py_None); resultobj = Py_None;
9169 {
9170 if (temp3)
9171 delete arg3;
9172 }
9173 return resultobj;
9174 fail:
9175 {
9176 if (temp3)
9177 delete arg3;
9178 }
9179 return NULL;
9180 }
9181
9182
9183 static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
9184 PyObject *resultobj;
9185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9186 wxString *arg2 = 0 ;
9187 bool temp2 = False ;
9188 PyObject * obj0 = 0 ;
9189 PyObject * obj1 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self",(char *) "language", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
9195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9196 {
9197 arg2 = wxString_in_helper(obj1);
9198 if (arg2 == NULL) SWIG_fail;
9199 temp2 = True;
9200 }
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
9203 (arg1)->SetLexerLanguage((wxString const &)*arg2);
9204
9205 wxPyEndAllowThreads(__tstate);
9206 if (PyErr_Occurred()) SWIG_fail;
9207 }
9208 Py_INCREF(Py_None); resultobj = Py_None;
9209 {
9210 if (temp2)
9211 delete arg2;
9212 }
9213 return resultobj;
9214 fail:
9215 {
9216 if (temp2)
9217 delete arg2;
9218 }
9219 return NULL;
9220 }
9221
9222
9223 static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9224 PyObject *resultobj;
9225 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9226 int result;
9227 PyObject * obj0 = 0 ;
9228 char *kwnames[] = {
9229 (char *) "self", NULL
9230 };
9231
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
9233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9234 {
9235 PyThreadState* __tstate = wxPyBeginAllowThreads();
9236 result = (int)(arg1)->GetCurrentLine();
9237
9238 wxPyEndAllowThreads(__tstate);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 }
9241 resultobj = PyInt_FromLong((long)result);
9242 return resultobj;
9243 fail:
9244 return NULL;
9245 }
9246
9247
9248 static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
9249 PyObject *resultobj;
9250 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9251 int arg2 ;
9252 wxString *arg3 = 0 ;
9253 bool temp3 = False ;
9254 PyObject * obj0 = 0 ;
9255 PyObject * obj2 = 0 ;
9256 char *kwnames[] = {
9257 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
9258 };
9259
9260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&arg2,&obj2)) goto fail;
9261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9262 {
9263 arg3 = wxString_in_helper(obj2);
9264 if (arg3 == NULL) SWIG_fail;
9265 temp3 = True;
9266 }
9267 {
9268 PyThreadState* __tstate = wxPyBeginAllowThreads();
9269 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
9270
9271 wxPyEndAllowThreads(__tstate);
9272 if (PyErr_Occurred()) SWIG_fail;
9273 }
9274 Py_INCREF(Py_None); resultobj = Py_None;
9275 {
9276 if (temp3)
9277 delete arg3;
9278 }
9279 return resultobj;
9280 fail:
9281 {
9282 if (temp3)
9283 delete arg3;
9284 }
9285 return NULL;
9286 }
9287
9288
9289 static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9290 PyObject *resultobj;
9291 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9292 int arg2 ;
9293 wxFont *arg3 = 0 ;
9294 PyObject * obj0 = 0 ;
9295 PyObject * obj2 = 0 ;
9296 char *kwnames[] = {
9297 (char *) "self",(char *) "styleNum",(char *) "font", NULL
9298 };
9299
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&arg2,&obj2)) goto fail;
9301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9302 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9303 if (arg3 == NULL) {
9304 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9305 }
9306 {
9307 PyThreadState* __tstate = wxPyBeginAllowThreads();
9308 (arg1)->StyleSetFont(arg2,*arg3);
9309
9310 wxPyEndAllowThreads(__tstate);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 }
9313 Py_INCREF(Py_None); resultobj = Py_None;
9314 return resultobj;
9315 fail:
9316 return NULL;
9317 }
9318
9319
9320 static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9321 PyObject *resultobj;
9322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9323 int arg2 ;
9324 int arg3 ;
9325 wxString *arg4 = 0 ;
9326 bool arg5 ;
9327 bool arg6 ;
9328 bool arg7 ;
9329 bool temp4 = False ;
9330 PyObject * obj0 = 0 ;
9331 PyObject * obj3 = 0 ;
9332 PyObject * obj4 = 0 ;
9333 PyObject * obj5 = 0 ;
9334 PyObject * obj6 = 0 ;
9335 char *kwnames[] = {
9336 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
9337 };
9338
9339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5,&obj6)) goto fail;
9340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9341 {
9342 arg4 = wxString_in_helper(obj3);
9343 if (arg4 == NULL) SWIG_fail;
9344 temp4 = True;
9345 }
9346 arg5 = PyInt_AsLong(obj4) ? true : false;
9347 if (PyErr_Occurred()) SWIG_fail;
9348 arg6 = PyInt_AsLong(obj5) ? true : false;
9349 if (PyErr_Occurred()) SWIG_fail;
9350 arg7 = PyInt_AsLong(obj6) ? true : false;
9351 if (PyErr_Occurred()) SWIG_fail;
9352 {
9353 PyThreadState* __tstate = wxPyBeginAllowThreads();
9354 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9355
9356 wxPyEndAllowThreads(__tstate);
9357 if (PyErr_Occurred()) SWIG_fail;
9358 }
9359 Py_INCREF(Py_None); resultobj = Py_None;
9360 {
9361 if (temp4)
9362 delete arg4;
9363 }
9364 return resultobj;
9365 fail:
9366 {
9367 if (temp4)
9368 delete arg4;
9369 }
9370 return NULL;
9371 }
9372
9373
9374 static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
9375 PyObject *resultobj;
9376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9377 int arg2 ;
9378 PyObject * obj0 = 0 ;
9379 char *kwnames[] = {
9380 (char *) "self",(char *) "cmd", NULL
9381 };
9382
9383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&arg2)) goto fail;
9384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9385 {
9386 PyThreadState* __tstate = wxPyBeginAllowThreads();
9387 (arg1)->CmdKeyExecute(arg2);
9388
9389 wxPyEndAllowThreads(__tstate);
9390 if (PyErr_Occurred()) SWIG_fail;
9391 }
9392 Py_INCREF(Py_None); resultobj = Py_None;
9393 return resultobj;
9394 fail:
9395 return NULL;
9396 }
9397
9398
9399 static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9400 PyObject *resultobj;
9401 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9402 int arg2 ;
9403 int arg3 ;
9404 PyObject * obj0 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self",(char *) "left",(char *) "right", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
9410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9411 {
9412 PyThreadState* __tstate = wxPyBeginAllowThreads();
9413 (arg1)->SetMargins(arg2,arg3);
9414
9415 wxPyEndAllowThreads(__tstate);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 Py_INCREF(Py_None); resultobj = Py_None;
9419 return resultobj;
9420 fail:
9421 return NULL;
9422 }
9423
9424
9425 static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9426 PyObject *resultobj;
9427 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9428 int *arg2 = (int *) 0 ;
9429 int *arg3 = (int *) 0 ;
9430 int temp2 ;
9431 int temp3 ;
9432 PyObject * obj0 = 0 ;
9433 char *kwnames[] = {
9434 (char *) "self", NULL
9435 };
9436
9437 arg2 = &temp2;
9438 arg3 = &temp3;
9439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
9440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9441 {
9442 PyThreadState* __tstate = wxPyBeginAllowThreads();
9443 (arg1)->GetSelection(arg2,arg3);
9444
9445 wxPyEndAllowThreads(__tstate);
9446 if (PyErr_Occurred()) SWIG_fail;
9447 }
9448 Py_INCREF(Py_None); resultobj = Py_None;
9449 {
9450 PyObject *o = PyInt_FromLong((long) (*arg2));
9451 resultobj = t_output_helper(resultobj,o);
9452 }
9453 {
9454 PyObject *o = PyInt_FromLong((long) (*arg3));
9455 resultobj = t_output_helper(resultobj,o);
9456 }
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9464 PyObject *resultobj;
9465 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9466 int arg2 ;
9467 wxPoint result;
9468 PyObject * obj0 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self",(char *) "pos", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&arg2)) goto fail;
9474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9475 {
9476 PyThreadState* __tstate = wxPyBeginAllowThreads();
9477 result = (arg1)->PointFromPosition(arg2);
9478
9479 wxPyEndAllowThreads(__tstate);
9480 if (PyErr_Occurred()) SWIG_fail;
9481 }
9482 {
9483 wxPoint * resultptr;
9484 resultptr = new wxPoint((wxPoint &) result);
9485 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9486 }
9487 return resultobj;
9488 fail:
9489 return NULL;
9490 }
9491
9492
9493 static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9494 PyObject *resultobj;
9495 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9496 int arg2 ;
9497 PyObject * obj0 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "self",(char *) "line", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&arg2)) goto fail;
9503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9504 {
9505 PyThreadState* __tstate = wxPyBeginAllowThreads();
9506 (arg1)->ScrollToLine(arg2);
9507
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 Py_INCREF(Py_None); resultobj = Py_None;
9512 return resultobj;
9513 fail:
9514 return NULL;
9515 }
9516
9517
9518 static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
9519 PyObject *resultobj;
9520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9521 int arg2 ;
9522 PyObject * obj0 = 0 ;
9523 char *kwnames[] = {
9524 (char *) "self",(char *) "column", NULL
9525 };
9526
9527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&arg2)) goto fail;
9528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9529 {
9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
9531 (arg1)->ScrollToColumn(arg2);
9532
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
9536 Py_INCREF(Py_None); resultobj = Py_None;
9537 return resultobj;
9538 fail:
9539 return NULL;
9540 }
9541
9542
9543 static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
9544 PyObject *resultobj;
9545 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9546 int arg2 ;
9547 long arg3 = (long) 0 ;
9548 long arg4 = (long) 0 ;
9549 long result;
9550 PyObject * obj0 = 0 ;
9551 char *kwnames[] = {
9552 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
9553 };
9554
9555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ll:StyledTextCtrl_SendMsg",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
9560
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
9564 resultobj = PyInt_FromLong((long)result);
9565 return resultobj;
9566 fail:
9567 return NULL;
9568 }
9569
9570
9571 static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9572 PyObject *resultobj;
9573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9574 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
9575 PyObject * obj0 = 0 ;
9576 PyObject * obj1 = 0 ;
9577 char *kwnames[] = {
9578 (char *) "self",(char *) "bar", NULL
9579 };
9580
9581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
9582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9583 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 (arg1)->SetVScrollBar(arg2);
9587
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) SWIG_fail;
9590 }
9591 Py_INCREF(Py_None); resultobj = Py_None;
9592 return resultobj;
9593 fail:
9594 return NULL;
9595 }
9596
9597
9598 static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9599 PyObject *resultobj;
9600 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9601 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
9602 PyObject * obj0 = 0 ;
9603 PyObject * obj1 = 0 ;
9604 char *kwnames[] = {
9605 (char *) "self",(char *) "bar", NULL
9606 };
9607
9608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
9609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9610 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 (arg1)->SetHScrollBar(arg2);
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 Py_INCREF(Py_None); resultobj = Py_None;
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9628 bool result;
9629 PyObject * obj0 = 0 ;
9630 char *kwnames[] = {
9631 (char *) "self", NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
9635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 result = (bool)(arg1)->GetLastKeydownProcessed();
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 resultobj = PyInt_FromLong((long)result);
9644 return resultobj;
9645 fail:
9646 return NULL;
9647 }
9648
9649
9650 static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj;
9652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9653 bool arg2 ;
9654 PyObject * obj0 = 0 ;
9655 PyObject * obj1 = 0 ;
9656 char *kwnames[] = {
9657 (char *) "self",(char *) "val", NULL
9658 };
9659
9660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
9661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9662 arg2 = PyInt_AsLong(obj1) ? true : false;
9663 if (PyErr_Occurred()) SWIG_fail;
9664 {
9665 PyThreadState* __tstate = wxPyBeginAllowThreads();
9666 (arg1)->SetLastKeydownProcessed(arg2);
9667
9668 wxPyEndAllowThreads(__tstate);
9669 if (PyErr_Occurred()) SWIG_fail;
9670 }
9671 Py_INCREF(Py_None); resultobj = Py_None;
9672 return resultobj;
9673 fail:
9674 return NULL;
9675 }
9676
9677
9678 static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9679 PyObject *resultobj;
9680 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9681 wxString *arg2 = 0 ;
9682 bool result;
9683 bool temp2 = False ;
9684 PyObject * obj0 = 0 ;
9685 PyObject * obj1 = 0 ;
9686 char *kwnames[] = {
9687 (char *) "self",(char *) "filename", NULL
9688 };
9689
9690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
9691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9692 {
9693 arg2 = wxString_in_helper(obj1);
9694 if (arg2 == NULL) SWIG_fail;
9695 temp2 = True;
9696 }
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
9700
9701 wxPyEndAllowThreads(__tstate);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 resultobj = PyInt_FromLong((long)result);
9705 {
9706 if (temp2)
9707 delete arg2;
9708 }
9709 return resultobj;
9710 fail:
9711 {
9712 if (temp2)
9713 delete arg2;
9714 }
9715 return NULL;
9716 }
9717
9718
9719 static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9720 PyObject *resultobj;
9721 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9722 wxString *arg2 = 0 ;
9723 bool result;
9724 bool temp2 = False ;
9725 PyObject * obj0 = 0 ;
9726 PyObject * obj1 = 0 ;
9727 char *kwnames[] = {
9728 (char *) "self",(char *) "filename", NULL
9729 };
9730
9731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
9732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9733 {
9734 arg2 = wxString_in_helper(obj1);
9735 if (arg2 == NULL) SWIG_fail;
9736 temp2 = True;
9737 }
9738 {
9739 PyThreadState* __tstate = wxPyBeginAllowThreads();
9740 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
9741
9742 wxPyEndAllowThreads(__tstate);
9743 if (PyErr_Occurred()) SWIG_fail;
9744 }
9745 resultobj = PyInt_FromLong((long)result);
9746 {
9747 if (temp2)
9748 delete arg2;
9749 }
9750 return resultobj;
9751 fail:
9752 {
9753 if (temp2)
9754 delete arg2;
9755 }
9756 return NULL;
9757 }
9758
9759
9760 static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
9761 PyObject *resultobj;
9762 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9763 int arg2 ;
9764 int arg3 ;
9765 wxDragResult arg4 ;
9766 wxDragResult result;
9767 wxDragResult *argp4 ;
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj3 = 0 ;
9770 char *kwnames[] = {
9771 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
9772 };
9773
9774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
9775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9776 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
9777 arg4 = *argp4;
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 result = (arg1)->DoDragOver(arg2,arg3,arg4);
9781
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
9785 {
9786 wxDragResult * resultptr;
9787 resultptr = new wxDragResult((wxDragResult &) result);
9788 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1);
9789 }
9790 return resultobj;
9791 fail:
9792 return NULL;
9793 }
9794
9795
9796 static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) {
9797 PyObject *resultobj;
9798 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9799 long arg2 ;
9800 long arg3 ;
9801 wxString *arg4 = 0 ;
9802 bool result;
9803 bool temp4 = False ;
9804 PyObject * obj0 = 0 ;
9805 PyObject * obj3 = 0 ;
9806 char *kwnames[] = {
9807 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
9808 };
9809
9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:StyledTextCtrl_DoDropText",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
9811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9812 {
9813 arg4 = wxString_in_helper(obj3);
9814 if (arg4 == NULL) SWIG_fail;
9815 temp4 = True;
9816 }
9817 {
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
9820
9821 wxPyEndAllowThreads(__tstate);
9822 if (PyErr_Occurred()) SWIG_fail;
9823 }
9824 resultobj = PyInt_FromLong((long)result);
9825 {
9826 if (temp4)
9827 delete arg4;
9828 }
9829 return resultobj;
9830 fail:
9831 {
9832 if (temp4)
9833 delete arg4;
9834 }
9835 return NULL;
9836 }
9837
9838
9839 static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) {
9840 PyObject *obj;
9841 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9842 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
9843 Py_INCREF(obj);
9844 return Py_BuildValue((char *)"");
9845 }
9846 static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9847 PyObject *resultobj;
9848 wxEventType arg1 = (wxEventType) 0 ;
9849 int arg2 = (int) 0 ;
9850 wxStyledTextEvent *result;
9851 char *kwnames[] = {
9852 (char *) "commandType",(char *) "id", NULL
9853 };
9854
9855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_StyledTextEvent",kwnames,&arg1,&arg2)) goto fail;
9856 {
9857 PyThreadState* __tstate = wxPyBeginAllowThreads();
9858 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
9859
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextEvent, 1);
9864 return resultobj;
9865 fail:
9866 return NULL;
9867 }
9868
9869
9870 static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj;
9872 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9873 PyObject * obj0 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
9879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9880 {
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 delete arg1;
9883
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
9887 Py_INCREF(Py_None); resultobj = Py_None;
9888 return resultobj;
9889 fail:
9890 return NULL;
9891 }
9892
9893
9894 static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9895 PyObject *resultobj;
9896 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9897 int arg2 ;
9898 PyObject * obj0 = 0 ;
9899 char *kwnames[] = {
9900 (char *) "self",(char *) "pos", NULL
9901 };
9902
9903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
9904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9905 {
9906 PyThreadState* __tstate = wxPyBeginAllowThreads();
9907 (arg1)->SetPosition(arg2);
9908
9909 wxPyEndAllowThreads(__tstate);
9910 if (PyErr_Occurred()) SWIG_fail;
9911 }
9912 Py_INCREF(Py_None); resultobj = Py_None;
9913 return resultobj;
9914 fail:
9915 return NULL;
9916 }
9917
9918
9919 static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
9920 PyObject *resultobj;
9921 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9922 int arg2 ;
9923 PyObject * obj0 = 0 ;
9924 char *kwnames[] = {
9925 (char *) "self",(char *) "k", NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetKey",kwnames,&obj0,&arg2)) goto fail;
9929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9930 {
9931 PyThreadState* __tstate = wxPyBeginAllowThreads();
9932 (arg1)->SetKey(arg2);
9933
9934 wxPyEndAllowThreads(__tstate);
9935 if (PyErr_Occurred()) SWIG_fail;
9936 }
9937 Py_INCREF(Py_None); resultobj = Py_None;
9938 return resultobj;
9939 fail:
9940 return NULL;
9941 }
9942
9943
9944 static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
9945 PyObject *resultobj;
9946 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9947 int arg2 ;
9948 PyObject * obj0 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self",(char *) "m", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetModifiers",kwnames,&obj0,&arg2)) goto fail;
9954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9955 {
9956 PyThreadState* __tstate = wxPyBeginAllowThreads();
9957 (arg1)->SetModifiers(arg2);
9958
9959 wxPyEndAllowThreads(__tstate);
9960 if (PyErr_Occurred()) SWIG_fail;
9961 }
9962 Py_INCREF(Py_None); resultobj = Py_None;
9963 return resultobj;
9964 fail:
9965 return NULL;
9966 }
9967
9968
9969 static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
9970 PyObject *resultobj;
9971 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9972 int arg2 ;
9973 PyObject * obj0 = 0 ;
9974 char *kwnames[] = {
9975 (char *) "self",(char *) "t", NULL
9976 };
9977
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetModificationType",kwnames,&obj0,&arg2)) goto fail;
9979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9980 {
9981 PyThreadState* __tstate = wxPyBeginAllowThreads();
9982 (arg1)->SetModificationType(arg2);
9983
9984 wxPyEndAllowThreads(__tstate);
9985 if (PyErr_Occurred()) SWIG_fail;
9986 }
9987 Py_INCREF(Py_None); resultobj = Py_None;
9988 return resultobj;
9989 fail:
9990 return NULL;
9991 }
9992
9993
9994 static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
9995 PyObject *resultobj;
9996 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9997 wxString *arg2 = 0 ;
9998 bool temp2 = False ;
9999 PyObject * obj0 = 0 ;
10000 PyObject * obj1 = 0 ;
10001 char *kwnames[] = {
10002 (char *) "self",(char *) "t", NULL
10003 };
10004
10005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
10006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10007 {
10008 arg2 = wxString_in_helper(obj1);
10009 if (arg2 == NULL) SWIG_fail;
10010 temp2 = True;
10011 }
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 (arg1)->SetText((wxString const &)*arg2);
10015
10016 wxPyEndAllowThreads(__tstate);
10017 if (PyErr_Occurred()) SWIG_fail;
10018 }
10019 Py_INCREF(Py_None); resultobj = Py_None;
10020 {
10021 if (temp2)
10022 delete arg2;
10023 }
10024 return resultobj;
10025 fail:
10026 {
10027 if (temp2)
10028 delete arg2;
10029 }
10030 return NULL;
10031 }
10032
10033
10034 static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10035 PyObject *resultobj;
10036 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10037 int arg2 ;
10038 PyObject * obj0 = 0 ;
10039 char *kwnames[] = {
10040 (char *) "self",(char *) "len", NULL
10041 };
10042
10043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLength",kwnames,&obj0,&arg2)) goto fail;
10044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10045 {
10046 PyThreadState* __tstate = wxPyBeginAllowThreads();
10047 (arg1)->SetLength(arg2);
10048
10049 wxPyEndAllowThreads(__tstate);
10050 if (PyErr_Occurred()) SWIG_fail;
10051 }
10052 Py_INCREF(Py_None); resultobj = Py_None;
10053 return resultobj;
10054 fail:
10055 return NULL;
10056 }
10057
10058
10059 static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
10060 PyObject *resultobj;
10061 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10062 int arg2 ;
10063 PyObject * obj0 = 0 ;
10064 char *kwnames[] = {
10065 (char *) "self",(char *) "num", NULL
10066 };
10067
10068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&arg2)) goto fail;
10069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 (arg1)->SetLinesAdded(arg2);
10073
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 Py_INCREF(Py_None); resultobj = Py_None;
10078 return resultobj;
10079 fail:
10080 return NULL;
10081 }
10082
10083
10084 static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10085 PyObject *resultobj;
10086 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10087 int arg2 ;
10088 PyObject * obj0 = 0 ;
10089 char *kwnames[] = {
10090 (char *) "self",(char *) "val", NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLine",kwnames,&obj0,&arg2)) goto fail;
10094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 (arg1)->SetLine(arg2);
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 Py_INCREF(Py_None); resultobj = Py_None;
10103 return resultobj;
10104 fail:
10105 return NULL;
10106 }
10107
10108
10109 static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
10110 PyObject *resultobj;
10111 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10112 int arg2 ;
10113 PyObject * obj0 = 0 ;
10114 char *kwnames[] = {
10115 (char *) "self",(char *) "val", NULL
10116 };
10117
10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&arg2)) goto fail;
10119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10120 {
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 (arg1)->SetFoldLevelNow(arg2);
10123
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
10127 Py_INCREF(Py_None); resultobj = Py_None;
10128 return resultobj;
10129 fail:
10130 return NULL;
10131 }
10132
10133
10134 static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
10135 PyObject *resultobj;
10136 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10137 int arg2 ;
10138 PyObject * obj0 = 0 ;
10139 char *kwnames[] = {
10140 (char *) "self",(char *) "val", NULL
10141 };
10142
10143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&arg2)) goto fail;
10144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10145 {
10146 PyThreadState* __tstate = wxPyBeginAllowThreads();
10147 (arg1)->SetFoldLevelPrev(arg2);
10148
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 Py_INCREF(Py_None); resultobj = Py_None;
10153 return resultobj;
10154 fail:
10155 return NULL;
10156 }
10157
10158
10159 static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
10160 PyObject *resultobj;
10161 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10162 int arg2 ;
10163 PyObject * obj0 = 0 ;
10164 char *kwnames[] = {
10165 (char *) "self",(char *) "val", NULL
10166 };
10167
10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetMargin",kwnames,&obj0,&arg2)) goto fail;
10169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 (arg1)->SetMargin(arg2);
10173
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 Py_INCREF(Py_None); resultobj = Py_None;
10178 return resultobj;
10179 fail:
10180 return NULL;
10181 }
10182
10183
10184 static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10185 PyObject *resultobj;
10186 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10187 int arg2 ;
10188 PyObject * obj0 = 0 ;
10189 char *kwnames[] = {
10190 (char *) "self",(char *) "val", NULL
10191 };
10192
10193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetMessage",kwnames,&obj0,&arg2)) goto fail;
10194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 (arg1)->SetMessage(arg2);
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 Py_INCREF(Py_None); resultobj = Py_None;
10203 return resultobj;
10204 fail:
10205 return NULL;
10206 }
10207
10208
10209 static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10210 PyObject *resultobj;
10211 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10212 int arg2 ;
10213 PyObject * obj0 = 0 ;
10214 char *kwnames[] = {
10215 (char *) "self",(char *) "val", NULL
10216 };
10217
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetWParam",kwnames,&obj0,&arg2)) goto fail;
10219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10220 {
10221 PyThreadState* __tstate = wxPyBeginAllowThreads();
10222 (arg1)->SetWParam(arg2);
10223
10224 wxPyEndAllowThreads(__tstate);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 Py_INCREF(Py_None); resultobj = Py_None;
10228 return resultobj;
10229 fail:
10230 return NULL;
10231 }
10232
10233
10234 static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10235 PyObject *resultobj;
10236 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10237 int arg2 ;
10238 PyObject * obj0 = 0 ;
10239 char *kwnames[] = {
10240 (char *) "self",(char *) "val", NULL
10241 };
10242
10243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLParam",kwnames,&obj0,&arg2)) goto fail;
10244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10245 {
10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
10247 (arg1)->SetLParam(arg2);
10248
10249 wxPyEndAllowThreads(__tstate);
10250 if (PyErr_Occurred()) SWIG_fail;
10251 }
10252 Py_INCREF(Py_None); resultobj = Py_None;
10253 return resultobj;
10254 fail:
10255 return NULL;
10256 }
10257
10258
10259 static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
10260 PyObject *resultobj;
10261 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10262 int arg2 ;
10263 PyObject * obj0 = 0 ;
10264 char *kwnames[] = {
10265 (char *) "self",(char *) "val", NULL
10266 };
10267
10268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetListType",kwnames,&obj0,&arg2)) goto fail;
10269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10270 {
10271 PyThreadState* __tstate = wxPyBeginAllowThreads();
10272 (arg1)->SetListType(arg2);
10273
10274 wxPyEndAllowThreads(__tstate);
10275 if (PyErr_Occurred()) SWIG_fail;
10276 }
10277 Py_INCREF(Py_None); resultobj = Py_None;
10278 return resultobj;
10279 fail:
10280 return NULL;
10281 }
10282
10283
10284 static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
10285 PyObject *resultobj;
10286 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10287 int arg2 ;
10288 PyObject * obj0 = 0 ;
10289 char *kwnames[] = {
10290 (char *) "self",(char *) "val", NULL
10291 };
10292
10293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetX",kwnames,&obj0,&arg2)) goto fail;
10294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10295 {
10296 PyThreadState* __tstate = wxPyBeginAllowThreads();
10297 (arg1)->SetX(arg2);
10298
10299 wxPyEndAllowThreads(__tstate);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 }
10302 Py_INCREF(Py_None); resultobj = Py_None;
10303 return resultobj;
10304 fail:
10305 return NULL;
10306 }
10307
10308
10309 static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
10310 PyObject *resultobj;
10311 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10312 int arg2 ;
10313 PyObject * obj0 = 0 ;
10314 char *kwnames[] = {
10315 (char *) "self",(char *) "val", NULL
10316 };
10317
10318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetY",kwnames,&obj0,&arg2)) goto fail;
10319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10320 {
10321 PyThreadState* __tstate = wxPyBeginAllowThreads();
10322 (arg1)->SetY(arg2);
10323
10324 wxPyEndAllowThreads(__tstate);
10325 if (PyErr_Occurred()) SWIG_fail;
10326 }
10327 Py_INCREF(Py_None); resultobj = Py_None;
10328 return resultobj;
10329 fail:
10330 return NULL;
10331 }
10332
10333
10334 static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
10335 PyObject *resultobj;
10336 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10337 wxString *arg2 = 0 ;
10338 bool temp2 = False ;
10339 PyObject * obj0 = 0 ;
10340 PyObject * obj1 = 0 ;
10341 char *kwnames[] = {
10342 (char *) "self",(char *) "val", NULL
10343 };
10344
10345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
10346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10347 {
10348 arg2 = wxString_in_helper(obj1);
10349 if (arg2 == NULL) SWIG_fail;
10350 temp2 = True;
10351 }
10352 {
10353 PyThreadState* __tstate = wxPyBeginAllowThreads();
10354 (arg1)->SetDragText((wxString const &)*arg2);
10355
10356 wxPyEndAllowThreads(__tstate);
10357 if (PyErr_Occurred()) SWIG_fail;
10358 }
10359 Py_INCREF(Py_None); resultobj = Py_None;
10360 {
10361 if (temp2)
10362 delete arg2;
10363 }
10364 return resultobj;
10365 fail:
10366 {
10367 if (temp2)
10368 delete arg2;
10369 }
10370 return NULL;
10371 }
10372
10373
10374 static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10375 PyObject *resultobj;
10376 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10377 bool arg2 ;
10378 PyObject * obj0 = 0 ;
10379 PyObject * obj1 = 0 ;
10380 char *kwnames[] = {
10381 (char *) "self",(char *) "val", NULL
10382 };
10383
10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
10385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10386 arg2 = PyInt_AsLong(obj1) ? true : false;
10387 if (PyErr_Occurred()) SWIG_fail;
10388 {
10389 PyThreadState* __tstate = wxPyBeginAllowThreads();
10390 (arg1)->SetDragAllowMove(arg2);
10391
10392 wxPyEndAllowThreads(__tstate);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 Py_INCREF(Py_None); resultobj = Py_None;
10396 return resultobj;
10397 fail:
10398 return NULL;
10399 }
10400
10401
10402 static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
10403 PyObject *resultobj;
10404 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10405 wxDragResult arg2 ;
10406 wxDragResult *argp2 ;
10407 PyObject * obj0 = 0 ;
10408 PyObject * obj1 = 0 ;
10409 char *kwnames[] = {
10410 (char *) "self",(char *) "val", NULL
10411 };
10412
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
10414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10415 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
10416 arg2 = *argp2;
10417 {
10418 PyThreadState* __tstate = wxPyBeginAllowThreads();
10419 (arg1)->SetDragResult(arg2);
10420
10421 wxPyEndAllowThreads(__tstate);
10422 if (PyErr_Occurred()) SWIG_fail;
10423 }
10424 Py_INCREF(Py_None); resultobj = Py_None;
10425 return resultobj;
10426 fail:
10427 return NULL;
10428 }
10429
10430
10431 static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10432 PyObject *resultobj;
10433 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10434 int result;
10435 PyObject * obj0 = 0 ;
10436 char *kwnames[] = {
10437 (char *) "self", NULL
10438 };
10439
10440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
10441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10442 {
10443 PyThreadState* __tstate = wxPyBeginAllowThreads();
10444 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
10445
10446 wxPyEndAllowThreads(__tstate);
10447 if (PyErr_Occurred()) SWIG_fail;
10448 }
10449 resultobj = PyInt_FromLong((long)result);
10450 return resultobj;
10451 fail:
10452 return NULL;
10453 }
10454
10455
10456 static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
10457 PyObject *resultobj;
10458 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10459 int result;
10460 PyObject * obj0 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
10466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
10469 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
10470
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 resultobj = PyInt_FromLong((long)result);
10475 return resultobj;
10476 fail:
10477 return NULL;
10478 }
10479
10480
10481 static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
10482 PyObject *resultobj;
10483 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10484 int result;
10485 PyObject * obj0 = 0 ;
10486 char *kwnames[] = {
10487 (char *) "self", NULL
10488 };
10489
10490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
10491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
10495
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 resultobj = PyInt_FromLong((long)result);
10500 return resultobj;
10501 fail:
10502 return NULL;
10503 }
10504
10505
10506 static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
10507 PyObject *resultobj;
10508 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10509 int result;
10510 PyObject * obj0 = 0 ;
10511 char *kwnames[] = {
10512 (char *) "self", NULL
10513 };
10514
10515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
10516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10517 {
10518 PyThreadState* __tstate = wxPyBeginAllowThreads();
10519 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
10520
10521 wxPyEndAllowThreads(__tstate);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 resultobj = PyInt_FromLong((long)result);
10525 return resultobj;
10526 fail:
10527 return NULL;
10528 }
10529
10530
10531 static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
10532 PyObject *resultobj;
10533 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10534 wxString result;
10535 PyObject * obj0 = 0 ;
10536 char *kwnames[] = {
10537 (char *) "self", NULL
10538 };
10539
10540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
10541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10542 {
10543 PyThreadState* __tstate = wxPyBeginAllowThreads();
10544 result = ((wxStyledTextEvent const *)arg1)->GetText();
10545
10546 wxPyEndAllowThreads(__tstate);
10547 if (PyErr_Occurred()) SWIG_fail;
10548 }
10549 {
10550 #if wxUSE_UNICODE
10551 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10552 #else
10553 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10554 #endif
10555 }
10556 return resultobj;
10557 fail:
10558 return NULL;
10559 }
10560
10561
10562 static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10565 int result;
10566 PyObject * obj0 = 0 ;
10567 char *kwnames[] = {
10568 (char *) "self", NULL
10569 };
10570
10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
10572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10573 {
10574 PyThreadState* __tstate = wxPyBeginAllowThreads();
10575 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
10576
10577 wxPyEndAllowThreads(__tstate);
10578 if (PyErr_Occurred()) SWIG_fail;
10579 }
10580 resultobj = PyInt_FromLong((long)result);
10581 return resultobj;
10582 fail:
10583 return NULL;
10584 }
10585
10586
10587 static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
10588 PyObject *resultobj;
10589 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10590 int result;
10591 PyObject * obj0 = 0 ;
10592 char *kwnames[] = {
10593 (char *) "self", NULL
10594 };
10595
10596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
10597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10598 {
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
10601
10602 wxPyEndAllowThreads(__tstate);
10603 if (PyErr_Occurred()) SWIG_fail;
10604 }
10605 resultobj = PyInt_FromLong((long)result);
10606 return resultobj;
10607 fail:
10608 return NULL;
10609 }
10610
10611
10612 static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10613 PyObject *resultobj;
10614 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10615 int result;
10616 PyObject * obj0 = 0 ;
10617 char *kwnames[] = {
10618 (char *) "self", NULL
10619 };
10620
10621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
10622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 resultobj = PyInt_FromLong((long)result);
10631 return resultobj;
10632 fail:
10633 return NULL;
10634 }
10635
10636
10637 static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj;
10639 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10640 int result;
10641 PyObject * obj0 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
10647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 resultobj = PyInt_FromLong((long)result);
10656 return resultobj;
10657 fail:
10658 return NULL;
10659 }
10660
10661
10662 static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10665 int result;
10666 PyObject * obj0 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
10672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 resultobj = PyInt_FromLong((long)result);
10681 return resultobj;
10682 fail:
10683 return NULL;
10684 }
10685
10686
10687 static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10690 int result;
10691 PyObject * obj0 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
10697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10698 {
10699 PyThreadState* __tstate = wxPyBeginAllowThreads();
10700 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
10701
10702 wxPyEndAllowThreads(__tstate);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 }
10705 resultobj = PyInt_FromLong((long)result);
10706 return resultobj;
10707 fail:
10708 return NULL;
10709 }
10710
10711
10712 static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10713 PyObject *resultobj;
10714 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10715 int result;
10716 PyObject * obj0 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
10722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10723 {
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
10726
10727 wxPyEndAllowThreads(__tstate);
10728 if (PyErr_Occurred()) SWIG_fail;
10729 }
10730 resultobj = PyInt_FromLong((long)result);
10731 return resultobj;
10732 fail:
10733 return NULL;
10734 }
10735
10736
10737 static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10738 PyObject *resultobj;
10739 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10740 int result;
10741 PyObject * obj0 = 0 ;
10742 char *kwnames[] = {
10743 (char *) "self", NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
10747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
10751
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 resultobj = PyInt_FromLong((long)result);
10756 return resultobj;
10757 fail:
10758 return NULL;
10759 }
10760
10761
10762 static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10763 PyObject *resultobj;
10764 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10765 int result;
10766 PyObject * obj0 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
10772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
10776
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 resultobj = PyInt_FromLong((long)result);
10781 return resultobj;
10782 fail:
10783 return NULL;
10784 }
10785
10786
10787 static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj;
10789 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10790 int result;
10791 PyObject * obj0 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
10797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10798 {
10799 PyThreadState* __tstate = wxPyBeginAllowThreads();
10800 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
10801
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 resultobj = PyInt_FromLong((long)result);
10806 return resultobj;
10807 fail:
10808 return NULL;
10809 }
10810
10811
10812 static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
10813 PyObject *resultobj;
10814 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10815 int result;
10816 PyObject * obj0 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "self", NULL
10819 };
10820
10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
10822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10823 {
10824 PyThreadState* __tstate = wxPyBeginAllowThreads();
10825 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
10826
10827 wxPyEndAllowThreads(__tstate);
10828 if (PyErr_Occurred()) SWIG_fail;
10829 }
10830 resultobj = PyInt_FromLong((long)result);
10831 return resultobj;
10832 fail:
10833 return NULL;
10834 }
10835
10836
10837 static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
10838 PyObject *resultobj;
10839 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10840 int result;
10841 PyObject * obj0 = 0 ;
10842 char *kwnames[] = {
10843 (char *) "self", NULL
10844 };
10845
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
10847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10848 {
10849 PyThreadState* __tstate = wxPyBeginAllowThreads();
10850 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
10851
10852 wxPyEndAllowThreads(__tstate);
10853 if (PyErr_Occurred()) SWIG_fail;
10854 }
10855 resultobj = PyInt_FromLong((long)result);
10856 return resultobj;
10857 fail:
10858 return NULL;
10859 }
10860
10861
10862 static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
10863 PyObject *resultobj;
10864 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10865 wxString result;
10866 PyObject * obj0 = 0 ;
10867 char *kwnames[] = {
10868 (char *) "self", NULL
10869 };
10870
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
10872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 result = (arg1)->GetDragText();
10876
10877 wxPyEndAllowThreads(__tstate);
10878 if (PyErr_Occurred()) SWIG_fail;
10879 }
10880 {
10881 #if wxUSE_UNICODE
10882 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10883 #else
10884 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10885 #endif
10886 }
10887 return resultobj;
10888 fail:
10889 return NULL;
10890 }
10891
10892
10893 static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10896 bool result;
10897 PyObject * obj0 = 0 ;
10898 char *kwnames[] = {
10899 (char *) "self", NULL
10900 };
10901
10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
10903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10904 {
10905 PyThreadState* __tstate = wxPyBeginAllowThreads();
10906 result = (bool)(arg1)->GetDragAllowMove();
10907
10908 wxPyEndAllowThreads(__tstate);
10909 if (PyErr_Occurred()) SWIG_fail;
10910 }
10911 resultobj = PyInt_FromLong((long)result);
10912 return resultobj;
10913 fail:
10914 return NULL;
10915 }
10916
10917
10918 static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
10919 PyObject *resultobj;
10920 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10921 wxDragResult result;
10922 PyObject * obj0 = 0 ;
10923 char *kwnames[] = {
10924 (char *) "self", NULL
10925 };
10926
10927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
10928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 result = (arg1)->GetDragResult();
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 {
10937 wxDragResult * resultptr;
10938 resultptr = new wxDragResult((wxDragResult &) result);
10939 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1);
10940 }
10941 return resultobj;
10942 fail:
10943 return NULL;
10944 }
10945
10946
10947 static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
10948 PyObject *resultobj;
10949 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10950 bool result;
10951 PyObject * obj0 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
10957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 resultobj = PyInt_FromLong((long)result);
10966 return resultobj;
10967 fail:
10968 return NULL;
10969 }
10970
10971
10972 static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
10973 PyObject *resultobj;
10974 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10975 bool result;
10976 PyObject * obj0 = 0 ;
10977 char *kwnames[] = {
10978 (char *) "self", NULL
10979 };
10980
10981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
10982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10983 {
10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
10985 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
10986
10987 wxPyEndAllowThreads(__tstate);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 }
10990 resultobj = PyInt_FromLong((long)result);
10991 return resultobj;
10992 fail:
10993 return NULL;
10994 }
10995
10996
10997 static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
10998 PyObject *resultobj;
10999 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11000 bool result;
11001 PyObject * obj0 = 0 ;
11002 char *kwnames[] = {
11003 (char *) "self", NULL
11004 };
11005
11006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
11007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11008 {
11009 PyThreadState* __tstate = wxPyBeginAllowThreads();
11010 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
11011
11012 wxPyEndAllowThreads(__tstate);
11013 if (PyErr_Occurred()) SWIG_fail;
11014 }
11015 resultobj = PyInt_FromLong((long)result);
11016 return resultobj;
11017 fail:
11018 return NULL;
11019 }
11020
11021
11022 static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11023 PyObject *resultobj;
11024 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11025 wxEvent *result;
11026 PyObject * obj0 = 0 ;
11027 char *kwnames[] = {
11028 (char *) "self", NULL
11029 };
11030
11031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
11032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11033 {
11034 PyThreadState* __tstate = wxPyBeginAllowThreads();
11035 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
11036
11037 wxPyEndAllowThreads(__tstate);
11038 if (PyErr_Occurred()) SWIG_fail;
11039 }
11040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11041 return resultobj;
11042 fail:
11043 return NULL;
11044 }
11045
11046
11047 static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) {
11048 PyObject *obj;
11049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11050 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
11051 Py_INCREF(obj);
11052 return Py_BuildValue((char *)"");
11053 }
11054 static PyMethodDef SwigMethods[] = {
11055 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
11056 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
11057 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11058 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
11059 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
11060 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
11061 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
11062 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
11063 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
11064 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
11065 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
11066 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
11067 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
11068 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
11069 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
11070 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
11071 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
11072 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
11073 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
11074 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
11075 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
11076 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
11077 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
11078 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
11079 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
11080 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
11081 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
11082 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
11083 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
11084 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
11085 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
11086 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
11087 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
11088 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
11089 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
11090 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
11091 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
11092 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
11093 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
11094 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
11095 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
11096 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
11097 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
11098 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
11099 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
11100 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
11101 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
11102 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
11103 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
11104 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
11105 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
11106 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
11107 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
11108 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11109 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11110 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
11111 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
11112 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
11113 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
11114 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
11115 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
11116 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
11117 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
11118 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
11119 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
11120 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
11121 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
11122 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
11123 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
11124 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
11125 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
11126 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
11127 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
11128 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
11129 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
11130 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
11131 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
11132 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
11133 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
11134 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
11135 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
11136 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
11137 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
11138 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
11139 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
11140 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
11141 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
11142 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
11143 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
11144 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS },
11145 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS },
11146 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
11147 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
11148 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
11149 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
11150 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
11151 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
11152 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
11153 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
11154 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
11155 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS },
11156 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
11157 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
11158 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
11159 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
11160 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
11161 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
11162 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
11163 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
11164 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
11165 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
11166 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
11167 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
11168 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
11169 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
11170 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
11171 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
11172 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
11173 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
11174 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
11175 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
11176 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
11177 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
11178 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
11179 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
11180 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
11181 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
11182 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
11183 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
11184 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
11185 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
11186 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
11187 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
11188 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
11189 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
11190 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
11191 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
11192 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
11193 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
11194 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
11195 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
11196 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
11197 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
11198 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
11199 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
11200 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
11201 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
11202 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
11203 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
11204 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
11205 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
11206 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
11207 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
11208 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
11209 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
11210 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
11211 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
11212 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
11213 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
11214 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
11215 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
11216 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
11217 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
11218 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
11219 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
11220 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
11221 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
11222 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
11223 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
11224 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
11225 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
11226 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
11227 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
11228 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
11229 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
11230 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
11231 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
11232 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
11233 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
11234 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
11235 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
11236 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
11237 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
11238 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
11239 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
11240 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
11241 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
11242 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
11243 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
11244 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
11245 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
11246 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
11247 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
11248 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
11249 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
11250 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
11251 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
11252 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
11253 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
11254 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
11255 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
11256 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
11257 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
11258 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
11259 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
11260 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
11261 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
11262 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
11263 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
11264 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
11265 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
11266 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
11267 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
11268 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
11269 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
11270 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
11271 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
11272 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
11273 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
11274 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
11275 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
11276 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
11277 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
11278 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
11279 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
11280 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
11281 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS },
11282 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS },
11283 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS },
11284 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS },
11285 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS },
11286 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS },
11287 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS },
11288 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS },
11289 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS },
11290 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
11291 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
11292 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
11293 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
11294 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
11295 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
11296 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
11297 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
11298 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
11299 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
11300 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
11301 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
11302 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
11303 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
11304 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
11305 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
11306 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
11307 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS },
11308 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS },
11309 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
11310 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
11311 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
11312 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
11313 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
11314 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
11315 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
11316 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
11317 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
11318 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
11319 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
11320 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
11321 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
11322 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
11323 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
11324 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
11325 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
11326 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
11327 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
11328 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
11329 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
11330 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
11331 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
11332 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
11333 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
11334 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
11335 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
11336 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
11337 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
11338 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
11339 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
11340 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
11341 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
11342 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
11343 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS },
11344 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS },
11345 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
11346 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
11347 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
11348 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
11349 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
11350 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
11351 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
11352 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
11353 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
11354 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
11355 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
11356 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
11357 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
11358 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
11359 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
11360 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
11361 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
11362 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
11363 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
11364 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS },
11365 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS },
11366 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS },
11367 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS },
11368 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
11369 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
11370 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
11371 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
11372 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
11373 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
11374 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
11375 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
11376 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
11377 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
11378 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
11379 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
11380 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
11381 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
11382 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
11383 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
11384 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
11385 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
11386 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
11387 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
11388 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
11389 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
11390 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
11391 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
11392 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
11393 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS },
11394 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS },
11395 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS },
11396 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
11397 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
11398 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
11399 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
11400 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
11401 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
11402 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
11403 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
11404 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
11405 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
11406 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
11407 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
11408 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
11409 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
11410 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
11411 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
11412 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
11413 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
11414 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
11415 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
11416 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
11417 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
11418 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
11419 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
11420 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
11421 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
11422 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
11423 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
11424 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
11425 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
11426 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
11427 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
11428 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
11429 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
11430 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
11431 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
11432 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
11433 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
11434 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
11435 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
11436 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
11437 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
11438 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
11439 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
11440 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
11441 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
11442 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS },
11443 { NULL, NULL }
11444 };
11445
11446
11447 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11448
11449 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11450 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11451 }
11452 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11453 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11454 }
11455 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11456 return (void *)((wxObject *) ((wxSizerItem *) x));
11457 }
11458 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11459 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11460 }
11461 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11462 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11463 }
11464 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11465 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11466 }
11467 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11468 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11469 }
11470 static void *_p_wxSizerTo_p_wxObject(void *x) {
11471 return (void *)((wxObject *) ((wxSizer *) x));
11472 }
11473 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11474 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11475 }
11476 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11477 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11478 }
11479 static void *_p_wxEventTo_p_wxObject(void *x) {
11480 return (void *)((wxObject *) ((wxEvent *) x));
11481 }
11482 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11483 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11484 }
11485 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11486 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11487 }
11488 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11489 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11490 }
11491 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
11492 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
11493 }
11494 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11495 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11496 }
11497 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11498 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11499 }
11500 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
11501 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
11502 }
11503 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
11504 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
11505 }
11506 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
11507 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11508 }
11509 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
11510 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
11511 }
11512 static void *_p_wxControlTo_p_wxObject(void *x) {
11513 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11514 }
11515 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11516 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11517 }
11518 static void *_p_wxFSFileTo_p_wxObject(void *x) {
11519 return (void *)((wxObject *) ((wxFSFile *) x));
11520 }
11521 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11522 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11523 }
11524 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
11525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
11526 }
11527 static void *_p_wxPyEventTo_p_wxObject(void *x) {
11528 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11529 }
11530 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11531 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11532 }
11533 static void *_p_wxShowEventTo_p_wxObject(void *x) {
11534 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
11535 }
11536 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11537 return (void *)((wxObject *) ((wxMenuItem *) x));
11538 }
11539 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11540 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11541 }
11542 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11543 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11544 }
11545 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11546 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11547 }
11548 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11549 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11550 }
11551 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11552 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11553 }
11554 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11555 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11556 }
11557 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11558 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11559 }
11560 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11561 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11562 }
11563 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11564 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11565 }
11566 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
11567 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
11568 }
11569 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
11570 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
11571 }
11572 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
11573 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
11574 }
11575 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
11576 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
11577 }
11578 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11579 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11580 }
11581 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11582 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11583 }
11584 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11585 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11586 }
11587 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11588 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11589 }
11590 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11591 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11592 }
11593 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11594 return (void *)((wxObject *) ((wxImageHandler *) x));
11595 }
11596 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11597 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11598 }
11599 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11600 return (void *)((wxObject *) ((wxEvtHandler *) x));
11601 }
11602 static void *_p_wxImageTo_p_wxObject(void *x) {
11603 return (void *)((wxObject *) ((wxImage *) x));
11604 }
11605 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11606 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11607 }
11608 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11609 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11610 }
11611 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11612 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11613 }
11614 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11615 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11616 }
11617 static void *_p_wxWindowTo_p_wxObject(void *x) {
11618 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11619 }
11620 static void *_p_wxMenuTo_p_wxObject(void *x) {
11621 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11622 }
11623 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11625 }
11626 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11627 return (void *)((wxObject *) ((wxFileSystem *) x));
11628 }
11629 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
11630 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
11631 }
11632 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
11633 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
11634 }
11635 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11636 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11637 }
11638 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11639 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11640 }
11641 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11642 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11643 }
11644 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11645 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11646 }
11647 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
11648 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
11649 }
11650 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
11651 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
11652 }
11653 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
11654 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11655 }
11656 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11657 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11658 }
11659 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11660 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11661 }
11662 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11663 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11664 }
11665 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11666 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11667 }
11668 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11669 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11670 }
11671 static void *_p_wxControlTo_p_wxWindow(void *x) {
11672 return (void *)((wxWindow *) ((wxControl *) x));
11673 }
11674 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11675 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11676 }
11677 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
11678 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
11679 }
11680 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11681 return (void *)((wxWindow *) ((wxMenuBar *) x));
11682 }
11683 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
11684 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
11685 }
11686 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
11687 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
11688 }
11689 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
11690 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
11691 }
11692 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
11693 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
11694 }
11695 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
11696 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
11697 }
11698 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
11699 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11700 }
11701 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
11702 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
11703 }
11704 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
11705 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
11706 }
11707 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
11708 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
11709 }
11710 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11711 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11712 }
11713 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11714 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11715 }
11716 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11717 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11718 }
11719 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11720 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11721 }
11722 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
11723 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
11724 }
11725 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11726 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11727 }
11728 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11729 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11730 }
11731 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11732 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11733 }
11734 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11735 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11736 }
11737 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
11738 return (void *)((wxControl *) ((wxControlWithItems *) x));
11739 }
11740 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
11741 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
11742 }
11743 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
11744 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
11745 }
11746 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
11747 return (void *)((wxEvent *) ((wxMenuEvent *) x));
11748 }
11749 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
11750 return (void *)((wxEvent *) ((wxCloseEvent *) x));
11751 }
11752 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
11753 return (void *)((wxEvent *) ((wxMouseEvent *) x));
11754 }
11755 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
11756 return (void *)((wxEvent *) ((wxEraseEvent *) x));
11757 }
11758 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
11759 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
11760 }
11761 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
11762 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
11763 }
11764 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
11765 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
11766 }
11767 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
11768 return (void *)((wxEvent *) ((wxPyEvent *) x));
11769 }
11770 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
11771 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
11772 }
11773 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
11774 return (void *)((wxEvent *) ((wxIdleEvent *) x));
11775 }
11776 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
11777 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
11778 }
11779 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
11780 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
11781 }
11782 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
11783 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
11784 }
11785 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
11786 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
11787 }
11788 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
11789 return (void *)((wxEvent *) ((wxActivateEvent *) x));
11790 }
11791 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
11792 return (void *)((wxEvent *) ((wxSizeEvent *) x));
11793 }
11794 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
11795 return (void *)((wxEvent *) ((wxMoveEvent *) x));
11796 }
11797 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
11798 return (void *)((wxEvent *) ((wxPaintEvent *) x));
11799 }
11800 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
11801 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
11802 }
11803 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
11804 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
11805 }
11806 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
11807 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
11808 }
11809 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
11810 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
11811 }
11812 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
11813 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
11814 }
11815 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
11816 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11817 }
11818 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
11819 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
11820 }
11821 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
11822 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
11823 }
11824 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
11825 return (void *)((wxEvent *) ((wxFocusEvent *) x));
11826 }
11827 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
11828 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
11829 }
11830 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
11831 return (void *)((wxEvent *) ((wxShowEvent *) x));
11832 }
11833 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
11834 return (void *)((wxEvent *) ((wxCommandEvent *) x));
11835 }
11836 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
11837 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
11838 }
11839 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
11840 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11841 }
11842 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
11843 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
11844 }
11845 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
11846 return (void *)((wxEvent *) ((wxKeyEvent *) x));
11847 }
11848 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
11849 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
11850 }
11851 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
11852 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
11853 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_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}};
11854 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
11855 static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0},{"_p_wxStyledTextEvent"},{0}};
11856 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}};
11857 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}};
11858 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
11859 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
11860 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
11861 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
11862 static swig_type_info _swigt__p_wxDragResult[] = {{"_p_wxDragResult", 0, "wxDragResult *", 0},{"_p_wxDragResult"},{0}};
11863 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
11864 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}};
11865 static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0},{"_p_wxStyledTextCtrl"},{0}};
11866 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
11867 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}};
11868 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}};
11869 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
11870 static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0},{"_p_wxMemoryBuffer"},{0}};
11871
11872 static swig_type_info *swig_types_initial[] = {
11873 _swigt__p_wxRect,
11874 _swigt__p_wxColour,
11875 _swigt__p_wxObject,
11876 _swigt__p_wxScrollBar,
11877 _swigt__p_wxStyledTextEvent,
11878 _swigt__p_wxWindow,
11879 _swigt__p_wxCommandEvent,
11880 _swigt__p_wxBitmap,
11881 _swigt__p_void,
11882 _swigt__p_wxPoint,
11883 _swigt__p_wxDC,
11884 _swigt__p_wxDragResult,
11885 _swigt__p_wxString,
11886 _swigt__p_wxEvtHandler,
11887 _swigt__p_wxStyledTextCtrl,
11888 _swigt__p_wxFont,
11889 _swigt__p_wxControl,
11890 _swigt__p_wxEvent,
11891 _swigt__p_int,
11892 _swigt__p_wxMemoryBuffer,
11893 0
11894 };
11895
11896
11897 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11898
11899 static swig_const_info swig_const_table[] = {
11900 { SWIG_PY_INT, (char *)"STC_USE_DND", (long) 1, 0, 0, 0},
11901 { SWIG_PY_INT, (char *)"STC_USE_POPUP", (long) 1, 0, 0, 0},
11902 { SWIG_PY_INT, (char *)"STC_INVALID_POSITION", (long) -1, 0, 0, 0},
11903 { SWIG_PY_INT, (char *)"STC_START", (long) 2000, 0, 0, 0},
11904 { SWIG_PY_INT, (char *)"STC_OPTIONAL_START", (long) 3000, 0, 0, 0},
11905 { SWIG_PY_INT, (char *)"STC_LEXER_START", (long) 4000, 0, 0, 0},
11906 { SWIG_PY_INT, (char *)"STC_WS_INVISIBLE", (long) 0, 0, 0, 0},
11907 { SWIG_PY_INT, (char *)"STC_WS_VISIBLEALWAYS", (long) 1, 0, 0, 0},
11908 { SWIG_PY_INT, (char *)"STC_WS_VISIBLEAFTERINDENT", (long) 2, 0, 0, 0},
11909 { SWIG_PY_INT, (char *)"STC_EOL_CRLF", (long) 0, 0, 0, 0},
11910 { SWIG_PY_INT, (char *)"STC_EOL_CR", (long) 1, 0, 0, 0},
11911 { SWIG_PY_INT, (char *)"STC_EOL_LF", (long) 2, 0, 0, 0},
11912 { SWIG_PY_INT, (char *)"STC_CP_UTF8", (long) 65001, 0, 0, 0},
11913 { SWIG_PY_INT, (char *)"STC_CP_DBCS", (long) 1, 0, 0, 0},
11914 { SWIG_PY_INT, (char *)"STC_MARKER_MAX", (long) 31, 0, 0, 0},
11915 { SWIG_PY_INT, (char *)"STC_MARK_CIRCLE", (long) 0, 0, 0, 0},
11916 { SWIG_PY_INT, (char *)"STC_MARK_ROUNDRECT", (long) 1, 0, 0, 0},
11917 { SWIG_PY_INT, (char *)"STC_MARK_ARROW", (long) 2, 0, 0, 0},
11918 { SWIG_PY_INT, (char *)"STC_MARK_SMALLRECT", (long) 3, 0, 0, 0},
11919 { SWIG_PY_INT, (char *)"STC_MARK_SHORTARROW", (long) 4, 0, 0, 0},
11920 { SWIG_PY_INT, (char *)"STC_MARK_EMPTY", (long) 5, 0, 0, 0},
11921 { SWIG_PY_INT, (char *)"STC_MARK_ARROWDOWN", (long) 6, 0, 0, 0},
11922 { SWIG_PY_INT, (char *)"STC_MARK_MINUS", (long) 7, 0, 0, 0},
11923 { SWIG_PY_INT, (char *)"STC_MARK_PLUS", (long) 8, 0, 0, 0},
11924 { SWIG_PY_INT, (char *)"STC_MARK_VLINE", (long) 9, 0, 0, 0},
11925 { SWIG_PY_INT, (char *)"STC_MARK_LCORNER", (long) 10, 0, 0, 0},
11926 { SWIG_PY_INT, (char *)"STC_MARK_TCORNER", (long) 11, 0, 0, 0},
11927 { SWIG_PY_INT, (char *)"STC_MARK_BOXPLUS", (long) 12, 0, 0, 0},
11928 { SWIG_PY_INT, (char *)"STC_MARK_BOXPLUSCONNECTED", (long) 13, 0, 0, 0},
11929 { SWIG_PY_INT, (char *)"STC_MARK_BOXMINUS", (long) 14, 0, 0, 0},
11930 { SWIG_PY_INT, (char *)"STC_MARK_BOXMINUSCONNECTED", (long) 15, 0, 0, 0},
11931 { SWIG_PY_INT, (char *)"STC_MARK_LCORNERCURVE", (long) 16, 0, 0, 0},
11932 { SWIG_PY_INT, (char *)"STC_MARK_TCORNERCURVE", (long) 17, 0, 0, 0},
11933 { SWIG_PY_INT, (char *)"STC_MARK_CIRCLEPLUS", (long) 18, 0, 0, 0},
11934 { SWIG_PY_INT, (char *)"STC_MARK_CIRCLEPLUSCONNECTED", (long) 19, 0, 0, 0},
11935 { SWIG_PY_INT, (char *)"STC_MARK_CIRCLEMINUS", (long) 20, 0, 0, 0},
11936 { SWIG_PY_INT, (char *)"STC_MARK_CIRCLEMINUSCONNECTED", (long) 21, 0, 0, 0},
11937 { SWIG_PY_INT, (char *)"STC_MARK_BACKGROUND", (long) 22, 0, 0, 0},
11938 { SWIG_PY_INT, (char *)"STC_MARK_DOTDOTDOT", (long) 23, 0, 0, 0},
11939 { SWIG_PY_INT, (char *)"STC_MARK_ARROWS", (long) 24, 0, 0, 0},
11940 { SWIG_PY_INT, (char *)"STC_MARK_PIXMAP", (long) 25, 0, 0, 0},
11941 { SWIG_PY_INT, (char *)"STC_MARK_CHARACTER", (long) 10000, 0, 0, 0},
11942 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEREND", (long) 25, 0, 0, 0},
11943 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEROPENMID", (long) 26, 0, 0, 0},
11944 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERMIDTAIL", (long) 27, 0, 0, 0},
11945 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERTAIL", (long) 28, 0, 0, 0},
11946 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERSUB", (long) 29, 0, 0, 0},
11947 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDER", (long) 30, 0, 0, 0},
11948 { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEROPEN", (long) 31, 0, 0, 0},
11949 { SWIG_PY_INT, (char *)"STC_MASK_FOLDERS", (long) 0xFE000000, 0, 0, 0},
11950 { SWIG_PY_INT, (char *)"STC_MARGIN_SYMBOL", (long) 0, 0, 0, 0},
11951 { SWIG_PY_INT, (char *)"STC_MARGIN_NUMBER", (long) 1, 0, 0, 0},
11952 { SWIG_PY_INT, (char *)"STC_STYLE_DEFAULT", (long) 32, 0, 0, 0},
11953 { SWIG_PY_INT, (char *)"STC_STYLE_LINENUMBER", (long) 33, 0, 0, 0},
11954 { SWIG_PY_INT, (char *)"STC_STYLE_BRACELIGHT", (long) 34, 0, 0, 0},
11955 { SWIG_PY_INT, (char *)"STC_STYLE_BRACEBAD", (long) 35, 0, 0, 0},
11956 { SWIG_PY_INT, (char *)"STC_STYLE_CONTROLCHAR", (long) 36, 0, 0, 0},
11957 { SWIG_PY_INT, (char *)"STC_STYLE_INDENTGUIDE", (long) 37, 0, 0, 0},
11958 { SWIG_PY_INT, (char *)"STC_STYLE_LASTPREDEFINED", (long) 39, 0, 0, 0},
11959 { SWIG_PY_INT, (char *)"STC_STYLE_MAX", (long) 127, 0, 0, 0},
11960 { SWIG_PY_INT, (char *)"STC_CHARSET_ANSI", (long) 0, 0, 0, 0},
11961 { SWIG_PY_INT, (char *)"STC_CHARSET_DEFAULT", (long) 1, 0, 0, 0},
11962 { SWIG_PY_INT, (char *)"STC_CHARSET_BALTIC", (long) 186, 0, 0, 0},
11963 { SWIG_PY_INT, (char *)"STC_CHARSET_CHINESEBIG5", (long) 136, 0, 0, 0},
11964 { SWIG_PY_INT, (char *)"STC_CHARSET_EASTEUROPE", (long) 238, 0, 0, 0},
11965 { SWIG_PY_INT, (char *)"STC_CHARSET_GB2312", (long) 134, 0, 0, 0},
11966 { SWIG_PY_INT, (char *)"STC_CHARSET_GREEK", (long) 161, 0, 0, 0},
11967 { SWIG_PY_INT, (char *)"STC_CHARSET_HANGUL", (long) 129, 0, 0, 0},
11968 { SWIG_PY_INT, (char *)"STC_CHARSET_MAC", (long) 77, 0, 0, 0},
11969 { SWIG_PY_INT, (char *)"STC_CHARSET_OEM", (long) 255, 0, 0, 0},
11970 { SWIG_PY_INT, (char *)"STC_CHARSET_RUSSIAN", (long) 204, 0, 0, 0},
11971 { SWIG_PY_INT, (char *)"STC_CHARSET_SHIFTJIS", (long) 128, 0, 0, 0},
11972 { SWIG_PY_INT, (char *)"STC_CHARSET_SYMBOL", (long) 2, 0, 0, 0},
11973 { SWIG_PY_INT, (char *)"STC_CHARSET_TURKISH", (long) 162, 0, 0, 0},
11974 { SWIG_PY_INT, (char *)"STC_CHARSET_JOHAB", (long) 130, 0, 0, 0},
11975 { SWIG_PY_INT, (char *)"STC_CHARSET_HEBREW", (long) 177, 0, 0, 0},
11976 { SWIG_PY_INT, (char *)"STC_CHARSET_ARABIC", (long) 178, 0, 0, 0},
11977 { SWIG_PY_INT, (char *)"STC_CHARSET_VIETNAMESE", (long) 163, 0, 0, 0},
11978 { SWIG_PY_INT, (char *)"STC_CHARSET_THAI", (long) 222, 0, 0, 0},
11979 { SWIG_PY_INT, (char *)"STC_CASE_MIXED", (long) 0, 0, 0, 0},
11980 { SWIG_PY_INT, (char *)"STC_CASE_UPPER", (long) 1, 0, 0, 0},
11981 { SWIG_PY_INT, (char *)"STC_CASE_LOWER", (long) 2, 0, 0, 0},
11982 { SWIG_PY_INT, (char *)"STC_INDIC_MAX", (long) 7, 0, 0, 0},
11983 { SWIG_PY_INT, (char *)"STC_INDIC_PLAIN", (long) 0, 0, 0, 0},
11984 { SWIG_PY_INT, (char *)"STC_INDIC_SQUIGGLE", (long) 1, 0, 0, 0},
11985 { SWIG_PY_INT, (char *)"STC_INDIC_TT", (long) 2, 0, 0, 0},
11986 { SWIG_PY_INT, (char *)"STC_INDIC_DIAGONAL", (long) 3, 0, 0, 0},
11987 { SWIG_PY_INT, (char *)"STC_INDIC_STRIKE", (long) 4, 0, 0, 0},
11988 { SWIG_PY_INT, (char *)"STC_INDIC_HIDDEN", (long) 5, 0, 0, 0},
11989 { SWIG_PY_INT, (char *)"STC_INDIC0_MASK", (long) 0x20, 0, 0, 0},
11990 { SWIG_PY_INT, (char *)"STC_INDIC1_MASK", (long) 0x40, 0, 0, 0},
11991 { SWIG_PY_INT, (char *)"STC_INDIC2_MASK", (long) 0x80, 0, 0, 0},
11992 { SWIG_PY_INT, (char *)"STC_INDICS_MASK", (long) 0xE0, 0, 0, 0},
11993 { SWIG_PY_INT, (char *)"STC_PRINT_NORMAL", (long) 0, 0, 0, 0},
11994 { SWIG_PY_INT, (char *)"STC_PRINT_INVERTLIGHT", (long) 1, 0, 0, 0},
11995 { SWIG_PY_INT, (char *)"STC_PRINT_BLACKONWHITE", (long) 2, 0, 0, 0},
11996 { SWIG_PY_INT, (char *)"STC_PRINT_COLOURONWHITE", (long) 3, 0, 0, 0},
11997 { SWIG_PY_INT, (char *)"STC_PRINT_COLOURONWHITEDEFAULTBG", (long) 4, 0, 0, 0},
11998 { SWIG_PY_INT, (char *)"STC_FIND_WHOLEWORD", (long) 2, 0, 0, 0},
11999 { SWIG_PY_INT, (char *)"STC_FIND_MATCHCASE", (long) 4, 0, 0, 0},
12000 { SWIG_PY_INT, (char *)"STC_FIND_WORDSTART", (long) 0x00100000, 0, 0, 0},
12001 { SWIG_PY_INT, (char *)"STC_FIND_REGEXP", (long) 0x00200000, 0, 0, 0},
12002 { SWIG_PY_INT, (char *)"STC_FIND_POSIX", (long) 0x00400000, 0, 0, 0},
12003 { SWIG_PY_INT, (char *)"STC_FOLDLEVELBASE", (long) 0x400, 0, 0, 0},
12004 { SWIG_PY_INT, (char *)"STC_FOLDLEVELWHITEFLAG", (long) 0x1000, 0, 0, 0},
12005 { SWIG_PY_INT, (char *)"STC_FOLDLEVELHEADERFLAG", (long) 0x2000, 0, 0, 0},
12006 { SWIG_PY_INT, (char *)"STC_FOLDLEVELBOXHEADERFLAG", (long) 0x4000, 0, 0, 0},
12007 { SWIG_PY_INT, (char *)"STC_FOLDLEVELBOXFOOTERFLAG", (long) 0x8000, 0, 0, 0},
12008 { SWIG_PY_INT, (char *)"STC_FOLDLEVELCONTRACTED", (long) 0x10000, 0, 0, 0},
12009 { SWIG_PY_INT, (char *)"STC_FOLDLEVELUNINDENT", (long) 0x20000, 0, 0, 0},
12010 { SWIG_PY_INT, (char *)"STC_FOLDLEVELNUMBERMASK", (long) 0x0FFF, 0, 0, 0},
12011 { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEBEFORE_EXPANDED", (long) 0x0002, 0, 0, 0},
12012 { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", (long) 0x0004, 0, 0, 0},
12013 { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEAFTER_EXPANDED", (long) 0x0008, 0, 0, 0},
12014 { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEAFTER_CONTRACTED", (long) 0x0010, 0, 0, 0},
12015 { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LEVELNUMBERS", (long) 0x0040, 0, 0, 0},
12016 { SWIG_PY_INT, (char *)"STC_FOLDFLAG_BOX", (long) 0x0001, 0, 0, 0},
12017 { SWIG_PY_INT, (char *)"STC_TIME_FOREVER", (long) 10000000, 0, 0, 0},
12018 { SWIG_PY_INT, (char *)"STC_WRAP_NONE", (long) 0, 0, 0, 0},
12019 { SWIG_PY_INT, (char *)"STC_WRAP_WORD", (long) 1, 0, 0, 0},
12020 { SWIG_PY_INT, (char *)"STC_CACHE_NONE", (long) 0, 0, 0, 0},
12021 { SWIG_PY_INT, (char *)"STC_CACHE_CARET", (long) 1, 0, 0, 0},
12022 { SWIG_PY_INT, (char *)"STC_CACHE_PAGE", (long) 2, 0, 0, 0},
12023 { SWIG_PY_INT, (char *)"STC_CACHE_DOCUMENT", (long) 3, 0, 0, 0},
12024 { SWIG_PY_INT, (char *)"STC_EDGE_NONE", (long) 0, 0, 0, 0},
12025 { SWIG_PY_INT, (char *)"STC_EDGE_LINE", (long) 1, 0, 0, 0},
12026 { SWIG_PY_INT, (char *)"STC_EDGE_BACKGROUND", (long) 2, 0, 0, 0},
12027 { SWIG_PY_INT, (char *)"STC_CURSORNORMAL", (long) -1, 0, 0, 0},
12028 { SWIG_PY_INT, (char *)"STC_CURSORWAIT", (long) 4, 0, 0, 0},
12029 { SWIG_PY_INT, (char *)"STC_VISIBLE_SLOP", (long) 0x01, 0, 0, 0},
12030 { SWIG_PY_INT, (char *)"STC_VISIBLE_STRICT", (long) 0x04, 0, 0, 0},
12031 { SWIG_PY_INT, (char *)"STC_CARET_SLOP", (long) 0x01, 0, 0, 0},
12032 { SWIG_PY_INT, (char *)"STC_CARET_STRICT", (long) 0x04, 0, 0, 0},
12033 { SWIG_PY_INT, (char *)"STC_CARET_JUMPS", (long) 0x10, 0, 0, 0},
12034 { SWIG_PY_INT, (char *)"STC_CARET_EVEN", (long) 0x08, 0, 0, 0},
12035 { SWIG_PY_INT, (char *)"STC_KEYWORDSET_MAX", (long) 8, 0, 0, 0},
12036 { SWIG_PY_INT, (char *)"STC_MOD_INSERTTEXT", (long) 0x1, 0, 0, 0},
12037 { SWIG_PY_INT, (char *)"STC_MOD_DELETETEXT", (long) 0x2, 0, 0, 0},
12038 { SWIG_PY_INT, (char *)"STC_MOD_CHANGESTYLE", (long) 0x4, 0, 0, 0},
12039 { SWIG_PY_INT, (char *)"STC_MOD_CHANGEFOLD", (long) 0x8, 0, 0, 0},
12040 { SWIG_PY_INT, (char *)"STC_PERFORMED_USER", (long) 0x10, 0, 0, 0},
12041 { SWIG_PY_INT, (char *)"STC_PERFORMED_UNDO", (long) 0x20, 0, 0, 0},
12042 { SWIG_PY_INT, (char *)"STC_PERFORMED_REDO", (long) 0x40, 0, 0, 0},
12043 { SWIG_PY_INT, (char *)"STC_LASTSTEPINUNDOREDO", (long) 0x100, 0, 0, 0},
12044 { SWIG_PY_INT, (char *)"STC_MOD_CHANGEMARKER", (long) 0x200, 0, 0, 0},
12045 { SWIG_PY_INT, (char *)"STC_MOD_BEFOREINSERT", (long) 0x400, 0, 0, 0},
12046 { SWIG_PY_INT, (char *)"STC_MOD_BEFOREDELETE", (long) 0x800, 0, 0, 0},
12047 { SWIG_PY_INT, (char *)"STC_MODEVENTMASKALL", (long) 0xF77, 0, 0, 0},
12048 { SWIG_PY_INT, (char *)"STC_KEY_DOWN", (long) 300, 0, 0, 0},
12049 { SWIG_PY_INT, (char *)"STC_KEY_UP", (long) 301, 0, 0, 0},
12050 { SWIG_PY_INT, (char *)"STC_KEY_LEFT", (long) 302, 0, 0, 0},
12051 { SWIG_PY_INT, (char *)"STC_KEY_RIGHT", (long) 303, 0, 0, 0},
12052 { SWIG_PY_INT, (char *)"STC_KEY_HOME", (long) 304, 0, 0, 0},
12053 { SWIG_PY_INT, (char *)"STC_KEY_END", (long) 305, 0, 0, 0},
12054 { SWIG_PY_INT, (char *)"STC_KEY_PRIOR", (long) 306, 0, 0, 0},
12055 { SWIG_PY_INT, (char *)"STC_KEY_NEXT", (long) 307, 0, 0, 0},
12056 { SWIG_PY_INT, (char *)"STC_KEY_DELETE", (long) 308, 0, 0, 0},
12057 { SWIG_PY_INT, (char *)"STC_KEY_INSERT", (long) 309, 0, 0, 0},
12058 { SWIG_PY_INT, (char *)"STC_KEY_ESCAPE", (long) 7, 0, 0, 0},
12059 { SWIG_PY_INT, (char *)"STC_KEY_BACK", (long) 8, 0, 0, 0},
12060 { SWIG_PY_INT, (char *)"STC_KEY_TAB", (long) 9, 0, 0, 0},
12061 { SWIG_PY_INT, (char *)"STC_KEY_RETURN", (long) 13, 0, 0, 0},
12062 { SWIG_PY_INT, (char *)"STC_KEY_ADD", (long) 310, 0, 0, 0},
12063 { SWIG_PY_INT, (char *)"STC_KEY_SUBTRACT", (long) 311, 0, 0, 0},
12064 { SWIG_PY_INT, (char *)"STC_KEY_DIVIDE", (long) 312, 0, 0, 0},
12065 { SWIG_PY_INT, (char *)"STC_SCMOD_SHIFT", (long) 1, 0, 0, 0},
12066 { SWIG_PY_INT, (char *)"STC_SCMOD_CTRL", (long) 2, 0, 0, 0},
12067 { SWIG_PY_INT, (char *)"STC_SCMOD_ALT", (long) 4, 0, 0, 0},
12068 { SWIG_PY_INT, (char *)"STC_LEX_CONTAINER", (long) 0, 0, 0, 0},
12069 { SWIG_PY_INT, (char *)"STC_LEX_NULL", (long) 1, 0, 0, 0},
12070 { SWIG_PY_INT, (char *)"STC_LEX_PYTHON", (long) 2, 0, 0, 0},
12071 { SWIG_PY_INT, (char *)"STC_LEX_CPP", (long) 3, 0, 0, 0},
12072 { SWIG_PY_INT, (char *)"STC_LEX_HTML", (long) 4, 0, 0, 0},
12073 { SWIG_PY_INT, (char *)"STC_LEX_XML", (long) 5, 0, 0, 0},
12074 { SWIG_PY_INT, (char *)"STC_LEX_PERL", (long) 6, 0, 0, 0},
12075 { SWIG_PY_INT, (char *)"STC_LEX_SQL", (long) 7, 0, 0, 0},
12076 { SWIG_PY_INT, (char *)"STC_LEX_VB", (long) 8, 0, 0, 0},
12077 { SWIG_PY_INT, (char *)"STC_LEX_PROPERTIES", (long) 9, 0, 0, 0},
12078 { SWIG_PY_INT, (char *)"STC_LEX_ERRORLIST", (long) 10, 0, 0, 0},
12079 { SWIG_PY_INT, (char *)"STC_LEX_MAKEFILE", (long) 11, 0, 0, 0},
12080 { SWIG_PY_INT, (char *)"STC_LEX_BATCH", (long) 12, 0, 0, 0},
12081 { SWIG_PY_INT, (char *)"STC_LEX_XCODE", (long) 13, 0, 0, 0},
12082 { SWIG_PY_INT, (char *)"STC_LEX_LATEX", (long) 14, 0, 0, 0},
12083 { SWIG_PY_INT, (char *)"STC_LEX_LUA", (long) 15, 0, 0, 0},
12084 { SWIG_PY_INT, (char *)"STC_LEX_DIFF", (long) 16, 0, 0, 0},
12085 { SWIG_PY_INT, (char *)"STC_LEX_CONF", (long) 17, 0, 0, 0},
12086 { SWIG_PY_INT, (char *)"STC_LEX_PASCAL", (long) 18, 0, 0, 0},
12087 { SWIG_PY_INT, (char *)"STC_LEX_AVE", (long) 19, 0, 0, 0},
12088 { SWIG_PY_INT, (char *)"STC_LEX_ADA", (long) 20, 0, 0, 0},
12089 { SWIG_PY_INT, (char *)"STC_LEX_LISP", (long) 21, 0, 0, 0},
12090 { SWIG_PY_INT, (char *)"STC_LEX_RUBY", (long) 22, 0, 0, 0},
12091 { SWIG_PY_INT, (char *)"STC_LEX_EIFFEL", (long) 23, 0, 0, 0},
12092 { SWIG_PY_INT, (char *)"STC_LEX_EIFFELKW", (long) 24, 0, 0, 0},
12093 { SWIG_PY_INT, (char *)"STC_LEX_TCL", (long) 25, 0, 0, 0},
12094 { SWIG_PY_INT, (char *)"STC_LEX_NNCRONTAB", (long) 26, 0, 0, 0},
12095 { SWIG_PY_INT, (char *)"STC_LEX_BULLANT", (long) 27, 0, 0, 0},
12096 { SWIG_PY_INT, (char *)"STC_LEX_VBSCRIPT", (long) 28, 0, 0, 0},
12097 { SWIG_PY_INT, (char *)"STC_LEX_ASP", (long) 29, 0, 0, 0},
12098 { SWIG_PY_INT, (char *)"STC_LEX_PHP", (long) 30, 0, 0, 0},
12099 { SWIG_PY_INT, (char *)"STC_LEX_BAAN", (long) 31, 0, 0, 0},
12100 { SWIG_PY_INT, (char *)"STC_LEX_MATLAB", (long) 32, 0, 0, 0},
12101 { SWIG_PY_INT, (char *)"STC_LEX_SCRIPTOL", (long) 33, 0, 0, 0},
12102 { SWIG_PY_INT, (char *)"STC_LEX_ASM", (long) 34, 0, 0, 0},
12103 { SWIG_PY_INT, (char *)"STC_LEX_CPPNOCASE", (long) 35, 0, 0, 0},
12104 { SWIG_PY_INT, (char *)"STC_LEX_FORTRAN", (long) 36, 0, 0, 0},
12105 { SWIG_PY_INT, (char *)"STC_LEX_F77", (long) 37, 0, 0, 0},
12106 { SWIG_PY_INT, (char *)"STC_LEX_CSS", (long) 38, 0, 0, 0},
12107 { SWIG_PY_INT, (char *)"STC_LEX_POV", (long) 39, 0, 0, 0},
12108 { SWIG_PY_INT, (char *)"STC_LEX_LOUT", (long) 40, 0, 0, 0},
12109 { SWIG_PY_INT, (char *)"STC_LEX_ESCRIPT", (long) 41, 0, 0, 0},
12110 { SWIG_PY_INT, (char *)"STC_LEX_PS", (long) 42, 0, 0, 0},
12111 { SWIG_PY_INT, (char *)"STC_LEX_NSIS", (long) 43, 0, 0, 0},
12112 { SWIG_PY_INT, (char *)"STC_LEX_MMIXAL", (long) 44, 0, 0, 0},
12113 { SWIG_PY_INT, (char *)"STC_LEX_AUTOMATIC", (long) 1000, 0, 0, 0},
12114 { SWIG_PY_INT, (char *)"STC_P_DEFAULT", (long) 0, 0, 0, 0},
12115 { SWIG_PY_INT, (char *)"STC_P_COMMENTLINE", (long) 1, 0, 0, 0},
12116 { SWIG_PY_INT, (char *)"STC_P_NUMBER", (long) 2, 0, 0, 0},
12117 { SWIG_PY_INT, (char *)"STC_P_STRING", (long) 3, 0, 0, 0},
12118 { SWIG_PY_INT, (char *)"STC_P_CHARACTER", (long) 4, 0, 0, 0},
12119 { SWIG_PY_INT, (char *)"STC_P_WORD", (long) 5, 0, 0, 0},
12120 { SWIG_PY_INT, (char *)"STC_P_TRIPLE", (long) 6, 0, 0, 0},
12121 { SWIG_PY_INT, (char *)"STC_P_TRIPLEDOUBLE", (long) 7, 0, 0, 0},
12122 { SWIG_PY_INT, (char *)"STC_P_CLASSNAME", (long) 8, 0, 0, 0},
12123 { SWIG_PY_INT, (char *)"STC_P_DEFNAME", (long) 9, 0, 0, 0},
12124 { SWIG_PY_INT, (char *)"STC_P_OPERATOR", (long) 10, 0, 0, 0},
12125 { SWIG_PY_INT, (char *)"STC_P_IDENTIFIER", (long) 11, 0, 0, 0},
12126 { SWIG_PY_INT, (char *)"STC_P_COMMENTBLOCK", (long) 12, 0, 0, 0},
12127 { SWIG_PY_INT, (char *)"STC_P_STRINGEOL", (long) 13, 0, 0, 0},
12128 { SWIG_PY_INT, (char *)"STC_C_DEFAULT", (long) 0, 0, 0, 0},
12129 { SWIG_PY_INT, (char *)"STC_C_COMMENT", (long) 1, 0, 0, 0},
12130 { SWIG_PY_INT, (char *)"STC_C_COMMENTLINE", (long) 2, 0, 0, 0},
12131 { SWIG_PY_INT, (char *)"STC_C_COMMENTDOC", (long) 3, 0, 0, 0},
12132 { SWIG_PY_INT, (char *)"STC_C_NUMBER", (long) 4, 0, 0, 0},
12133 { SWIG_PY_INT, (char *)"STC_C_WORD", (long) 5, 0, 0, 0},
12134 { SWIG_PY_INT, (char *)"STC_C_STRING", (long) 6, 0, 0, 0},
12135 { SWIG_PY_INT, (char *)"STC_C_CHARACTER", (long) 7, 0, 0, 0},
12136 { SWIG_PY_INT, (char *)"STC_C_UUID", (long) 8, 0, 0, 0},
12137 { SWIG_PY_INT, (char *)"STC_C_PREPROCESSOR", (long) 9, 0, 0, 0},
12138 { SWIG_PY_INT, (char *)"STC_C_OPERATOR", (long) 10, 0, 0, 0},
12139 { SWIG_PY_INT, (char *)"STC_C_IDENTIFIER", (long) 11, 0, 0, 0},
12140 { SWIG_PY_INT, (char *)"STC_C_STRINGEOL", (long) 12, 0, 0, 0},
12141 { SWIG_PY_INT, (char *)"STC_C_VERBATIM", (long) 13, 0, 0, 0},
12142 { SWIG_PY_INT, (char *)"STC_C_REGEX", (long) 14, 0, 0, 0},
12143 { SWIG_PY_INT, (char *)"STC_C_COMMENTLINEDOC", (long) 15, 0, 0, 0},
12144 { SWIG_PY_INT, (char *)"STC_C_WORD2", (long) 16, 0, 0, 0},
12145 { SWIG_PY_INT, (char *)"STC_C_COMMENTDOCKEYWORD", (long) 17, 0, 0, 0},
12146 { SWIG_PY_INT, (char *)"STC_C_COMMENTDOCKEYWORDERROR", (long) 18, 0, 0, 0},
12147 { SWIG_PY_INT, (char *)"STC_C_GLOBALCLASS", (long) 19, 0, 0, 0},
12148 { SWIG_PY_INT, (char *)"STC_H_DEFAULT", (long) 0, 0, 0, 0},
12149 { SWIG_PY_INT, (char *)"STC_H_TAG", (long) 1, 0, 0, 0},
12150 { SWIG_PY_INT, (char *)"STC_H_TAGUNKNOWN", (long) 2, 0, 0, 0},
12151 { SWIG_PY_INT, (char *)"STC_H_ATTRIBUTE", (long) 3, 0, 0, 0},
12152 { SWIG_PY_INT, (char *)"STC_H_ATTRIBUTEUNKNOWN", (long) 4, 0, 0, 0},
12153 { SWIG_PY_INT, (char *)"STC_H_NUMBER", (long) 5, 0, 0, 0},
12154 { SWIG_PY_INT, (char *)"STC_H_DOUBLESTRING", (long) 6, 0, 0, 0},
12155 { SWIG_PY_INT, (char *)"STC_H_SINGLESTRING", (long) 7, 0, 0, 0},
12156 { SWIG_PY_INT, (char *)"STC_H_OTHER", (long) 8, 0, 0, 0},
12157 { SWIG_PY_INT, (char *)"STC_H_COMMENT", (long) 9, 0, 0, 0},
12158 { SWIG_PY_INT, (char *)"STC_H_ENTITY", (long) 10, 0, 0, 0},
12159 { SWIG_PY_INT, (char *)"STC_H_TAGEND", (long) 11, 0, 0, 0},
12160 { SWIG_PY_INT, (char *)"STC_H_XMLSTART", (long) 12, 0, 0, 0},
12161 { SWIG_PY_INT, (char *)"STC_H_XMLEND", (long) 13, 0, 0, 0},
12162 { SWIG_PY_INT, (char *)"STC_H_SCRIPT", (long) 14, 0, 0, 0},
12163 { SWIG_PY_INT, (char *)"STC_H_ASP", (long) 15, 0, 0, 0},
12164 { SWIG_PY_INT, (char *)"STC_H_ASPAT", (long) 16, 0, 0, 0},
12165 { SWIG_PY_INT, (char *)"STC_H_CDATA", (long) 17, 0, 0, 0},
12166 { SWIG_PY_INT, (char *)"STC_H_QUESTION", (long) 18, 0, 0, 0},
12167 { SWIG_PY_INT, (char *)"STC_H_VALUE", (long) 19, 0, 0, 0},
12168 { SWIG_PY_INT, (char *)"STC_H_XCCOMMENT", (long) 20, 0, 0, 0},
12169 { SWIG_PY_INT, (char *)"STC_H_SGML_DEFAULT", (long) 21, 0, 0, 0},
12170 { SWIG_PY_INT, (char *)"STC_H_SGML_COMMAND", (long) 22, 0, 0, 0},
12171 { SWIG_PY_INT, (char *)"STC_H_SGML_1ST_PARAM", (long) 23, 0, 0, 0},
12172 { SWIG_PY_INT, (char *)"STC_H_SGML_DOUBLESTRING", (long) 24, 0, 0, 0},
12173 { SWIG_PY_INT, (char *)"STC_H_SGML_SIMPLESTRING", (long) 25, 0, 0, 0},
12174 { SWIG_PY_INT, (char *)"STC_H_SGML_ERROR", (long) 26, 0, 0, 0},
12175 { SWIG_PY_INT, (char *)"STC_H_SGML_SPECIAL", (long) 27, 0, 0, 0},
12176 { SWIG_PY_INT, (char *)"STC_H_SGML_ENTITY", (long) 28, 0, 0, 0},
12177 { SWIG_PY_INT, (char *)"STC_H_SGML_COMMENT", (long) 29, 0, 0, 0},
12178 { SWIG_PY_INT, (char *)"STC_H_SGML_1ST_PARAM_COMMENT", (long) 30, 0, 0, 0},
12179 { SWIG_PY_INT, (char *)"STC_H_SGML_BLOCK_DEFAULT", (long) 31, 0, 0, 0},
12180 { SWIG_PY_INT, (char *)"STC_HJ_START", (long) 40, 0, 0, 0},
12181 { SWIG_PY_INT, (char *)"STC_HJ_DEFAULT", (long) 41, 0, 0, 0},
12182 { SWIG_PY_INT, (char *)"STC_HJ_COMMENT", (long) 42, 0, 0, 0},
12183 { SWIG_PY_INT, (char *)"STC_HJ_COMMENTLINE", (long) 43, 0, 0, 0},
12184 { SWIG_PY_INT, (char *)"STC_HJ_COMMENTDOC", (long) 44, 0, 0, 0},
12185 { SWIG_PY_INT, (char *)"STC_HJ_NUMBER", (long) 45, 0, 0, 0},
12186 { SWIG_PY_INT, (char *)"STC_HJ_WORD", (long) 46, 0, 0, 0},
12187 { SWIG_PY_INT, (char *)"STC_HJ_KEYWORD", (long) 47, 0, 0, 0},
12188 { SWIG_PY_INT, (char *)"STC_HJ_DOUBLESTRING", (long) 48, 0, 0, 0},
12189 { SWIG_PY_INT, (char *)"STC_HJ_SINGLESTRING", (long) 49, 0, 0, 0},
12190 { SWIG_PY_INT, (char *)"STC_HJ_SYMBOLS", (long) 50, 0, 0, 0},
12191 { SWIG_PY_INT, (char *)"STC_HJ_STRINGEOL", (long) 51, 0, 0, 0},
12192 { SWIG_PY_INT, (char *)"STC_HJ_REGEX", (long) 52, 0, 0, 0},
12193 { SWIG_PY_INT, (char *)"STC_HJA_START", (long) 55, 0, 0, 0},
12194 { SWIG_PY_INT, (char *)"STC_HJA_DEFAULT", (long) 56, 0, 0, 0},
12195 { SWIG_PY_INT, (char *)"STC_HJA_COMMENT", (long) 57, 0, 0, 0},
12196 { SWIG_PY_INT, (char *)"STC_HJA_COMMENTLINE", (long) 58, 0, 0, 0},
12197 { SWIG_PY_INT, (char *)"STC_HJA_COMMENTDOC", (long) 59, 0, 0, 0},
12198 { SWIG_PY_INT, (char *)"STC_HJA_NUMBER", (long) 60, 0, 0, 0},
12199 { SWIG_PY_INT, (char *)"STC_HJA_WORD", (long) 61, 0, 0, 0},
12200 { SWIG_PY_INT, (char *)"STC_HJA_KEYWORD", (long) 62, 0, 0, 0},
12201 { SWIG_PY_INT, (char *)"STC_HJA_DOUBLESTRING", (long) 63, 0, 0, 0},
12202 { SWIG_PY_INT, (char *)"STC_HJA_SINGLESTRING", (long) 64, 0, 0, 0},
12203 { SWIG_PY_INT, (char *)"STC_HJA_SYMBOLS", (long) 65, 0, 0, 0},
12204 { SWIG_PY_INT, (char *)"STC_HJA_STRINGEOL", (long) 66, 0, 0, 0},
12205 { SWIG_PY_INT, (char *)"STC_HJA_REGEX", (long) 67, 0, 0, 0},
12206 { SWIG_PY_INT, (char *)"STC_HB_START", (long) 70, 0, 0, 0},
12207 { SWIG_PY_INT, (char *)"STC_HB_DEFAULT", (long) 71, 0, 0, 0},
12208 { SWIG_PY_INT, (char *)"STC_HB_COMMENTLINE", (long) 72, 0, 0, 0},
12209 { SWIG_PY_INT, (char *)"STC_HB_NUMBER", (long) 73, 0, 0, 0},
12210 { SWIG_PY_INT, (char *)"STC_HB_WORD", (long) 74, 0, 0, 0},
12211 { SWIG_PY_INT, (char *)"STC_HB_STRING", (long) 75, 0, 0, 0},
12212 { SWIG_PY_INT, (char *)"STC_HB_IDENTIFIER", (long) 76, 0, 0, 0},
12213 { SWIG_PY_INT, (char *)"STC_HB_STRINGEOL", (long) 77, 0, 0, 0},
12214 { SWIG_PY_INT, (char *)"STC_HBA_START", (long) 80, 0, 0, 0},
12215 { SWIG_PY_INT, (char *)"STC_HBA_DEFAULT", (long) 81, 0, 0, 0},
12216 { SWIG_PY_INT, (char *)"STC_HBA_COMMENTLINE", (long) 82, 0, 0, 0},
12217 { SWIG_PY_INT, (char *)"STC_HBA_NUMBER", (long) 83, 0, 0, 0},
12218 { SWIG_PY_INT, (char *)"STC_HBA_WORD", (long) 84, 0, 0, 0},
12219 { SWIG_PY_INT, (char *)"STC_HBA_STRING", (long) 85, 0, 0, 0},
12220 { SWIG_PY_INT, (char *)"STC_HBA_IDENTIFIER", (long) 86, 0, 0, 0},
12221 { SWIG_PY_INT, (char *)"STC_HBA_STRINGEOL", (long) 87, 0, 0, 0},
12222 { SWIG_PY_INT, (char *)"STC_HP_START", (long) 90, 0, 0, 0},
12223 { SWIG_PY_INT, (char *)"STC_HP_DEFAULT", (long) 91, 0, 0, 0},
12224 { SWIG_PY_INT, (char *)"STC_HP_COMMENTLINE", (long) 92, 0, 0, 0},
12225 { SWIG_PY_INT, (char *)"STC_HP_NUMBER", (long) 93, 0, 0, 0},
12226 { SWIG_PY_INT, (char *)"STC_HP_STRING", (long) 94, 0, 0, 0},
12227 { SWIG_PY_INT, (char *)"STC_HP_CHARACTER", (long) 95, 0, 0, 0},
12228 { SWIG_PY_INT, (char *)"STC_HP_WORD", (long) 96, 0, 0, 0},
12229 { SWIG_PY_INT, (char *)"STC_HP_TRIPLE", (long) 97, 0, 0, 0},
12230 { SWIG_PY_INT, (char *)"STC_HP_TRIPLEDOUBLE", (long) 98, 0, 0, 0},
12231 { SWIG_PY_INT, (char *)"STC_HP_CLASSNAME", (long) 99, 0, 0, 0},
12232 { SWIG_PY_INT, (char *)"STC_HP_DEFNAME", (long) 100, 0, 0, 0},
12233 { SWIG_PY_INT, (char *)"STC_HP_OPERATOR", (long) 101, 0, 0, 0},
12234 { SWIG_PY_INT, (char *)"STC_HP_IDENTIFIER", (long) 102, 0, 0, 0},
12235 { SWIG_PY_INT, (char *)"STC_HPA_START", (long) 105, 0, 0, 0},
12236 { SWIG_PY_INT, (char *)"STC_HPA_DEFAULT", (long) 106, 0, 0, 0},
12237 { SWIG_PY_INT, (char *)"STC_HPA_COMMENTLINE", (long) 107, 0, 0, 0},
12238 { SWIG_PY_INT, (char *)"STC_HPA_NUMBER", (long) 108, 0, 0, 0},
12239 { SWIG_PY_INT, (char *)"STC_HPA_STRING", (long) 109, 0, 0, 0},
12240 { SWIG_PY_INT, (char *)"STC_HPA_CHARACTER", (long) 110, 0, 0, 0},
12241 { SWIG_PY_INT, (char *)"STC_HPA_WORD", (long) 111, 0, 0, 0},
12242 { SWIG_PY_INT, (char *)"STC_HPA_TRIPLE", (long) 112, 0, 0, 0},
12243 { SWIG_PY_INT, (char *)"STC_HPA_TRIPLEDOUBLE", (long) 113, 0, 0, 0},
12244 { SWIG_PY_INT, (char *)"STC_HPA_CLASSNAME", (long) 114, 0, 0, 0},
12245 { SWIG_PY_INT, (char *)"STC_HPA_DEFNAME", (long) 115, 0, 0, 0},
12246 { SWIG_PY_INT, (char *)"STC_HPA_OPERATOR", (long) 116, 0, 0, 0},
12247 { SWIG_PY_INT, (char *)"STC_HPA_IDENTIFIER", (long) 117, 0, 0, 0},
12248 { SWIG_PY_INT, (char *)"STC_HPHP_DEFAULT", (long) 118, 0, 0, 0},
12249 { SWIG_PY_INT, (char *)"STC_HPHP_HSTRING", (long) 119, 0, 0, 0},
12250 { SWIG_PY_INT, (char *)"STC_HPHP_SIMPLESTRING", (long) 120, 0, 0, 0},
12251 { SWIG_PY_INT, (char *)"STC_HPHP_WORD", (long) 121, 0, 0, 0},
12252 { SWIG_PY_INT, (char *)"STC_HPHP_NUMBER", (long) 122, 0, 0, 0},
12253 { SWIG_PY_INT, (char *)"STC_HPHP_VARIABLE", (long) 123, 0, 0, 0},
12254 { SWIG_PY_INT, (char *)"STC_HPHP_COMMENT", (long) 124, 0, 0, 0},
12255 { SWIG_PY_INT, (char *)"STC_HPHP_COMMENTLINE", (long) 125, 0, 0, 0},
12256 { SWIG_PY_INT, (char *)"STC_HPHP_HSTRING_VARIABLE", (long) 126, 0, 0, 0},
12257 { SWIG_PY_INT, (char *)"STC_HPHP_OPERATOR", (long) 127, 0, 0, 0},
12258 { SWIG_PY_INT, (char *)"STC_PL_DEFAULT", (long) 0, 0, 0, 0},
12259 { SWIG_PY_INT, (char *)"STC_PL_ERROR", (long) 1, 0, 0, 0},
12260 { SWIG_PY_INT, (char *)"STC_PL_COMMENTLINE", (long) 2, 0, 0, 0},
12261 { SWIG_PY_INT, (char *)"STC_PL_POD", (long) 3, 0, 0, 0},
12262 { SWIG_PY_INT, (char *)"STC_PL_NUMBER", (long) 4, 0, 0, 0},
12263 { SWIG_PY_INT, (char *)"STC_PL_WORD", (long) 5, 0, 0, 0},
12264 { SWIG_PY_INT, (char *)"STC_PL_STRING", (long) 6, 0, 0, 0},
12265 { SWIG_PY_INT, (char *)"STC_PL_CHARACTER", (long) 7, 0, 0, 0},
12266 { SWIG_PY_INT, (char *)"STC_PL_PUNCTUATION", (long) 8, 0, 0, 0},
12267 { SWIG_PY_INT, (char *)"STC_PL_PREPROCESSOR", (long) 9, 0, 0, 0},
12268 { SWIG_PY_INT, (char *)"STC_PL_OPERATOR", (long) 10, 0, 0, 0},
12269 { SWIG_PY_INT, (char *)"STC_PL_IDENTIFIER", (long) 11, 0, 0, 0},
12270 { SWIG_PY_INT, (char *)"STC_PL_SCALAR", (long) 12, 0, 0, 0},
12271 { SWIG_PY_INT, (char *)"STC_PL_ARRAY", (long) 13, 0, 0, 0},
12272 { SWIG_PY_INT, (char *)"STC_PL_HASH", (long) 14, 0, 0, 0},
12273 { SWIG_PY_INT, (char *)"STC_PL_SYMBOLTABLE", (long) 15, 0, 0, 0},
12274 { SWIG_PY_INT, (char *)"STC_PL_REGEX", (long) 17, 0, 0, 0},
12275 { SWIG_PY_INT, (char *)"STC_PL_REGSUBST", (long) 18, 0, 0, 0},
12276 { SWIG_PY_INT, (char *)"STC_PL_LONGQUOTE", (long) 19, 0, 0, 0},
12277 { SWIG_PY_INT, (char *)"STC_PL_BACKTICKS", (long) 20, 0, 0, 0},
12278 { SWIG_PY_INT, (char *)"STC_PL_DATASECTION", (long) 21, 0, 0, 0},
12279 { SWIG_PY_INT, (char *)"STC_PL_HERE_DELIM", (long) 22, 0, 0, 0},
12280 { SWIG_PY_INT, (char *)"STC_PL_HERE_Q", (long) 23, 0, 0, 0},
12281 { SWIG_PY_INT, (char *)"STC_PL_HERE_QQ", (long) 24, 0, 0, 0},
12282 { SWIG_PY_INT, (char *)"STC_PL_HERE_QX", (long) 25, 0, 0, 0},
12283 { SWIG_PY_INT, (char *)"STC_PL_STRING_Q", (long) 26, 0, 0, 0},
12284 { SWIG_PY_INT, (char *)"STC_PL_STRING_QQ", (long) 27, 0, 0, 0},
12285 { SWIG_PY_INT, (char *)"STC_PL_STRING_QX", (long) 28, 0, 0, 0},
12286 { SWIG_PY_INT, (char *)"STC_PL_STRING_QR", (long) 29, 0, 0, 0},
12287 { SWIG_PY_INT, (char *)"STC_PL_STRING_QW", (long) 30, 0, 0, 0},
12288 { SWIG_PY_INT, (char *)"STC_B_DEFAULT", (long) 0, 0, 0, 0},
12289 { SWIG_PY_INT, (char *)"STC_B_COMMENT", (long) 1, 0, 0, 0},
12290 { SWIG_PY_INT, (char *)"STC_B_NUMBER", (long) 2, 0, 0, 0},
12291 { SWIG_PY_INT, (char *)"STC_B_KEYWORD", (long) 3, 0, 0, 0},
12292 { SWIG_PY_INT, (char *)"STC_B_STRING", (long) 4, 0, 0, 0},
12293 { SWIG_PY_INT, (char *)"STC_B_PREPROCESSOR", (long) 5, 0, 0, 0},
12294 { SWIG_PY_INT, (char *)"STC_B_OPERATOR", (long) 6, 0, 0, 0},
12295 { SWIG_PY_INT, (char *)"STC_B_IDENTIFIER", (long) 7, 0, 0, 0},
12296 { SWIG_PY_INT, (char *)"STC_B_DATE", (long) 8, 0, 0, 0},
12297 { SWIG_PY_INT, (char *)"STC_PROPS_DEFAULT", (long) 0, 0, 0, 0},
12298 { SWIG_PY_INT, (char *)"STC_PROPS_COMMENT", (long) 1, 0, 0, 0},
12299 { SWIG_PY_INT, (char *)"STC_PROPS_SECTION", (long) 2, 0, 0, 0},
12300 { SWIG_PY_INT, (char *)"STC_PROPS_ASSIGNMENT", (long) 3, 0, 0, 0},
12301 { SWIG_PY_INT, (char *)"STC_PROPS_DEFVAL", (long) 4, 0, 0, 0},
12302 { SWIG_PY_INT, (char *)"STC_L_DEFAULT", (long) 0, 0, 0, 0},
12303 { SWIG_PY_INT, (char *)"STC_L_COMMAND", (long) 1, 0, 0, 0},
12304 { SWIG_PY_INT, (char *)"STC_L_TAG", (long) 2, 0, 0, 0},
12305 { SWIG_PY_INT, (char *)"STC_L_MATH", (long) 3, 0, 0, 0},
12306 { SWIG_PY_INT, (char *)"STC_L_COMMENT", (long) 4, 0, 0, 0},
12307 { SWIG_PY_INT, (char *)"STC_LUA_DEFAULT", (long) 0, 0, 0, 0},
12308 { SWIG_PY_INT, (char *)"STC_LUA_COMMENT", (long) 1, 0, 0, 0},
12309 { SWIG_PY_INT, (char *)"STC_LUA_COMMENTLINE", (long) 2, 0, 0, 0},
12310 { SWIG_PY_INT, (char *)"STC_LUA_COMMENTDOC", (long) 3, 0, 0, 0},
12311 { SWIG_PY_INT, (char *)"STC_LUA_NUMBER", (long) 4, 0, 0, 0},
12312 { SWIG_PY_INT, (char *)"STC_LUA_WORD", (long) 5, 0, 0, 0},
12313 { SWIG_PY_INT, (char *)"STC_LUA_STRING", (long) 6, 0, 0, 0},
12314 { SWIG_PY_INT, (char *)"STC_LUA_CHARACTER", (long) 7, 0, 0, 0},
12315 { SWIG_PY_INT, (char *)"STC_LUA_LITERALSTRING", (long) 8, 0, 0, 0},
12316 { SWIG_PY_INT, (char *)"STC_LUA_PREPROCESSOR", (long) 9, 0, 0, 0},
12317 { SWIG_PY_INT, (char *)"STC_LUA_OPERATOR", (long) 10, 0, 0, 0},
12318 { SWIG_PY_INT, (char *)"STC_LUA_IDENTIFIER", (long) 11, 0, 0, 0},
12319 { SWIG_PY_INT, (char *)"STC_LUA_STRINGEOL", (long) 12, 0, 0, 0},
12320 { SWIG_PY_INT, (char *)"STC_LUA_WORD2", (long) 13, 0, 0, 0},
12321 { SWIG_PY_INT, (char *)"STC_LUA_WORD3", (long) 14, 0, 0, 0},
12322 { SWIG_PY_INT, (char *)"STC_LUA_WORD4", (long) 15, 0, 0, 0},
12323 { SWIG_PY_INT, (char *)"STC_LUA_WORD5", (long) 16, 0, 0, 0},
12324 { SWIG_PY_INT, (char *)"STC_LUA_WORD6", (long) 17, 0, 0, 0},
12325 { SWIG_PY_INT, (char *)"STC_LUA_WORD7", (long) 18, 0, 0, 0},
12326 { SWIG_PY_INT, (char *)"STC_LUA_WORD8", (long) 19, 0, 0, 0},
12327 { SWIG_PY_INT, (char *)"STC_ERR_DEFAULT", (long) 0, 0, 0, 0},
12328 { SWIG_PY_INT, (char *)"STC_ERR_PYTHON", (long) 1, 0, 0, 0},
12329 { SWIG_PY_INT, (char *)"STC_ERR_GCC", (long) 2, 0, 0, 0},
12330 { SWIG_PY_INT, (char *)"STC_ERR_MS", (long) 3, 0, 0, 0},
12331 { SWIG_PY_INT, (char *)"STC_ERR_CMD", (long) 4, 0, 0, 0},
12332 { SWIG_PY_INT, (char *)"STC_ERR_BORLAND", (long) 5, 0, 0, 0},
12333 { SWIG_PY_INT, (char *)"STC_ERR_PERL", (long) 6, 0, 0, 0},
12334 { SWIG_PY_INT, (char *)"STC_ERR_NET", (long) 7, 0, 0, 0},
12335 { SWIG_PY_INT, (char *)"STC_ERR_LUA", (long) 8, 0, 0, 0},
12336 { SWIG_PY_INT, (char *)"STC_ERR_CTAG", (long) 9, 0, 0, 0},
12337 { SWIG_PY_INT, (char *)"STC_ERR_DIFF_CHANGED", (long) 10, 0, 0, 0},
12338 { SWIG_PY_INT, (char *)"STC_ERR_DIFF_ADDITION", (long) 11, 0, 0, 0},
12339 { SWIG_PY_INT, (char *)"STC_ERR_DIFF_DELETION", (long) 12, 0, 0, 0},
12340 { SWIG_PY_INT, (char *)"STC_ERR_DIFF_MESSAGE", (long) 13, 0, 0, 0},
12341 { SWIG_PY_INT, (char *)"STC_ERR_PHP", (long) 14, 0, 0, 0},
12342 { SWIG_PY_INT, (char *)"STC_ERR_ELF", (long) 15, 0, 0, 0},
12343 { SWIG_PY_INT, (char *)"STC_ERR_IFC", (long) 16, 0, 0, 0},
12344 { SWIG_PY_INT, (char *)"STC_BAT_DEFAULT", (long) 0, 0, 0, 0},
12345 { SWIG_PY_INT, (char *)"STC_BAT_COMMENT", (long) 1, 0, 0, 0},
12346 { SWIG_PY_INT, (char *)"STC_BAT_WORD", (long) 2, 0, 0, 0},
12347 { SWIG_PY_INT, (char *)"STC_BAT_LABEL", (long) 3, 0, 0, 0},
12348 { SWIG_PY_INT, (char *)"STC_BAT_HIDE", (long) 4, 0, 0, 0},
12349 { SWIG_PY_INT, (char *)"STC_BAT_COMMAND", (long) 5, 0, 0, 0},
12350 { SWIG_PY_INT, (char *)"STC_BAT_IDENTIFIER", (long) 6, 0, 0, 0},
12351 { SWIG_PY_INT, (char *)"STC_BAT_OPERATOR", (long) 7, 0, 0, 0},
12352 { SWIG_PY_INT, (char *)"STC_MAKE_DEFAULT", (long) 0, 0, 0, 0},
12353 { SWIG_PY_INT, (char *)"STC_MAKE_COMMENT", (long) 1, 0, 0, 0},
12354 { SWIG_PY_INT, (char *)"STC_MAKE_PREPROCESSOR", (long) 2, 0, 0, 0},
12355 { SWIG_PY_INT, (char *)"STC_MAKE_IDENTIFIER", (long) 3, 0, 0, 0},
12356 { SWIG_PY_INT, (char *)"STC_MAKE_OPERATOR", (long) 4, 0, 0, 0},
12357 { SWIG_PY_INT, (char *)"STC_MAKE_TARGET", (long) 5, 0, 0, 0},
12358 { SWIG_PY_INT, (char *)"STC_MAKE_IDEOL", (long) 9, 0, 0, 0},
12359 { SWIG_PY_INT, (char *)"STC_DIFF_DEFAULT", (long) 0, 0, 0, 0},
12360 { SWIG_PY_INT, (char *)"STC_DIFF_COMMENT", (long) 1, 0, 0, 0},
12361 { SWIG_PY_INT, (char *)"STC_DIFF_COMMAND", (long) 2, 0, 0, 0},
12362 { SWIG_PY_INT, (char *)"STC_DIFF_HEADER", (long) 3, 0, 0, 0},
12363 { SWIG_PY_INT, (char *)"STC_DIFF_POSITION", (long) 4, 0, 0, 0},
12364 { SWIG_PY_INT, (char *)"STC_DIFF_DELETED", (long) 5, 0, 0, 0},
12365 { SWIG_PY_INT, (char *)"STC_DIFF_ADDED", (long) 6, 0, 0, 0},
12366 { SWIG_PY_INT, (char *)"STC_CONF_DEFAULT", (long) 0, 0, 0, 0},
12367 { SWIG_PY_INT, (char *)"STC_CONF_COMMENT", (long) 1, 0, 0, 0},
12368 { SWIG_PY_INT, (char *)"STC_CONF_NUMBER", (long) 2, 0, 0, 0},
12369 { SWIG_PY_INT, (char *)"STC_CONF_IDENTIFIER", (long) 3, 0, 0, 0},
12370 { SWIG_PY_INT, (char *)"STC_CONF_EXTENSION", (long) 4, 0, 0, 0},
12371 { SWIG_PY_INT, (char *)"STC_CONF_PARAMETER", (long) 5, 0, 0, 0},
12372 { SWIG_PY_INT, (char *)"STC_CONF_STRING", (long) 6, 0, 0, 0},
12373 { SWIG_PY_INT, (char *)"STC_CONF_OPERATOR", (long) 7, 0, 0, 0},
12374 { SWIG_PY_INT, (char *)"STC_CONF_IP", (long) 8, 0, 0, 0},
12375 { SWIG_PY_INT, (char *)"STC_CONF_DIRECTIVE", (long) 9, 0, 0, 0},
12376 { SWIG_PY_INT, (char *)"STC_AVE_DEFAULT", (long) 0, 0, 0, 0},
12377 { SWIG_PY_INT, (char *)"STC_AVE_COMMENT", (long) 1, 0, 0, 0},
12378 { SWIG_PY_INT, (char *)"STC_AVE_NUMBER", (long) 2, 0, 0, 0},
12379 { SWIG_PY_INT, (char *)"STC_AVE_WORD", (long) 3, 0, 0, 0},
12380 { SWIG_PY_INT, (char *)"STC_AVE_STRING", (long) 6, 0, 0, 0},
12381 { SWIG_PY_INT, (char *)"STC_AVE_ENUM", (long) 7, 0, 0, 0},
12382 { SWIG_PY_INT, (char *)"STC_AVE_STRINGEOL", (long) 8, 0, 0, 0},
12383 { SWIG_PY_INT, (char *)"STC_AVE_IDENTIFIER", (long) 9, 0, 0, 0},
12384 { SWIG_PY_INT, (char *)"STC_AVE_OPERATOR", (long) 10, 0, 0, 0},
12385 { SWIG_PY_INT, (char *)"STC_AVE_WORD1", (long) 11, 0, 0, 0},
12386 { SWIG_PY_INT, (char *)"STC_AVE_WORD2", (long) 12, 0, 0, 0},
12387 { SWIG_PY_INT, (char *)"STC_AVE_WORD3", (long) 13, 0, 0, 0},
12388 { SWIG_PY_INT, (char *)"STC_AVE_WORD4", (long) 14, 0, 0, 0},
12389 { SWIG_PY_INT, (char *)"STC_AVE_WORD5", (long) 15, 0, 0, 0},
12390 { SWIG_PY_INT, (char *)"STC_AVE_WORD6", (long) 16, 0, 0, 0},
12391 { SWIG_PY_INT, (char *)"STC_ADA_DEFAULT", (long) 0, 0, 0, 0},
12392 { SWIG_PY_INT, (char *)"STC_ADA_WORD", (long) 1, 0, 0, 0},
12393 { SWIG_PY_INT, (char *)"STC_ADA_IDENTIFIER", (long) 2, 0, 0, 0},
12394 { SWIG_PY_INT, (char *)"STC_ADA_NUMBER", (long) 3, 0, 0, 0},
12395 { SWIG_PY_INT, (char *)"STC_ADA_DELIMITER", (long) 4, 0, 0, 0},
12396 { SWIG_PY_INT, (char *)"STC_ADA_CHARACTER", (long) 5, 0, 0, 0},
12397 { SWIG_PY_INT, (char *)"STC_ADA_CHARACTEREOL", (long) 6, 0, 0, 0},
12398 { SWIG_PY_INT, (char *)"STC_ADA_STRING", (long) 7, 0, 0, 0},
12399 { SWIG_PY_INT, (char *)"STC_ADA_STRINGEOL", (long) 8, 0, 0, 0},
12400 { SWIG_PY_INT, (char *)"STC_ADA_LABEL", (long) 9, 0, 0, 0},
12401 { SWIG_PY_INT, (char *)"STC_ADA_COMMENTLINE", (long) 10, 0, 0, 0},
12402 { SWIG_PY_INT, (char *)"STC_ADA_ILLEGAL", (long) 11, 0, 0, 0},
12403 { SWIG_PY_INT, (char *)"STC_BAAN_DEFAULT", (long) 0, 0, 0, 0},
12404 { SWIG_PY_INT, (char *)"STC_BAAN_COMMENT", (long) 1, 0, 0, 0},
12405 { SWIG_PY_INT, (char *)"STC_BAAN_COMMENTDOC", (long) 2, 0, 0, 0},
12406 { SWIG_PY_INT, (char *)"STC_BAAN_NUMBER", (long) 3, 0, 0, 0},
12407 { SWIG_PY_INT, (char *)"STC_BAAN_WORD", (long) 4, 0, 0, 0},
12408 { SWIG_PY_INT, (char *)"STC_BAAN_STRING", (long) 5, 0, 0, 0},
12409 { SWIG_PY_INT, (char *)"STC_BAAN_PREPROCESSOR", (long) 6, 0, 0, 0},
12410 { SWIG_PY_INT, (char *)"STC_BAAN_OPERATOR", (long) 7, 0, 0, 0},
12411 { SWIG_PY_INT, (char *)"STC_BAAN_IDENTIFIER", (long) 8, 0, 0, 0},
12412 { SWIG_PY_INT, (char *)"STC_BAAN_STRINGEOL", (long) 9, 0, 0, 0},
12413 { SWIG_PY_INT, (char *)"STC_BAAN_WORD2", (long) 10, 0, 0, 0},
12414 { SWIG_PY_INT, (char *)"STC_LISP_DEFAULT", (long) 0, 0, 0, 0},
12415 { SWIG_PY_INT, (char *)"STC_LISP_COMMENT", (long) 1, 0, 0, 0},
12416 { SWIG_PY_INT, (char *)"STC_LISP_NUMBER", (long) 2, 0, 0, 0},
12417 { SWIG_PY_INT, (char *)"STC_LISP_KEYWORD", (long) 3, 0, 0, 0},
12418 { SWIG_PY_INT, (char *)"STC_LISP_STRING", (long) 6, 0, 0, 0},
12419 { SWIG_PY_INT, (char *)"STC_LISP_STRINGEOL", (long) 8, 0, 0, 0},
12420 { SWIG_PY_INT, (char *)"STC_LISP_IDENTIFIER", (long) 9, 0, 0, 0},
12421 { SWIG_PY_INT, (char *)"STC_LISP_OPERATOR", (long) 10, 0, 0, 0},
12422 { SWIG_PY_INT, (char *)"STC_EIFFEL_DEFAULT", (long) 0, 0, 0, 0},
12423 { SWIG_PY_INT, (char *)"STC_EIFFEL_COMMENTLINE", (long) 1, 0, 0, 0},
12424 { SWIG_PY_INT, (char *)"STC_EIFFEL_NUMBER", (long) 2, 0, 0, 0},
12425 { SWIG_PY_INT, (char *)"STC_EIFFEL_WORD", (long) 3, 0, 0, 0},
12426 { SWIG_PY_INT, (char *)"STC_EIFFEL_STRING", (long) 4, 0, 0, 0},
12427 { SWIG_PY_INT, (char *)"STC_EIFFEL_CHARACTER", (long) 5, 0, 0, 0},
12428 { SWIG_PY_INT, (char *)"STC_EIFFEL_OPERATOR", (long) 6, 0, 0, 0},
12429 { SWIG_PY_INT, (char *)"STC_EIFFEL_IDENTIFIER", (long) 7, 0, 0, 0},
12430 { SWIG_PY_INT, (char *)"STC_EIFFEL_STRINGEOL", (long) 8, 0, 0, 0},
12431 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_DEFAULT", (long) 0, 0, 0, 0},
12432 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_COMMENT", (long) 1, 0, 0, 0},
12433 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_TASK", (long) 2, 0, 0, 0},
12434 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_SECTION", (long) 3, 0, 0, 0},
12435 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_KEYWORD", (long) 4, 0, 0, 0},
12436 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_MODIFIER", (long) 5, 0, 0, 0},
12437 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_ASTERISK", (long) 6, 0, 0, 0},
12438 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_NUMBER", (long) 7, 0, 0, 0},
12439 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_STRING", (long) 8, 0, 0, 0},
12440 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_ENVIRONMENT", (long) 9, 0, 0, 0},
12441 { SWIG_PY_INT, (char *)"STC_NNCRONTAB_IDENTIFIER", (long) 10, 0, 0, 0},
12442 { SWIG_PY_INT, (char *)"STC_MATLAB_DEFAULT", (long) 0, 0, 0, 0},
12443 { SWIG_PY_INT, (char *)"STC_MATLAB_COMMENT", (long) 1, 0, 0, 0},
12444 { SWIG_PY_INT, (char *)"STC_MATLAB_COMMAND", (long) 2, 0, 0, 0},
12445 { SWIG_PY_INT, (char *)"STC_MATLAB_NUMBER", (long) 3, 0, 0, 0},
12446 { SWIG_PY_INT, (char *)"STC_MATLAB_KEYWORD", (long) 4, 0, 0, 0},
12447 { SWIG_PY_INT, (char *)"STC_MATLAB_STRING", (long) 5, 0, 0, 0},
12448 { SWIG_PY_INT, (char *)"STC_MATLAB_OPERATOR", (long) 6, 0, 0, 0},
12449 { SWIG_PY_INT, (char *)"STC_MATLAB_IDENTIFIER", (long) 7, 0, 0, 0},
12450 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_DEFAULT", (long) 0, 0, 0, 0},
12451 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENT", (long) 1, 0, 0, 0},
12452 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTLINE", (long) 2, 0, 0, 0},
12453 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOC", (long) 3, 0, 0, 0},
12454 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_NUMBER", (long) 4, 0, 0, 0},
12455 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_WORD", (long) 5, 0, 0, 0},
12456 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_STRING", (long) 6, 0, 0, 0},
12457 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_CHARACTER", (long) 7, 0, 0, 0},
12458 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_UUID", (long) 8, 0, 0, 0},
12459 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_PREPROCESSOR", (long) 9, 0, 0, 0},
12460 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_OPERATOR", (long) 10, 0, 0, 0},
12461 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_IDENTIFIER", (long) 11, 0, 0, 0},
12462 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_STRINGEOL", (long) 12, 0, 0, 0},
12463 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_VERBATIM", (long) 13, 0, 0, 0},
12464 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_REGEX", (long) 14, 0, 0, 0},
12465 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTLINEDOC", (long) 15, 0, 0, 0},
12466 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_WORD2", (long) 16, 0, 0, 0},
12467 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOCKEYWORD", (long) 17, 0, 0, 0},
12468 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOCKEYWORDERROR", (long) 18, 0, 0, 0},
12469 { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTBASIC", (long) 19, 0, 0, 0},
12470 { SWIG_PY_INT, (char *)"STC_ASM_DEFAULT", (long) 0, 0, 0, 0},
12471 { SWIG_PY_INT, (char *)"STC_ASM_COMMENT", (long) 1, 0, 0, 0},
12472 { SWIG_PY_INT, (char *)"STC_ASM_NUMBER", (long) 2, 0, 0, 0},
12473 { SWIG_PY_INT, (char *)"STC_ASM_STRING", (long) 3, 0, 0, 0},
12474 { SWIG_PY_INT, (char *)"STC_ASM_OPERATOR", (long) 4, 0, 0, 0},
12475 { SWIG_PY_INT, (char *)"STC_ASM_IDENTIFIER", (long) 5, 0, 0, 0},
12476 { SWIG_PY_INT, (char *)"STC_ASM_CPUINSTRUCTION", (long) 6, 0, 0, 0},
12477 { SWIG_PY_INT, (char *)"STC_ASM_MATHINSTRUCTION", (long) 7, 0, 0, 0},
12478 { SWIG_PY_INT, (char *)"STC_ASM_REGISTER", (long) 8, 0, 0, 0},
12479 { SWIG_PY_INT, (char *)"STC_ASM_DIRECTIVE", (long) 9, 0, 0, 0},
12480 { SWIG_PY_INT, (char *)"STC_ASM_DIRECTIVEOPERAND", (long) 10, 0, 0, 0},
12481 { SWIG_PY_INT, (char *)"STC_F_DEFAULT", (long) 0, 0, 0, 0},
12482 { SWIG_PY_INT, (char *)"STC_F_COMMENT", (long) 1, 0, 0, 0},
12483 { SWIG_PY_INT, (char *)"STC_F_NUMBER", (long) 2, 0, 0, 0},
12484 { SWIG_PY_INT, (char *)"STC_F_STRING1", (long) 3, 0, 0, 0},
12485 { SWIG_PY_INT, (char *)"STC_F_STRING2", (long) 4, 0, 0, 0},
12486 { SWIG_PY_INT, (char *)"STC_F_STRINGEOL", (long) 5, 0, 0, 0},
12487 { SWIG_PY_INT, (char *)"STC_F_OPERATOR", (long) 6, 0, 0, 0},
12488 { SWIG_PY_INT, (char *)"STC_F_IDENTIFIER", (long) 7, 0, 0, 0},
12489 { SWIG_PY_INT, (char *)"STC_F_WORD", (long) 8, 0, 0, 0},
12490 { SWIG_PY_INT, (char *)"STC_F_WORD2", (long) 9, 0, 0, 0},
12491 { SWIG_PY_INT, (char *)"STC_F_WORD3", (long) 10, 0, 0, 0},
12492 { SWIG_PY_INT, (char *)"STC_F_PREPROCESSOR", (long) 11, 0, 0, 0},
12493 { SWIG_PY_INT, (char *)"STC_F_OPERATOR2", (long) 12, 0, 0, 0},
12494 { SWIG_PY_INT, (char *)"STC_F_LABEL", (long) 13, 0, 0, 0},
12495 { SWIG_PY_INT, (char *)"STC_F_CONTINUATION", (long) 14, 0, 0, 0},
12496 { SWIG_PY_INT, (char *)"STC_CSS_DEFAULT", (long) 0, 0, 0, 0},
12497 { SWIG_PY_INT, (char *)"STC_CSS_TAG", (long) 1, 0, 0, 0},
12498 { SWIG_PY_INT, (char *)"STC_CSS_CLASS", (long) 2, 0, 0, 0},
12499 { SWIG_PY_INT, (char *)"STC_CSS_PSEUDOCLASS", (long) 3, 0, 0, 0},
12500 { SWIG_PY_INT, (char *)"STC_CSS_UNKNOWN_PSEUDOCLASS", (long) 4, 0, 0, 0},
12501 { SWIG_PY_INT, (char *)"STC_CSS_OPERATOR", (long) 5, 0, 0, 0},
12502 { SWIG_PY_INT, (char *)"STC_CSS_IDENTIFIER", (long) 6, 0, 0, 0},
12503 { SWIG_PY_INT, (char *)"STC_CSS_UNKNOWN_IDENTIFIER", (long) 7, 0, 0, 0},
12504 { SWIG_PY_INT, (char *)"STC_CSS_VALUE", (long) 8, 0, 0, 0},
12505 { SWIG_PY_INT, (char *)"STC_CSS_COMMENT", (long) 9, 0, 0, 0},
12506 { SWIG_PY_INT, (char *)"STC_CSS_ID", (long) 10, 0, 0, 0},
12507 { SWIG_PY_INT, (char *)"STC_CSS_IMPORTANT", (long) 11, 0, 0, 0},
12508 { SWIG_PY_INT, (char *)"STC_CSS_DIRECTIVE", (long) 12, 0, 0, 0},
12509 { SWIG_PY_INT, (char *)"STC_CSS_DOUBLESTRING", (long) 13, 0, 0, 0},
12510 { SWIG_PY_INT, (char *)"STC_CSS_SINGLESTRING", (long) 14, 0, 0, 0},
12511 { SWIG_PY_INT, (char *)"STC_POV_DEFAULT", (long) 0, 0, 0, 0},
12512 { SWIG_PY_INT, (char *)"STC_POV_COMMENT", (long) 1, 0, 0, 0},
12513 { SWIG_PY_INT, (char *)"STC_POV_COMMENTLINE", (long) 2, 0, 0, 0},
12514 { SWIG_PY_INT, (char *)"STC_POV_NUMBER", (long) 3, 0, 0, 0},
12515 { SWIG_PY_INT, (char *)"STC_POV_OPERATOR", (long) 4, 0, 0, 0},
12516 { SWIG_PY_INT, (char *)"STC_POV_IDENTIFIER", (long) 5, 0, 0, 0},
12517 { SWIG_PY_INT, (char *)"STC_POV_STRING", (long) 6, 0, 0, 0},
12518 { SWIG_PY_INT, (char *)"STC_POV_STRINGEOL", (long) 7, 0, 0, 0},
12519 { SWIG_PY_INT, (char *)"STC_POV_DIRECTIVE", (long) 8, 0, 0, 0},
12520 { SWIG_PY_INT, (char *)"STC_POV_BADDIRECTIVE", (long) 9, 0, 0, 0},
12521 { SWIG_PY_INT, (char *)"STC_POV_WORD2", (long) 10, 0, 0, 0},
12522 { SWIG_PY_INT, (char *)"STC_POV_WORD3", (long) 11, 0, 0, 0},
12523 { SWIG_PY_INT, (char *)"STC_POV_WORD4", (long) 12, 0, 0, 0},
12524 { SWIG_PY_INT, (char *)"STC_POV_WORD5", (long) 13, 0, 0, 0},
12525 { SWIG_PY_INT, (char *)"STC_POV_WORD6", (long) 14, 0, 0, 0},
12526 { SWIG_PY_INT, (char *)"STC_POV_WORD7", (long) 15, 0, 0, 0},
12527 { SWIG_PY_INT, (char *)"STC_POV_WORD8", (long) 16, 0, 0, 0},
12528 { SWIG_PY_INT, (char *)"STC_LOUT_DEFAULT", (long) 0, 0, 0, 0},
12529 { SWIG_PY_INT, (char *)"STC_LOUT_COMMENT", (long) 1, 0, 0, 0},
12530 { SWIG_PY_INT, (char *)"STC_LOUT_NUMBER", (long) 2, 0, 0, 0},
12531 { SWIG_PY_INT, (char *)"STC_LOUT_WORD", (long) 3, 0, 0, 0},
12532 { SWIG_PY_INT, (char *)"STC_LOUT_WORD2", (long) 4, 0, 0, 0},
12533 { SWIG_PY_INT, (char *)"STC_LOUT_WORD3", (long) 5, 0, 0, 0},
12534 { SWIG_PY_INT, (char *)"STC_LOUT_WORD4", (long) 6, 0, 0, 0},
12535 { SWIG_PY_INT, (char *)"STC_LOUT_STRING", (long) 7, 0, 0, 0},
12536 { SWIG_PY_INT, (char *)"STC_LOUT_OPERATOR", (long) 8, 0, 0, 0},
12537 { SWIG_PY_INT, (char *)"STC_LOUT_IDENTIFIER", (long) 9, 0, 0, 0},
12538 { SWIG_PY_INT, (char *)"STC_LOUT_STRINGEOL", (long) 10, 0, 0, 0},
12539 { SWIG_PY_INT, (char *)"STC_ESCRIPT_DEFAULT", (long) 0, 0, 0, 0},
12540 { SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENT", (long) 1, 0, 0, 0},
12541 { SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENTLINE", (long) 2, 0, 0, 0},
12542 { SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENTDOC", (long) 3, 0, 0, 0},
12543 { SWIG_PY_INT, (char *)"STC_ESCRIPT_NUMBER", (long) 4, 0, 0, 0},
12544 { SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD", (long) 5, 0, 0, 0},
12545 { SWIG_PY_INT, (char *)"STC_ESCRIPT_STRING", (long) 6, 0, 0, 0},
12546 { SWIG_PY_INT, (char *)"STC_ESCRIPT_OPERATOR", (long) 7, 0, 0, 0},
12547 { SWIG_PY_INT, (char *)"STC_ESCRIPT_IDENTIFIER", (long) 8, 0, 0, 0},
12548 { SWIG_PY_INT, (char *)"STC_ESCRIPT_BRACE", (long) 9, 0, 0, 0},
12549 { SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD2", (long) 10, 0, 0, 0},
12550 { SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD3", (long) 11, 0, 0, 0},
12551 { SWIG_PY_INT, (char *)"STC_PS_DEFAULT", (long) 0, 0, 0, 0},
12552 { SWIG_PY_INT, (char *)"STC_PS_COMMENT", (long) 1, 0, 0, 0},
12553 { SWIG_PY_INT, (char *)"STC_PS_DSC_COMMENT", (long) 2, 0, 0, 0},
12554 { SWIG_PY_INT, (char *)"STC_PS_DSC_VALUE", (long) 3, 0, 0, 0},
12555 { SWIG_PY_INT, (char *)"STC_PS_NUMBER", (long) 4, 0, 0, 0},
12556 { SWIG_PY_INT, (char *)"STC_PS_NAME", (long) 5, 0, 0, 0},
12557 { SWIG_PY_INT, (char *)"STC_PS_KEYWORD", (long) 6, 0, 0, 0},
12558 { SWIG_PY_INT, (char *)"STC_PS_LITERAL", (long) 7, 0, 0, 0},
12559 { SWIG_PY_INT, (char *)"STC_PS_IMMEVAL", (long) 8, 0, 0, 0},
12560 { SWIG_PY_INT, (char *)"STC_PS_PAREN_ARRAY", (long) 9, 0, 0, 0},
12561 { SWIG_PY_INT, (char *)"STC_PS_PAREN_DICT", (long) 10, 0, 0, 0},
12562 { SWIG_PY_INT, (char *)"STC_PS_PAREN_PROC", (long) 11, 0, 0, 0},
12563 { SWIG_PY_INT, (char *)"STC_PS_TEXT", (long) 12, 0, 0, 0},
12564 { SWIG_PY_INT, (char *)"STC_PS_HEXSTRING", (long) 13, 0, 0, 0},
12565 { SWIG_PY_INT, (char *)"STC_PS_BASE85STRING", (long) 14, 0, 0, 0},
12566 { SWIG_PY_INT, (char *)"STC_PS_BADSTRINGCHAR", (long) 15, 0, 0, 0},
12567 { SWIG_PY_INT, (char *)"STC_NSIS_DEFAULT", (long) 0, 0, 0, 0},
12568 { SWIG_PY_INT, (char *)"STC_NSIS_COMMENT", (long) 1, 0, 0, 0},
12569 { SWIG_PY_INT, (char *)"STC_NSIS_STRINGDQ", (long) 2, 0, 0, 0},
12570 { SWIG_PY_INT, (char *)"STC_NSIS_STRINGLQ", (long) 3, 0, 0, 0},
12571 { SWIG_PY_INT, (char *)"STC_NSIS_STRINGRQ", (long) 4, 0, 0, 0},
12572 { SWIG_PY_INT, (char *)"STC_NSIS_FUNCTION", (long) 5, 0, 0, 0},
12573 { SWIG_PY_INT, (char *)"STC_NSIS_VARIABLE", (long) 6, 0, 0, 0},
12574 { SWIG_PY_INT, (char *)"STC_NSIS_LABEL", (long) 7, 0, 0, 0},
12575 { SWIG_PY_INT, (char *)"STC_NSIS_USERDEFINED", (long) 8, 0, 0, 0},
12576 { SWIG_PY_INT, (char *)"STC_NSIS_SECTIONDEF", (long) 9, 0, 0, 0},
12577 { SWIG_PY_INT, (char *)"STC_NSIS_SUBSECTIONDEF", (long) 10, 0, 0, 0},
12578 { SWIG_PY_INT, (char *)"STC_NSIS_IFDEFINEDEF", (long) 11, 0, 0, 0},
12579 { SWIG_PY_INT, (char *)"STC_NSIS_MACRODEF", (long) 12, 0, 0, 0},
12580 { SWIG_PY_INT, (char *)"STC_NSIS_STRINGVAR", (long) 13, 0, 0, 0},
12581 { SWIG_PY_INT, (char *)"STC_MMIXAL_LEADWS", (long) 0, 0, 0, 0},
12582 { SWIG_PY_INT, (char *)"STC_MMIXAL_COMMENT", (long) 1, 0, 0, 0},
12583 { SWIG_PY_INT, (char *)"STC_MMIXAL_LABEL", (long) 2, 0, 0, 0},
12584 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE", (long) 3, 0, 0, 0},
12585 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_PRE", (long) 4, 0, 0, 0},
12586 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_VALID", (long) 5, 0, 0, 0},
12587 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_UNKNOWN", (long) 6, 0, 0, 0},
12588 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_POST", (long) 7, 0, 0, 0},
12589 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPERANDS", (long) 8, 0, 0, 0},
12590 { SWIG_PY_INT, (char *)"STC_MMIXAL_NUMBER", (long) 9, 0, 0, 0},
12591 { SWIG_PY_INT, (char *)"STC_MMIXAL_REF", (long) 10, 0, 0, 0},
12592 { SWIG_PY_INT, (char *)"STC_MMIXAL_CHAR", (long) 11, 0, 0, 0},
12593 { SWIG_PY_INT, (char *)"STC_MMIXAL_STRING", (long) 12, 0, 0, 0},
12594 { SWIG_PY_INT, (char *)"STC_MMIXAL_REGISTER", (long) 13, 0, 0, 0},
12595 { SWIG_PY_INT, (char *)"STC_MMIXAL_HEX", (long) 14, 0, 0, 0},
12596 { SWIG_PY_INT, (char *)"STC_MMIXAL_OPERATOR", (long) 15, 0, 0, 0},
12597 { SWIG_PY_INT, (char *)"STC_MMIXAL_SYMBOL", (long) 16, 0, 0, 0},
12598 { SWIG_PY_INT, (char *)"STC_MMIXAL_INCLUDE", (long) 17, 0, 0, 0},
12599 { SWIG_PY_INT, (char *)"STC_CMD_REDO", (long) 2011, 0, 0, 0},
12600 { SWIG_PY_INT, (char *)"STC_CMD_SELECTALL", (long) 2013, 0, 0, 0},
12601 { SWIG_PY_INT, (char *)"STC_CMD_UNDO", (long) 2176, 0, 0, 0},
12602 { SWIG_PY_INT, (char *)"STC_CMD_CUT", (long) 2177, 0, 0, 0},
12603 { SWIG_PY_INT, (char *)"STC_CMD_COPY", (long) 2178, 0, 0, 0},
12604 { SWIG_PY_INT, (char *)"STC_CMD_PASTE", (long) 2179, 0, 0, 0},
12605 { SWIG_PY_INT, (char *)"STC_CMD_CLEAR", (long) 2180, 0, 0, 0},
12606 { SWIG_PY_INT, (char *)"STC_CMD_LINEDOWN", (long) 2300, 0, 0, 0},
12607 { SWIG_PY_INT, (char *)"STC_CMD_LINEDOWNEXTEND", (long) 2301, 0, 0, 0},
12608 { SWIG_PY_INT, (char *)"STC_CMD_LINEUP", (long) 2302, 0, 0, 0},
12609 { SWIG_PY_INT, (char *)"STC_CMD_LINEUPEXTEND", (long) 2303, 0, 0, 0},
12610 { SWIG_PY_INT, (char *)"STC_CMD_CHARLEFT", (long) 2304, 0, 0, 0},
12611 { SWIG_PY_INT, (char *)"STC_CMD_CHARLEFTEXTEND", (long) 2305, 0, 0, 0},
12612 { SWIG_PY_INT, (char *)"STC_CMD_CHARRIGHT", (long) 2306, 0, 0, 0},
12613 { SWIG_PY_INT, (char *)"STC_CMD_CHARRIGHTEXTEND", (long) 2307, 0, 0, 0},
12614 { SWIG_PY_INT, (char *)"STC_CMD_WORDLEFT", (long) 2308, 0, 0, 0},
12615 { SWIG_PY_INT, (char *)"STC_CMD_WORDLEFTEXTEND", (long) 2309, 0, 0, 0},
12616 { SWIG_PY_INT, (char *)"STC_CMD_WORDRIGHT", (long) 2310, 0, 0, 0},
12617 { SWIG_PY_INT, (char *)"STC_CMD_WORDRIGHTEXTEND", (long) 2311, 0, 0, 0},
12618 { SWIG_PY_INT, (char *)"STC_CMD_HOME", (long) 2312, 0, 0, 0},
12619 { SWIG_PY_INT, (char *)"STC_CMD_HOMEEXTEND", (long) 2313, 0, 0, 0},
12620 { SWIG_PY_INT, (char *)"STC_CMD_LINEEND", (long) 2314, 0, 0, 0},
12621 { SWIG_PY_INT, (char *)"STC_CMD_LINEENDEXTEND", (long) 2315, 0, 0, 0},
12622 { SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTSTART", (long) 2316, 0, 0, 0},
12623 { SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTSTARTEXTEND", (long) 2317, 0, 0, 0},
12624 { SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTEND", (long) 2318, 0, 0, 0},
12625 { SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTENDEXTEND", (long) 2319, 0, 0, 0},
12626 { SWIG_PY_INT, (char *)"STC_CMD_PAGEUP", (long) 2320, 0, 0, 0},
12627 { SWIG_PY_INT, (char *)"STC_CMD_PAGEUPEXTEND", (long) 2321, 0, 0, 0},
12628 { SWIG_PY_INT, (char *)"STC_CMD_PAGEDOWN", (long) 2322, 0, 0, 0},
12629 { SWIG_PY_INT, (char *)"STC_CMD_PAGEDOWNEXTEND", (long) 2323, 0, 0, 0},
12630 { SWIG_PY_INT, (char *)"STC_CMD_EDITTOGGLEOVERTYPE", (long) 2324, 0, 0, 0},
12631 { SWIG_PY_INT, (char *)"STC_CMD_CANCEL", (long) 2325, 0, 0, 0},
12632 { SWIG_PY_INT, (char *)"STC_CMD_DELETEBACK", (long) 2326, 0, 0, 0},
12633 { SWIG_PY_INT, (char *)"STC_CMD_TAB", (long) 2327, 0, 0, 0},
12634 { SWIG_PY_INT, (char *)"STC_CMD_BACKTAB", (long) 2328, 0, 0, 0},
12635 { SWIG_PY_INT, (char *)"STC_CMD_NEWLINE", (long) 2329, 0, 0, 0},
12636 { SWIG_PY_INT, (char *)"STC_CMD_FORMFEED", (long) 2330, 0, 0, 0},
12637 { SWIG_PY_INT, (char *)"STC_CMD_VCHOME", (long) 2331, 0, 0, 0},
12638 { SWIG_PY_INT, (char *)"STC_CMD_VCHOMEEXTEND", (long) 2332, 0, 0, 0},
12639 { SWIG_PY_INT, (char *)"STC_CMD_ZOOMIN", (long) 2333, 0, 0, 0},
12640 { SWIG_PY_INT, (char *)"STC_CMD_ZOOMOUT", (long) 2334, 0, 0, 0},
12641 { SWIG_PY_INT, (char *)"STC_CMD_DELWORDLEFT", (long) 2335, 0, 0, 0},
12642 { SWIG_PY_INT, (char *)"STC_CMD_DELWORDRIGHT", (long) 2336, 0, 0, 0},
12643 { SWIG_PY_INT, (char *)"STC_CMD_LINECUT", (long) 2337, 0, 0, 0},
12644 { SWIG_PY_INT, (char *)"STC_CMD_LINEDELETE", (long) 2338, 0, 0, 0},
12645 { SWIG_PY_INT, (char *)"STC_CMD_LINETRANSPOSE", (long) 2339, 0, 0, 0},
12646 { SWIG_PY_INT, (char *)"STC_CMD_LINEDUPLICATE", (long) 2404, 0, 0, 0},
12647 { SWIG_PY_INT, (char *)"STC_CMD_LOWERCASE", (long) 2340, 0, 0, 0},
12648 { SWIG_PY_INT, (char *)"STC_CMD_UPPERCASE", (long) 2341, 0, 0, 0},
12649 { SWIG_PY_INT, (char *)"STC_CMD_LINESCROLLDOWN", (long) 2342, 0, 0, 0},
12650 { SWIG_PY_INT, (char *)"STC_CMD_LINESCROLLUP", (long) 2343, 0, 0, 0},
12651 { SWIG_PY_INT, (char *)"STC_CMD_DELETEBACKNOTLINE", (long) 2344, 0, 0, 0},
12652 { SWIG_PY_INT, (char *)"STC_CMD_HOMEDISPLAY", (long) 2345, 0, 0, 0},
12653 { SWIG_PY_INT, (char *)"STC_CMD_HOMEDISPLAYEXTEND", (long) 2346, 0, 0, 0},
12654 { SWIG_PY_INT, (char *)"STC_CMD_LINEENDDISPLAY", (long) 2347, 0, 0, 0},
12655 { SWIG_PY_INT, (char *)"STC_CMD_LINEENDDISPLAYEXTEND", (long) 2348, 0, 0, 0},
12656 { SWIG_PY_INT, (char *)"STC_CMD_HOMEWRAP", (long) 2349, 0, 0, 0},
12657 { SWIG_PY_INT, (char *)"STC_CMD_HOMEWRAPEXTEND", (long) 2450, 0, 0, 0},
12658 { SWIG_PY_INT, (char *)"STC_CMD_LINEENDWRAP", (long) 2451, 0, 0, 0},
12659 { SWIG_PY_INT, (char *)"STC_CMD_LINEENDWRAPEXTEND", (long) 2452, 0, 0, 0},
12660 { SWIG_PY_INT, (char *)"STC_CMD_VCHOMEWRAP", (long) 2453, 0, 0, 0},
12661 { SWIG_PY_INT, (char *)"STC_CMD_VCHOMEWRAPEXTEND", (long) 2454, 0, 0, 0},
12662 { SWIG_PY_INT, (char *)"STC_CMD_WORDPARTLEFT", (long) 2390, 0, 0, 0},
12663 { SWIG_PY_INT, (char *)"STC_CMD_WORDPARTLEFTEXTEND", (long) 2391, 0, 0, 0},
12664 { SWIG_PY_INT, (char *)"STC_CMD_WORDPARTRIGHT", (long) 2392, 0, 0, 0},
12665 { SWIG_PY_INT, (char *)"STC_CMD_WORDPARTRIGHTEXTEND", (long) 2393, 0, 0, 0},
12666 { SWIG_PY_INT, (char *)"STC_CMD_DELLINELEFT", (long) 2395, 0, 0, 0},
12667 { SWIG_PY_INT, (char *)"STC_CMD_DELLINERIGHT", (long) 2396, 0, 0, 0},
12668 { SWIG_PY_INT, (char *)"STC_CMD_PARADOWN", (long) 2413, 0, 0, 0},
12669 { SWIG_PY_INT, (char *)"STC_CMD_PARADOWNEXTEND", (long) 2414, 0, 0, 0},
12670 { SWIG_PY_INT, (char *)"STC_CMD_PARAUP", (long) 2415, 0, 0, 0},
12671 { SWIG_PY_INT, (char *)"STC_CMD_PARAUPEXTEND", (long) 2416, 0, 0, 0},
12672 { SWIG_PY_INT, (char *)"wxEVT_STC_CHANGE", (long) wxEVT_STC_CHANGE, 0, 0, 0},
12673 { SWIG_PY_INT, (char *)"wxEVT_STC_STYLENEEDED", (long) wxEVT_STC_STYLENEEDED, 0, 0, 0},
12674 { SWIG_PY_INT, (char *)"wxEVT_STC_CHARADDED", (long) wxEVT_STC_CHARADDED, 0, 0, 0},
12675 { SWIG_PY_INT, (char *)"wxEVT_STC_SAVEPOINTREACHED", (long) wxEVT_STC_SAVEPOINTREACHED, 0, 0, 0},
12676 { SWIG_PY_INT, (char *)"wxEVT_STC_SAVEPOINTLEFT", (long) wxEVT_STC_SAVEPOINTLEFT, 0, 0, 0},
12677 { SWIG_PY_INT, (char *)"wxEVT_STC_ROMODIFYATTEMPT", (long) wxEVT_STC_ROMODIFYATTEMPT, 0, 0, 0},
12678 { SWIG_PY_INT, (char *)"wxEVT_STC_KEY", (long) wxEVT_STC_KEY, 0, 0, 0},
12679 { SWIG_PY_INT, (char *)"wxEVT_STC_DOUBLECLICK", (long) wxEVT_STC_DOUBLECLICK, 0, 0, 0},
12680 { SWIG_PY_INT, (char *)"wxEVT_STC_UPDATEUI", (long) wxEVT_STC_UPDATEUI, 0, 0, 0},
12681 { SWIG_PY_INT, (char *)"wxEVT_STC_MODIFIED", (long) wxEVT_STC_MODIFIED, 0, 0, 0},
12682 { SWIG_PY_INT, (char *)"wxEVT_STC_MACRORECORD", (long) wxEVT_STC_MACRORECORD, 0, 0, 0},
12683 { SWIG_PY_INT, (char *)"wxEVT_STC_MARGINCLICK", (long) wxEVT_STC_MARGINCLICK, 0, 0, 0},
12684 { SWIG_PY_INT, (char *)"wxEVT_STC_NEEDSHOWN", (long) wxEVT_STC_NEEDSHOWN, 0, 0, 0},
12685 { SWIG_PY_INT, (char *)"wxEVT_STC_POSCHANGED", (long) wxEVT_STC_POSCHANGED, 0, 0, 0},
12686 { SWIG_PY_INT, (char *)"wxEVT_STC_PAINTED", (long) wxEVT_STC_PAINTED, 0, 0, 0},
12687 { SWIG_PY_INT, (char *)"wxEVT_STC_USERLISTSELECTION", (long) wxEVT_STC_USERLISTSELECTION, 0, 0, 0},
12688 { SWIG_PY_INT, (char *)"wxEVT_STC_URIDROPPED", (long) wxEVT_STC_URIDROPPED, 0, 0, 0},
12689 { SWIG_PY_INT, (char *)"wxEVT_STC_DWELLSTART", (long) wxEVT_STC_DWELLSTART, 0, 0, 0},
12690 { SWIG_PY_INT, (char *)"wxEVT_STC_DWELLEND", (long) wxEVT_STC_DWELLEND, 0, 0, 0},
12691 { SWIG_PY_INT, (char *)"wxEVT_STC_START_DRAG", (long) wxEVT_STC_START_DRAG, 0, 0, 0},
12692 { SWIG_PY_INT, (char *)"wxEVT_STC_DRAG_OVER", (long) wxEVT_STC_DRAG_OVER, 0, 0, 0},
12693 { SWIG_PY_INT, (char *)"wxEVT_STC_DO_DROP", (long) wxEVT_STC_DO_DROP, 0, 0, 0},
12694 { SWIG_PY_INT, (char *)"wxEVT_STC_ZOOM", (long) wxEVT_STC_ZOOM, 0, 0, 0},
12695 { SWIG_PY_INT, (char *)"wxEVT_STC_HOTSPOT_CLICK", (long) wxEVT_STC_HOTSPOT_CLICK, 0, 0, 0},
12696 { SWIG_PY_INT, (char *)"wxEVT_STC_HOTSPOT_DCLICK", (long) wxEVT_STC_HOTSPOT_DCLICK, 0, 0, 0},
12697 { SWIG_PY_INT, (char *)"wxEVT_STC_CALLTIP_CLICK", (long) wxEVT_STC_CALLTIP_CLICK, 0, 0, 0},
12698 {0}};
12699
12700 #ifdef __cplusplus
12701 }
12702 #endif
12703
12704 #ifdef __cplusplus
12705 extern "C"
12706 #endif
12707 SWIGEXPORT(void) SWIG_init(void) {
12708 static PyObject *SWIG_globals = 0;
12709 static int typeinit = 0;
12710 PyObject *m, *d;
12711 int i;
12712 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
12713 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12714 d = PyModule_GetDict(m);
12715
12716 if (!typeinit) {
12717 for (i = 0; swig_types_initial[i]; i++) {
12718 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
12719 }
12720 typeinit = 1;
12721 }
12722 SWIG_InstallConstants(d,swig_const_table);
12723
12724
12725
12726 }
12727