]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/stc/stc_wrap.cpp
Copy Solaris note from 2.4's setup.py
[wxWidgets.git] / wxPython / contrib / stc / stc_wrap.cpp
CommitLineData
d14a1e28
RD
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
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
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
c9c7117a
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
cc6dd355
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
9d1d5697 124
d14a1e28
RD
125#endif
126
cc6dd355 127
d14a1e28
RD
128/***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
d14a1e28
RD
138#include "Python.h"
139
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144#define SWIG_PY_INT 1
145#define SWIG_PY_FLOAT 2
146#define SWIG_PY_STRING 3
147#define SWIG_PY_POINTER 4
148#define SWIG_PY_BINARY 5
149
150/* Flags for pointer conversion */
151
152#define SWIG_POINTER_EXCEPTION 0x1
153#define SWIG_POINTER_DISOWN 0x2
154
155/* Exception handling in wrappers */
156#define SWIG_fail goto fail
157
158/* Constant information structure */
159typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166} swig_const_info;
167
d14a1e28
RD
168/* Common SWIG API */
169#define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171#define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173#define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176/* Python-specific SWIG API */
177#define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179#define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
183#define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185#define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
cc6dd355
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
d14a1e28
RD
198
199
200/* Contract support */
201
9d1d5697 202#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 203
d14a1e28
RD
204#ifdef __cplusplus
205}
206#endif
207
208
209
210/* -------- TYPES TABLE (BEGIN) -------- */
211
212#define SWIGTYPE_p_wxRect swig_types[0]
213#define SWIGTYPE_p_wxColour swig_types[1]
214#define SWIGTYPE_p_wxObject swig_types[2]
215#define SWIGTYPE_p_wxScrollBar swig_types[3]
216#define SWIGTYPE_p_wxStyledTextEvent swig_types[4]
217#define SWIGTYPE_p_wxWindow swig_types[5]
218#define SWIGTYPE_p_wxCommandEvent swig_types[6]
219#define SWIGTYPE_p_wxBitmap swig_types[7]
220#define SWIGTYPE_p_void swig_types[8]
221#define SWIGTYPE_p_wxPoint swig_types[9]
222#define SWIGTYPE_p_wxDC swig_types[10]
223#define SWIGTYPE_p_wxDragResult swig_types[11]
224#define SWIGTYPE_p_wxString swig_types[12]
225#define SWIGTYPE_p_wxEvtHandler swig_types[13]
226#define SWIGTYPE_p_wxStyledTextCtrl swig_types[14]
227#define SWIGTYPE_p_wxFont swig_types[15]
228#define SWIGTYPE_p_wxControl swig_types[16]
229#define SWIGTYPE_p_wxEvent swig_types[17]
230#define SWIGTYPE_p_int swig_types[18]
231#define SWIGTYPE_p_wxMemoryBuffer swig_types[19]
232static swig_type_info *swig_types[21];
233
234/* -------- TYPES TABLE (END) -------- */
235
236
237/*-----------------------------------------------
238 @(target):= _stc.so
239 ------------------------------------------------*/
240#define SWIG_init init_stc
241
242#define SWIG_name "_stc"
243
244#include "wx/wxPython/wxPython.h"
245#include "wx/wxPython/pyclasses.h"
246#include <wx/stc/stc.h>
247
d14a1e28 248
b2dc1044 249 static const wxString wxPySTCNameStr(wxSTCNameStr);
d14a1e28
RD
250
251static PyObject* t_output_helper(PyObject* target, PyObject* o) {
252 PyObject* o2;
253 PyObject* o3;
254
255 if (!target) {
256 target = o;
257 } else if (target == Py_None) {
258 Py_DECREF(Py_None);
259 target = o;
260 } else {
261 if (!PyTuple_Check(target)) {
262 o2 = target;
263 target = PyTuple_New(1);
264 PyTuple_SetItem(target, 0, o2);
265 }
266 o3 = PyTuple_New(1);
267 PyTuple_SetItem(o3, 0, o);
268
269 o2 = target;
270 target = PySequence_Concat(o2, o3);
271 Py_DECREF(o2);
272 Py_DECREF(o3);
273 }
274 return target;
275}
276
277#ifdef __cplusplus
278extern "C" {
279#endif
b2dc1044
RD
280static int _wrap_STCNameStr_set(PyObject *_val) {
281 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
282 return 1;
283}
284
285
286static PyObject *_wrap_STCNameStr_get() {
287 PyObject *pyobj;
288
289 {
290#if wxUSE_UNICODE
291 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
292#else
293 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
294#endif
295 }
296 return pyobj;
297}
298
299
d14a1e28
RD
300static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
301 PyObject *resultobj;
302 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 303 int arg2 ;
d14a1e28
RD
304 wxPoint const &arg3_defvalue = wxDefaultPosition ;
305 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
306 wxSize const &arg4_defvalue = wxDefaultSize ;
307 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
308 long arg5 = (long) 0 ;
309 wxString const &arg6_defvalue = wxPySTCNameStr ;
310 wxString *arg6 = (wxString *) &arg6_defvalue ;
311 wxStyledTextCtrl *result;
312 wxPoint temp3 ;
313 wxSize temp4 ;
e811c8ce 314 bool temp6 = False ;
d14a1e28
RD
315 PyObject * obj0 = 0 ;
316 PyObject * obj2 = 0 ;
317 PyObject * obj3 = 0 ;
318 PyObject * obj5 = 0 ;
319 char *kwnames[] = {
320 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
321 };
322
323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StyledTextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
325 if (obj2) {
326 {
327 arg3 = &temp3;
328 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
329 }
330 }
331 if (obj3) {
332 {
333 arg4 = &temp4;
334 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
335 }
336 }
337 if (obj5) {
338 {
339 arg6 = wxString_in_helper(obj5);
340 if (arg6 == NULL) SWIG_fail;
e811c8ce 341 temp6 = True;
d14a1e28
RD
342 }
343 }
344 {
345 PyThreadState* __tstate = wxPyBeginAllowThreads();
346 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
347
348 wxPyEndAllowThreads(__tstate);
349 if (PyErr_Occurred()) SWIG_fail;
350 }
351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
352 {
353 if (temp6)
354 delete arg6;
355 }
356 return resultobj;
357 fail:
358 {
359 if (temp6)
360 delete arg6;
361 }
362 return NULL;
363}
364
365
366static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
367 PyObject *resultobj;
368 wxStyledTextCtrl *result;
369 char *kwnames[] = {
370 NULL
371 };
372
373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
374 {
375 PyThreadState* __tstate = wxPyBeginAllowThreads();
376 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
377
378 wxPyEndAllowThreads(__tstate);
379 if (PyErr_Occurred()) SWIG_fail;
380 }
381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
382 return resultobj;
383 fail:
384 return NULL;
385}
386
387
388static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
389 PyObject *resultobj;
390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
391 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 392 int arg3 ;
d14a1e28
RD
393 wxPoint const &arg4_defvalue = wxDefaultPosition ;
394 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
395 wxSize const &arg5_defvalue = wxDefaultSize ;
396 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
397 long arg6 = (long) 0 ;
398 wxString const &arg7_defvalue = wxSTCNameStr ;
399 wxString *arg7 = (wxString *) &arg7_defvalue ;
400 wxPoint temp4 ;
401 wxSize temp5 ;
e811c8ce 402 bool temp7 = False ;
d14a1e28
RD
403 PyObject * obj0 = 0 ;
404 PyObject * obj1 = 0 ;
405 PyObject * obj3 = 0 ;
406 PyObject * obj4 = 0 ;
407 PyObject * obj6 = 0 ;
408 char *kwnames[] = {
409 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
410 };
411
412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
414 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
415 if (obj3) {
416 {
417 arg4 = &temp4;
418 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
419 }
420 }
421 if (obj4) {
422 {
423 arg5 = &temp5;
424 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
425 }
426 }
427 if (obj6) {
428 {
429 arg7 = wxString_in_helper(obj6);
430 if (arg7 == NULL) SWIG_fail;
e811c8ce 431 temp7 = True;
d14a1e28
RD
432 }
433 }
434 {
435 PyThreadState* __tstate = wxPyBeginAllowThreads();
436 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
437
438 wxPyEndAllowThreads(__tstate);
439 if (PyErr_Occurred()) SWIG_fail;
440 }
441 Py_INCREF(Py_None); resultobj = Py_None;
442 {
443 if (temp7)
444 delete arg7;
445 }
446 return resultobj;
447 fail:
448 {
449 if (temp7)
450 delete arg7;
451 }
452 return NULL;
453}
454
455
456static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
457 PyObject *resultobj;
458 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
459 wxString *arg2 = 0 ;
e811c8ce 460 bool temp2 = False ;
d14a1e28
RD
461 PyObject * obj0 = 0 ;
462 PyObject * obj1 = 0 ;
463 char *kwnames[] = {
464 (char *) "self",(char *) "text", NULL
465 };
466
467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
469 {
470 arg2 = wxString_in_helper(obj1);
471 if (arg2 == NULL) SWIG_fail;
e811c8ce 472 temp2 = True;
d14a1e28
RD
473 }
474 {
475 PyThreadState* __tstate = wxPyBeginAllowThreads();
476 (arg1)->AddText((wxString const &)*arg2);
477
478 wxPyEndAllowThreads(__tstate);
479 if (PyErr_Occurred()) SWIG_fail;
480 }
481 Py_INCREF(Py_None); resultobj = Py_None;
482 {
483 if (temp2)
484 delete arg2;
485 }
486 return resultobj;
487 fail:
488 {
489 if (temp2)
490 delete arg2;
491 }
492 return NULL;
493}
494
495
496static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
497 PyObject *resultobj;
498 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
499 wxMemoryBuffer *arg2 = 0 ;
500 PyObject * obj0 = 0 ;
501 PyObject * obj1 = 0 ;
502 char *kwnames[] = {
503 (char *) "self",(char *) "data", NULL
504 };
505
506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMemoryBuffer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
509 if (arg2 == NULL) {
510 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
511 }
512 {
513 PyThreadState* __tstate = wxPyBeginAllowThreads();
514 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
515
516 wxPyEndAllowThreads(__tstate);
517 if (PyErr_Occurred()) SWIG_fail;
518 }
519 Py_INCREF(Py_None); resultobj = Py_None;
520 return resultobj;
521 fail:
522 return NULL;
523}
524
525
526static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
527 PyObject *resultobj;
528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
529 int arg2 ;
530 wxString *arg3 = 0 ;
e811c8ce 531 bool temp3 = False ;
d14a1e28
RD
532 PyObject * obj0 = 0 ;
533 PyObject * obj2 = 0 ;
534 char *kwnames[] = {
535 (char *) "self",(char *) "pos",(char *) "text", NULL
536 };
537
538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_InsertText",kwnames,&obj0,&arg2,&obj2)) goto fail;
539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
540 {
541 arg3 = wxString_in_helper(obj2);
542 if (arg3 == NULL) SWIG_fail;
e811c8ce 543 temp3 = True;
d14a1e28
RD
544 }
545 {
546 PyThreadState* __tstate = wxPyBeginAllowThreads();
547 (arg1)->InsertText(arg2,(wxString const &)*arg3);
548
549 wxPyEndAllowThreads(__tstate);
550 if (PyErr_Occurred()) SWIG_fail;
551 }
552 Py_INCREF(Py_None); resultobj = Py_None;
553 {
554 if (temp3)
555 delete arg3;
556 }
557 return resultobj;
558 fail:
559 {
560 if (temp3)
561 delete arg3;
562 }
563 return NULL;
564}
565
566
567static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
568 PyObject *resultobj;
569 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
570 PyObject * obj0 = 0 ;
571 char *kwnames[] = {
572 (char *) "self", NULL
573 };
574
575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
577 {
578 PyThreadState* __tstate = wxPyBeginAllowThreads();
579 (arg1)->ClearAll();
580
581 wxPyEndAllowThreads(__tstate);
582 if (PyErr_Occurred()) SWIG_fail;
583 }
584 Py_INCREF(Py_None); resultobj = Py_None;
585 return resultobj;
586 fail:
587 return NULL;
588}
589
590
591static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
592 PyObject *resultobj;
593 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
594 PyObject * obj0 = 0 ;
595 char *kwnames[] = {
596 (char *) "self", NULL
597 };
598
599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
601 {
602 PyThreadState* __tstate = wxPyBeginAllowThreads();
603 (arg1)->ClearDocumentStyle();
604
605 wxPyEndAllowThreads(__tstate);
606 if (PyErr_Occurred()) SWIG_fail;
607 }
608 Py_INCREF(Py_None); resultobj = Py_None;
609 return resultobj;
610 fail:
611 return NULL;
612}
613
614
615static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
616 PyObject *resultobj;
617 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
618 int result;
619 PyObject * obj0 = 0 ;
620 char *kwnames[] = {
621 (char *) "self", NULL
622 };
623
624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
626 {
627 PyThreadState* __tstate = wxPyBeginAllowThreads();
628 result = (int)(arg1)->GetLength();
629
630 wxPyEndAllowThreads(__tstate);
631 if (PyErr_Occurred()) SWIG_fail;
632 }
633 resultobj = PyInt_FromLong((long)result);
634 return resultobj;
635 fail:
636 return NULL;
637}
638
639
640static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
641 PyObject *resultobj;
642 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
643 int arg2 ;
644 int result;
645 PyObject * obj0 = 0 ;
646 char *kwnames[] = {
647 (char *) "self",(char *) "pos", NULL
648 };
649
650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetCharAt",kwnames,&obj0,&arg2)) goto fail;
651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
652 {
653 PyThreadState* __tstate = wxPyBeginAllowThreads();
654 result = (int)(arg1)->GetCharAt(arg2);
655
656 wxPyEndAllowThreads(__tstate);
657 if (PyErr_Occurred()) SWIG_fail;
658 }
659 resultobj = PyInt_FromLong((long)result);
660 return resultobj;
661 fail:
662 return NULL;
663}
664
665
666static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
667 PyObject *resultobj;
668 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
669 int result;
670 PyObject * obj0 = 0 ;
671 char *kwnames[] = {
672 (char *) "self", NULL
673 };
674
675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
677 {
678 PyThreadState* __tstate = wxPyBeginAllowThreads();
679 result = (int)(arg1)->GetCurrentPos();
680
681 wxPyEndAllowThreads(__tstate);
682 if (PyErr_Occurred()) SWIG_fail;
683 }
684 resultobj = PyInt_FromLong((long)result);
685 return resultobj;
686 fail:
687 return NULL;
688}
689
690
691static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
692 PyObject *resultobj;
693 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
694 int result;
695 PyObject * obj0 = 0 ;
696 char *kwnames[] = {
697 (char *) "self", NULL
698 };
699
700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
702 {
703 PyThreadState* __tstate = wxPyBeginAllowThreads();
704 result = (int)(arg1)->GetAnchor();
705
706 wxPyEndAllowThreads(__tstate);
707 if (PyErr_Occurred()) SWIG_fail;
708 }
709 resultobj = PyInt_FromLong((long)result);
710 return resultobj;
711 fail:
712 return NULL;
713}
714
715
716static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
717 PyObject *resultobj;
718 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
719 int arg2 ;
720 int result;
721 PyObject * obj0 = 0 ;
722 char *kwnames[] = {
723 (char *) "self",(char *) "pos", NULL
724 };
725
726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&arg2)) goto fail;
727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
728 {
729 PyThreadState* __tstate = wxPyBeginAllowThreads();
730 result = (int)(arg1)->GetStyleAt(arg2);
731
732 wxPyEndAllowThreads(__tstate);
733 if (PyErr_Occurred()) SWIG_fail;
734 }
735 resultobj = PyInt_FromLong((long)result);
736 return resultobj;
737 fail:
738 return NULL;
739}
740
741
742static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
743 PyObject *resultobj;
744 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
745 PyObject * obj0 = 0 ;
746 char *kwnames[] = {
747 (char *) "self", NULL
748 };
749
750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
752 {
753 PyThreadState* __tstate = wxPyBeginAllowThreads();
754 (arg1)->Redo();
755
756 wxPyEndAllowThreads(__tstate);
757 if (PyErr_Occurred()) SWIG_fail;
758 }
759 Py_INCREF(Py_None); resultobj = Py_None;
760 return resultobj;
761 fail:
762 return NULL;
763}
764
765
766static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
767 PyObject *resultobj;
768 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
769 bool arg2 ;
770 PyObject * obj0 = 0 ;
771 PyObject * obj1 = 0 ;
772 char *kwnames[] = {
773 (char *) "self",(char *) "collectUndo", NULL
774 };
775
776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
778 arg2 = PyInt_AsLong(obj1) ? true : false;
779 if (PyErr_Occurred()) SWIG_fail;
780 {
781 PyThreadState* __tstate = wxPyBeginAllowThreads();
782 (arg1)->SetUndoCollection(arg2);
783
784 wxPyEndAllowThreads(__tstate);
785 if (PyErr_Occurred()) SWIG_fail;
786 }
787 Py_INCREF(Py_None); resultobj = Py_None;
788 return resultobj;
789 fail:
790 return NULL;
791}
792
793
794static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
795 PyObject *resultobj;
796 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
797 PyObject * obj0 = 0 ;
798 char *kwnames[] = {
799 (char *) "self", NULL
800 };
801
802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
804 {
805 PyThreadState* __tstate = wxPyBeginAllowThreads();
806 (arg1)->SelectAll();
807
808 wxPyEndAllowThreads(__tstate);
809 if (PyErr_Occurred()) SWIG_fail;
810 }
811 Py_INCREF(Py_None); resultobj = Py_None;
812 return resultobj;
813 fail:
814 return NULL;
815}
816
817
818static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
819 PyObject *resultobj;
820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
821 PyObject * obj0 = 0 ;
822 char *kwnames[] = {
823 (char *) "self", NULL
824 };
825
826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
828 {
829 PyThreadState* __tstate = wxPyBeginAllowThreads();
830 (arg1)->SetSavePoint();
831
832 wxPyEndAllowThreads(__tstate);
833 if (PyErr_Occurred()) SWIG_fail;
834 }
835 Py_INCREF(Py_None); resultobj = Py_None;
836 return resultobj;
837 fail:
838 return NULL;
839}
840
841
842static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
843 PyObject *resultobj;
844 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
845 int arg2 ;
846 int arg3 ;
847 wxMemoryBuffer result;
848 PyObject * obj0 = 0 ;
849 char *kwnames[] = {
850 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
851 };
852
853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetStyledText",kwnames,&obj0,&arg2,&arg3)) goto fail;
854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
855 {
856 PyThreadState* __tstate = wxPyBeginAllowThreads();
857 result = (arg1)->GetStyledText(arg2,arg3);
858
859 wxPyEndAllowThreads(__tstate);
860 if (PyErr_Occurred()) SWIG_fail;
861 }
862 {
863 wxMemoryBuffer * resultptr;
864 resultptr = new wxMemoryBuffer((wxMemoryBuffer &) result);
865 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMemoryBuffer, 1);
866 }
867 return resultobj;
868 fail:
869 return NULL;
870}
871
872
873static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
874 PyObject *resultobj;
875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
876 bool result;
877 PyObject * obj0 = 0 ;
878 char *kwnames[] = {
879 (char *) "self", NULL
880 };
881
882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
884 {
885 PyThreadState* __tstate = wxPyBeginAllowThreads();
886 result = (bool)(arg1)->CanRedo();
887
888 wxPyEndAllowThreads(__tstate);
889 if (PyErr_Occurred()) SWIG_fail;
890 }
891 resultobj = PyInt_FromLong((long)result);
892 return resultobj;
893 fail:
894 return NULL;
895}
896
897
898static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
899 PyObject *resultobj;
900 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
901 int arg2 ;
902 int result;
903 PyObject * obj0 = 0 ;
904 char *kwnames[] = {
905 (char *) "self",(char *) "handle", NULL
906 };
907
908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&arg2)) goto fail;
909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
910 {
911 PyThreadState* __tstate = wxPyBeginAllowThreads();
912 result = (int)(arg1)->MarkerLineFromHandle(arg2);
913
914 wxPyEndAllowThreads(__tstate);
915 if (PyErr_Occurred()) SWIG_fail;
916 }
917 resultobj = PyInt_FromLong((long)result);
918 return resultobj;
919 fail:
920 return NULL;
921}
922
923
924static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
925 PyObject *resultobj;
926 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
927 int arg2 ;
928 PyObject * obj0 = 0 ;
929 char *kwnames[] = {
930 (char *) "self",(char *) "handle", NULL
931 };
932
933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&arg2)) goto fail;
934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
935 {
936 PyThreadState* __tstate = wxPyBeginAllowThreads();
937 (arg1)->MarkerDeleteHandle(arg2);
938
939 wxPyEndAllowThreads(__tstate);
940 if (PyErr_Occurred()) SWIG_fail;
941 }
942 Py_INCREF(Py_None); resultobj = Py_None;
943 return resultobj;
944 fail:
945 return NULL;
946}
947
948
949static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
950 PyObject *resultobj;
951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
952 bool result;
953 PyObject * obj0 = 0 ;
954 char *kwnames[] = {
955 (char *) "self", NULL
956 };
957
958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
960 {
961 PyThreadState* __tstate = wxPyBeginAllowThreads();
962 result = (bool)(arg1)->GetUndoCollection();
963
964 wxPyEndAllowThreads(__tstate);
965 if (PyErr_Occurred()) SWIG_fail;
966 }
967 resultobj = PyInt_FromLong((long)result);
968 return resultobj;
969 fail:
970 return NULL;
971}
972
973
974static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
975 PyObject *resultobj;
976 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
977 int result;
978 PyObject * obj0 = 0 ;
979 char *kwnames[] = {
980 (char *) "self", NULL
981 };
982
983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
985 {
986 PyThreadState* __tstate = wxPyBeginAllowThreads();
987 result = (int)(arg1)->GetViewWhiteSpace();
988
989 wxPyEndAllowThreads(__tstate);
990 if (PyErr_Occurred()) SWIG_fail;
991 }
992 resultobj = PyInt_FromLong((long)result);
993 return resultobj;
994 fail:
995 return NULL;
996}
997
998
999static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1000 PyObject *resultobj;
1001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1002 int arg2 ;
1003 PyObject * obj0 = 0 ;
1004 char *kwnames[] = {
1005 (char *) "self",(char *) "viewWS", NULL
1006 };
1007
1008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&arg2)) goto fail;
1009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1010 {
1011 PyThreadState* __tstate = wxPyBeginAllowThreads();
1012 (arg1)->SetViewWhiteSpace(arg2);
1013
1014 wxPyEndAllowThreads(__tstate);
1015 if (PyErr_Occurred()) SWIG_fail;
1016 }
1017 Py_INCREF(Py_None); resultobj = Py_None;
1018 return resultobj;
1019 fail:
1020 return NULL;
1021}
1022
1023
1024static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1025 PyObject *resultobj;
1026 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1027 wxPoint arg2 ;
1028 int result;
1029 wxPoint *argp2 ;
1030 PyObject * obj0 = 0 ;
1031 PyObject * obj1 = 0 ;
1032 char *kwnames[] = {
1033 (char *) "self",(char *) "pt", NULL
1034 };
1035
1036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
1037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1038 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1039 arg2 = *argp2;
1040 {
1041 PyThreadState* __tstate = wxPyBeginAllowThreads();
1042 result = (int)(arg1)->PositionFromPoint(arg2);
1043
1044 wxPyEndAllowThreads(__tstate);
1045 if (PyErr_Occurred()) SWIG_fail;
1046 }
1047 resultobj = PyInt_FromLong((long)result);
1048 return resultobj;
1049 fail:
1050 return NULL;
1051}
1052
1053
1054static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
1055 PyObject *resultobj;
1056 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1057 int arg2 ;
1058 int arg3 ;
1059 int result;
1060 PyObject * obj0 = 0 ;
1061 char *kwnames[] = {
1062 (char *) "self",(char *) "x",(char *) "y", NULL
1063 };
1064
1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&arg2,&arg3)) goto fail;
1066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1067 {
1068 PyThreadState* __tstate = wxPyBeginAllowThreads();
1069 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
1070
1071 wxPyEndAllowThreads(__tstate);
1072 if (PyErr_Occurred()) SWIG_fail;
1073 }
1074 resultobj = PyInt_FromLong((long)result);
1075 return resultobj;
1076 fail:
1077 return NULL;
1078}
1079
1080
1081static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1082 PyObject *resultobj;
1083 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1084 int arg2 ;
1085 PyObject * obj0 = 0 ;
1086 char *kwnames[] = {
1087 (char *) "self",(char *) "line", NULL
1088 };
1089
1090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GotoLine",kwnames,&obj0,&arg2)) goto fail;
1091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1092 {
1093 PyThreadState* __tstate = wxPyBeginAllowThreads();
1094 (arg1)->GotoLine(arg2);
1095
1096 wxPyEndAllowThreads(__tstate);
1097 if (PyErr_Occurred()) SWIG_fail;
1098 }
1099 Py_INCREF(Py_None); resultobj = Py_None;
1100 return resultobj;
1101 fail:
1102 return NULL;
1103}
1104
1105
1106static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1107 PyObject *resultobj;
1108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1109 int arg2 ;
1110 PyObject * obj0 = 0 ;
1111 char *kwnames[] = {
1112 (char *) "self",(char *) "pos", NULL
1113 };
1114
1115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GotoPos",kwnames,&obj0,&arg2)) goto fail;
1116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1117 {
1118 PyThreadState* __tstate = wxPyBeginAllowThreads();
1119 (arg1)->GotoPos(arg2);
1120
1121 wxPyEndAllowThreads(__tstate);
1122 if (PyErr_Occurred()) SWIG_fail;
1123 }
1124 Py_INCREF(Py_None); resultobj = Py_None;
1125 return resultobj;
1126 fail:
1127 return NULL;
1128}
1129
1130
1131static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
1132 PyObject *resultobj;
1133 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1134 int arg2 ;
1135 PyObject * obj0 = 0 ;
1136 char *kwnames[] = {
1137 (char *) "self",(char *) "posAnchor", NULL
1138 };
1139
1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetAnchor",kwnames,&obj0,&arg2)) goto fail;
1141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1142 {
1143 PyThreadState* __tstate = wxPyBeginAllowThreads();
1144 (arg1)->SetAnchor(arg2);
1145
1146 wxPyEndAllowThreads(__tstate);
1147 if (PyErr_Occurred()) SWIG_fail;
1148 }
1149 Py_INCREF(Py_None); resultobj = Py_None;
1150 return resultobj;
1151 fail:
1152 return NULL;
1153}
1154
1155
1156static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1157 PyObject *resultobj;
1158 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1159 int *arg2 = (int *) 0 ;
1160 wxString result;
1161 int temp2 ;
1162 PyObject * obj0 = 0 ;
1163 char *kwnames[] = {
1164 (char *) "self", NULL
1165 };
1166
1167 arg2 = &temp2;
1168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
1169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1170 {
1171 PyThreadState* __tstate = wxPyBeginAllowThreads();
1172 result = (arg1)->GetCurLine(arg2);
1173
1174 wxPyEndAllowThreads(__tstate);
1175 if (PyErr_Occurred()) SWIG_fail;
1176 }
1177 {
1178#if wxUSE_UNICODE
1179 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1180#else
1181 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1182#endif
1183 }
1184 {
1185 PyObject *o = PyInt_FromLong((long) (*arg2));
1186 resultobj = t_output_helper(resultobj,o);
1187 }
1188 return resultobj;
1189 fail:
1190 return NULL;
1191}
1192
1193
1194static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
1195 PyObject *resultobj;
1196 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1197 int result;
1198 PyObject * obj0 = 0 ;
1199 char *kwnames[] = {
1200 (char *) "self", NULL
1201 };
1202
1203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
1204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1205 {
1206 PyThreadState* __tstate = wxPyBeginAllowThreads();
1207 result = (int)(arg1)->GetEndStyled();
1208
1209 wxPyEndAllowThreads(__tstate);
1210 if (PyErr_Occurred()) SWIG_fail;
1211 }
1212 resultobj = PyInt_FromLong((long)result);
1213 return resultobj;
1214 fail:
1215 return NULL;
1216}
1217
1218
1219static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
1220 PyObject *resultobj;
1221 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1222 int arg2 ;
1223 PyObject * obj0 = 0 ;
1224 char *kwnames[] = {
1225 (char *) "self",(char *) "eolMode", NULL
1226 };
1227
1228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&arg2)) goto fail;
1229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1230 {
1231 PyThreadState* __tstate = wxPyBeginAllowThreads();
1232 (arg1)->ConvertEOLs(arg2);
1233
1234 wxPyEndAllowThreads(__tstate);
1235 if (PyErr_Occurred()) SWIG_fail;
1236 }
1237 Py_INCREF(Py_None); resultobj = Py_None;
1238 return resultobj;
1239 fail:
1240 return NULL;
1241}
1242
1243
1244static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1245 PyObject *resultobj;
1246 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1247 int result;
1248 PyObject * obj0 = 0 ;
1249 char *kwnames[] = {
1250 (char *) "self", NULL
1251 };
1252
1253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
1254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1255 {
1256 PyThreadState* __tstate = wxPyBeginAllowThreads();
1257 result = (int)(arg1)->GetEOLMode();
1258
1259 wxPyEndAllowThreads(__tstate);
1260 if (PyErr_Occurred()) SWIG_fail;
1261 }
1262 resultobj = PyInt_FromLong((long)result);
1263 return resultobj;
1264 fail:
1265 return NULL;
1266}
1267
1268
1269static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1270 PyObject *resultobj;
1271 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1272 int arg2 ;
1273 PyObject * obj0 = 0 ;
1274 char *kwnames[] = {
1275 (char *) "self",(char *) "eolMode", NULL
1276 };
1277
1278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&arg2)) goto fail;
1279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1280 {
1281 PyThreadState* __tstate = wxPyBeginAllowThreads();
1282 (arg1)->SetEOLMode(arg2);
1283
1284 wxPyEndAllowThreads(__tstate);
1285 if (PyErr_Occurred()) SWIG_fail;
1286 }
1287 Py_INCREF(Py_None); resultobj = Py_None;
1288 return resultobj;
1289 fail:
1290 return NULL;
1291}
1292
1293
1294static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1295 PyObject *resultobj;
1296 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1297 int arg2 ;
1298 int arg3 ;
1299 PyObject * obj0 = 0 ;
1300 char *kwnames[] = {
1301 (char *) "self",(char *) "pos",(char *) "mask", NULL
1302 };
1303
1304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StartStyling",kwnames,&obj0,&arg2,&arg3)) goto fail;
1305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1306 {
1307 PyThreadState* __tstate = wxPyBeginAllowThreads();
1308 (arg1)->StartStyling(arg2,arg3);
1309
1310 wxPyEndAllowThreads(__tstate);
1311 if (PyErr_Occurred()) SWIG_fail;
1312 }
1313 Py_INCREF(Py_None); resultobj = Py_None;
1314 return resultobj;
1315 fail:
1316 return NULL;
1317}
1318
1319
1320static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1321 PyObject *resultobj;
1322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1323 int arg2 ;
1324 int arg3 ;
1325 PyObject * obj0 = 0 ;
1326 char *kwnames[] = {
1327 (char *) "self",(char *) "length",(char *) "style", NULL
1328 };
1329
1330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetStyling",kwnames,&obj0,&arg2,&arg3)) goto fail;
1331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1332 {
1333 PyThreadState* __tstate = wxPyBeginAllowThreads();
1334 (arg1)->SetStyling(arg2,arg3);
1335
1336 wxPyEndAllowThreads(__tstate);
1337 if (PyErr_Occurred()) SWIG_fail;
1338 }
1339 Py_INCREF(Py_None); resultobj = Py_None;
1340 return resultobj;
1341 fail:
1342 return NULL;
1343}
1344
1345
1346static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1347 PyObject *resultobj;
1348 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1349 bool result;
1350 PyObject * obj0 = 0 ;
1351 char *kwnames[] = {
1352 (char *) "self", NULL
1353 };
1354
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
1356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1357 {
1358 PyThreadState* __tstate = wxPyBeginAllowThreads();
1359 result = (bool)(arg1)->GetBufferedDraw();
1360
1361 wxPyEndAllowThreads(__tstate);
1362 if (PyErr_Occurred()) SWIG_fail;
1363 }
1364 resultobj = PyInt_FromLong((long)result);
1365 return resultobj;
1366 fail:
1367 return NULL;
1368}
1369
1370
1371static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1372 PyObject *resultobj;
1373 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1374 bool arg2 ;
1375 PyObject * obj0 = 0 ;
1376 PyObject * obj1 = 0 ;
1377 char *kwnames[] = {
1378 (char *) "self",(char *) "buffered", NULL
1379 };
1380
1381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
1382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1383 arg2 = PyInt_AsLong(obj1) ? true : false;
1384 if (PyErr_Occurred()) SWIG_fail;
1385 {
1386 PyThreadState* __tstate = wxPyBeginAllowThreads();
1387 (arg1)->SetBufferedDraw(arg2);
1388
1389 wxPyEndAllowThreads(__tstate);
1390 if (PyErr_Occurred()) SWIG_fail;
1391 }
1392 Py_INCREF(Py_None); resultobj = Py_None;
1393 return resultobj;
1394 fail:
1395 return NULL;
1396}
1397
1398
1399static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1400 PyObject *resultobj;
1401 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1402 int arg2 ;
1403 PyObject * obj0 = 0 ;
1404 char *kwnames[] = {
1405 (char *) "self",(char *) "tabWidth", NULL
1406 };
1407
1408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&arg2)) goto fail;
1409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1410 {
1411 PyThreadState* __tstate = wxPyBeginAllowThreads();
1412 (arg1)->SetTabWidth(arg2);
1413
1414 wxPyEndAllowThreads(__tstate);
1415 if (PyErr_Occurred()) SWIG_fail;
1416 }
1417 Py_INCREF(Py_None); resultobj = Py_None;
1418 return resultobj;
1419 fail:
1420 return NULL;
1421}
1422
1423
1424static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1425 PyObject *resultobj;
1426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1427 int result;
1428 PyObject * obj0 = 0 ;
1429 char *kwnames[] = {
1430 (char *) "self", NULL
1431 };
1432
1433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
1434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1435 {
1436 PyThreadState* __tstate = wxPyBeginAllowThreads();
1437 result = (int)(arg1)->GetTabWidth();
1438
1439 wxPyEndAllowThreads(__tstate);
1440 if (PyErr_Occurred()) SWIG_fail;
1441 }
1442 resultobj = PyInt_FromLong((long)result);
1443 return resultobj;
1444 fail:
1445 return NULL;
1446}
1447
1448
1449static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1450 PyObject *resultobj;
1451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1452 int arg2 ;
1453 PyObject * obj0 = 0 ;
1454 char *kwnames[] = {
1455 (char *) "self",(char *) "codePage", NULL
1456 };
1457
1458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCodePage",kwnames,&obj0,&arg2)) goto fail;
1459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1460 {
1461 PyThreadState* __tstate = wxPyBeginAllowThreads();
1462 (arg1)->SetCodePage(arg2);
1463
1464 wxPyEndAllowThreads(__tstate);
1465 if (PyErr_Occurred()) SWIG_fail;
1466 }
1467 Py_INCREF(Py_None); resultobj = Py_None;
1468 return resultobj;
1469 fail:
1470 return NULL;
1471}
1472
1473
1474static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
1475 PyObject *resultobj;
1476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1477 int arg2 ;
1478 int arg3 ;
1479 wxColour const &arg4_defvalue = wxNullColour ;
1480 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
1481 wxColour const &arg5_defvalue = wxNullColour ;
1482 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
1483 wxColour temp4 ;
1484 wxColour temp5 ;
1485 PyObject * obj0 = 0 ;
1486 PyObject * obj3 = 0 ;
1487 PyObject * obj4 = 0 ;
1488 char *kwnames[] = {
1489 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1490 };
1491
1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
1493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1494 if (obj3) {
1495 {
1496 arg4 = &temp4;
1497 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
1498 }
1499 }
1500 if (obj4) {
1501 {
1502 arg5 = &temp5;
1503 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
1504 }
1505 }
1506 {
1507 PyThreadState* __tstate = wxPyBeginAllowThreads();
1508 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
1509
1510 wxPyEndAllowThreads(__tstate);
1511 if (PyErr_Occurred()) SWIG_fail;
1512 }
1513 Py_INCREF(Py_None); resultobj = Py_None;
1514 return resultobj;
1515 fail:
1516 return NULL;
1517}
1518
1519
1520static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1521 PyObject *resultobj;
1522 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1523 int arg2 ;
1524 wxColour *arg3 = 0 ;
1525 wxColour temp3 ;
1526 PyObject * obj0 = 0 ;
1527 PyObject * obj2 = 0 ;
1528 char *kwnames[] = {
1529 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1530 };
1531
1532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail;
1533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1534 {
1535 arg3 = &temp3;
1536 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1537 }
1538 {
1539 PyThreadState* __tstate = wxPyBeginAllowThreads();
1540 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
1541
1542 wxPyEndAllowThreads(__tstate);
1543 if (PyErr_Occurred()) SWIG_fail;
1544 }
1545 Py_INCREF(Py_None); resultobj = Py_None;
1546 return resultobj;
1547 fail:
1548 return NULL;
1549}
1550
1551
1552static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1553 PyObject *resultobj;
1554 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1555 int arg2 ;
1556 wxColour *arg3 = 0 ;
1557 wxColour temp3 ;
1558 PyObject * obj0 = 0 ;
1559 PyObject * obj2 = 0 ;
1560 char *kwnames[] = {
1561 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1562 };
1563
1564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&arg2,&obj2)) goto fail;
1565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1566 {
1567 arg3 = &temp3;
1568 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1569 }
1570 {
1571 PyThreadState* __tstate = wxPyBeginAllowThreads();
1572 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
1573
1574 wxPyEndAllowThreads(__tstate);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 Py_INCREF(Py_None); resultobj = Py_None;
1578 return resultobj;
1579 fail:
1580 return NULL;
1581}
1582
1583
1584static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject *resultobj;
1586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1587 int arg2 ;
1588 int arg3 ;
1589 int result;
1590 PyObject * obj0 = 0 ;
1591 char *kwnames[] = {
1592 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1593 };
1594
1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&arg2,&arg3)) goto fail;
1596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1597 {
1598 PyThreadState* __tstate = wxPyBeginAllowThreads();
1599 result = (int)(arg1)->MarkerAdd(arg2,arg3);
1600
1601 wxPyEndAllowThreads(__tstate);
1602 if (PyErr_Occurred()) SWIG_fail;
1603 }
1604 resultobj = PyInt_FromLong((long)result);
1605 return resultobj;
1606 fail:
1607 return NULL;
1608}
1609
1610
1611static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1612 PyObject *resultobj;
1613 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1614 int arg2 ;
1615 int arg3 ;
1616 PyObject * obj0 = 0 ;
1617 char *kwnames[] = {
1618 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1619 };
1620
1621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&arg2,&arg3)) goto fail;
1622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1623 {
1624 PyThreadState* __tstate = wxPyBeginAllowThreads();
1625 (arg1)->MarkerDelete(arg2,arg3);
1626
1627 wxPyEndAllowThreads(__tstate);
1628 if (PyErr_Occurred()) SWIG_fail;
1629 }
1630 Py_INCREF(Py_None); resultobj = Py_None;
1631 return resultobj;
1632 fail:
1633 return NULL;
1634}
1635
1636
1637static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1638 PyObject *resultobj;
1639 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1640 int arg2 ;
1641 PyObject * obj0 = 0 ;
1642 char *kwnames[] = {
1643 (char *) "self",(char *) "markerNumber", NULL
1644 };
1645
1646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&arg2)) goto fail;
1647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1648 {
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 (arg1)->MarkerDeleteAll(arg2);
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 }
1655 Py_INCREF(Py_None); resultobj = Py_None;
1656 return resultobj;
1657 fail:
1658 return NULL;
1659}
1660
1661
1662static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
1663 PyObject *resultobj;
1664 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1665 int arg2 ;
1666 int result;
1667 PyObject * obj0 = 0 ;
1668 char *kwnames[] = {
1669 (char *) "self",(char *) "line", NULL
1670 };
1671
1672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerGet",kwnames,&obj0,&arg2)) goto fail;
1673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1674 {
1675 PyThreadState* __tstate = wxPyBeginAllowThreads();
1676 result = (int)(arg1)->MarkerGet(arg2);
1677
1678 wxPyEndAllowThreads(__tstate);
1679 if (PyErr_Occurred()) SWIG_fail;
1680 }
1681 resultobj = PyInt_FromLong((long)result);
1682 return resultobj;
1683 fail:
1684 return NULL;
1685}
1686
1687
1688static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
1689 PyObject *resultobj;
1690 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1691 int arg2 ;
1692 int arg3 ;
1693 int result;
1694 PyObject * obj0 = 0 ;
1695 char *kwnames[] = {
1696 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1697 };
1698
1699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerNext",kwnames,&obj0,&arg2,&arg3)) goto fail;
1700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1701 {
1702 PyThreadState* __tstate = wxPyBeginAllowThreads();
1703 result = (int)(arg1)->MarkerNext(arg2,arg3);
1704
1705 wxPyEndAllowThreads(__tstate);
1706 if (PyErr_Occurred()) SWIG_fail;
1707 }
1708 resultobj = PyInt_FromLong((long)result);
1709 return resultobj;
1710 fail:
1711 return NULL;
1712}
1713
1714
1715static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
1716 PyObject *resultobj;
1717 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1718 int arg2 ;
1719 int arg3 ;
1720 int result;
1721 PyObject * obj0 = 0 ;
1722 char *kwnames[] = {
1723 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1724 };
1725
1726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&arg2,&arg3)) goto fail;
1727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1728 {
1729 PyThreadState* __tstate = wxPyBeginAllowThreads();
1730 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
1731
1732 wxPyEndAllowThreads(__tstate);
1733 if (PyErr_Occurred()) SWIG_fail;
1734 }
1735 resultobj = PyInt_FromLong((long)result);
1736 return resultobj;
1737 fail:
1738 return NULL;
1739}
1740
1741
1742static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
1743 PyObject *resultobj;
1744 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1745 int arg2 ;
1746 wxBitmap *arg3 = 0 ;
1747 PyObject * obj0 = 0 ;
1748 PyObject * obj2 = 0 ;
1749 char *kwnames[] = {
1750 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
1751 };
1752
1753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&arg2,&obj2)) goto fail;
1754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1755 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1756 if (arg3 == NULL) {
1757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1758 }
1759 {
1760 PyThreadState* __tstate = wxPyBeginAllowThreads();
1761 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
1762
1763 wxPyEndAllowThreads(__tstate);
1764 if (PyErr_Occurred()) SWIG_fail;
1765 }
1766 Py_INCREF(Py_None); resultobj = Py_None;
1767 return resultobj;
1768 fail:
1769 return NULL;
1770}
1771
1772
1773static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
1774 PyObject *resultobj;
1775 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1776 int arg2 ;
1777 int arg3 ;
1778 PyObject * obj0 = 0 ;
1779 char *kwnames[] = {
1780 (char *) "self",(char *) "margin",(char *) "marginType", NULL
1781 };
1782
1783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginType",kwnames,&obj0,&arg2,&arg3)) goto fail;
1784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1785 {
1786 PyThreadState* __tstate = wxPyBeginAllowThreads();
1787 (arg1)->SetMarginType(arg2,arg3);
1788
1789 wxPyEndAllowThreads(__tstate);
1790 if (PyErr_Occurred()) SWIG_fail;
1791 }
1792 Py_INCREF(Py_None); resultobj = Py_None;
1793 return resultobj;
1794 fail:
1795 return NULL;
1796}
1797
1798
1799static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
1800 PyObject *resultobj;
1801 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1802 int arg2 ;
1803 int result;
1804 PyObject * obj0 = 0 ;
1805 char *kwnames[] = {
1806 (char *) "self",(char *) "margin", NULL
1807 };
1808
1809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginType",kwnames,&obj0,&arg2)) goto fail;
1810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1811 {
1812 PyThreadState* __tstate = wxPyBeginAllowThreads();
1813 result = (int)(arg1)->GetMarginType(arg2);
1814
1815 wxPyEndAllowThreads(__tstate);
1816 if (PyErr_Occurred()) SWIG_fail;
1817 }
1818 resultobj = PyInt_FromLong((long)result);
1819 return resultobj;
1820 fail:
1821 return NULL;
1822}
1823
1824
1825static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1826 PyObject *resultobj;
1827 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1828 int arg2 ;
1829 int arg3 ;
1830 PyObject * obj0 = 0 ;
1831 char *kwnames[] = {
1832 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
1833 };
1834
1835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
1836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1837 {
1838 PyThreadState* __tstate = wxPyBeginAllowThreads();
1839 (arg1)->SetMarginWidth(arg2,arg3);
1840
1841 wxPyEndAllowThreads(__tstate);
1842 if (PyErr_Occurred()) SWIG_fail;
1843 }
1844 Py_INCREF(Py_None); resultobj = Py_None;
1845 return resultobj;
1846 fail:
1847 return NULL;
1848}
1849
1850
1851static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1852 PyObject *resultobj;
1853 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1854 int arg2 ;
1855 int result;
1856 PyObject * obj0 = 0 ;
1857 char *kwnames[] = {
1858 (char *) "self",(char *) "margin", NULL
1859 };
1860
1861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&arg2)) goto fail;
1862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1863 {
1864 PyThreadState* __tstate = wxPyBeginAllowThreads();
1865 result = (int)(arg1)->GetMarginWidth(arg2);
1866
1867 wxPyEndAllowThreads(__tstate);
1868 if (PyErr_Occurred()) SWIG_fail;
1869 }
1870 resultobj = PyInt_FromLong((long)result);
1871 return resultobj;
1872 fail:
1873 return NULL;
1874}
1875
1876
1877static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1878 PyObject *resultobj;
1879 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1880 int arg2 ;
1881 int arg3 ;
1882 PyObject * obj0 = 0 ;
1883 char *kwnames[] = {
1884 (char *) "self",(char *) "margin",(char *) "mask", NULL
1885 };
1886
1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&arg2,&arg3)) goto fail;
1888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1889 {
1890 PyThreadState* __tstate = wxPyBeginAllowThreads();
1891 (arg1)->SetMarginMask(arg2,arg3);
1892
1893 wxPyEndAllowThreads(__tstate);
1894 if (PyErr_Occurred()) SWIG_fail;
1895 }
1896 Py_INCREF(Py_None); resultobj = Py_None;
1897 return resultobj;
1898 fail:
1899 return NULL;
1900}
1901
1902
1903static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1904 PyObject *resultobj;
1905 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1906 int arg2 ;
1907 int result;
1908 PyObject * obj0 = 0 ;
1909 char *kwnames[] = {
1910 (char *) "self",(char *) "margin", NULL
1911 };
1912
1913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&arg2)) goto fail;
1914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1915 {
1916 PyThreadState* __tstate = wxPyBeginAllowThreads();
1917 result = (int)(arg1)->GetMarginMask(arg2);
1918
1919 wxPyEndAllowThreads(__tstate);
1920 if (PyErr_Occurred()) SWIG_fail;
1921 }
1922 resultobj = PyInt_FromLong((long)result);
1923 return resultobj;
1924 fail:
1925 return NULL;
1926}
1927
1928
1929static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
1930 PyObject *resultobj;
1931 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1932 int arg2 ;
1933 bool arg3 ;
1934 PyObject * obj0 = 0 ;
1935 PyObject * obj2 = 0 ;
1936 char *kwnames[] = {
1937 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
1938 };
1939
1940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&arg2,&obj2)) goto fail;
1941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1942 arg3 = PyInt_AsLong(obj2) ? true : false;
1943 if (PyErr_Occurred()) SWIG_fail;
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 (arg1)->SetMarginSensitive(arg2,arg3);
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
1951 Py_INCREF(Py_None); resultobj = Py_None;
1952 return resultobj;
1953 fail:
1954 return NULL;
1955}
1956
1957
1958static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
1959 PyObject *resultobj;
1960 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1961 int arg2 ;
1962 bool result;
1963 PyObject * obj0 = 0 ;
1964 char *kwnames[] = {
1965 (char *) "self",(char *) "margin", NULL
1966 };
1967
1968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&arg2)) goto fail;
1969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1970 {
1971 PyThreadState* __tstate = wxPyBeginAllowThreads();
1972 result = (bool)(arg1)->GetMarginSensitive(arg2);
1973
1974 wxPyEndAllowThreads(__tstate);
1975 if (PyErr_Occurred()) SWIG_fail;
1976 }
1977 resultobj = PyInt_FromLong((long)result);
1978 return resultobj;
1979 fail:
1980 return NULL;
1981}
1982
1983
1984static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1985 PyObject *resultobj;
1986 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1987 PyObject * obj0 = 0 ;
1988 char *kwnames[] = {
1989 (char *) "self", NULL
1990 };
1991
1992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
1993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1994 {
1995 PyThreadState* __tstate = wxPyBeginAllowThreads();
1996 (arg1)->StyleClearAll();
1997
1998 wxPyEndAllowThreads(__tstate);
1999 if (PyErr_Occurred()) SWIG_fail;
2000 }
2001 Py_INCREF(Py_None); resultobj = Py_None;
2002 return resultobj;
2003 fail:
2004 return NULL;
2005}
2006
2007
2008static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2009 PyObject *resultobj;
2010 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2011 int arg2 ;
2012 wxColour *arg3 = 0 ;
2013 wxColour temp3 ;
2014 PyObject * obj0 = 0 ;
2015 PyObject * obj2 = 0 ;
2016 char *kwnames[] = {
2017 (char *) "self",(char *) "style",(char *) "fore", NULL
2018 };
2019
2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail;
2021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2022 {
2023 arg3 = &temp3;
2024 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2025 }
2026 {
2027 PyThreadState* __tstate = wxPyBeginAllowThreads();
2028 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
2029
2030 wxPyEndAllowThreads(__tstate);
2031 if (PyErr_Occurred()) SWIG_fail;
2032 }
2033 Py_INCREF(Py_None); resultobj = Py_None;
2034 return resultobj;
2035 fail:
2036 return NULL;
2037}
2038
2039
2040static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2041 PyObject *resultobj;
2042 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2043 int arg2 ;
2044 wxColour *arg3 = 0 ;
2045 wxColour temp3 ;
2046 PyObject * obj0 = 0 ;
2047 PyObject * obj2 = 0 ;
2048 char *kwnames[] = {
2049 (char *) "self",(char *) "style",(char *) "back", NULL
2050 };
2051
2052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&arg2,&obj2)) goto fail;
2053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2054 {
2055 arg3 = &temp3;
2056 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2057 }
2058 {
2059 PyThreadState* __tstate = wxPyBeginAllowThreads();
2060 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
2061
2062 wxPyEndAllowThreads(__tstate);
2063 if (PyErr_Occurred()) SWIG_fail;
2064 }
2065 Py_INCREF(Py_None); resultobj = Py_None;
2066 return resultobj;
2067 fail:
2068 return NULL;
2069}
2070
2071
2072static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2073 PyObject *resultobj;
2074 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2075 int arg2 ;
2076 bool arg3 ;
2077 PyObject * obj0 = 0 ;
2078 PyObject * obj2 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "self",(char *) "style",(char *) "bold", NULL
2081 };
2082
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&arg2,&obj2)) goto fail;
2084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2085 arg3 = PyInt_AsLong(obj2) ? true : false;
2086 if (PyErr_Occurred()) SWIG_fail;
2087 {
2088 PyThreadState* __tstate = wxPyBeginAllowThreads();
2089 (arg1)->StyleSetBold(arg2,arg3);
2090
2091 wxPyEndAllowThreads(__tstate);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 }
2094 Py_INCREF(Py_None); resultobj = Py_None;
2095 return resultobj;
2096 fail:
2097 return NULL;
2098}
2099
2100
2101static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2102 PyObject *resultobj;
2103 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2104 int arg2 ;
2105 bool arg3 ;
2106 PyObject * obj0 = 0 ;
2107 PyObject * obj2 = 0 ;
2108 char *kwnames[] = {
2109 (char *) "self",(char *) "style",(char *) "italic", NULL
2110 };
2111
2112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&arg2,&obj2)) goto fail;
2113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2114 arg3 = PyInt_AsLong(obj2) ? true : false;
2115 if (PyErr_Occurred()) SWIG_fail;
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 (arg1)->StyleSetItalic(arg2,arg3);
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 Py_INCREF(Py_None); resultobj = Py_None;
2124 return resultobj;
2125 fail:
2126 return NULL;
2127}
2128
2129
2130static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2131 PyObject *resultobj;
2132 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2133 int arg2 ;
2134 int arg3 ;
2135 PyObject * obj0 = 0 ;
2136 char *kwnames[] = {
2137 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2138 };
2139
2140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2142 {
2143 PyThreadState* __tstate = wxPyBeginAllowThreads();
2144 (arg1)->StyleSetSize(arg2,arg3);
2145
2146 wxPyEndAllowThreads(__tstate);
2147 if (PyErr_Occurred()) SWIG_fail;
2148 }
2149 Py_INCREF(Py_None); resultobj = Py_None;
2150 return resultobj;
2151 fail:
2152 return NULL;
2153}
2154
2155
2156static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
2157 PyObject *resultobj;
2158 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2159 int arg2 ;
2160 wxString *arg3 = 0 ;
e811c8ce 2161 bool temp3 = False ;
d14a1e28
RD
2162 PyObject * obj0 = 0 ;
2163 PyObject * obj2 = 0 ;
2164 char *kwnames[] = {
2165 (char *) "self",(char *) "style",(char *) "fontName", NULL
2166 };
2167
2168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&arg2,&obj2)) goto fail;
2169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2170 {
2171 arg3 = wxString_in_helper(obj2);
2172 if (arg3 == NULL) SWIG_fail;
e811c8ce 2173 temp3 = True;
d14a1e28
RD
2174 }
2175 {
2176 PyThreadState* __tstate = wxPyBeginAllowThreads();
2177 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
2178
2179 wxPyEndAllowThreads(__tstate);
2180 if (PyErr_Occurred()) SWIG_fail;
2181 }
2182 Py_INCREF(Py_None); resultobj = Py_None;
2183 {
2184 if (temp3)
2185 delete arg3;
2186 }
2187 return resultobj;
2188 fail:
2189 {
2190 if (temp3)
2191 delete arg3;
2192 }
2193 return NULL;
2194}
2195
2196
2197static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
2198 PyObject *resultobj;
2199 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2200 int arg2 ;
2201 bool arg3 ;
2202 PyObject * obj0 = 0 ;
2203 PyObject * obj2 = 0 ;
2204 char *kwnames[] = {
2205 (char *) "self",(char *) "style",(char *) "filled", NULL
2206 };
2207
2208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&arg2,&obj2)) goto fail;
2209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2210 arg3 = PyInt_AsLong(obj2) ? true : false;
2211 if (PyErr_Occurred()) SWIG_fail;
2212 {
2213 PyThreadState* __tstate = wxPyBeginAllowThreads();
2214 (arg1)->StyleSetEOLFilled(arg2,arg3);
2215
2216 wxPyEndAllowThreads(__tstate);
2217 if (PyErr_Occurred()) SWIG_fail;
2218 }
2219 Py_INCREF(Py_None); resultobj = Py_None;
2220 return resultobj;
2221 fail:
2222 return NULL;
2223}
2224
2225
2226static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
2227 PyObject *resultobj;
2228 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2229 PyObject * obj0 = 0 ;
2230 char *kwnames[] = {
2231 (char *) "self", NULL
2232 };
2233
2234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
2235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2236 {
2237 PyThreadState* __tstate = wxPyBeginAllowThreads();
2238 (arg1)->StyleResetDefault();
2239
2240 wxPyEndAllowThreads(__tstate);
2241 if (PyErr_Occurred()) SWIG_fail;
2242 }
2243 Py_INCREF(Py_None); resultobj = Py_None;
2244 return resultobj;
2245 fail:
2246 return NULL;
2247}
2248
2249
2250static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
2251 PyObject *resultobj;
2252 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2253 int arg2 ;
2254 bool arg3 ;
2255 PyObject * obj0 = 0 ;
2256 PyObject * obj2 = 0 ;
2257 char *kwnames[] = {
2258 (char *) "self",(char *) "style",(char *) "underline", NULL
2259 };
2260
2261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&arg2,&obj2)) goto fail;
2262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2263 arg3 = PyInt_AsLong(obj2) ? true : false;
2264 if (PyErr_Occurred()) SWIG_fail;
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 (arg1)->StyleSetUnderline(arg2,arg3);
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
2272 Py_INCREF(Py_None); resultobj = Py_None;
2273 return resultobj;
2274 fail:
2275 return NULL;
2276}
2277
2278
2279static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
2280 PyObject *resultobj;
2281 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2282 int arg2 ;
2283 int arg3 ;
2284 PyObject * obj0 = 0 ;
2285 char *kwnames[] = {
2286 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2287 };
2288
2289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&arg2,&arg3)) goto fail;
2290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2291 {
2292 PyThreadState* __tstate = wxPyBeginAllowThreads();
2293 (arg1)->StyleSetCase(arg2,arg3);
2294
2295 wxPyEndAllowThreads(__tstate);
2296 if (PyErr_Occurred()) SWIG_fail;
2297 }
2298 Py_INCREF(Py_None); resultobj = Py_None;
2299 return resultobj;
2300 fail:
2301 return NULL;
2302}
2303
2304
2305static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) {
2306 PyObject *resultobj;
2307 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2308 int arg2 ;
2309 int arg3 ;
2310 PyObject * obj0 = 0 ;
2311 char *kwnames[] = {
2312 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2313 };
2314
2315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&arg2,&arg3)) goto fail;
2316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2317 {
2318 PyThreadState* __tstate = wxPyBeginAllowThreads();
2319 (arg1)->StyleSetCharacterSet(arg2,arg3);
2320
2321 wxPyEndAllowThreads(__tstate);
2322 if (PyErr_Occurred()) SWIG_fail;
2323 }
2324 Py_INCREF(Py_None); resultobj = Py_None;
2325 return resultobj;
2326 fail:
2327 return NULL;
2328}
2329
2330
2331static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject *resultobj;
2333 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2334 int arg2 ;
2335 bool arg3 ;
2336 PyObject * obj0 = 0 ;
2337 PyObject * obj2 = 0 ;
2338 char *kwnames[] = {
2339 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2340 };
2341
2342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&arg2,&obj2)) goto fail;
2343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2344 arg3 = PyInt_AsLong(obj2) ? true : false;
2345 if (PyErr_Occurred()) SWIG_fail;
2346 {
2347 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348 (arg1)->StyleSetHotSpot(arg2,arg3);
2349
2350 wxPyEndAllowThreads(__tstate);
2351 if (PyErr_Occurred()) SWIG_fail;
2352 }
2353 Py_INCREF(Py_None); resultobj = Py_None;
2354 return resultobj;
2355 fail:
2356 return NULL;
2357}
2358
2359
2360static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2361 PyObject *resultobj;
2362 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2363 bool arg2 ;
2364 wxColour *arg3 = 0 ;
2365 wxColour temp3 ;
2366 PyObject * obj0 = 0 ;
2367 PyObject * obj1 = 0 ;
2368 PyObject * obj2 = 0 ;
2369 char *kwnames[] = {
2370 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2371 };
2372
2373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2375 arg2 = PyInt_AsLong(obj1) ? true : false;
2376 if (PyErr_Occurred()) SWIG_fail;
2377 {
2378 arg3 = &temp3;
2379 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2380 }
2381 {
2382 PyThreadState* __tstate = wxPyBeginAllowThreads();
2383 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
2384
2385 wxPyEndAllowThreads(__tstate);
2386 if (PyErr_Occurred()) SWIG_fail;
2387 }
2388 Py_INCREF(Py_None); resultobj = Py_None;
2389 return resultobj;
2390 fail:
2391 return NULL;
2392}
2393
2394
2395static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2396 PyObject *resultobj;
2397 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2398 bool arg2 ;
2399 wxColour *arg3 = 0 ;
2400 wxColour temp3 ;
2401 PyObject * obj0 = 0 ;
2402 PyObject * obj1 = 0 ;
2403 PyObject * obj2 = 0 ;
2404 char *kwnames[] = {
2405 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2406 };
2407
2408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2410 arg2 = PyInt_AsLong(obj1) ? true : false;
2411 if (PyErr_Occurred()) SWIG_fail;
2412 {
2413 arg3 = &temp3;
2414 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2415 }
2416 {
2417 PyThreadState* __tstate = wxPyBeginAllowThreads();
2418 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
2419
2420 wxPyEndAllowThreads(__tstate);
2421 if (PyErr_Occurred()) SWIG_fail;
2422 }
2423 Py_INCREF(Py_None); resultobj = Py_None;
2424 return resultobj;
2425 fail:
2426 return NULL;
2427}
2428
2429
2430static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2431 PyObject *resultobj;
2432 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2433 wxColour *arg2 = 0 ;
2434 wxColour temp2 ;
2435 PyObject * obj0 = 0 ;
2436 PyObject * obj1 = 0 ;
2437 char *kwnames[] = {
2438 (char *) "self",(char *) "fore", NULL
2439 };
2440
2441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
2442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2443 {
2444 arg2 = &temp2;
2445 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2446 }
2447 {
2448 PyThreadState* __tstate = wxPyBeginAllowThreads();
2449 (arg1)->SetCaretForeground((wxColour const &)*arg2);
2450
2451 wxPyEndAllowThreads(__tstate);
2452 if (PyErr_Occurred()) SWIG_fail;
2453 }
2454 Py_INCREF(Py_None); resultobj = Py_None;
2455 return resultobj;
2456 fail:
2457 return NULL;
2458}
2459
2460
2461static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
2462 PyObject *resultobj;
2463 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2464 int arg2 ;
2465 int arg3 ;
2466 int arg4 ;
2467 PyObject * obj0 = 0 ;
2468 char *kwnames[] = {
2469 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2470 };
2471
2472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
2473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2474 {
2475 PyThreadState* __tstate = wxPyBeginAllowThreads();
2476 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
2477
2478 wxPyEndAllowThreads(__tstate);
2479 if (PyErr_Occurred()) SWIG_fail;
2480 }
2481 Py_INCREF(Py_None); resultobj = Py_None;
2482 return resultobj;
2483 fail:
2484 return NULL;
2485}
2486
2487
2488static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
2489 PyObject *resultobj;
2490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2491 int arg2 ;
2492 int arg3 ;
2493 PyObject * obj0 = 0 ;
2494 char *kwnames[] = {
2495 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2496 };
2497
2498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&arg2,&arg3)) goto fail;
2499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2500 {
2501 PyThreadState* __tstate = wxPyBeginAllowThreads();
2502 (arg1)->CmdKeyClear(arg2,arg3);
2503
2504 wxPyEndAllowThreads(__tstate);
2505 if (PyErr_Occurred()) SWIG_fail;
2506 }
2507 Py_INCREF(Py_None); resultobj = Py_None;
2508 return resultobj;
2509 fail:
2510 return NULL;
2511}
2512
2513
2514static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2515 PyObject *resultobj;
2516 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2517 PyObject * obj0 = 0 ;
2518 char *kwnames[] = {
2519 (char *) "self", NULL
2520 };
2521
2522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
2523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2524 {
2525 PyThreadState* __tstate = wxPyBeginAllowThreads();
2526 (arg1)->CmdKeyClearAll();
2527
2528 wxPyEndAllowThreads(__tstate);
2529 if (PyErr_Occurred()) SWIG_fail;
2530 }
2531 Py_INCREF(Py_None); resultobj = Py_None;
2532 return resultobj;
2533 fail:
2534 return NULL;
2535}
2536
2537
2538static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
2539 PyObject *resultobj;
2540 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2541 int arg2 ;
2542 char *arg3 ;
2543 PyObject * obj0 = 0 ;
2544 char *kwnames[] = {
2545 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
2546 };
2547
2548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ois:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&arg2,&arg3)) goto fail;
2549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2550 {
2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
2552 (arg1)->SetStyleBytes(arg2,arg3);
2553
2554 wxPyEndAllowThreads(__tstate);
2555 if (PyErr_Occurred()) SWIG_fail;
2556 }
2557 Py_INCREF(Py_None); resultobj = Py_None;
2558 return resultobj;
2559 fail:
2560 return NULL;
2561}
2562
2563
2564static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2565 PyObject *resultobj;
2566 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2567 int arg2 ;
2568 bool arg3 ;
2569 PyObject * obj0 = 0 ;
2570 PyObject * obj2 = 0 ;
2571 char *kwnames[] = {
2572 (char *) "self",(char *) "style",(char *) "visible", NULL
2573 };
2574
2575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
2576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2577 arg3 = PyInt_AsLong(obj2) ? true : false;
2578 if (PyErr_Occurred()) SWIG_fail;
2579 {
2580 PyThreadState* __tstate = wxPyBeginAllowThreads();
2581 (arg1)->StyleSetVisible(arg2,arg3);
2582
2583 wxPyEndAllowThreads(__tstate);
2584 if (PyErr_Occurred()) SWIG_fail;
2585 }
2586 Py_INCREF(Py_None); resultobj = Py_None;
2587 return resultobj;
2588 fail:
2589 return NULL;
2590}
2591
2592
2593static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
2594 PyObject *resultobj;
2595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2596 int result;
2597 PyObject * obj0 = 0 ;
2598 char *kwnames[] = {
2599 (char *) "self", NULL
2600 };
2601
2602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
2603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2604 {
2605 PyThreadState* __tstate = wxPyBeginAllowThreads();
2606 result = (int)(arg1)->GetCaretPeriod();
2607
2608 wxPyEndAllowThreads(__tstate);
2609 if (PyErr_Occurred()) SWIG_fail;
2610 }
2611 resultobj = PyInt_FromLong((long)result);
2612 return resultobj;
2613 fail:
2614 return NULL;
2615}
2616
2617
2618static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
2619 PyObject *resultobj;
2620 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2621 int arg2 ;
2622 PyObject * obj0 = 0 ;
2623 char *kwnames[] = {
2624 (char *) "self",(char *) "periodMilliseconds", NULL
2625 };
2626
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&arg2)) goto fail;
2628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2629 {
2630 PyThreadState* __tstate = wxPyBeginAllowThreads();
2631 (arg1)->SetCaretPeriod(arg2);
2632
2633 wxPyEndAllowThreads(__tstate);
2634 if (PyErr_Occurred()) SWIG_fail;
2635 }
2636 Py_INCREF(Py_None); resultobj = Py_None;
2637 return resultobj;
2638 fail:
2639 return NULL;
2640}
2641
2642
2643static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
2644 PyObject *resultobj;
2645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2646 wxString *arg2 = 0 ;
e811c8ce 2647 bool temp2 = False ;
d14a1e28
RD
2648 PyObject * obj0 = 0 ;
2649 PyObject * obj1 = 0 ;
2650 char *kwnames[] = {
2651 (char *) "self",(char *) "characters", NULL
2652 };
2653
2654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
2655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2656 {
2657 arg2 = wxString_in_helper(obj1);
2658 if (arg2 == NULL) SWIG_fail;
e811c8ce 2659 temp2 = True;
d14a1e28
RD
2660 }
2661 {
2662 PyThreadState* __tstate = wxPyBeginAllowThreads();
2663 (arg1)->SetWordChars((wxString const &)*arg2);
2664
2665 wxPyEndAllowThreads(__tstate);
2666 if (PyErr_Occurred()) SWIG_fail;
2667 }
2668 Py_INCREF(Py_None); resultobj = Py_None;
2669 {
2670 if (temp2)
2671 delete arg2;
2672 }
2673 return resultobj;
2674 fail:
2675 {
2676 if (temp2)
2677 delete arg2;
2678 }
2679 return NULL;
2680}
2681
2682
2683static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
2684 PyObject *resultobj;
2685 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2686 PyObject * obj0 = 0 ;
2687 char *kwnames[] = {
2688 (char *) "self", NULL
2689 };
2690
2691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
2692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2693 {
2694 PyThreadState* __tstate = wxPyBeginAllowThreads();
2695 (arg1)->BeginUndoAction();
2696
2697 wxPyEndAllowThreads(__tstate);
2698 if (PyErr_Occurred()) SWIG_fail;
2699 }
2700 Py_INCREF(Py_None); resultobj = Py_None;
2701 return resultobj;
2702 fail:
2703 return NULL;
2704}
2705
2706
2707static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
2708 PyObject *resultobj;
2709 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2710 PyObject * obj0 = 0 ;
2711 char *kwnames[] = {
2712 (char *) "self", NULL
2713 };
2714
2715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
2716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2717 {
2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
2719 (arg1)->EndUndoAction();
2720
2721 wxPyEndAllowThreads(__tstate);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
2724 Py_INCREF(Py_None); resultobj = Py_None;
2725 return resultobj;
2726 fail:
2727 return NULL;
2728}
2729
2730
2731static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2732 PyObject *resultobj;
2733 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2734 int arg2 ;
2735 int arg3 ;
2736 PyObject * obj0 = 0 ;
2737 char *kwnames[] = {
2738 (char *) "self",(char *) "indic",(char *) "style", NULL
2739 };
2740
2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&arg2,&arg3)) goto fail;
2742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2743 {
2744 PyThreadState* __tstate = wxPyBeginAllowThreads();
2745 (arg1)->IndicatorSetStyle(arg2,arg3);
2746
2747 wxPyEndAllowThreads(__tstate);
2748 if (PyErr_Occurred()) SWIG_fail;
2749 }
2750 Py_INCREF(Py_None); resultobj = Py_None;
2751 return resultobj;
2752 fail:
2753 return NULL;
2754}
2755
2756
2757static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2758 PyObject *resultobj;
2759 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2760 int arg2 ;
2761 int result;
2762 PyObject * obj0 = 0 ;
2763 char *kwnames[] = {
2764 (char *) "self",(char *) "indic", NULL
2765 };
2766
2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&arg2)) goto fail;
2768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2769 {
2770 PyThreadState* __tstate = wxPyBeginAllowThreads();
2771 result = (int)(arg1)->IndicatorGetStyle(arg2);
2772
2773 wxPyEndAllowThreads(__tstate);
2774 if (PyErr_Occurred()) SWIG_fail;
2775 }
2776 resultobj = PyInt_FromLong((long)result);
2777 return resultobj;
2778 fail:
2779 return NULL;
2780}
2781
2782
2783static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2784 PyObject *resultobj;
2785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2786 int arg2 ;
2787 wxColour *arg3 = 0 ;
2788 wxColour temp3 ;
2789 PyObject * obj0 = 0 ;
2790 PyObject * obj2 = 0 ;
2791 char *kwnames[] = {
2792 (char *) "self",(char *) "indic",(char *) "fore", NULL
2793 };
2794
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail;
2796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2797 {
2798 arg3 = &temp3;
2799 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2800 }
2801 {
2802 PyThreadState* __tstate = wxPyBeginAllowThreads();
2803 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
2804
2805 wxPyEndAllowThreads(__tstate);
2806 if (PyErr_Occurred()) SWIG_fail;
2807 }
2808 Py_INCREF(Py_None); resultobj = Py_None;
2809 return resultobj;
2810 fail:
2811 return NULL;
2812}
2813
2814
2815static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2816 PyObject *resultobj;
2817 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2818 int arg2 ;
2819 wxColour result;
2820 PyObject * obj0 = 0 ;
2821 char *kwnames[] = {
2822 (char *) "self",(char *) "indic", NULL
2823 };
2824
2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&arg2)) goto fail;
2826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2827 {
2828 PyThreadState* __tstate = wxPyBeginAllowThreads();
2829 result = (arg1)->IndicatorGetForeground(arg2);
2830
2831 wxPyEndAllowThreads(__tstate);
2832 if (PyErr_Occurred()) SWIG_fail;
2833 }
2834 {
2835 wxColour * resultptr;
2836 resultptr = new wxColour((wxColour &) result);
2837 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
2838 }
2839 return resultobj;
2840 fail:
2841 return NULL;
2842}
2843
2844
2845static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2846 PyObject *resultobj;
2847 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2848 bool arg2 ;
2849 wxColour *arg3 = 0 ;
2850 wxColour temp3 ;
2851 PyObject * obj0 = 0 ;
2852 PyObject * obj1 = 0 ;
2853 PyObject * obj2 = 0 ;
2854 char *kwnames[] = {
2855 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2856 };
2857
2858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2860 arg2 = PyInt_AsLong(obj1) ? true : false;
2861 if (PyErr_Occurred()) SWIG_fail;
2862 {
2863 arg3 = &temp3;
2864 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2865 }
2866 {
2867 PyThreadState* __tstate = wxPyBeginAllowThreads();
2868 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
2869
2870 wxPyEndAllowThreads(__tstate);
2871 if (PyErr_Occurred()) SWIG_fail;
2872 }
2873 Py_INCREF(Py_None); resultobj = Py_None;
2874 return resultobj;
2875 fail:
2876 return NULL;
2877}
2878
2879
2880static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2881 PyObject *resultobj;
2882 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2883 bool arg2 ;
2884 wxColour *arg3 = 0 ;
2885 wxColour temp3 ;
2886 PyObject * obj0 = 0 ;
2887 PyObject * obj1 = 0 ;
2888 PyObject * obj2 = 0 ;
2889 char *kwnames[] = {
2890 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2891 };
2892
2893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2895 arg2 = PyInt_AsLong(obj1) ? true : false;
2896 if (PyErr_Occurred()) SWIG_fail;
2897 {
2898 arg3 = &temp3;
2899 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2900 }
2901 {
2902 PyThreadState* __tstate = wxPyBeginAllowThreads();
2903 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
2904
2905 wxPyEndAllowThreads(__tstate);
2906 if (PyErr_Occurred()) SWIG_fail;
2907 }
2908 Py_INCREF(Py_None); resultobj = Py_None;
2909 return resultobj;
2910 fail:
2911 return NULL;
2912}
2913
2914
2915static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2916 PyObject *resultobj;
2917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2918 int arg2 ;
2919 PyObject * obj0 = 0 ;
2920 char *kwnames[] = {
2921 (char *) "self",(char *) "bits", NULL
2922 };
2923
2924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&arg2)) goto fail;
2925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2926 {
2927 PyThreadState* __tstate = wxPyBeginAllowThreads();
2928 (arg1)->SetStyleBits(arg2);
2929
2930 wxPyEndAllowThreads(__tstate);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 }
2933 Py_INCREF(Py_None); resultobj = Py_None;
2934 return resultobj;
2935 fail:
2936 return NULL;
2937}
2938
2939
2940static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2941 PyObject *resultobj;
2942 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2943 int result;
2944 PyObject * obj0 = 0 ;
2945 char *kwnames[] = {
2946 (char *) "self", NULL
2947 };
2948
2949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
2950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2951 {
2952 PyThreadState* __tstate = wxPyBeginAllowThreads();
2953 result = (int)(arg1)->GetStyleBits();
2954
2955 wxPyEndAllowThreads(__tstate);
2956 if (PyErr_Occurred()) SWIG_fail;
2957 }
2958 resultobj = PyInt_FromLong((long)result);
2959 return resultobj;
2960 fail:
2961 return NULL;
2962}
2963
2964
2965static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2966 PyObject *resultobj;
2967 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2968 int arg2 ;
2969 int arg3 ;
2970 PyObject * obj0 = 0 ;
2971 char *kwnames[] = {
2972 (char *) "self",(char *) "line",(char *) "state", NULL
2973 };
2974
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetLineState",kwnames,&obj0,&arg2,&arg3)) goto fail;
2976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2977 {
2978 PyThreadState* __tstate = wxPyBeginAllowThreads();
2979 (arg1)->SetLineState(arg2,arg3);
2980
2981 wxPyEndAllowThreads(__tstate);
2982 if (PyErr_Occurred()) SWIG_fail;
2983 }
2984 Py_INCREF(Py_None); resultobj = Py_None;
2985 return resultobj;
2986 fail:
2987 return NULL;
2988}
2989
2990
2991static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2992 PyObject *resultobj;
2993 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2994 int arg2 ;
2995 int result;
2996 PyObject * obj0 = 0 ;
2997 char *kwnames[] = {
2998 (char *) "self",(char *) "line", NULL
2999 };
3000
3001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineState",kwnames,&obj0,&arg2)) goto fail;
3002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3003 {
3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
3005 result = (int)(arg1)->GetLineState(arg2);
3006
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 resultobj = PyInt_FromLong((long)result);
3011 return resultobj;
3012 fail:
3013 return NULL;
3014}
3015
3016
3017static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj;
3019 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3020 int result;
3021 PyObject * obj0 = 0 ;
3022 char *kwnames[] = {
3023 (char *) "self", NULL
3024 };
3025
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
3027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3028 {
3029 PyThreadState* __tstate = wxPyBeginAllowThreads();
3030 result = (int)(arg1)->GetMaxLineState();
3031
3032 wxPyEndAllowThreads(__tstate);
3033 if (PyErr_Occurred()) SWIG_fail;
3034 }
3035 resultobj = PyInt_FromLong((long)result);
3036 return resultobj;
3037 fail:
3038 return NULL;
3039}
3040
3041
3042static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3043 PyObject *resultobj;
3044 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3045 bool result;
3046 PyObject * obj0 = 0 ;
3047 char *kwnames[] = {
3048 (char *) "self", NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
3052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3053 {
3054 PyThreadState* __tstate = wxPyBeginAllowThreads();
3055 result = (bool)(arg1)->GetCaretLineVisible();
3056
3057 wxPyEndAllowThreads(__tstate);
3058 if (PyErr_Occurred()) SWIG_fail;
3059 }
3060 resultobj = PyInt_FromLong((long)result);
3061 return resultobj;
3062 fail:
3063 return NULL;
3064}
3065
3066
3067static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3068 PyObject *resultobj;
3069 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3070 bool arg2 ;
3071 PyObject * obj0 = 0 ;
3072 PyObject * obj1 = 0 ;
3073 char *kwnames[] = {
3074 (char *) "self",(char *) "show", NULL
3075 };
3076
3077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
3078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3079 arg2 = PyInt_AsLong(obj1) ? true : false;
3080 if (PyErr_Occurred()) SWIG_fail;
3081 {
3082 PyThreadState* __tstate = wxPyBeginAllowThreads();
3083 (arg1)->SetCaretLineVisible(arg2);
3084
3085 wxPyEndAllowThreads(__tstate);
3086 if (PyErr_Occurred()) SWIG_fail;
3087 }
3088 Py_INCREF(Py_None); resultobj = Py_None;
3089 return resultobj;
3090 fail:
3091 return NULL;
3092}
3093
3094
3095static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3096 PyObject *resultobj;
3097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3098 wxColour result;
3099 PyObject * obj0 = 0 ;
3100 char *kwnames[] = {
3101 (char *) "self", NULL
3102 };
3103
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
3105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3106 {
3107 PyThreadState* __tstate = wxPyBeginAllowThreads();
3108 result = (arg1)->GetCaretLineBack();
3109
3110 wxPyEndAllowThreads(__tstate);
3111 if (PyErr_Occurred()) SWIG_fail;
3112 }
3113 {
3114 wxColour * resultptr;
3115 resultptr = new wxColour((wxColour &) result);
3116 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3117 }
3118 return resultobj;
3119 fail:
3120 return NULL;
3121}
3122
3123
3124static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3125 PyObject *resultobj;
3126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3127 wxColour *arg2 = 0 ;
3128 wxColour temp2 ;
3129 PyObject * obj0 = 0 ;
3130 PyObject * obj1 = 0 ;
3131 char *kwnames[] = {
3132 (char *) "self",(char *) "back", NULL
3133 };
3134
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
3136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3137 {
3138 arg2 = &temp2;
3139 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3140 }
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
3148 Py_INCREF(Py_None); resultobj = Py_None;
3149 return resultobj;
3150 fail:
3151 return NULL;
3152}
3153
3154
3155static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) {
3156 PyObject *resultobj;
3157 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3158 int arg2 ;
3159 bool arg3 ;
3160 PyObject * obj0 = 0 ;
3161 PyObject * obj2 = 0 ;
3162 char *kwnames[] = {
3163 (char *) "self",(char *) "style",(char *) "changeable", NULL
3164 };
3165
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&arg2,&obj2)) goto fail;
3167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3168 arg3 = PyInt_AsLong(obj2) ? true : false;
3169 if (PyErr_Occurred()) SWIG_fail;
3170 {
3171 PyThreadState* __tstate = wxPyBeginAllowThreads();
3172 (arg1)->StyleSetChangeable(arg2,arg3);
3173
3174 wxPyEndAllowThreads(__tstate);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 Py_INCREF(Py_None); resultobj = Py_None;
3178 return resultobj;
3179 fail:
3180 return NULL;
3181}
3182
3183
3184static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3185 PyObject *resultobj;
3186 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3187 int arg2 ;
3188 wxString *arg3 = 0 ;
e811c8ce 3189 bool temp3 = False ;
d14a1e28
RD
3190 PyObject * obj0 = 0 ;
3191 PyObject * obj2 = 0 ;
3192 char *kwnames[] = {
3193 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3194 };
3195
3196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&arg2,&obj2)) goto fail;
3197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3198 {
3199 arg3 = wxString_in_helper(obj2);
3200 if (arg3 == NULL) SWIG_fail;
e811c8ce 3201 temp3 = True;
d14a1e28
RD
3202 }
3203 {
3204 PyThreadState* __tstate = wxPyBeginAllowThreads();
3205 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
3206
3207 wxPyEndAllowThreads(__tstate);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
3210 Py_INCREF(Py_None); resultobj = Py_None;
3211 {
3212 if (temp3)
3213 delete arg3;
3214 }
3215 return resultobj;
3216 fail:
3217 {
3218 if (temp3)
3219 delete arg3;
3220 }
3221 return NULL;
3222}
3223
3224
3225static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
3226 PyObject *resultobj;
3227 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3228 PyObject * obj0 = 0 ;
3229 char *kwnames[] = {
3230 (char *) "self", NULL
3231 };
3232
3233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
3234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3235 {
3236 PyThreadState* __tstate = wxPyBeginAllowThreads();
3237 (arg1)->AutoCompCancel();
3238
3239 wxPyEndAllowThreads(__tstate);
3240 if (PyErr_Occurred()) SWIG_fail;
3241 }
3242 Py_INCREF(Py_None); resultobj = Py_None;
3243 return resultobj;
3244 fail:
3245 return NULL;
3246}
3247
3248
3249static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3250 PyObject *resultobj;
3251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3252 bool result;
3253 PyObject * obj0 = 0 ;
3254 char *kwnames[] = {
3255 (char *) "self", NULL
3256 };
3257
3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
3259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3260 {
3261 PyThreadState* __tstate = wxPyBeginAllowThreads();
3262 result = (bool)(arg1)->AutoCompActive();
3263
3264 wxPyEndAllowThreads(__tstate);
3265 if (PyErr_Occurred()) SWIG_fail;
3266 }
3267 resultobj = PyInt_FromLong((long)result);
3268 return resultobj;
3269 fail:
3270 return NULL;
3271}
3272
3273
3274static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3275 PyObject *resultobj;
3276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3277 int result;
3278 PyObject * obj0 = 0 ;
3279 char *kwnames[] = {
3280 (char *) "self", NULL
3281 };
3282
3283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
3284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3285 {
3286 PyThreadState* __tstate = wxPyBeginAllowThreads();
3287 result = (int)(arg1)->AutoCompPosStart();
3288
3289 wxPyEndAllowThreads(__tstate);
3290 if (PyErr_Occurred()) SWIG_fail;
3291 }
3292 resultobj = PyInt_FromLong((long)result);
3293 return resultobj;
3294 fail:
3295 return NULL;
3296}
3297
3298
3299static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
3300 PyObject *resultobj;
3301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3302 PyObject * obj0 = 0 ;
3303 char *kwnames[] = {
3304 (char *) "self", NULL
3305 };
3306
3307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
3308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3309 {
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 (arg1)->AutoCompComplete();
3312
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 Py_INCREF(Py_None); resultobj = Py_None;
3317 return resultobj;
3318 fail:
3319 return NULL;
3320}
3321
3322
3323static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
3324 PyObject *resultobj;
3325 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3326 wxString *arg2 = 0 ;
e811c8ce 3327 bool temp2 = False ;
d14a1e28
RD
3328 PyObject * obj0 = 0 ;
3329 PyObject * obj1 = 0 ;
3330 char *kwnames[] = {
3331 (char *) "self",(char *) "characterSet", NULL
3332 };
3333
3334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
3335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3336 {
3337 arg2 = wxString_in_helper(obj1);
3338 if (arg2 == NULL) SWIG_fail;
e811c8ce 3339 temp2 = True;
d14a1e28
RD
3340 }
3341 {
3342 PyThreadState* __tstate = wxPyBeginAllowThreads();
3343 (arg1)->AutoCompStops((wxString const &)*arg2);
3344
3345 wxPyEndAllowThreads(__tstate);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
3348 Py_INCREF(Py_None); resultobj = Py_None;
3349 {
3350 if (temp2)
3351 delete arg2;
3352 }
3353 return resultobj;
3354 fail:
3355 {
3356 if (temp2)
3357 delete arg2;
3358 }
3359 return NULL;
3360}
3361
3362
3363static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3364 PyObject *resultobj;
3365 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3366 int arg2 ;
3367 PyObject * obj0 = 0 ;
3368 char *kwnames[] = {
3369 (char *) "self",(char *) "separatorCharacter", NULL
3370 };
3371
3372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&arg2)) goto fail;
3373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3374 {
3375 PyThreadState* __tstate = wxPyBeginAllowThreads();
3376 (arg1)->AutoCompSetSeparator(arg2);
3377
3378 wxPyEndAllowThreads(__tstate);
3379 if (PyErr_Occurred()) SWIG_fail;
3380 }
3381 Py_INCREF(Py_None); resultobj = Py_None;
3382 return resultobj;
3383 fail:
3384 return NULL;
3385}
3386
3387
3388static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3389 PyObject *resultobj;
3390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3391 int result;
3392 PyObject * obj0 = 0 ;
3393 char *kwnames[] = {
3394 (char *) "self", NULL
3395 };
3396
3397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
3398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3399 {
3400 PyThreadState* __tstate = wxPyBeginAllowThreads();
3401 result = (int)(arg1)->AutoCompGetSeparator();
3402
3403 wxPyEndAllowThreads(__tstate);
3404 if (PyErr_Occurred()) SWIG_fail;
3405 }
3406 resultobj = PyInt_FromLong((long)result);
3407 return resultobj;
3408 fail:
3409 return NULL;
3410}
3411
3412
3413static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
3414 PyObject *resultobj;
3415 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3416 wxString *arg2 = 0 ;
e811c8ce 3417 bool temp2 = False ;
d14a1e28
RD
3418 PyObject * obj0 = 0 ;
3419 PyObject * obj1 = 0 ;
3420 char *kwnames[] = {
3421 (char *) "self",(char *) "text", NULL
3422 };
3423
3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
3425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3426 {
3427 arg2 = wxString_in_helper(obj1);
3428 if (arg2 == NULL) SWIG_fail;
e811c8ce 3429 temp2 = True;
d14a1e28
RD
3430 }
3431 {
3432 PyThreadState* __tstate = wxPyBeginAllowThreads();
3433 (arg1)->AutoCompSelect((wxString const &)*arg2);
3434
3435 wxPyEndAllowThreads(__tstate);
3436 if (PyErr_Occurred()) SWIG_fail;
3437 }
3438 Py_INCREF(Py_None); resultobj = Py_None;
3439 {
3440 if (temp2)
3441 delete arg2;
3442 }
3443 return resultobj;
3444 fail:
3445 {
3446 if (temp2)
3447 delete arg2;
3448 }
3449 return NULL;
3450}
3451
3452
3453static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3454 PyObject *resultobj;
3455 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3456 bool arg2 ;
3457 PyObject * obj0 = 0 ;
3458 PyObject * obj1 = 0 ;
3459 char *kwnames[] = {
3460 (char *) "self",(char *) "cancel", NULL
3461 };
3462
3463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
3464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3465 arg2 = PyInt_AsLong(obj1) ? true : false;
3466 if (PyErr_Occurred()) SWIG_fail;
3467 {
3468 PyThreadState* __tstate = wxPyBeginAllowThreads();
3469 (arg1)->AutoCompSetCancelAtStart(arg2);
3470
3471 wxPyEndAllowThreads(__tstate);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 Py_INCREF(Py_None); resultobj = Py_None;
3475 return resultobj;
3476 fail:
3477 return NULL;
3478}
3479
3480
3481static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3482 PyObject *resultobj;
3483 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3484 bool result;
3485 PyObject * obj0 = 0 ;
3486 char *kwnames[] = {
3487 (char *) "self", NULL
3488 };
3489
3490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
3491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3492 {
3493 PyThreadState* __tstate = wxPyBeginAllowThreads();
3494 result = (bool)(arg1)->AutoCompGetCancelAtStart();
3495
3496 wxPyEndAllowThreads(__tstate);
3497 if (PyErr_Occurred()) SWIG_fail;
3498 }
3499 resultobj = PyInt_FromLong((long)result);
3500 return resultobj;
3501 fail:
3502 return NULL;
3503}
3504
3505
3506static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
3507 PyObject *resultobj;
3508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3509 wxString *arg2 = 0 ;
e811c8ce 3510 bool temp2 = False ;
d14a1e28
RD
3511 PyObject * obj0 = 0 ;
3512 PyObject * obj1 = 0 ;
3513 char *kwnames[] = {
3514 (char *) "self",(char *) "characterSet", NULL
3515 };
3516
3517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
3518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3519 {
3520 arg2 = wxString_in_helper(obj1);
3521 if (arg2 == NULL) SWIG_fail;
e811c8ce 3522 temp2 = True;
d14a1e28
RD
3523 }
3524 {
3525 PyThreadState* __tstate = wxPyBeginAllowThreads();
3526 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
3527
3528 wxPyEndAllowThreads(__tstate);
3529 if (PyErr_Occurred()) SWIG_fail;
3530 }
3531 Py_INCREF(Py_None); resultobj = Py_None;
3532 {
3533 if (temp2)
3534 delete arg2;
3535 }
3536 return resultobj;
3537 fail:
3538 {
3539 if (temp2)
3540 delete arg2;
3541 }
3542 return NULL;
3543}
3544
3545
3546static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
3547 PyObject *resultobj;
3548 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3549 bool arg2 ;
3550 PyObject * obj0 = 0 ;
3551 PyObject * obj1 = 0 ;
3552 char *kwnames[] = {
3553 (char *) "self",(char *) "chooseSingle", NULL
3554 };
3555
3556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
3557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3558 arg2 = PyInt_AsLong(obj1) ? true : false;
3559 if (PyErr_Occurred()) SWIG_fail;
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 (arg1)->AutoCompSetChooseSingle(arg2);
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 Py_INCREF(Py_None); resultobj = Py_None;
3568 return resultobj;
3569 fail:
3570 return NULL;
3571}
3572
3573
3574static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
3575 PyObject *resultobj;
3576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3577 bool result;
3578 PyObject * obj0 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "self", NULL
3581 };
3582
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
3584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3585 {
3586 PyThreadState* __tstate = wxPyBeginAllowThreads();
3587 result = (bool)(arg1)->AutoCompGetChooseSingle();
3588
3589 wxPyEndAllowThreads(__tstate);
3590 if (PyErr_Occurred()) SWIG_fail;
3591 }
3592 resultobj = PyInt_FromLong((long)result);
3593 return resultobj;
3594 fail:
3595 return NULL;
3596}
3597
3598
3599static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
3600 PyObject *resultobj;
3601 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3602 bool arg2 ;
3603 PyObject * obj0 = 0 ;
3604 PyObject * obj1 = 0 ;
3605 char *kwnames[] = {
3606 (char *) "self",(char *) "ignoreCase", NULL
3607 };
3608
3609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
3610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3611 arg2 = PyInt_AsLong(obj1) ? true : false;
3612 if (PyErr_Occurred()) SWIG_fail;
3613 {
3614 PyThreadState* __tstate = wxPyBeginAllowThreads();
3615 (arg1)->AutoCompSetIgnoreCase(arg2);
3616
3617 wxPyEndAllowThreads(__tstate);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
3620 Py_INCREF(Py_None); resultobj = Py_None;
3621 return resultobj;
3622 fail:
3623 return NULL;
3624}
3625
3626
3627static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
3628 PyObject *resultobj;
3629 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3630 bool result;
3631 PyObject * obj0 = 0 ;
3632 char *kwnames[] = {
3633 (char *) "self", NULL
3634 };
3635
3636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
3637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3638 {
3639 PyThreadState* __tstate = wxPyBeginAllowThreads();
3640 result = (bool)(arg1)->AutoCompGetIgnoreCase();
3641
3642 wxPyEndAllowThreads(__tstate);
3643 if (PyErr_Occurred()) SWIG_fail;
3644 }
3645 resultobj = PyInt_FromLong((long)result);
3646 return resultobj;
3647 fail:
3648 return NULL;
3649}
3650
3651
3652static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3653 PyObject *resultobj;
3654 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3655 int arg2 ;
3656 wxString *arg3 = 0 ;
e811c8ce 3657 bool temp3 = False ;
d14a1e28
RD
3658 PyObject * obj0 = 0 ;
3659 PyObject * obj2 = 0 ;
3660 char *kwnames[] = {
3661 (char *) "self",(char *) "listType",(char *) "itemList", NULL
3662 };
3663
3664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_UserListShow",kwnames,&obj0,&arg2,&obj2)) goto fail;
3665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3666 {
3667 arg3 = wxString_in_helper(obj2);
3668 if (arg3 == NULL) SWIG_fail;
e811c8ce 3669 temp3 = True;
d14a1e28
RD
3670 }
3671 {
3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
3673 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
3674
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
3678 Py_INCREF(Py_None); resultobj = Py_None;
3679 {
3680 if (temp3)
3681 delete arg3;
3682 }
3683 return resultobj;
3684 fail:
3685 {
3686 if (temp3)
3687 delete arg3;
3688 }
3689 return NULL;
3690}
3691
3692
3693static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
3694 PyObject *resultobj;
3695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3696 bool arg2 ;
3697 PyObject * obj0 = 0 ;
3698 PyObject * obj1 = 0 ;
3699 char *kwnames[] = {
3700 (char *) "self",(char *) "autoHide", NULL
3701 };
3702
3703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
3704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3705 arg2 = PyInt_AsLong(obj1) ? true : false;
3706 if (PyErr_Occurred()) SWIG_fail;
3707 {
3708 PyThreadState* __tstate = wxPyBeginAllowThreads();
3709 (arg1)->AutoCompSetAutoHide(arg2);
3710
3711 wxPyEndAllowThreads(__tstate);
3712 if (PyErr_Occurred()) SWIG_fail;
3713 }
3714 Py_INCREF(Py_None); resultobj = Py_None;
3715 return resultobj;
3716 fail:
3717 return NULL;
3718}
3719
3720
3721static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
3722 PyObject *resultobj;
3723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3724 bool result;
3725 PyObject * obj0 = 0 ;
3726 char *kwnames[] = {
3727 (char *) "self", NULL
3728 };
3729
3730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
3731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3732 {
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 result = (bool)(arg1)->AutoCompGetAutoHide();
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 }
3739 resultobj = PyInt_FromLong((long)result);
3740 return resultobj;
3741 fail:
3742 return NULL;
3743}
3744
3745
3746static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
3747 PyObject *resultobj;
3748 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3749 bool arg2 ;
3750 PyObject * obj0 = 0 ;
3751 PyObject * obj1 = 0 ;
3752 char *kwnames[] = {
3753 (char *) "self",(char *) "dropRestOfWord", NULL
3754 };
3755
3756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
3757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3758 arg2 = PyInt_AsLong(obj1) ? true : false;
3759 if (PyErr_Occurred()) SWIG_fail;
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 (arg1)->AutoCompSetDropRestOfWord(arg2);
3763
3764 wxPyEndAllowThreads(__tstate);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
3767 Py_INCREF(Py_None); resultobj = Py_None;
3768 return resultobj;
3769 fail:
3770 return NULL;
3771}
3772
3773
3774static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj;
3776 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3777 bool result;
3778 PyObject * obj0 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
3784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
3788
3789 wxPyEndAllowThreads(__tstate);
3790 if (PyErr_Occurred()) SWIG_fail;
3791 }
3792 resultobj = PyInt_FromLong((long)result);
3793 return resultobj;
3794 fail:
3795 return NULL;
3796}
3797
3798
3799static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3800 PyObject *resultobj;
3801 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3802 int arg2 ;
3803 wxBitmap *arg3 = 0 ;
3804 PyObject * obj0 = 0 ;
3805 PyObject * obj2 = 0 ;
3806 char *kwnames[] = {
3807 (char *) "self",(char *) "type",(char *) "bmp", NULL
3808 };
3809
3810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&arg2,&obj2)) goto fail;
3811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3812 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3813 if (arg3 == NULL) {
3814 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3815 }
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
3819
3820 wxPyEndAllowThreads(__tstate);
3821 if (PyErr_Occurred()) SWIG_fail;
3822 }
3823 Py_INCREF(Py_None); resultobj = Py_None;
3824 return resultobj;
3825 fail:
3826 return NULL;
3827}
3828
3829
3830static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
3831 PyObject *resultobj;
3832 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3833 PyObject * obj0 = 0 ;
3834 char *kwnames[] = {
3835 (char *) "self", NULL
3836 };
3837
3838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
3839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3840 {
3841 PyThreadState* __tstate = wxPyBeginAllowThreads();
3842 (arg1)->ClearRegisteredImages();
3843
3844 wxPyEndAllowThreads(__tstate);
3845 if (PyErr_Occurred()) SWIG_fail;
3846 }
3847 Py_INCREF(Py_None); resultobj = Py_None;
3848 return resultobj;
3849 fail:
3850 return NULL;
3851}
3852
3853
3854static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3855 PyObject *resultobj;
3856 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3857 int result;
3858 PyObject * obj0 = 0 ;
3859 char *kwnames[] = {
3860 (char *) "self", NULL
3861 };
3862
3863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
3864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3865 {
3866 PyThreadState* __tstate = wxPyBeginAllowThreads();
3867 result = (int)(arg1)->AutoCompGetTypeSeparator();
3868
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) SWIG_fail;
3871 }
3872 resultobj = PyInt_FromLong((long)result);
3873 return resultobj;
3874 fail:
3875 return NULL;
3876}
3877
3878
3879static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3880 PyObject *resultobj;
3881 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3882 int arg2 ;
3883 PyObject * obj0 = 0 ;
3884 char *kwnames[] = {
3885 (char *) "self",(char *) "separatorCharacter", NULL
3886 };
3887
3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&arg2)) goto fail;
3889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3890 {
3891 PyThreadState* __tstate = wxPyBeginAllowThreads();
3892 (arg1)->AutoCompSetTypeSeparator(arg2);
3893
3894 wxPyEndAllowThreads(__tstate);
3895 if (PyErr_Occurred()) SWIG_fail;
3896 }
3897 Py_INCREF(Py_None); resultobj = Py_None;
3898 return resultobj;
3899 fail:
3900 return NULL;
3901}
3902
3903
3904static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3905 PyObject *resultobj;
3906 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3907 int arg2 ;
3908 PyObject * obj0 = 0 ;
3909 char *kwnames[] = {
3910 (char *) "self",(char *) "indentSize", NULL
3911 };
3912
3913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetIndent",kwnames,&obj0,&arg2)) goto fail;
3914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3915 {
3916 PyThreadState* __tstate = wxPyBeginAllowThreads();
3917 (arg1)->SetIndent(arg2);
3918
3919 wxPyEndAllowThreads(__tstate);
3920 if (PyErr_Occurred()) SWIG_fail;
3921 }
3922 Py_INCREF(Py_None); resultobj = Py_None;
3923 return resultobj;
3924 fail:
3925 return NULL;
3926}
3927
3928
3929static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3930 PyObject *resultobj;
3931 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3932 int result;
3933 PyObject * obj0 = 0 ;
3934 char *kwnames[] = {
3935 (char *) "self", NULL
3936 };
3937
3938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
3939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 result = (int)(arg1)->GetIndent();
3943
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
3947 resultobj = PyInt_FromLong((long)result);
3948 return resultobj;
3949 fail:
3950 return NULL;
3951}
3952
3953
3954static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
3955 PyObject *resultobj;
3956 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3957 bool arg2 ;
3958 PyObject * obj0 = 0 ;
3959 PyObject * obj1 = 0 ;
3960 char *kwnames[] = {
3961 (char *) "self",(char *) "useTabs", NULL
3962 };
3963
3964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
3965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3966 arg2 = PyInt_AsLong(obj1) ? true : false;
3967 if (PyErr_Occurred()) SWIG_fail;
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 (arg1)->SetUseTabs(arg2);
3971
3972 wxPyEndAllowThreads(__tstate);
3973 if (PyErr_Occurred()) SWIG_fail;
3974 }
3975 Py_INCREF(Py_None); resultobj = Py_None;
3976 return resultobj;
3977 fail:
3978 return NULL;
3979}
3980
3981
3982static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
3983 PyObject *resultobj;
3984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3985 bool result;
3986 PyObject * obj0 = 0 ;
3987 char *kwnames[] = {
3988 (char *) "self", NULL
3989 };
3990
3991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
3992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3993 {
3994 PyThreadState* __tstate = wxPyBeginAllowThreads();
3995 result = (bool)(arg1)->GetUseTabs();
3996
3997 wxPyEndAllowThreads(__tstate);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
4000 resultobj = PyInt_FromLong((long)result);
4001 return resultobj;
4002 fail:
4003 return NULL;
4004}
4005
4006
4007static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4008 PyObject *resultobj;
4009 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4010 int arg2 ;
4011 int arg3 ;
4012 PyObject * obj0 = 0 ;
4013 char *kwnames[] = {
4014 (char *) "self",(char *) "line",(char *) "indentSize", NULL
4015 };
4016
4017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&arg2,&arg3)) goto fail;
4018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4019 {
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
4021 (arg1)->SetLineIndentation(arg2,arg3);
4022
4023 wxPyEndAllowThreads(__tstate);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 }
4026 Py_INCREF(Py_None); resultobj = Py_None;
4027 return resultobj;
4028 fail:
4029 return NULL;
4030}
4031
4032
4033static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4034 PyObject *resultobj;
4035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4036 int arg2 ;
4037 int result;
4038 PyObject * obj0 = 0 ;
4039 char *kwnames[] = {
4040 (char *) "self",(char *) "line", NULL
4041 };
4042
4043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&arg2)) goto fail;
4044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4045 {
4046 PyThreadState* __tstate = wxPyBeginAllowThreads();
4047 result = (int)(arg1)->GetLineIndentation(arg2);
4048
4049 wxPyEndAllowThreads(__tstate);
4050 if (PyErr_Occurred()) SWIG_fail;
4051 }
4052 resultobj = PyInt_FromLong((long)result);
4053 return resultobj;
4054 fail:
4055 return NULL;
4056}
4057
4058
4059static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4060 PyObject *resultobj;
4061 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4062 int arg2 ;
4063 int result;
4064 PyObject * obj0 = 0 ;
4065 char *kwnames[] = {
4066 (char *) "self",(char *) "line", NULL
4067 };
4068
4069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&arg2)) goto fail;
4070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4071 {
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 result = (int)(arg1)->GetLineIndentPosition(arg2);
4074
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 resultobj = PyInt_FromLong((long)result);
4079 return resultobj;
4080 fail:
4081 return NULL;
4082}
4083
4084
4085static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4086 PyObject *resultobj;
4087 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4088 int arg2 ;
4089 int result;
4090 PyObject * obj0 = 0 ;
4091 char *kwnames[] = {
4092 (char *) "self",(char *) "pos", NULL
4093 };
4094
4095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
4096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4097 {
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 result = (int)(arg1)->GetColumn(arg2);
4100
4101 wxPyEndAllowThreads(__tstate);
4102 if (PyErr_Occurred()) SWIG_fail;
4103 }
4104 resultobj = PyInt_FromLong((long)result);
4105 return resultobj;
4106 fail:
4107 return NULL;
4108}
4109
4110
4111static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject *resultobj;
4113 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4114 bool arg2 ;
4115 PyObject * obj0 = 0 ;
4116 PyObject * obj1 = 0 ;
4117 char *kwnames[] = {
4118 (char *) "self",(char *) "show", NULL
4119 };
4120
4121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
4122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4123 arg2 = PyInt_AsLong(obj1) ? true : false;
4124 if (PyErr_Occurred()) SWIG_fail;
4125 {
4126 PyThreadState* __tstate = wxPyBeginAllowThreads();
4127 (arg1)->SetUseHorizontalScrollBar(arg2);
4128
4129 wxPyEndAllowThreads(__tstate);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 }
4132 Py_INCREF(Py_None); resultobj = Py_None;
4133 return resultobj;
4134 fail:
4135 return NULL;
4136}
4137
4138
4139static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4140 PyObject *resultobj;
4141 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4142 bool result;
4143 PyObject * obj0 = 0 ;
4144 char *kwnames[] = {
4145 (char *) "self", NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
4149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 result = (bool)(arg1)->GetUseHorizontalScrollBar();
4153
4154 wxPyEndAllowThreads(__tstate);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 }
4157 resultobj = PyInt_FromLong((long)result);
4158 return resultobj;
4159 fail:
4160 return NULL;
4161}
4162
4163
4164static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4165 PyObject *resultobj;
4166 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4167 bool arg2 ;
4168 PyObject * obj0 = 0 ;
4169 PyObject * obj1 = 0 ;
4170 char *kwnames[] = {
4171 (char *) "self",(char *) "show", NULL
4172 };
4173
4174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
4175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4176 arg2 = PyInt_AsLong(obj1) ? true : false;
4177 if (PyErr_Occurred()) SWIG_fail;
4178 {
4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
4180 (arg1)->SetIndentationGuides(arg2);
4181
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 }
4185 Py_INCREF(Py_None); resultobj = Py_None;
4186 return resultobj;
4187 fail:
4188 return NULL;
4189}
4190
4191
4192static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4193 PyObject *resultobj;
4194 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4195 bool result;
4196 PyObject * obj0 = 0 ;
4197 char *kwnames[] = {
4198 (char *) "self", NULL
4199 };
4200
4201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
4202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 result = (bool)(arg1)->GetIndentationGuides();
4206
4207 wxPyEndAllowThreads(__tstate);
4208 if (PyErr_Occurred()) SWIG_fail;
4209 }
4210 resultobj = PyInt_FromLong((long)result);
4211 return resultobj;
4212 fail:
4213 return NULL;
4214}
4215
4216
4217static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4218 PyObject *resultobj;
4219 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4220 int arg2 ;
4221 PyObject * obj0 = 0 ;
4222 char *kwnames[] = {
4223 (char *) "self",(char *) "column", NULL
4224 };
4225
4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&arg2)) goto fail;
4227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4228 {
4229 PyThreadState* __tstate = wxPyBeginAllowThreads();
4230 (arg1)->SetHighlightGuide(arg2);
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 Py_INCREF(Py_None); resultobj = Py_None;
4236 return resultobj;
4237 fail:
4238 return NULL;
4239}
4240
4241
4242static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4243 PyObject *resultobj;
4244 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4245 int result;
4246 PyObject * obj0 = 0 ;
4247 char *kwnames[] = {
4248 (char *) "self", NULL
4249 };
4250
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
4252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 result = (int)(arg1)->GetHighlightGuide();
4256
4257 wxPyEndAllowThreads(__tstate);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4260 resultobj = PyInt_FromLong((long)result);
4261 return resultobj;
4262 fail:
4263 return NULL;
4264}
4265
4266
4267static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4268 PyObject *resultobj;
4269 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4270 int arg2 ;
4271 int result;
4272 PyObject * obj0 = 0 ;
4273 char *kwnames[] = {
4274 (char *) "self",(char *) "line", NULL
4275 };
4276
4277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&arg2)) goto fail;
4278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4279 {
4280 PyThreadState* __tstate = wxPyBeginAllowThreads();
4281 result = (int)(arg1)->GetLineEndPosition(arg2);
4282
4283 wxPyEndAllowThreads(__tstate);
4284 if (PyErr_Occurred()) SWIG_fail;
4285 }
4286 resultobj = PyInt_FromLong((long)result);
4287 return resultobj;
4288 fail:
4289 return NULL;
4290}
4291
4292
4293static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4294 PyObject *resultobj;
4295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4296 int result;
4297 PyObject * obj0 = 0 ;
4298 char *kwnames[] = {
4299 (char *) "self", NULL
4300 };
4301
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
4303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4304 {
4305 PyThreadState* __tstate = wxPyBeginAllowThreads();
4306 result = (int)(arg1)->GetCodePage();
4307
4308 wxPyEndAllowThreads(__tstate);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 }
4311 resultobj = PyInt_FromLong((long)result);
4312 return resultobj;
4313 fail:
4314 return NULL;
4315}
4316
4317
4318static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4319 PyObject *resultobj;
4320 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4321 wxColour result;
4322 PyObject * obj0 = 0 ;
4323 char *kwnames[] = {
4324 (char *) "self", NULL
4325 };
4326
4327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
4328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4329 {
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 result = (arg1)->GetCaretForeground();
4332
4333 wxPyEndAllowThreads(__tstate);
4334 if (PyErr_Occurred()) SWIG_fail;
4335 }
4336 {
4337 wxColour * resultptr;
4338 resultptr = new wxColour((wxColour &) result);
4339 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4340 }
4341 return resultobj;
4342 fail:
4343 return NULL;
4344}
4345
4346
4347static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj;
4349 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4350 bool result;
4351 PyObject * obj0 = 0 ;
4352 char *kwnames[] = {
4353 (char *) "self", NULL
4354 };
4355
4356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
4357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4358 {
4359 PyThreadState* __tstate = wxPyBeginAllowThreads();
4360 result = (bool)(arg1)->GetReadOnly();
4361
4362 wxPyEndAllowThreads(__tstate);
4363 if (PyErr_Occurred()) SWIG_fail;
4364 }
4365 resultobj = PyInt_FromLong((long)result);
4366 return resultobj;
4367 fail:
4368 return NULL;
4369}
4370
4371
4372static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4373 PyObject *resultobj;
4374 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4375 int arg2 ;
4376 PyObject * obj0 = 0 ;
4377 char *kwnames[] = {
4378 (char *) "self",(char *) "pos", NULL
4379 };
4380
4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&arg2)) goto fail;
4382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4383 {
4384 PyThreadState* __tstate = wxPyBeginAllowThreads();
4385 (arg1)->SetCurrentPos(arg2);
4386
4387 wxPyEndAllowThreads(__tstate);
4388 if (PyErr_Occurred()) SWIG_fail;
4389 }
4390 Py_INCREF(Py_None); resultobj = Py_None;
4391 return resultobj;
4392 fail:
4393 return NULL;
4394}
4395
4396
4397static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4398 PyObject *resultobj;
4399 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4400 int arg2 ;
4401 PyObject * obj0 = 0 ;
4402 char *kwnames[] = {
4403 (char *) "self",(char *) "pos", NULL
4404 };
4405
4406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&arg2)) goto fail;
4407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4408 {
4409 PyThreadState* __tstate = wxPyBeginAllowThreads();
4410 (arg1)->SetSelectionStart(arg2);
4411
4412 wxPyEndAllowThreads(__tstate);
4413 if (PyErr_Occurred()) SWIG_fail;
4414 }
4415 Py_INCREF(Py_None); resultobj = Py_None;
4416 return resultobj;
4417 fail:
4418 return NULL;
4419}
4420
4421
4422static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4423 PyObject *resultobj;
4424 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4425 int result;
4426 PyObject * obj0 = 0 ;
4427 char *kwnames[] = {
4428 (char *) "self", NULL
4429 };
4430
4431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
4432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4433 {
4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
4435 result = (int)(arg1)->GetSelectionStart();
4436
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) SWIG_fail;
4439 }
4440 resultobj = PyInt_FromLong((long)result);
4441 return resultobj;
4442 fail:
4443 return NULL;
4444}
4445
4446
4447static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4448 PyObject *resultobj;
4449 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4450 int arg2 ;
4451 PyObject * obj0 = 0 ;
4452 char *kwnames[] = {
4453 (char *) "self",(char *) "pos", NULL
4454 };
4455
4456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&arg2)) goto fail;
4457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4458 {
4459 PyThreadState* __tstate = wxPyBeginAllowThreads();
4460 (arg1)->SetSelectionEnd(arg2);
4461
4462 wxPyEndAllowThreads(__tstate);
4463 if (PyErr_Occurred()) SWIG_fail;
4464 }
4465 Py_INCREF(Py_None); resultobj = Py_None;
4466 return resultobj;
4467 fail:
4468 return NULL;
4469}
4470
4471
4472static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4473 PyObject *resultobj;
4474 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4475 int result;
4476 PyObject * obj0 = 0 ;
4477 char *kwnames[] = {
4478 (char *) "self", NULL
4479 };
4480
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
4482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4483 {
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
4485 result = (int)(arg1)->GetSelectionEnd();
4486
4487 wxPyEndAllowThreads(__tstate);
4488 if (PyErr_Occurred()) SWIG_fail;
4489 }
4490 resultobj = PyInt_FromLong((long)result);
4491 return resultobj;
4492 fail:
4493 return NULL;
4494}
4495
4496
4497static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
4498 PyObject *resultobj;
4499 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4500 int arg2 ;
4501 PyObject * obj0 = 0 ;
4502 char *kwnames[] = {
4503 (char *) "self",(char *) "magnification", NULL
4504 };
4505
4506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&arg2)) goto fail;
4507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4508 {
4509 PyThreadState* __tstate = wxPyBeginAllowThreads();
4510 (arg1)->SetPrintMagnification(arg2);
4511
4512 wxPyEndAllowThreads(__tstate);
4513 if (PyErr_Occurred()) SWIG_fail;
4514 }
4515 Py_INCREF(Py_None); resultobj = Py_None;
4516 return resultobj;
4517 fail:
4518 return NULL;
4519}
4520
4521
4522static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
4523 PyObject *resultobj;
4524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4525 int result;
4526 PyObject * obj0 = 0 ;
4527 char *kwnames[] = {
4528 (char *) "self", NULL
4529 };
4530
4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
4532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 result = (int)(arg1)->GetPrintMagnification();
4536
4537 wxPyEndAllowThreads(__tstate);
4538 if (PyErr_Occurred()) SWIG_fail;
4539 }
4540 resultobj = PyInt_FromLong((long)result);
4541 return resultobj;
4542 fail:
4543 return NULL;
4544}
4545
4546
4547static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4548 PyObject *resultobj;
4549 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4550 int arg2 ;
4551 PyObject * obj0 = 0 ;
4552 char *kwnames[] = {
4553 (char *) "self",(char *) "mode", NULL
4554 };
4555
4556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&arg2)) goto fail;
4557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4558 {
4559 PyThreadState* __tstate = wxPyBeginAllowThreads();
4560 (arg1)->SetPrintColourMode(arg2);
4561
4562 wxPyEndAllowThreads(__tstate);
4563 if (PyErr_Occurred()) SWIG_fail;
4564 }
4565 Py_INCREF(Py_None); resultobj = Py_None;
4566 return resultobj;
4567 fail:
4568 return NULL;
4569}
4570
4571
4572static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj;
4574 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4575 int result;
4576 PyObject * obj0 = 0 ;
4577 char *kwnames[] = {
4578 (char *) "self", NULL
4579 };
4580
4581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
4582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 result = (int)(arg1)->GetPrintColourMode();
4586
4587 wxPyEndAllowThreads(__tstate);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 resultobj = PyInt_FromLong((long)result);
4591 return resultobj;
4592 fail:
4593 return NULL;
4594}
4595
4596
4597static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
4598 PyObject *resultobj;
4599 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4600 int arg2 ;
4601 int arg3 ;
4602 wxString *arg4 = 0 ;
4603 int arg5 = (int) 0 ;
4604 int result;
e811c8ce 4605 bool temp4 = False ;
d14a1e28
RD
4606 PyObject * obj0 = 0 ;
4607 PyObject * obj3 = 0 ;
4608 char *kwnames[] = {
4609 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
4610 };
4611
4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO|i:StyledTextCtrl_FindText",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
4613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4614 {
4615 arg4 = wxString_in_helper(obj3);
4616 if (arg4 == NULL) SWIG_fail;
e811c8ce 4617 temp4 = True;
d14a1e28
RD
4618 }
4619 {
4620 PyThreadState* __tstate = wxPyBeginAllowThreads();
4621 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
4622
4623 wxPyEndAllowThreads(__tstate);
4624 if (PyErr_Occurred()) SWIG_fail;
4625 }
4626 resultobj = PyInt_FromLong((long)result);
4627 {
4628 if (temp4)
4629 delete arg4;
4630 }
4631 return resultobj;
4632 fail:
4633 {
4634 if (temp4)
4635 delete arg4;
4636 }
4637 return NULL;
4638}
4639
4640
4641static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4642 PyObject *resultobj;
4643 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4644 bool arg2 ;
4645 int arg3 ;
4646 int arg4 ;
4647 wxDC *arg5 = (wxDC *) 0 ;
4648 wxDC *arg6 = (wxDC *) 0 ;
4649 wxRect arg7 ;
4650 wxRect arg8 ;
4651 int result;
4652 wxRect *argp7 ;
4653 wxRect *argp8 ;
4654 PyObject * obj0 = 0 ;
4655 PyObject * obj1 = 0 ;
4656 PyObject * obj4 = 0 ;
4657 PyObject * obj5 = 0 ;
4658 PyObject * obj6 = 0 ;
4659 PyObject * obj7 = 0 ;
4660 char *kwnames[] = {
4661 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
4662 };
4663
4664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6,&obj7)) goto fail;
4665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4666 arg2 = PyInt_AsLong(obj1) ? true : false;
4667 if (PyErr_Occurred()) SWIG_fail;
4668 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4669 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4670 if ((SWIG_ConvertPtr(obj6,(void **) &argp7, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
4671 arg7 = *argp7;
4672 if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
4673 arg8 = *argp8;
4674 {
4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
4676 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4677
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 }
4681 resultobj = PyInt_FromLong((long)result);
4682 return resultobj;
4683 fail:
4684 return NULL;
4685}
4686
4687
4688static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4689 PyObject *resultobj;
4690 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4691 int result;
4692 PyObject * obj0 = 0 ;
4693 char *kwnames[] = {
4694 (char *) "self", NULL
4695 };
4696
4697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
4698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 result = (int)(arg1)->GetFirstVisibleLine();
4702
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 resultobj = PyInt_FromLong((long)result);
4707 return resultobj;
4708 fail:
4709 return NULL;
4710}
4711
4712
4713static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4714 PyObject *resultobj;
4715 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4716 int arg2 ;
4717 wxString result;
4718 PyObject * obj0 = 0 ;
4719 char *kwnames[] = {
4720 (char *) "self",(char *) "line", NULL
4721 };
4722
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLine",kwnames,&obj0,&arg2)) goto fail;
4724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4725 {
4726 PyThreadState* __tstate = wxPyBeginAllowThreads();
4727 result = (arg1)->GetLine(arg2);
4728
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 {
4733#if wxUSE_UNICODE
4734 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4735#else
4736 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4737#endif
4738 }
4739 return resultobj;
4740 fail:
4741 return NULL;
4742}
4743
4744
4745static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4746 PyObject *resultobj;
4747 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4748 int result;
4749 PyObject * obj0 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "self", NULL
4752 };
4753
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
4755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (int)(arg1)->GetLineCount();
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 resultobj = PyInt_FromLong((long)result);
4764 return resultobj;
4765 fail:
4766 return NULL;
4767}
4768
4769
4770static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4771 PyObject *resultobj;
4772 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4773 int arg2 ;
4774 PyObject * obj0 = 0 ;
4775 char *kwnames[] = {
4776 (char *) "self",(char *) "pixelWidth", NULL
4777 };
4778
4779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&arg2)) goto fail;
4780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4781 {
4782 PyThreadState* __tstate = wxPyBeginAllowThreads();
4783 (arg1)->SetMarginLeft(arg2);
4784
4785 wxPyEndAllowThreads(__tstate);
4786 if (PyErr_Occurred()) SWIG_fail;
4787 }
4788 Py_INCREF(Py_None); resultobj = Py_None;
4789 return resultobj;
4790 fail:
4791 return NULL;
4792}
4793
4794
4795static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4796 PyObject *resultobj;
4797 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4798 int result;
4799 PyObject * obj0 = 0 ;
4800 char *kwnames[] = {
4801 (char *) "self", NULL
4802 };
4803
4804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
4805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4806 {
4807 PyThreadState* __tstate = wxPyBeginAllowThreads();
4808 result = (int)(arg1)->GetMarginLeft();
4809
4810 wxPyEndAllowThreads(__tstate);
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 resultobj = PyInt_FromLong((long)result);
4814 return resultobj;
4815 fail:
4816 return NULL;
4817}
4818
4819
4820static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4821 PyObject *resultobj;
4822 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4823 int arg2 ;
4824 PyObject * obj0 = 0 ;
4825 char *kwnames[] = {
4826 (char *) "self",(char *) "pixelWidth", NULL
4827 };
4828
4829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&arg2)) goto fail;
4830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4831 {
4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
4833 (arg1)->SetMarginRight(arg2);
4834
4835 wxPyEndAllowThreads(__tstate);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 Py_INCREF(Py_None); resultobj = Py_None;
4839 return resultobj;
4840 fail:
4841 return NULL;
4842}
4843
4844
4845static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4846 PyObject *resultobj;
4847 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4848 int result;
4849 PyObject * obj0 = 0 ;
4850 char *kwnames[] = {
4851 (char *) "self", NULL
4852 };
4853
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
4855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 result = (int)(arg1)->GetMarginRight();
4859
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 resultobj = PyInt_FromLong((long)result);
4864 return resultobj;
4865 fail:
4866 return NULL;
4867}
4868
4869
4870static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
4871 PyObject *resultobj;
4872 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4873 bool result;
4874 PyObject * obj0 = 0 ;
4875 char *kwnames[] = {
4876 (char *) "self", NULL
4877 };
4878
4879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
4880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4881 {
4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
4883 result = (bool)(arg1)->GetModify();
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 resultobj = PyInt_FromLong((long)result);
4889 return resultobj;
4890 fail:
4891 return NULL;
4892}
4893
4894
4895static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4898 int arg2 ;
4899 int arg3 ;
4900 PyObject * obj0 = 0 ;
4901 char *kwnames[] = {
4902 (char *) "self",(char *) "start",(char *) "end", NULL
4903 };
4904
4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
4906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4907 {
4908 PyThreadState* __tstate = wxPyBeginAllowThreads();
4909 (arg1)->SetSelection(arg2,arg3);
4910
4911 wxPyEndAllowThreads(__tstate);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 Py_INCREF(Py_None); resultobj = Py_None;
4915 return resultobj;
4916 fail:
4917 return NULL;
4918}
4919
4920
4921static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
4922 PyObject *resultobj;
4923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4924 wxString result;
4925 PyObject * obj0 = 0 ;
4926 char *kwnames[] = {
4927 (char *) "self", NULL
4928 };
4929
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
4931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4932 {
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 result = (arg1)->GetSelectedText();
4935
4936 wxPyEndAllowThreads(__tstate);
4937 if (PyErr_Occurred()) SWIG_fail;
4938 }
4939 {
4940#if wxUSE_UNICODE
4941 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4942#else
4943 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4944#endif
4945 }
4946 return resultobj;
4947 fail:
4948 return NULL;
4949}
4950
4951
4952static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4953 PyObject *resultobj;
4954 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4955 int arg2 ;
4956 int arg3 ;
4957 wxString result;
4958 PyObject * obj0 = 0 ;
4959 char *kwnames[] = {
4960 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
4961 };
4962
4963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetTextRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
4964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 result = (arg1)->GetTextRange(arg2,arg3);
4968
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) SWIG_fail;
4971 }
4972 {
4973#if wxUSE_UNICODE
4974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4975#else
4976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4977#endif
4978 }
4979 return resultobj;
4980 fail:
4981 return NULL;
4982}
4983
4984
4985static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj;
4987 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4988 bool arg2 ;
4989 PyObject * obj0 = 0 ;
4990 PyObject * obj1 = 0 ;
4991 char *kwnames[] = {
4992 (char *) "self",(char *) "normal", NULL
4993 };
4994
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
4996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4997 arg2 = PyInt_AsLong(obj1) ? true : false;
4998 if (PyErr_Occurred()) SWIG_fail;
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 (arg1)->HideSelection(arg2);
5002
5003 wxPyEndAllowThreads(__tstate);
5004 if (PyErr_Occurred()) SWIG_fail;
5005 }
5006 Py_INCREF(Py_None); resultobj = Py_None;
5007 return resultobj;
5008 fail:
5009 return NULL;
5010}
5011
5012
5013static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5014 PyObject *resultobj;
5015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5016 int arg2 ;
5017 int result;
5018 PyObject * obj0 = 0 ;
5019 char *kwnames[] = {
5020 (char *) "self",(char *) "pos", NULL
5021 };
5022
5023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&arg2)) goto fail;
5024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 result = (int)(arg1)->LineFromPosition(arg2);
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 resultobj = PyInt_FromLong((long)result);
5033 return resultobj;
5034 fail:
5035 return NULL;
5036}
5037
5038
5039static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj;
5041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5042 int arg2 ;
5043 int result;
5044 PyObject * obj0 = 0 ;
5045 char *kwnames[] = {
5046 (char *) "self",(char *) "line", NULL
5047 };
5048
5049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&arg2)) goto fail;
5050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5051 {
5052 PyThreadState* __tstate = wxPyBeginAllowThreads();
5053 result = (int)(arg1)->PositionFromLine(arg2);
5054
5055 wxPyEndAllowThreads(__tstate);
5056 if (PyErr_Occurred()) SWIG_fail;
5057 }
5058 resultobj = PyInt_FromLong((long)result);
5059 return resultobj;
5060 fail:
5061 return NULL;
5062}
5063
5064
5065static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5066 PyObject *resultobj;
5067 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5068 int arg2 ;
5069 int arg3 ;
5070 PyObject * obj0 = 0 ;
5071 char *kwnames[] = {
5072 (char *) "self",(char *) "columns",(char *) "lines", NULL
5073 };
5074
5075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_LineScroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
5076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 (arg1)->LineScroll(arg2,arg3);
5080
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
5084 Py_INCREF(Py_None); resultobj = Py_None;
5085 return resultobj;
5086 fail:
5087 return NULL;
5088}
5089
5090
5091static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5092 PyObject *resultobj;
5093 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5094 PyObject * obj0 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
5100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5101 {
5102 PyThreadState* __tstate = wxPyBeginAllowThreads();
5103 (arg1)->EnsureCaretVisible();
5104
5105 wxPyEndAllowThreads(__tstate);
5106 if (PyErr_Occurred()) SWIG_fail;
5107 }
5108 Py_INCREF(Py_None); resultobj = Py_None;
5109 return resultobj;
5110 fail:
5111 return NULL;
5112}
5113
5114
5115static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5116 PyObject *resultobj;
5117 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5118 wxString *arg2 = 0 ;
e811c8ce 5119 bool temp2 = False ;
d14a1e28
RD
5120 PyObject * obj0 = 0 ;
5121 PyObject * obj1 = 0 ;
5122 char *kwnames[] = {
5123 (char *) "self",(char *) "text", NULL
5124 };
5125
5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
5127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5128 {
5129 arg2 = wxString_in_helper(obj1);
5130 if (arg2 == NULL) SWIG_fail;
e811c8ce 5131 temp2 = True;
d14a1e28
RD
5132 }
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 (arg1)->ReplaceSelection((wxString const &)*arg2);
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 Py_INCREF(Py_None); resultobj = Py_None;
5141 {
5142 if (temp2)
5143 delete arg2;
5144 }
5145 return resultobj;
5146 fail:
5147 {
5148 if (temp2)
5149 delete arg2;
5150 }
5151 return NULL;
5152}
5153
5154
5155static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5156 PyObject *resultobj;
5157 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5158 bool arg2 ;
5159 PyObject * obj0 = 0 ;
5160 PyObject * obj1 = 0 ;
5161 char *kwnames[] = {
5162 (char *) "self",(char *) "readOnly", NULL
5163 };
5164
5165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
5166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5167 arg2 = PyInt_AsLong(obj1) ? true : false;
5168 if (PyErr_Occurred()) SWIG_fail;
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 (arg1)->SetReadOnly(arg2);
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 Py_INCREF(Py_None); resultobj = Py_None;
5177 return resultobj;
5178 fail:
5179 return NULL;
5180}
5181
5182
5183static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5184 PyObject *resultobj;
5185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5186 bool result;
5187 PyObject * obj0 = 0 ;
5188 char *kwnames[] = {
5189 (char *) "self", NULL
5190 };
5191
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
5193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 result = (bool)(arg1)->CanPaste();
5197
5198 wxPyEndAllowThreads(__tstate);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 resultobj = PyInt_FromLong((long)result);
5202 return resultobj;
5203 fail:
5204 return NULL;
5205}
5206
5207
5208static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5209 PyObject *resultobj;
5210 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5211 bool result;
5212 PyObject * obj0 = 0 ;
5213 char *kwnames[] = {
5214 (char *) "self", NULL
5215 };
5216
5217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
5218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5219 {
5220 PyThreadState* __tstate = wxPyBeginAllowThreads();
5221 result = (bool)(arg1)->CanUndo();
5222
5223 wxPyEndAllowThreads(__tstate);
5224 if (PyErr_Occurred()) SWIG_fail;
5225 }
5226 resultobj = PyInt_FromLong((long)result);
5227 return resultobj;
5228 fail:
5229 return NULL;
5230}
5231
5232
5233static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
5234 PyObject *resultobj;
5235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5236 PyObject * obj0 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
5242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 (arg1)->EmptyUndoBuffer();
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 Py_INCREF(Py_None); resultobj = Py_None;
5251 return resultobj;
5252 fail:
5253 return NULL;
5254}
5255
5256
5257static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj;
5259 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5260 PyObject * obj0 = 0 ;
5261 char *kwnames[] = {
5262 (char *) "self", NULL
5263 };
5264
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
5266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 (arg1)->Undo();
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 Py_INCREF(Py_None); resultobj = Py_None;
5275 return resultobj;
5276 fail:
5277 return NULL;
5278}
5279
5280
5281static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5284 PyObject * obj0 = 0 ;
5285 char *kwnames[] = {
5286 (char *) "self", NULL
5287 };
5288
5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
5290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5291 {
5292 PyThreadState* __tstate = wxPyBeginAllowThreads();
5293 (arg1)->Cut();
5294
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 Py_INCREF(Py_None); resultobj = Py_None;
5299 return resultobj;
5300 fail:
5301 return NULL;
5302}
5303
5304
5305static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
5306 PyObject *resultobj;
5307 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5308 PyObject * obj0 = 0 ;
5309 char *kwnames[] = {
5310 (char *) "self", NULL
5311 };
5312
5313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
5314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 (arg1)->Copy();
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
5322 Py_INCREF(Py_None); resultobj = Py_None;
5323 return resultobj;
5324 fail:
5325 return NULL;
5326}
5327
5328
5329static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
5330 PyObject *resultobj;
5331 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5332 PyObject * obj0 = 0 ;
5333 char *kwnames[] = {
5334 (char *) "self", NULL
5335 };
5336
5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
5338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5339 {
5340 PyThreadState* __tstate = wxPyBeginAllowThreads();
5341 (arg1)->Paste();
5342
5343 wxPyEndAllowThreads(__tstate);
5344 if (PyErr_Occurred()) SWIG_fail;
5345 }
5346 Py_INCREF(Py_None); resultobj = Py_None;
5347 return resultobj;
5348 fail:
5349 return NULL;
5350}
5351
5352
5353static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5354 PyObject *resultobj;
5355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5356 PyObject * obj0 = 0 ;
5357 char *kwnames[] = {
5358 (char *) "self", NULL
5359 };
5360
5361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
5362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5363 {
5364 PyThreadState* __tstate = wxPyBeginAllowThreads();
5365 (arg1)->Clear();
5366
5367 wxPyEndAllowThreads(__tstate);
5368 if (PyErr_Occurred()) SWIG_fail;
5369 }
5370 Py_INCREF(Py_None); resultobj = Py_None;
5371 return resultobj;
5372 fail:
5373 return NULL;
5374}
5375
5376
5377static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5378 PyObject *resultobj;
5379 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5380 wxString *arg2 = 0 ;
e811c8ce 5381 bool temp2 = False ;
d14a1e28
RD
5382 PyObject * obj0 = 0 ;
5383 PyObject * obj1 = 0 ;
5384 char *kwnames[] = {
5385 (char *) "self",(char *) "text", NULL
5386 };
5387
5388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
5389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5390 {
5391 arg2 = wxString_in_helper(obj1);
5392 if (arg2 == NULL) SWIG_fail;
e811c8ce 5393 temp2 = True;
d14a1e28
RD
5394 }
5395 {
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 (arg1)->SetText((wxString const &)*arg2);
5398
5399 wxPyEndAllowThreads(__tstate);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 Py_INCREF(Py_None); resultobj = Py_None;
5403 {
5404 if (temp2)
5405 delete arg2;
5406 }
5407 return resultobj;
5408 fail:
5409 {
5410 if (temp2)
5411 delete arg2;
5412 }
5413 return NULL;
5414}
5415
5416
5417static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5418 PyObject *resultobj;
5419 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5420 wxString result;
5421 PyObject * obj0 = 0 ;
5422 char *kwnames[] = {
5423 (char *) "self", NULL
5424 };
5425
5426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
5427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5428 {
5429 PyThreadState* __tstate = wxPyBeginAllowThreads();
5430 result = (arg1)->GetText();
5431
5432 wxPyEndAllowThreads(__tstate);
5433 if (PyErr_Occurred()) SWIG_fail;
5434 }
5435 {
5436#if wxUSE_UNICODE
5437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5438#else
5439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5440#endif
5441 }
5442 return resultobj;
5443 fail:
5444 return NULL;
5445}
5446
5447
5448static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj;
5450 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5451 int result;
5452 PyObject * obj0 = 0 ;
5453 char *kwnames[] = {
5454 (char *) "self", NULL
5455 };
5456
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
5458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5459 {
5460 PyThreadState* __tstate = wxPyBeginAllowThreads();
5461 result = (int)(arg1)->GetTextLength();
5462
5463 wxPyEndAllowThreads(__tstate);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 }
5466 resultobj = PyInt_FromLong((long)result);
5467 return resultobj;
5468 fail:
5469 return NULL;
5470}
5471
5472
5473static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
5474 PyObject *resultobj;
5475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5476 bool arg2 ;
5477 PyObject * obj0 = 0 ;
5478 PyObject * obj1 = 0 ;
5479 char *kwnames[] = {
5480 (char *) "self",(char *) "overtype", NULL
5481 };
5482
5483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
5484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5485 arg2 = PyInt_AsLong(obj1) ? true : false;
5486 if (PyErr_Occurred()) SWIG_fail;
5487 {
5488 PyThreadState* __tstate = wxPyBeginAllowThreads();
5489 (arg1)->SetOvertype(arg2);
5490
5491 wxPyEndAllowThreads(__tstate);
5492 if (PyErr_Occurred()) SWIG_fail;
5493 }
5494 Py_INCREF(Py_None); resultobj = Py_None;
5495 return resultobj;
5496 fail:
5497 return NULL;
5498}
5499
5500
5501static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
5502 PyObject *resultobj;
5503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5504 bool result;
5505 PyObject * obj0 = 0 ;
5506 char *kwnames[] = {
5507 (char *) "self", NULL
5508 };
5509
5510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
5511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 result = (bool)(arg1)->GetOvertype();
5515
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 resultobj = PyInt_FromLong((long)result);
5520 return resultobj;
5521 fail:
5522 return NULL;
5523}
5524
5525
5526static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5527 PyObject *resultobj;
5528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5529 int arg2 ;
5530 PyObject * obj0 = 0 ;
5531 char *kwnames[] = {
5532 (char *) "self",(char *) "pixelWidth", NULL
5533 };
5534
5535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&arg2)) goto fail;
5536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5537 {
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 (arg1)->SetCaretWidth(arg2);
5540
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
5544 Py_INCREF(Py_None); resultobj = Py_None;
5545 return resultobj;
5546 fail:
5547 return NULL;
5548}
5549
5550
5551static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5552 PyObject *resultobj;
5553 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5554 int result;
5555 PyObject * obj0 = 0 ;
5556 char *kwnames[] = {
5557 (char *) "self", NULL
5558 };
5559
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
5561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5562 {
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 result = (int)(arg1)->GetCaretWidth();
5565
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 }
5569 resultobj = PyInt_FromLong((long)result);
5570 return resultobj;
5571 fail:
5572 return NULL;
5573}
5574
5575
5576static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5577 PyObject *resultobj;
5578 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5579 int arg2 ;
5580 PyObject * obj0 = 0 ;
5581 char *kwnames[] = {
5582 (char *) "self",(char *) "pos", NULL
5583 };
5584
5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&arg2)) goto fail;
5586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 (arg1)->SetTargetStart(arg2);
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 Py_INCREF(Py_None); resultobj = Py_None;
5595 return resultobj;
5596 fail:
5597 return NULL;
5598}
5599
5600
5601static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5602 PyObject *resultobj;
5603 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5604 int result;
5605 PyObject * obj0 = 0 ;
5606 char *kwnames[] = {
5607 (char *) "self", NULL
5608 };
5609
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
5611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 result = (int)(arg1)->GetTargetStart();
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 resultobj = PyInt_FromLong((long)result);
5620 return resultobj;
5621 fail:
5622 return NULL;
5623}
5624
5625
5626static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject *resultobj;
5628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5629 int arg2 ;
5630 PyObject * obj0 = 0 ;
5631 char *kwnames[] = {
5632 (char *) "self",(char *) "pos", NULL
5633 };
5634
5635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&arg2)) goto fail;
5636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 (arg1)->SetTargetEnd(arg2);
5640
5641 wxPyEndAllowThreads(__tstate);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
5644 Py_INCREF(Py_None); resultobj = Py_None;
5645 return resultobj;
5646 fail:
5647 return NULL;
5648}
5649
5650
5651static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5652 PyObject *resultobj;
5653 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5654 int result;
5655 PyObject * obj0 = 0 ;
5656 char *kwnames[] = {
5657 (char *) "self", NULL
5658 };
5659
5660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
5661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 result = (int)(arg1)->GetTargetEnd();
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 resultobj = PyInt_FromLong((long)result);
5670 return resultobj;
5671 fail:
5672 return NULL;
5673}
5674
5675
5676static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5677 PyObject *resultobj;
5678 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5679 wxString *arg2 = 0 ;
5680 int result;
e811c8ce 5681 bool temp2 = False ;
d14a1e28
RD
5682 PyObject * obj0 = 0 ;
5683 PyObject * obj1 = 0 ;
5684 char *kwnames[] = {
5685 (char *) "self",(char *) "text", NULL
5686 };
5687
5688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
5689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5690 {
5691 arg2 = wxString_in_helper(obj1);
5692 if (arg2 == NULL) SWIG_fail;
e811c8ce 5693 temp2 = True;
d14a1e28
RD
5694 }
5695 {
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
5698
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
5702 resultobj = PyInt_FromLong((long)result);
5703 {
5704 if (temp2)
5705 delete arg2;
5706 }
5707 return resultobj;
5708 fail:
5709 {
5710 if (temp2)
5711 delete arg2;
5712 }
5713 return NULL;
5714}
5715
5716
5717static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
5718 PyObject *resultobj;
5719 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5720 wxString *arg2 = 0 ;
5721 int result;
e811c8ce 5722 bool temp2 = False ;
d14a1e28
RD
5723 PyObject * obj0 = 0 ;
5724 PyObject * obj1 = 0 ;
5725 char *kwnames[] = {
5726 (char *) "self",(char *) "text", NULL
5727 };
5728
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
5730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5731 {
5732 arg2 = wxString_in_helper(obj1);
5733 if (arg2 == NULL) SWIG_fail;
e811c8ce 5734 temp2 = True;
d14a1e28
RD
5735 }
5736 {
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
5743 resultobj = PyInt_FromLong((long)result);
5744 {
5745 if (temp2)
5746 delete arg2;
5747 }
5748 return resultobj;
5749 fail:
5750 {
5751 if (temp2)
5752 delete arg2;
5753 }
5754 return NULL;
5755}
5756
5757
5758static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5759 PyObject *resultobj;
5760 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5761 wxString *arg2 = 0 ;
5762 int result;
e811c8ce 5763 bool temp2 = False ;
d14a1e28
RD
5764 PyObject * obj0 = 0 ;
5765 PyObject * obj1 = 0 ;
5766 char *kwnames[] = {
5767 (char *) "self",(char *) "text", NULL
5768 };
5769
5770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
5771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5772 {
5773 arg2 = wxString_in_helper(obj1);
5774 if (arg2 == NULL) SWIG_fail;
e811c8ce 5775 temp2 = True;
d14a1e28
RD
5776 }
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 }
5784 resultobj = PyInt_FromLong((long)result);
5785 {
5786 if (temp2)
5787 delete arg2;
5788 }
5789 return resultobj;
5790 fail:
5791 {
5792 if (temp2)
5793 delete arg2;
5794 }
5795 return NULL;
5796}
5797
5798
5799static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5800 PyObject *resultobj;
5801 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5802 int arg2 ;
5803 PyObject * obj0 = 0 ;
5804 char *kwnames[] = {
5805 (char *) "self",(char *) "flags", NULL
5806 };
5807
5808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&arg2)) goto fail;
5809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
5812 (arg1)->SetSearchFlags(arg2);
5813
5814 wxPyEndAllowThreads(__tstate);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
5817 Py_INCREF(Py_None); resultobj = Py_None;
5818 return resultobj;
5819 fail:
5820 return NULL;
5821}
5822
5823
5824static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5825 PyObject *resultobj;
5826 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5827 int result;
5828 PyObject * obj0 = 0 ;
5829 char *kwnames[] = {
5830 (char *) "self", NULL
5831 };
5832
5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
5834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
5837 result = (int)(arg1)->GetSearchFlags();
5838
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 resultobj = PyInt_FromLong((long)result);
5843 return resultobj;
5844 fail:
5845 return NULL;
5846}
5847
5848
5849static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
5850 PyObject *resultobj;
5851 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5852 int arg2 ;
5853 wxString *arg3 = 0 ;
e811c8ce 5854 bool temp3 = False ;
d14a1e28
RD
5855 PyObject * obj0 = 0 ;
5856 PyObject * obj2 = 0 ;
5857 char *kwnames[] = {
5858 (char *) "self",(char *) "pos",(char *) "definition", NULL
5859 };
5860
5861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&arg2,&obj2)) goto fail;
5862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5863 {
5864 arg3 = wxString_in_helper(obj2);
5865 if (arg3 == NULL) SWIG_fail;
e811c8ce 5866 temp3 = True;
d14a1e28
RD
5867 }
5868 {
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
5871
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
5875 Py_INCREF(Py_None); resultobj = Py_None;
5876 {
5877 if (temp3)
5878 delete arg3;
5879 }
5880 return resultobj;
5881 fail:
5882 {
5883 if (temp3)
5884 delete arg3;
5885 }
5886 return NULL;
5887}
5888
5889
5890static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj;
5892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5893 PyObject * obj0 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "self", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
5899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 (arg1)->CallTipCancel();
5903
5904 wxPyEndAllowThreads(__tstate);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 Py_INCREF(Py_None); resultobj = Py_None;
5908 return resultobj;
5909 fail:
5910 return NULL;
5911}
5912
5913
5914static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
5915 PyObject *resultobj;
5916 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5917 bool result;
5918 PyObject * obj0 = 0 ;
5919 char *kwnames[] = {
5920 (char *) "self", NULL
5921 };
5922
5923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
5924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5925 {
5926 PyThreadState* __tstate = wxPyBeginAllowThreads();
5927 result = (bool)(arg1)->CallTipActive();
5928
5929 wxPyEndAllowThreads(__tstate);
5930 if (PyErr_Occurred()) SWIG_fail;
5931 }
5932 resultobj = PyInt_FromLong((long)result);
5933 return resultobj;
5934 fail:
5935 return NULL;
5936}
5937
5938
5939static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5940 PyObject *resultobj;
5941 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5942 int result;
5943 PyObject * obj0 = 0 ;
5944 char *kwnames[] = {
5945 (char *) "self", NULL
5946 };
5947
5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
5949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5950 {
5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
5952 result = (int)(arg1)->CallTipPosAtStart();
5953
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
5957 resultobj = PyInt_FromLong((long)result);
5958 return resultobj;
5959 fail:
5960 return NULL;
5961}
5962
5963
5964static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
5965 PyObject *resultobj;
5966 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5967 int arg2 ;
5968 int arg3 ;
5969 PyObject * obj0 = 0 ;
5970 char *kwnames[] = {
5971 (char *) "self",(char *) "start",(char *) "end", NULL
5972 };
5973
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&arg2,&arg3)) goto fail;
5975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
5978 (arg1)->CallTipSetHighlight(arg2,arg3);
5979
5980 wxPyEndAllowThreads(__tstate);
5981 if (PyErr_Occurred()) SWIG_fail;
5982 }
5983 Py_INCREF(Py_None); resultobj = Py_None;
5984 return resultobj;
5985 fail:
5986 return NULL;
5987}
5988
5989
5990static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
5991 PyObject *resultobj;
5992 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5993 wxColour *arg2 = 0 ;
5994 wxColour temp2 ;
5995 PyObject * obj0 = 0 ;
5996 PyObject * obj1 = 0 ;
5997 char *kwnames[] = {
5998 (char *) "self",(char *) "back", NULL
5999 };
6000
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
6002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6003 {
6004 arg2 = &temp2;
6005 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6006 }
6007 {
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
6010
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
6014 Py_INCREF(Py_None); resultobj = Py_None;
6015 return resultobj;
6016 fail:
6017 return NULL;
6018}
6019
6020
6021static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
6022 PyObject *resultobj;
6023 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6024 wxColour *arg2 = 0 ;
6025 wxColour temp2 ;
6026 PyObject * obj0 = 0 ;
6027 PyObject * obj1 = 0 ;
6028 char *kwnames[] = {
6029 (char *) "self",(char *) "fore", NULL
6030 };
6031
6032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
6033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6034 {
6035 arg2 = &temp2;
6036 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6037 }
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
6041
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 Py_INCREF(Py_None); resultobj = Py_None;
6046 return resultobj;
6047 fail:
6048 return NULL;
6049}
6050
6051
6052static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj;
6054 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6055 wxColour *arg2 = 0 ;
6056 wxColour temp2 ;
6057 PyObject * obj0 = 0 ;
6058 PyObject * obj1 = 0 ;
6059 char *kwnames[] = {
6060 (char *) "self",(char *) "fore", NULL
6061 };
6062
6063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
6064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6065 {
6066 arg2 = &temp2;
6067 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6068 }
6069 {
6070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6071 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
6072
6073 wxPyEndAllowThreads(__tstate);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 Py_INCREF(Py_None); resultobj = Py_None;
6077 return resultobj;
6078 fail:
6079 return NULL;
6080}
6081
6082
6083static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6084 PyObject *resultobj;
6085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6086 int arg2 ;
6087 int result;
6088 PyObject * obj0 = 0 ;
6089 char *kwnames[] = {
6090 (char *) "self",(char *) "line", NULL
6091 };
6092
6093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&arg2)) goto fail;
6094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6095 {
6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
6097 result = (int)(arg1)->VisibleFromDocLine(arg2);
6098
6099 wxPyEndAllowThreads(__tstate);
6100 if (PyErr_Occurred()) SWIG_fail;
6101 }
6102 resultobj = PyInt_FromLong((long)result);
6103 return resultobj;
6104 fail:
6105 return NULL;
6106}
6107
6108
6109static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6110 PyObject *resultobj;
6111 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6112 int arg2 ;
6113 int result;
6114 PyObject * obj0 = 0 ;
6115 char *kwnames[] = {
6116 (char *) "self",(char *) "lineDisplay", NULL
6117 };
6118
6119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&arg2)) goto fail;
6120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (int)(arg1)->DocLineFromVisible(arg2);
6124
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 resultobj = PyInt_FromLong((long)result);
6129 return resultobj;
6130 fail:
6131 return NULL;
6132}
6133
6134
6135static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6136 PyObject *resultobj;
6137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6138 int arg2 ;
6139 int arg3 ;
6140 PyObject * obj0 = 0 ;
6141 char *kwnames[] = {
6142 (char *) "self",(char *) "line",(char *) "level", NULL
6143 };
6144
6145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&arg2,&arg3)) goto fail;
6146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6147 {
6148 PyThreadState* __tstate = wxPyBeginAllowThreads();
6149 (arg1)->SetFoldLevel(arg2,arg3);
6150
6151 wxPyEndAllowThreads(__tstate);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
6154 Py_INCREF(Py_None); resultobj = Py_None;
6155 return resultobj;
6156 fail:
6157 return NULL;
6158}
6159
6160
6161static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6162 PyObject *resultobj;
6163 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6164 int arg2 ;
6165 int result;
6166 PyObject * obj0 = 0 ;
6167 char *kwnames[] = {
6168 (char *) "self",(char *) "line", NULL
6169 };
6170
6171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&arg2)) goto fail;
6172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6173 {
6174 PyThreadState* __tstate = wxPyBeginAllowThreads();
6175 result = (int)(arg1)->GetFoldLevel(arg2);
6176
6177 wxPyEndAllowThreads(__tstate);
6178 if (PyErr_Occurred()) SWIG_fail;
6179 }
6180 resultobj = PyInt_FromLong((long)result);
6181 return resultobj;
6182 fail:
6183 return NULL;
6184}
6185
6186
6187static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6188 PyObject *resultobj;
6189 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6190 int arg2 ;
6191 int arg3 ;
6192 int result;
6193 PyObject * obj0 = 0 ;
6194 char *kwnames[] = {
6195 (char *) "self",(char *) "line",(char *) "level", NULL
6196 };
6197
6198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetLastChild",kwnames,&obj0,&arg2,&arg3)) goto fail;
6199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6200 {
6201 PyThreadState* __tstate = wxPyBeginAllowThreads();
6202 result = (int)(arg1)->GetLastChild(arg2,arg3);
6203
6204 wxPyEndAllowThreads(__tstate);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 }
6207 resultobj = PyInt_FromLong((long)result);
6208 return resultobj;
6209 fail:
6210 return NULL;
6211}
6212
6213
6214static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
6215 PyObject *resultobj;
6216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6217 int arg2 ;
6218 int result;
6219 PyObject * obj0 = 0 ;
6220 char *kwnames[] = {
6221 (char *) "self",(char *) "line", NULL
6222 };
6223
6224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&arg2)) goto fail;
6225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6226 {
6227 PyThreadState* __tstate = wxPyBeginAllowThreads();
6228 result = (int)(arg1)->GetFoldParent(arg2);
6229
6230 wxPyEndAllowThreads(__tstate);
6231 if (PyErr_Occurred()) SWIG_fail;
6232 }
6233 resultobj = PyInt_FromLong((long)result);
6234 return resultobj;
6235 fail:
6236 return NULL;
6237}
6238
6239
6240static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6241 PyObject *resultobj;
6242 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6243 int arg2 ;
6244 int arg3 ;
6245 PyObject * obj0 = 0 ;
6246 char *kwnames[] = {
6247 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
6248 };
6249
6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_ShowLines",kwnames,&obj0,&arg2,&arg3)) goto fail;
6251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6252 {
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 (arg1)->ShowLines(arg2,arg3);
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 Py_INCREF(Py_None); resultobj = Py_None;
6260 return resultobj;
6261 fail:
6262 return NULL;
6263}
6264
6265
6266static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj;
6268 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6269 int arg2 ;
6270 int arg3 ;
6271 PyObject * obj0 = 0 ;
6272 char *kwnames[] = {
6273 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
6274 };
6275
6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_HideLines",kwnames,&obj0,&arg2,&arg3)) goto fail;
6277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
6280 (arg1)->HideLines(arg2,arg3);
6281
6282 wxPyEndAllowThreads(__tstate);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
6285 Py_INCREF(Py_None); resultobj = Py_None;
6286 return resultobj;
6287 fail:
6288 return NULL;
6289}
6290
6291
6292static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj;
6294 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6295 int arg2 ;
6296 bool result;
6297 PyObject * obj0 = 0 ;
6298 char *kwnames[] = {
6299 (char *) "self",(char *) "line", NULL
6300 };
6301
6302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&arg2)) goto fail;
6303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6304 {
6305 PyThreadState* __tstate = wxPyBeginAllowThreads();
6306 result = (bool)(arg1)->GetLineVisible(arg2);
6307
6308 wxPyEndAllowThreads(__tstate);
6309 if (PyErr_Occurred()) SWIG_fail;
6310 }
6311 resultobj = PyInt_FromLong((long)result);
6312 return resultobj;
6313 fail:
6314 return NULL;
6315}
6316
6317
6318static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
6319 PyObject *resultobj;
6320 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6321 int arg2 ;
6322 bool arg3 ;
6323 PyObject * obj0 = 0 ;
6324 PyObject * obj2 = 0 ;
6325 char *kwnames[] = {
6326 (char *) "self",(char *) "line",(char *) "expanded", NULL
6327 };
6328
6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&arg2,&obj2)) goto fail;
6330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6331 arg3 = PyInt_AsLong(obj2) ? true : false;
6332 if (PyErr_Occurred()) SWIG_fail;
6333 {
6334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6335 (arg1)->SetFoldExpanded(arg2,arg3);
6336
6337 wxPyEndAllowThreads(__tstate);
6338 if (PyErr_Occurred()) SWIG_fail;
6339 }
6340 Py_INCREF(Py_None); resultobj = Py_None;
6341 return resultobj;
6342 fail:
6343 return NULL;
6344}
6345
6346
6347static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
6348 PyObject *resultobj;
6349 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6350 int arg2 ;
6351 bool result;
6352 PyObject * obj0 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "self",(char *) "line", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&arg2)) goto fail;
6358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 result = (bool)(arg1)->GetFoldExpanded(arg2);
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 }
6366 resultobj = PyInt_FromLong((long)result);
6367 return resultobj;
6368 fail:
6369 return NULL;
6370}
6371
6372
6373static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6376 int arg2 ;
6377 PyObject * obj0 = 0 ;
6378 char *kwnames[] = {
6379 (char *) "self",(char *) "line", NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ToggleFold",kwnames,&obj0,&arg2)) goto fail;
6383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 (arg1)->ToggleFold(arg2);
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 Py_INCREF(Py_None); resultobj = Py_None;
6392 return resultobj;
6393 fail:
6394 return NULL;
6395}
6396
6397
6398static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6399 PyObject *resultobj;
6400 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6401 int arg2 ;
6402 PyObject * obj0 = 0 ;
6403 char *kwnames[] = {
6404 (char *) "self",(char *) "line", NULL
6405 };
6406
6407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
6408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6409 {
6410 PyThreadState* __tstate = wxPyBeginAllowThreads();
6411 (arg1)->EnsureVisible(arg2);
6412
6413 wxPyEndAllowThreads(__tstate);
6414 if (PyErr_Occurred()) SWIG_fail;
6415 }
6416 Py_INCREF(Py_None); resultobj = Py_None;
6417 return resultobj;
6418 fail:
6419 return NULL;
6420}
6421
6422
6423static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6424 PyObject *resultobj;
6425 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6426 int arg2 ;
6427 PyObject * obj0 = 0 ;
6428 char *kwnames[] = {
6429 (char *) "self",(char *) "flags", NULL
6430 };
6431
6432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&arg2)) goto fail;
6433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6434 {
6435 PyThreadState* __tstate = wxPyBeginAllowThreads();
6436 (arg1)->SetFoldFlags(arg2);
6437
6438 wxPyEndAllowThreads(__tstate);
6439 if (PyErr_Occurred()) SWIG_fail;
6440 }
6441 Py_INCREF(Py_None); resultobj = Py_None;
6442 return resultobj;
6443 fail:
6444 return NULL;
6445}
6446
6447
6448static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
6449 PyObject *resultobj;
6450 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6451 int arg2 ;
6452 PyObject * obj0 = 0 ;
6453 char *kwnames[] = {
6454 (char *) "self",(char *) "line", NULL
6455 };
6456
6457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&arg2)) goto fail;
6458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6459 {
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 (arg1)->EnsureVisibleEnforcePolicy(arg2);
6462
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 Py_INCREF(Py_None); resultobj = Py_None;
6467 return resultobj;
6468 fail:
6469 return NULL;
6470}
6471
6472
6473static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6474 PyObject *resultobj;
6475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6476 bool arg2 ;
6477 PyObject * obj0 = 0 ;
6478 PyObject * obj1 = 0 ;
6479 char *kwnames[] = {
6480 (char *) "self",(char *) "tabIndents", NULL
6481 };
6482
6483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
6484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6485 arg2 = PyInt_AsLong(obj1) ? true : false;
6486 if (PyErr_Occurred()) SWIG_fail;
6487 {
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 (arg1)->SetTabIndents(arg2);
6490
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 Py_INCREF(Py_None); resultobj = Py_None;
6495 return resultobj;
6496 fail:
6497 return NULL;
6498}
6499
6500
6501static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6502 PyObject *resultobj;
6503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6504 bool result;
6505 PyObject * obj0 = 0 ;
6506 char *kwnames[] = {
6507 (char *) "self", NULL
6508 };
6509
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
6511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 result = (bool)(arg1)->GetTabIndents();
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 resultobj = PyInt_FromLong((long)result);
6520 return resultobj;
6521 fail:
6522 return NULL;
6523}
6524
6525
6526static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6527 PyObject *resultobj;
6528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6529 bool arg2 ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 char *kwnames[] = {
6533 (char *) "self",(char *) "bsUnIndents", NULL
6534 };
6535
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
6537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6538 arg2 = PyInt_AsLong(obj1) ? true : false;
6539 if (PyErr_Occurred()) SWIG_fail;
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 (arg1)->SetBackSpaceUnIndents(arg2);
6543
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 Py_INCREF(Py_None); resultobj = Py_None;
6548 return resultobj;
6549 fail:
6550 return NULL;
6551}
6552
6553
6554static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject *resultobj;
6556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6557 bool result;
6558 PyObject * obj0 = 0 ;
6559 char *kwnames[] = {
6560 (char *) "self", NULL
6561 };
6562
6563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
6564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6565 {
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 result = (bool)(arg1)->GetBackSpaceUnIndents();
6568
6569 wxPyEndAllowThreads(__tstate);
6570 if (PyErr_Occurred()) SWIG_fail;
6571 }
6572 resultobj = PyInt_FromLong((long)result);
6573 return resultobj;
6574 fail:
6575 return NULL;
6576}
6577
6578
6579static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6580 PyObject *resultobj;
6581 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6582 int arg2 ;
6583 PyObject * obj0 = 0 ;
6584 char *kwnames[] = {
6585 (char *) "self",(char *) "periodMilliseconds", NULL
6586 };
6587
6588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&arg2)) goto fail;
6589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6590 {
6591 PyThreadState* __tstate = wxPyBeginAllowThreads();
6592 (arg1)->SetMouseDwellTime(arg2);
6593
6594 wxPyEndAllowThreads(__tstate);
6595 if (PyErr_Occurred()) SWIG_fail;
6596 }
6597 Py_INCREF(Py_None); resultobj = Py_None;
6598 return resultobj;
6599 fail:
6600 return NULL;
6601}
6602
6603
6604static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6605 PyObject *resultobj;
6606 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6607 int result;
6608 PyObject * obj0 = 0 ;
6609 char *kwnames[] = {
6610 (char *) "self", NULL
6611 };
6612
6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
6614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6615 {
6616 PyThreadState* __tstate = wxPyBeginAllowThreads();
6617 result = (int)(arg1)->GetMouseDwellTime();
6618
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 resultobj = PyInt_FromLong((long)result);
6623 return resultobj;
6624 fail:
6625 return NULL;
6626}
6627
6628
6629static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6630 PyObject *resultobj;
6631 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6632 int arg2 ;
6633 bool arg3 ;
6634 int result;
6635 PyObject * obj0 = 0 ;
6636 PyObject * obj2 = 0 ;
6637 char *kwnames[] = {
6638 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
6639 };
6640
6641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
6642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6643 arg3 = PyInt_AsLong(obj2) ? true : false;
6644 if (PyErr_Occurred()) SWIG_fail;
6645 {
6646 PyThreadState* __tstate = wxPyBeginAllowThreads();
6647 result = (int)(arg1)->WordStartPosition(arg2,arg3);
6648
6649 wxPyEndAllowThreads(__tstate);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
6652 resultobj = PyInt_FromLong((long)result);
6653 return resultobj;
6654 fail:
6655 return NULL;
6656}
6657
6658
6659static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6660 PyObject *resultobj;
6661 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6662 int arg2 ;
6663 bool arg3 ;
6664 int result;
6665 PyObject * obj0 = 0 ;
6666 PyObject * obj2 = 0 ;
6667 char *kwnames[] = {
6668 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
6672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6673 arg3 = PyInt_AsLong(obj2) ? true : false;
6674 if (PyErr_Occurred()) SWIG_fail;
6675 {
6676 PyThreadState* __tstate = wxPyBeginAllowThreads();
6677 result = (int)(arg1)->WordEndPosition(arg2,arg3);
6678
6679 wxPyEndAllowThreads(__tstate);
6680 if (PyErr_Occurred()) SWIG_fail;
6681 }
6682 resultobj = PyInt_FromLong((long)result);
6683 return resultobj;
6684 fail:
6685 return NULL;
6686}
6687
6688
6689static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6690 PyObject *resultobj;
6691 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6692 int arg2 ;
6693 PyObject * obj0 = 0 ;
6694 char *kwnames[] = {
6695 (char *) "self",(char *) "mode", NULL
6696 };
6697
6698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&arg2)) goto fail;
6699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6700 {
6701 PyThreadState* __tstate = wxPyBeginAllowThreads();
6702 (arg1)->SetWrapMode(arg2);
6703
6704 wxPyEndAllowThreads(__tstate);
6705 if (PyErr_Occurred()) SWIG_fail;
6706 }
6707 Py_INCREF(Py_None); resultobj = Py_None;
6708 return resultobj;
6709 fail:
6710 return NULL;
6711}
6712
6713
6714static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6715 PyObject *resultobj;
6716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6717 int result;
6718 PyObject * obj0 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
6724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6725 {
6726 PyThreadState* __tstate = wxPyBeginAllowThreads();
6727 result = (int)(arg1)->GetWrapMode();
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
6732 resultobj = PyInt_FromLong((long)result);
6733 return resultobj;
6734 fail:
6735 return NULL;
6736}
6737
6738
6739static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj;
6741 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6742 int arg2 ;
6743 PyObject * obj0 = 0 ;
6744 char *kwnames[] = {
6745 (char *) "self",(char *) "mode", NULL
6746 };
6747
6748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&arg2)) goto fail;
6749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6750 {
6751 PyThreadState* __tstate = wxPyBeginAllowThreads();
6752 (arg1)->SetLayoutCache(arg2);
6753
6754 wxPyEndAllowThreads(__tstate);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 }
6757 Py_INCREF(Py_None); resultobj = Py_None;
6758 return resultobj;
6759 fail:
6760 return NULL;
6761}
6762
6763
6764static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
6765 PyObject *resultobj;
6766 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6767 int result;
6768 PyObject * obj0 = 0 ;
6769 char *kwnames[] = {
6770 (char *) "self", NULL
6771 };
6772
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
6774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 result = (int)(arg1)->GetLayoutCache();
6778
6779 wxPyEndAllowThreads(__tstate);
6780 if (PyErr_Occurred()) SWIG_fail;
6781 }
6782 resultobj = PyInt_FromLong((long)result);
6783 return resultobj;
6784 fail:
6785 return NULL;
6786}
6787
6788
6789static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6790 PyObject *resultobj;
6791 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6792 int arg2 ;
6793 PyObject * obj0 = 0 ;
6794 char *kwnames[] = {
6795 (char *) "self",(char *) "pixelWidth", NULL
6796 };
6797
6798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&arg2)) goto fail;
6799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6800 {
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 (arg1)->SetScrollWidth(arg2);
6803
6804 wxPyEndAllowThreads(__tstate);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 }
6807 Py_INCREF(Py_None); resultobj = Py_None;
6808 return resultobj;
6809 fail:
6810 return NULL;
6811}
6812
6813
6814static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6815 PyObject *resultobj;
6816 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6817 int result;
6818 PyObject * obj0 = 0 ;
6819 char *kwnames[] = {
6820 (char *) "self", NULL
6821 };
6822
6823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
6824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6825 {
6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6827 result = (int)(arg1)->GetScrollWidth();
6828
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 }
6832 resultobj = PyInt_FromLong((long)result);
6833 return resultobj;
6834 fail:
6835 return NULL;
6836}
6837
6838
6839static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6840 PyObject *resultobj;
6841 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6842 int arg2 ;
6843 wxString *arg3 = 0 ;
6844 int result;
e811c8ce 6845 bool temp3 = False ;
d14a1e28
RD
6846 PyObject * obj0 = 0 ;
6847 PyObject * obj2 = 0 ;
6848 char *kwnames[] = {
6849 (char *) "self",(char *) "style",(char *) "text", NULL
6850 };
6851
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_TextWidth",kwnames,&obj0,&arg2,&obj2)) goto fail;
6853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6854 {
6855 arg3 = wxString_in_helper(obj2);
6856 if (arg3 == NULL) SWIG_fail;
e811c8ce 6857 temp3 = True;
d14a1e28
RD
6858 }
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 resultobj = PyInt_FromLong((long)result);
6867 {
6868 if (temp3)
6869 delete arg3;
6870 }
6871 return resultobj;
6872 fail:
6873 {
6874 if (temp3)
6875 delete arg3;
6876 }
6877 return NULL;
6878}
6879
6880
6881static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6882 PyObject *resultobj;
6883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6884 bool arg2 ;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self",(char *) "endAtLastLine", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
6892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6893 arg2 = PyInt_AsLong(obj1) ? true : false;
6894 if (PyErr_Occurred()) SWIG_fail;
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 (arg1)->SetEndAtLastLine(arg2);
6898
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 Py_INCREF(Py_None); resultobj = Py_None;
6903 return resultobj;
6904 fail:
6905 return NULL;
6906}
6907
6908
6909static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6910 PyObject *resultobj;
6911 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6912 int result;
6913 PyObject * obj0 = 0 ;
6914 char *kwnames[] = {
6915 (char *) "self", NULL
6916 };
6917
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
6919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6920 {
6921 PyThreadState* __tstate = wxPyBeginAllowThreads();
6922 result = (int)(arg1)->GetEndAtLastLine();
6923
6924 wxPyEndAllowThreads(__tstate);
6925 if (PyErr_Occurred()) SWIG_fail;
6926 }
6927 resultobj = PyInt_FromLong((long)result);
6928 return resultobj;
6929 fail:
6930 return NULL;
6931}
6932
6933
6934static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6935 PyObject *resultobj;
6936 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6937 int arg2 ;
6938 int result;
6939 PyObject * obj0 = 0 ;
6940 char *kwnames[] = {
6941 (char *) "self",(char *) "line", NULL
6942 };
6943
6944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_TextHeight",kwnames,&obj0,&arg2)) goto fail;
6945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6946 {
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 result = (int)(arg1)->TextHeight(arg2);
6949
6950 wxPyEndAllowThreads(__tstate);
6951 if (PyErr_Occurred()) SWIG_fail;
6952 }
6953 resultobj = PyInt_FromLong((long)result);
6954 return resultobj;
6955 fail:
6956 return NULL;
6957}
6958
6959
6960static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6963 bool arg2 ;
6964 PyObject * obj0 = 0 ;
6965 PyObject * obj1 = 0 ;
6966 char *kwnames[] = {
6967 (char *) "self",(char *) "show", NULL
6968 };
6969
6970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
6971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6972 arg2 = PyInt_AsLong(obj1) ? true : false;
6973 if (PyErr_Occurred()) SWIG_fail;
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 (arg1)->SetUseVerticalScrollBar(arg2);
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 Py_INCREF(Py_None); resultobj = Py_None;
6982 return resultobj;
6983 fail:
6984 return NULL;
6985}
6986
6987
6988static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6991 bool result;
6992 PyObject * obj0 = 0 ;
6993 char *kwnames[] = {
6994 (char *) "self", NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
6998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 result = (bool)(arg1)->GetUseVerticalScrollBar();
7002
7003 wxPyEndAllowThreads(__tstate);
7004 if (PyErr_Occurred()) SWIG_fail;
7005 }
7006 resultobj = PyInt_FromLong((long)result);
7007 return resultobj;
7008 fail:
7009 return NULL;
7010}
7011
7012
7013static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7014 PyObject *resultobj;
7015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7016 int arg2 ;
7017 wxString *arg3 = 0 ;
e811c8ce 7018 bool temp3 = False ;
d14a1e28
RD
7019 PyObject * obj0 = 0 ;
7020 PyObject * obj2 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "self",(char *) "length",(char *) "text", NULL
7023 };
7024
7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_AppendText",kwnames,&obj0,&arg2,&obj2)) goto fail;
7026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7027 {
7028 arg3 = wxString_in_helper(obj2);
7029 if (arg3 == NULL) SWIG_fail;
e811c8ce 7030 temp3 = True;
d14a1e28
RD
7031 }
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 (arg1)->AppendText(arg2,(wxString const &)*arg3);
7035
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
7039 Py_INCREF(Py_None); resultobj = Py_None;
7040 {
7041 if (temp3)
7042 delete arg3;
7043 }
7044 return resultobj;
7045 fail:
7046 {
7047 if (temp3)
7048 delete arg3;
7049 }
7050 return NULL;
7051}
7052
7053
7054static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7055 PyObject *resultobj;
7056 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7057 bool result;
7058 PyObject * obj0 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "self", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
7064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 result = (bool)(arg1)->GetTwoPhaseDraw();
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 resultobj = PyInt_FromLong((long)result);
7073 return resultobj;
7074 fail:
7075 return NULL;
7076}
7077
7078
7079static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7080 PyObject *resultobj;
7081 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7082 bool arg2 ;
7083 PyObject * obj0 = 0 ;
7084 PyObject * obj1 = 0 ;
7085 char *kwnames[] = {
7086 (char *) "self",(char *) "twoPhase", NULL
7087 };
7088
7089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
7090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7091 arg2 = PyInt_AsLong(obj1) ? true : false;
7092 if (PyErr_Occurred()) SWIG_fail;
7093 {
7094 PyThreadState* __tstate = wxPyBeginAllowThreads();
7095 (arg1)->SetTwoPhaseDraw(arg2);
7096
7097 wxPyEndAllowThreads(__tstate);
7098 if (PyErr_Occurred()) SWIG_fail;
7099 }
7100 Py_INCREF(Py_None); resultobj = Py_None;
7101 return resultobj;
7102 fail:
7103 return NULL;
7104}
7105
7106
7107static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7108 PyObject *resultobj;
7109 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7110 PyObject * obj0 = 0 ;
7111 char *kwnames[] = {
7112 (char *) "self", NULL
7113 };
7114
7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
7116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7117 {
7118 PyThreadState* __tstate = wxPyBeginAllowThreads();
7119 (arg1)->TargetFromSelection();
7120
7121 wxPyEndAllowThreads(__tstate);
7122 if (PyErr_Occurred()) SWIG_fail;
7123 }
7124 Py_INCREF(Py_None); resultobj = Py_None;
7125 return resultobj;
7126 fail:
7127 return NULL;
7128}
7129
7130
7131static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
7132 PyObject *resultobj;
7133 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7134 PyObject * obj0 = 0 ;
7135 char *kwnames[] = {
7136 (char *) "self", NULL
7137 };
7138
7139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
7140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
7143 (arg1)->LinesJoin();
7144
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 Py_INCREF(Py_None); resultobj = Py_None;
7149 return resultobj;
7150 fail:
7151 return NULL;
7152}
7153
7154
7155static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
7156 PyObject *resultobj;
7157 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7158 int arg2 ;
7159 PyObject * obj0 = 0 ;
7160 char *kwnames[] = {
7161 (char *) "self",(char *) "pixelWidth", NULL
7162 };
7163
7164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LinesSplit",kwnames,&obj0,&arg2)) goto fail;
7165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 (arg1)->LinesSplit(arg2);
7169
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 Py_INCREF(Py_None); resultobj = Py_None;
7174 return resultobj;
7175 fail:
7176 return NULL;
7177}
7178
7179
7180static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7181 PyObject *resultobj;
7182 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7183 bool arg2 ;
7184 wxColour *arg3 = 0 ;
7185 wxColour temp3 ;
7186 PyObject * obj0 = 0 ;
7187 PyObject * obj1 = 0 ;
7188 PyObject * obj2 = 0 ;
7189 char *kwnames[] = {
7190 (char *) "self",(char *) "useSetting",(char *) "back", NULL
7191 };
7192
7193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7195 arg2 = PyInt_AsLong(obj1) ? true : false;
7196 if (PyErr_Occurred()) SWIG_fail;
7197 {
7198 arg3 = &temp3;
7199 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7200 }
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 Py_INCREF(Py_None); resultobj = Py_None;
7209 return resultobj;
7210 fail:
7211 return NULL;
7212}
7213
7214
7215static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7216 PyObject *resultobj;
7217 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7218 bool arg2 ;
7219 wxColour *arg3 = 0 ;
7220 wxColour temp3 ;
7221 PyObject * obj0 = 0 ;
7222 PyObject * obj1 = 0 ;
7223 PyObject * obj2 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7230 arg2 = PyInt_AsLong(obj1) ? true : false;
7231 if (PyErr_Occurred()) SWIG_fail;
7232 {
7233 arg3 = &temp3;
7234 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7235 }
7236 {
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
7239
7240 wxPyEndAllowThreads(__tstate);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 Py_INCREF(Py_None); resultobj = Py_None;
7244 return resultobj;
7245 fail:
7246 return NULL;
7247}
7248
7249
7250static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
7251 PyObject *resultobj;
7252 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7253 PyObject * obj0 = 0 ;
7254 char *kwnames[] = {
7255 (char *) "self", NULL
7256 };
7257
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
7259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 (arg1)->LineDuplicate();
7263
7264 wxPyEndAllowThreads(__tstate);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 }
7267 Py_INCREF(Py_None); resultobj = Py_None;
7268 return resultobj;
7269 fail:
7270 return NULL;
7271}
7272
7273
7274static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
7275 PyObject *resultobj;
7276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7277 PyObject * obj0 = 0 ;
7278 char *kwnames[] = {
7279 (char *) "self", NULL
7280 };
7281
7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
7283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7284 {
7285 PyThreadState* __tstate = wxPyBeginAllowThreads();
7286 (arg1)->HomeDisplay();
7287
7288 wxPyEndAllowThreads(__tstate);
7289 if (PyErr_Occurred()) SWIG_fail;
7290 }
7291 Py_INCREF(Py_None); resultobj = Py_None;
7292 return resultobj;
7293 fail:
7294 return NULL;
7295}
7296
7297
7298static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
7299 PyObject *resultobj;
7300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7301 PyObject * obj0 = 0 ;
7302 char *kwnames[] = {
7303 (char *) "self", NULL
7304 };
7305
7306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
7307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7308 {
7309 PyThreadState* __tstate = wxPyBeginAllowThreads();
7310 (arg1)->HomeDisplayExtend();
7311
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 Py_INCREF(Py_None); resultobj = Py_None;
7316 return resultobj;
7317 fail:
7318 return NULL;
7319}
7320
7321
7322static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
7323 PyObject *resultobj;
7324 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7325 PyObject * obj0 = 0 ;
7326 char *kwnames[] = {
7327 (char *) "self", NULL
7328 };
7329
7330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
7331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7332 {
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 (arg1)->LineEndDisplay();
7335
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 Py_INCREF(Py_None); resultobj = Py_None;
7340 return resultobj;
7341 fail:
7342 return NULL;
7343}
7344
7345
7346static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7349 PyObject * obj0 = 0 ;
7350 char *kwnames[] = {
7351 (char *) "self", NULL
7352 };
7353
7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
7355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7356 {
7357 PyThreadState* __tstate = wxPyBeginAllowThreads();
7358 (arg1)->LineEndDisplayExtend();
7359
7360 wxPyEndAllowThreads(__tstate);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 }
7363 Py_INCREF(Py_None); resultobj = Py_None;
7364 return resultobj;
7365 fail:
7366 return NULL;
7367}
7368
7369
7370static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7371 PyObject *resultobj;
7372 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7373 PyObject * obj0 = 0 ;
7374 char *kwnames[] = {
7375 (char *) "self", NULL
7376 };
7377
7378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
7379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 (arg1)->LineCopy();
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 Py_INCREF(Py_None); resultobj = Py_None;
7388 return resultobj;
7389 fail:
7390 return NULL;
7391}
7392
7393
7394static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
7395 PyObject *resultobj;
7396 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7397 PyObject * obj0 = 0 ;
7398 char *kwnames[] = {
7399 (char *) "self", NULL
7400 };
7401
7402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
7403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7404 {
7405 PyThreadState* __tstate = wxPyBeginAllowThreads();
7406 (arg1)->MoveCaretInsideView();
7407
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 Py_INCREF(Py_None); resultobj = Py_None;
7412 return resultobj;
7413 fail:
7414 return NULL;
7415}
7416
7417
7418static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7419 PyObject *resultobj;
7420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7421 int arg2 ;
7422 int result;
7423 PyObject * obj0 = 0 ;
7424 char *kwnames[] = {
7425 (char *) "self",(char *) "line", NULL
7426 };
7427
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LineLength",kwnames,&obj0,&arg2)) goto fail;
7429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 result = (int)(arg1)->LineLength(arg2);
7433
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
7437 resultobj = PyInt_FromLong((long)result);
7438 return resultobj;
7439 fail:
7440 return NULL;
7441}
7442
7443
7444static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7445 PyObject *resultobj;
7446 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7447 int arg2 ;
7448 int arg3 ;
7449 PyObject * obj0 = 0 ;
7450 char *kwnames[] = {
7451 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
7452 };
7453
7454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&arg2,&arg3)) goto fail;
7455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 (arg1)->BraceHighlight(arg2,arg3);
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 Py_INCREF(Py_None); resultobj = Py_None;
7464 return resultobj;
7465 fail:
7466 return NULL;
7467}
7468
7469
7470static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj;
7472 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7473 int arg2 ;
7474 PyObject * obj0 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self",(char *) "pos", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&arg2)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 (arg1)->BraceBadLight(arg2);
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 Py_INCREF(Py_None); resultobj = Py_None;
7489 return resultobj;
7490 fail:
7491 return NULL;
7492}
7493
7494
7495static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7498 int arg2 ;
7499 int result;
7500 PyObject * obj0 = 0 ;
7501 char *kwnames[] = {
7502 (char *) "self",(char *) "pos", NULL
7503 };
7504
7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_BraceMatch",kwnames,&obj0,&arg2)) goto fail;
7506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7507 {
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 result = (int)(arg1)->BraceMatch(arg2);
7510
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 }
7514 resultobj = PyInt_FromLong((long)result);
7515 return resultobj;
7516 fail:
7517 return NULL;
7518}
7519
7520
7521static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj;
7523 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7524 bool result;
7525 PyObject * obj0 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "self", NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
7531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7532 {
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 result = (bool)(arg1)->GetViewEOL();
7535
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 resultobj = PyInt_FromLong((long)result);
7540 return resultobj;
7541 fail:
7542 return NULL;
7543}
7544
7545
7546static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
7547 PyObject *resultobj;
7548 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7549 bool arg2 ;
7550 PyObject * obj0 = 0 ;
7551 PyObject * obj1 = 0 ;
7552 char *kwnames[] = {
7553 (char *) "self",(char *) "visible", NULL
7554 };
7555
7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
7557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7558 arg2 = PyInt_AsLong(obj1) ? true : false;
7559 if (PyErr_Occurred()) SWIG_fail;
7560 {
7561 PyThreadState* __tstate = wxPyBeginAllowThreads();
7562 (arg1)->SetViewEOL(arg2);
7563
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
7567 Py_INCREF(Py_None); resultobj = Py_None;
7568 return resultobj;
7569 fail:
7570 return NULL;
7571}
7572
7573
7574static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
7575 PyObject *resultobj;
7576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7577 void *result;
7578 PyObject * obj0 = 0 ;
7579 char *kwnames[] = {
7580 (char *) "self", NULL
7581 };
7582
7583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
7584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7585 {
7586 PyThreadState* __tstate = wxPyBeginAllowThreads();
7587 result = (void *)(arg1)->GetDocPointer();
7588
7589 wxPyEndAllowThreads(__tstate);
7590 if (PyErr_Occurred()) SWIG_fail;
7591 }
7592 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
7593 return resultobj;
7594 fail:
7595 return NULL;
7596}
7597
7598
7599static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
7600 PyObject *resultobj;
7601 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7602 void *arg2 = (void *) 0 ;
7603 PyObject * obj0 = 0 ;
7604 PyObject * obj1 = 0 ;
7605 char *kwnames[] = {
7606 (char *) "self",(char *) "docPointer", NULL
7607 };
7608
7609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
7610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7611 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 (arg1)->SetDocPointer(arg2);
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 Py_INCREF(Py_None); resultobj = Py_None;
7620 return resultobj;
7621 fail:
7622 return NULL;
7623}
7624
7625
7626static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7629 int arg2 ;
7630 PyObject * obj0 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "self",(char *) "mask", NULL
7633 };
7634
7635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&arg2)) goto fail;
7636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7637 {
7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7639 (arg1)->SetModEventMask(arg2);
7640
7641 wxPyEndAllowThreads(__tstate);
7642 if (PyErr_Occurred()) SWIG_fail;
7643 }
7644 Py_INCREF(Py_None); resultobj = Py_None;
7645 return resultobj;
7646 fail:
7647 return NULL;
7648}
7649
7650
7651static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
7652 PyObject *resultobj;
7653 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7654 int result;
7655 PyObject * obj0 = 0 ;
7656 char *kwnames[] = {
7657 (char *) "self", NULL
7658 };
7659
7660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
7661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 result = (int)(arg1)->GetEdgeColumn();
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 resultobj = PyInt_FromLong((long)result);
7670 return resultobj;
7671 fail:
7672 return NULL;
7673}
7674
7675
7676static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7679 int arg2 ;
7680 PyObject * obj0 = 0 ;
7681 char *kwnames[] = {
7682 (char *) "self",(char *) "column", NULL
7683 };
7684
7685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&arg2)) goto fail;
7686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 (arg1)->SetEdgeColumn(arg2);
7690
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 Py_INCREF(Py_None); resultobj = Py_None;
7695 return resultobj;
7696 fail:
7697 return NULL;
7698}
7699
7700
7701static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7702 PyObject *resultobj;
7703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7704 int result;
7705 PyObject * obj0 = 0 ;
7706 char *kwnames[] = {
7707 (char *) "self", NULL
7708 };
7709
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
7711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7712 {
7713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7714 result = (int)(arg1)->GetEdgeMode();
7715
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
7719 resultobj = PyInt_FromLong((long)result);
7720 return resultobj;
7721 fail:
7722 return NULL;
7723}
7724
7725
7726static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7727 PyObject *resultobj;
7728 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7729 int arg2 ;
7730 PyObject * obj0 = 0 ;
7731 char *kwnames[] = {
7732 (char *) "self",(char *) "mode", NULL
7733 };
7734
7735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&arg2)) goto fail;
7736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 (arg1)->SetEdgeMode(arg2);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 Py_INCREF(Py_None); resultobj = Py_None;
7745 return resultobj;
7746 fail:
7747 return NULL;
7748}
7749
7750
7751static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7752 PyObject *resultobj;
7753 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7754 wxColour result;
7755 PyObject * obj0 = 0 ;
7756 char *kwnames[] = {
7757 (char *) "self", NULL
7758 };
7759
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
7761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7762 {
7763 PyThreadState* __tstate = wxPyBeginAllowThreads();
7764 result = (arg1)->GetEdgeColour();
7765
7766 wxPyEndAllowThreads(__tstate);
7767 if (PyErr_Occurred()) SWIG_fail;
7768 }
7769 {
7770 wxColour * resultptr;
7771 resultptr = new wxColour((wxColour &) result);
7772 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
7773 }
7774 return resultobj;
7775 fail:
7776 return NULL;
7777}
7778
7779
7780static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7781 PyObject *resultobj;
7782 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7783 wxColour *arg2 = 0 ;
7784 wxColour temp2 ;
7785 PyObject * obj0 = 0 ;
7786 PyObject * obj1 = 0 ;
7787 char *kwnames[] = {
7788 (char *) "self",(char *) "edgeColour", NULL
7789 };
7790
7791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
7792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7793 {
7794 arg2 = &temp2;
7795 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7796 }
7797 {
7798 PyThreadState* __tstate = wxPyBeginAllowThreads();
7799 (arg1)->SetEdgeColour((wxColour const &)*arg2);
7800
7801 wxPyEndAllowThreads(__tstate);
7802 if (PyErr_Occurred()) SWIG_fail;
7803 }
7804 Py_INCREF(Py_None); resultobj = Py_None;
7805 return resultobj;
7806 fail:
7807 return NULL;
7808}
7809
7810
7811static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
7812 PyObject *resultobj;
7813 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7814 PyObject * obj0 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "self", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
7820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7821 {
7822 PyThreadState* __tstate = wxPyBeginAllowThreads();
7823 (arg1)->SearchAnchor();
7824
7825 wxPyEndAllowThreads(__tstate);
7826 if (PyErr_Occurred()) SWIG_fail;
7827 }
7828 Py_INCREF(Py_None); resultobj = Py_None;
7829 return resultobj;
7830 fail:
7831 return NULL;
7832}
7833
7834
7835static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7836 PyObject *resultobj;
7837 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7838 int arg2 ;
7839 wxString *arg3 = 0 ;
7840 int result;
e811c8ce 7841 bool temp3 = False ;
d14a1e28
RD
7842 PyObject * obj0 = 0 ;
7843 PyObject * obj2 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "self",(char *) "flags",(char *) "text", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SearchNext",kwnames,&obj0,&arg2,&obj2)) goto fail;
7849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7850 {
7851 arg3 = wxString_in_helper(obj2);
7852 if (arg3 == NULL) SWIG_fail;
e811c8ce 7853 temp3 = True;
d14a1e28
RD
7854 }
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
7858
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 resultobj = PyInt_FromLong((long)result);
7863 {
7864 if (temp3)
7865 delete arg3;
7866 }
7867 return resultobj;
7868 fail:
7869 {
7870 if (temp3)
7871 delete arg3;
7872 }
7873 return NULL;
7874}
7875
7876
7877static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
7878 PyObject *resultobj;
7879 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7880 int arg2 ;
7881 wxString *arg3 = 0 ;
7882 int result;
e811c8ce 7883 bool temp3 = False ;
d14a1e28
RD
7884 PyObject * obj0 = 0 ;
7885 PyObject * obj2 = 0 ;
7886 char *kwnames[] = {
7887 (char *) "self",(char *) "flags",(char *) "text", NULL
7888 };
7889
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&arg2,&obj2)) goto fail;
7891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7892 {
7893 arg3 = wxString_in_helper(obj2);
7894 if (arg3 == NULL) SWIG_fail;
e811c8ce 7895 temp3 = True;
d14a1e28
RD
7896 }
7897 {
7898 PyThreadState* __tstate = wxPyBeginAllowThreads();
7899 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
7900
7901 wxPyEndAllowThreads(__tstate);
7902 if (PyErr_Occurred()) SWIG_fail;
7903 }
7904 resultobj = PyInt_FromLong((long)result);
7905 {
7906 if (temp3)
7907 delete arg3;
7908 }
7909 return resultobj;
7910 fail:
7911 {
7912 if (temp3)
7913 delete arg3;
7914 }
7915 return NULL;
7916}
7917
7918
7919static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
7920 PyObject *resultobj;
7921 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7922 int result;
7923 PyObject * obj0 = 0 ;
7924 char *kwnames[] = {
7925 (char *) "self", NULL
7926 };
7927
7928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
7929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7930 {
7931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7932 result = (int)(arg1)->LinesOnScreen();
7933
7934 wxPyEndAllowThreads(__tstate);
7935 if (PyErr_Occurred()) SWIG_fail;
7936 }
7937 resultobj = PyInt_FromLong((long)result);
7938 return resultobj;
7939 fail:
7940 return NULL;
7941}
7942
7943
7944static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
7945 PyObject *resultobj;
7946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7947 bool arg2 ;
7948 PyObject * obj0 = 0 ;
7949 PyObject * obj1 = 0 ;
7950 char *kwnames[] = {
7951 (char *) "self",(char *) "allowPopUp", NULL
7952 };
7953
7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
7955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7956 arg2 = PyInt_AsLong(obj1) ? true : false;
7957 if (PyErr_Occurred()) SWIG_fail;
7958 {
7959 PyThreadState* __tstate = wxPyBeginAllowThreads();
7960 (arg1)->UsePopUp(arg2);
7961
7962 wxPyEndAllowThreads(__tstate);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 }
7965 Py_INCREF(Py_None); resultobj = Py_None;
7966 return resultobj;
7967 fail:
7968 return NULL;
7969}
7970
7971
7972static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7973 PyObject *resultobj;
7974 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7975 bool result;
7976 PyObject * obj0 = 0 ;
7977 char *kwnames[] = {
7978 (char *) "self", NULL
7979 };
7980
7981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
7982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7983 {
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 result = (bool)(arg1)->SelectionIsRectangle();
7986
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 resultobj = PyInt_FromLong((long)result);
7991 return resultobj;
7992 fail:
7993 return NULL;
7994}
7995
7996
7997static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
7998 PyObject *resultobj;
7999 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8000 int arg2 ;
8001 PyObject * obj0 = 0 ;
8002 char *kwnames[] = {
8003 (char *) "self",(char *) "zoom", NULL
8004 };
8005
8006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetZoom",kwnames,&obj0,&arg2)) goto fail;
8007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8008 {
8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
8010 (arg1)->SetZoom(arg2);
8011
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 Py_INCREF(Py_None); resultobj = Py_None;
8016 return resultobj;
8017 fail:
8018 return NULL;
8019}
8020
8021
8022static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
8023 PyObject *resultobj;
8024 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8025 int result;
8026 PyObject * obj0 = 0 ;
8027 char *kwnames[] = {
8028 (char *) "self", NULL
8029 };
8030
8031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
8032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 result = (int)(arg1)->GetZoom();
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 resultobj = PyInt_FromLong((long)result);
8041 return resultobj;
8042 fail:
8043 return NULL;
8044}
8045
8046
8047static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
8048 PyObject *resultobj;
8049 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8050 void *result;
8051 PyObject * obj0 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "self", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
8057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 result = (void *)(arg1)->CreateDocument();
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
8066 return resultobj;
8067 fail:
8068 return NULL;
8069}
8070
8071
8072static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8075 void *arg2 = (void *) 0 ;
8076 PyObject * obj0 = 0 ;
8077 PyObject * obj1 = 0 ;
8078 char *kwnames[] = {
8079 (char *) "self",(char *) "docPointer", NULL
8080 };
8081
8082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
8083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8084 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 (arg1)->AddRefDocument(arg2);
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 Py_INCREF(Py_None); resultobj = Py_None;
8093 return resultobj;
8094 fail:
8095 return NULL;
8096}
8097
8098
8099static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj;
8101 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8102 void *arg2 = (void *) 0 ;
8103 PyObject * obj0 = 0 ;
8104 PyObject * obj1 = 0 ;
8105 char *kwnames[] = {
8106 (char *) "self",(char *) "docPointer", NULL
8107 };
8108
8109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
8110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8112 {
8113 PyThreadState* __tstate = wxPyBeginAllowThreads();
8114 (arg1)->ReleaseDocument(arg2);
8115
8116 wxPyEndAllowThreads(__tstate);
8117 if (PyErr_Occurred()) SWIG_fail;
8118 }
8119 Py_INCREF(Py_None); resultobj = Py_None;
8120 return resultobj;
8121 fail:
8122 return NULL;
8123}
8124
8125
8126static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8127 PyObject *resultobj;
8128 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8129 int result;
8130 PyObject * obj0 = 0 ;
8131 char *kwnames[] = {
8132 (char *) "self", NULL
8133 };
8134
8135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
8136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8137 {
8138 PyThreadState* __tstate = wxPyBeginAllowThreads();
8139 result = (int)(arg1)->GetModEventMask();
8140
8141 wxPyEndAllowThreads(__tstate);
8142 if (PyErr_Occurred()) SWIG_fail;
8143 }
8144 resultobj = PyInt_FromLong((long)result);
8145 return resultobj;
8146 fail:
8147 return NULL;
8148}
8149
8150
8151static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8152 PyObject *resultobj;
8153 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8154 bool arg2 ;
8155 PyObject * obj0 = 0 ;
8156 PyObject * obj1 = 0 ;
8157 char *kwnames[] = {
8158 (char *) "self",(char *) "focus", NULL
8159 };
8160
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
8162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8163 arg2 = PyInt_AsLong(obj1) ? true : false;
8164 if (PyErr_Occurred()) SWIG_fail;
8165 {
8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
8167 (arg1)->SetSTCFocus(arg2);
8168
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) SWIG_fail;
8171 }
8172 Py_INCREF(Py_None); resultobj = Py_None;
8173 return resultobj;
8174 fail:
8175 return NULL;
8176}
8177
8178
8179static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8180 PyObject *resultobj;
8181 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8182 bool result;
8183 PyObject * obj0 = 0 ;
8184 char *kwnames[] = {
8185 (char *) "self", NULL
8186 };
8187
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
8189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 result = (bool)(arg1)->GetSTCFocus();
8193
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
8197 resultobj = PyInt_FromLong((long)result);
8198 return resultobj;
8199 fail:
8200 return NULL;
8201}
8202
8203
8204static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8205 PyObject *resultobj;
8206 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8207 int arg2 ;
8208 PyObject * obj0 = 0 ;
8209 char *kwnames[] = {
8210 (char *) "self",(char *) "statusCode", NULL
8211 };
8212
8213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetStatus",kwnames,&obj0,&arg2)) goto fail;
8214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8215 {
8216 PyThreadState* __tstate = wxPyBeginAllowThreads();
8217 (arg1)->SetStatus(arg2);
8218
8219 wxPyEndAllowThreads(__tstate);
8220 if (PyErr_Occurred()) SWIG_fail;
8221 }
8222 Py_INCREF(Py_None); resultobj = Py_None;
8223 return resultobj;
8224 fail:
8225 return NULL;
8226}
8227
8228
8229static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8230 PyObject *resultobj;
8231 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8232 int result;
8233 PyObject * obj0 = 0 ;
8234 char *kwnames[] = {
8235 (char *) "self", NULL
8236 };
8237
8238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
8239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8240 {
8241 PyThreadState* __tstate = wxPyBeginAllowThreads();
8242 result = (int)(arg1)->GetStatus();
8243
8244 wxPyEndAllowThreads(__tstate);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 }
8247 resultobj = PyInt_FromLong((long)result);
8248 return resultobj;
8249 fail:
8250 return NULL;
8251}
8252
8253
8254static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
8255 PyObject *resultobj;
8256 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8257 bool arg2 ;
8258 PyObject * obj0 = 0 ;
8259 PyObject * obj1 = 0 ;
8260 char *kwnames[] = {
8261 (char *) "self",(char *) "captures", NULL
8262 };
8263
8264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
8265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8266 arg2 = PyInt_AsLong(obj1) ? true : false;
8267 if (PyErr_Occurred()) SWIG_fail;
8268 {
8269 PyThreadState* __tstate = wxPyBeginAllowThreads();
8270 (arg1)->SetMouseDownCaptures(arg2);
8271
8272 wxPyEndAllowThreads(__tstate);
8273 if (PyErr_Occurred()) SWIG_fail;
8274 }
8275 Py_INCREF(Py_None); resultobj = Py_None;
8276 return resultobj;
8277 fail:
8278 return NULL;
8279}
8280
8281
8282static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
8283 PyObject *resultobj;
8284 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8285 bool result;
8286 PyObject * obj0 = 0 ;
8287 char *kwnames[] = {
8288 (char *) "self", NULL
8289 };
8290
8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
8292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
8295 result = (bool)(arg1)->GetMouseDownCaptures();
8296
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 resultobj = PyInt_FromLong((long)result);
8301 return resultobj;
8302 fail:
8303 return NULL;
8304}
8305
8306
8307static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8308 PyObject *resultobj;
8309 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8310 int arg2 ;
8311 PyObject * obj0 = 0 ;
8312 char *kwnames[] = {
8313 (char *) "self",(char *) "cursorType", NULL
8314 };
8315
8316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&arg2)) goto fail;
8317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8318 {
8319 PyThreadState* __tstate = wxPyBeginAllowThreads();
8320 (arg1)->SetSTCCursor(arg2);
8321
8322 wxPyEndAllowThreads(__tstate);
8323 if (PyErr_Occurred()) SWIG_fail;
8324 }
8325 Py_INCREF(Py_None); resultobj = Py_None;
8326 return resultobj;
8327 fail:
8328 return NULL;
8329}
8330
8331
8332static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8333 PyObject *resultobj;
8334 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8335 int result;
8336 PyObject * obj0 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "self", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
8342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8343 {
8344 PyThreadState* __tstate = wxPyBeginAllowThreads();
8345 result = (int)(arg1)->GetSTCCursor();
8346
8347 wxPyEndAllowThreads(__tstate);
8348 if (PyErr_Occurred()) SWIG_fail;
8349 }
8350 resultobj = PyInt_FromLong((long)result);
8351 return resultobj;
8352 fail:
8353 return NULL;
8354}
8355
8356
8357static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
8358 PyObject *resultobj;
8359 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8360 int arg2 ;
8361 PyObject * obj0 = 0 ;
8362 char *kwnames[] = {
8363 (char *) "self",(char *) "symbol", NULL
8364 };
8365
8366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&arg2)) goto fail;
8367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8368 {
8369 PyThreadState* __tstate = wxPyBeginAllowThreads();
8370 (arg1)->SetControlCharSymbol(arg2);
8371
8372 wxPyEndAllowThreads(__tstate);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 }
8375 Py_INCREF(Py_None); resultobj = Py_None;
8376 return resultobj;
8377 fail:
8378 return NULL;
8379}
8380
8381
8382static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
8383 PyObject *resultobj;
8384 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8385 int result;
8386 PyObject * obj0 = 0 ;
8387 char *kwnames[] = {
8388 (char *) "self", NULL
8389 };
8390
8391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
8392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = (int)(arg1)->GetControlCharSymbol();
8396
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 resultobj = PyInt_FromLong((long)result);
8401 return resultobj;
8402 fail:
8403 return NULL;
8404}
8405
8406
8407static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj;
8409 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8410 PyObject * obj0 = 0 ;
8411 char *kwnames[] = {
8412 (char *) "self", NULL
8413 };
8414
8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
8416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8417 {
8418 PyThreadState* __tstate = wxPyBeginAllowThreads();
8419 (arg1)->WordPartLeft();
8420
8421 wxPyEndAllowThreads(__tstate);
8422 if (PyErr_Occurred()) SWIG_fail;
8423 }
8424 Py_INCREF(Py_None); resultobj = Py_None;
8425 return resultobj;
8426 fail:
8427 return NULL;
8428}
8429
8430
8431static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8432 PyObject *resultobj;
8433 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8434 PyObject * obj0 = 0 ;
8435 char *kwnames[] = {
8436 (char *) "self", NULL
8437 };
8438
8439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
8440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 (arg1)->WordPartLeftExtend();
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 Py_INCREF(Py_None); resultobj = Py_None;
8449 return resultobj;
8450 fail:
8451 return NULL;
8452}
8453
8454
8455static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj;
8457 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8458 PyObject * obj0 = 0 ;
8459 char *kwnames[] = {
8460 (char *) "self", NULL
8461 };
8462
8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
8464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8465 {
8466 PyThreadState* __tstate = wxPyBeginAllowThreads();
8467 (arg1)->WordPartRight();
8468
8469 wxPyEndAllowThreads(__tstate);
8470 if (PyErr_Occurred()) SWIG_fail;
8471 }
8472 Py_INCREF(Py_None); resultobj = Py_None;
8473 return resultobj;
8474 fail:
8475 return NULL;
8476}
8477
8478
8479static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8480 PyObject *resultobj;
8481 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8482 PyObject * obj0 = 0 ;
8483 char *kwnames[] = {
8484 (char *) "self", NULL
8485 };
8486
8487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
8488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8489 {
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 (arg1)->WordPartRightExtend();
8492
8493 wxPyEndAllowThreads(__tstate);
8494 if (PyErr_Occurred()) SWIG_fail;
8495 }
8496 Py_INCREF(Py_None); resultobj = Py_None;
8497 return resultobj;
8498 fail:
8499 return NULL;
8500}
8501
8502
8503static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8504 PyObject *resultobj;
8505 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8506 int arg2 ;
8507 int arg3 ;
8508 PyObject * obj0 = 0 ;
8509 char *kwnames[] = {
8510 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
8511 };
8512
8513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&arg2,&arg3)) goto fail;
8514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8515 {
8516 PyThreadState* __tstate = wxPyBeginAllowThreads();
8517 (arg1)->SetVisiblePolicy(arg2,arg3);
8518
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 Py_INCREF(Py_None); resultobj = Py_None;
8523 return resultobj;
8524 fail:
8525 return NULL;
8526}
8527
8528
8529static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8530 PyObject *resultobj;
8531 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8532 PyObject * obj0 = 0 ;
8533 char *kwnames[] = {
8534 (char *) "self", NULL
8535 };
8536
8537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
8538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8539 {
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 (arg1)->DelLineLeft();
8542
8543 wxPyEndAllowThreads(__tstate);
8544 if (PyErr_Occurred()) SWIG_fail;
8545 }
8546 Py_INCREF(Py_None); resultobj = Py_None;
8547 return resultobj;
8548 fail:
8549 return NULL;
8550}
8551
8552
8553static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8554 PyObject *resultobj;
8555 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8556 PyObject * obj0 = 0 ;
8557 char *kwnames[] = {
8558 (char *) "self", NULL
8559 };
8560
8561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
8562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8563 {
8564 PyThreadState* __tstate = wxPyBeginAllowThreads();
8565 (arg1)->DelLineRight();
8566
8567 wxPyEndAllowThreads(__tstate);
8568 if (PyErr_Occurred()) SWIG_fail;
8569 }
8570 Py_INCREF(Py_None); resultobj = Py_None;
8571 return resultobj;
8572 fail:
8573 return NULL;
8574}
8575
8576
8577static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
8578 PyObject *resultobj;
8579 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8580 int arg2 ;
8581 PyObject * obj0 = 0 ;
8582 char *kwnames[] = {
8583 (char *) "self",(char *) "newOffset", NULL
8584 };
8585
8586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetXOffset",kwnames,&obj0,&arg2)) goto fail;
8587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8588 {
8589 PyThreadState* __tstate = wxPyBeginAllowThreads();
8590 (arg1)->SetXOffset(arg2);
8591
8592 wxPyEndAllowThreads(__tstate);
8593 if (PyErr_Occurred()) SWIG_fail;
8594 }
8595 Py_INCREF(Py_None); resultobj = Py_None;
8596 return resultobj;
8597 fail:
8598 return NULL;
8599}
8600
8601
8602static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
8603 PyObject *resultobj;
8604 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8605 int result;
8606 PyObject * obj0 = 0 ;
8607 char *kwnames[] = {
8608 (char *) "self", NULL
8609 };
8610
8611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
8612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8613 {
8614 PyThreadState* __tstate = wxPyBeginAllowThreads();
8615 result = (int)(arg1)->GetXOffset();
8616
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 resultobj = PyInt_FromLong((long)result);
8621 return resultobj;
8622 fail:
8623 return NULL;
8624}
8625
8626
8627static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
8628 PyObject *resultobj;
8629 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8630 PyObject * obj0 = 0 ;
8631 char *kwnames[] = {
8632 (char *) "self", NULL
8633 };
8634
8635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
8636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8637 {
8638 PyThreadState* __tstate = wxPyBeginAllowThreads();
8639 (arg1)->ChooseCaretX();
8640
8641 wxPyEndAllowThreads(__tstate);
8642 if (PyErr_Occurred()) SWIG_fail;
8643 }
8644 Py_INCREF(Py_None); resultobj = Py_None;
8645 return resultobj;
8646 fail:
8647 return NULL;
8648}
8649
8650
8651static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8652 PyObject *resultobj;
8653 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8654 int arg2 ;
8655 int arg3 ;
8656 PyObject * obj0 = 0 ;
8657 char *kwnames[] = {
8658 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
8659 };
8660
8661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&arg2,&arg3)) goto fail;
8662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8663 {
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 (arg1)->SetXCaretPolicy(arg2,arg3);
8666
8667 wxPyEndAllowThreads(__tstate);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 Py_INCREF(Py_None); resultobj = Py_None;
8671 return resultobj;
8672 fail:
8673 return NULL;
8674}
8675
8676
8677static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8678 PyObject *resultobj;
8679 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8680 int arg2 ;
8681 int arg3 ;
8682 PyObject * obj0 = 0 ;
8683 char *kwnames[] = {
8684 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
8685 };
8686
8687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&arg2,&arg3)) goto fail;
8688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 (arg1)->SetYCaretPolicy(arg2,arg3);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 Py_INCREF(Py_None); resultobj = Py_None;
8697 return resultobj;
8698 fail:
8699 return NULL;
8700}
8701
8702
8703static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8704 PyObject *resultobj;
8705 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8706 int arg2 ;
8707 PyObject * obj0 = 0 ;
8708 char *kwnames[] = {
8709 (char *) "self",(char *) "mode", NULL
8710 };
8711
8712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&arg2)) goto fail;
8713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8714 {
8715 PyThreadState* __tstate = wxPyBeginAllowThreads();
8716 (arg1)->SetPrintWrapMode(arg2);
8717
8718 wxPyEndAllowThreads(__tstate);
8719 if (PyErr_Occurred()) SWIG_fail;
8720 }
8721 Py_INCREF(Py_None); resultobj = Py_None;
8722 return resultobj;
8723 fail:
8724 return NULL;
8725}
8726
8727
8728static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8729 PyObject *resultobj;
8730 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8731 int result;
8732 PyObject * obj0 = 0 ;
8733 char *kwnames[] = {
8734 (char *) "self", NULL
8735 };
8736
8737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
8738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8739 {
8740 PyThreadState* __tstate = wxPyBeginAllowThreads();
8741 result = (int)(arg1)->GetPrintWrapMode();
8742
8743 wxPyEndAllowThreads(__tstate);
8744 if (PyErr_Occurred()) SWIG_fail;
8745 }
8746 resultobj = PyInt_FromLong((long)result);
8747 return resultobj;
8748 fail:
8749 return NULL;
8750}
8751
8752
8753static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
8754 PyObject *resultobj;
8755 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8756 bool arg2 ;
8757 wxColour *arg3 = 0 ;
8758 wxColour temp3 ;
8759 PyObject * obj0 = 0 ;
8760 PyObject * obj1 = 0 ;
8761 PyObject * obj2 = 0 ;
8762 char *kwnames[] = {
8763 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8764 };
8765
8766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
8767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8768 arg2 = PyInt_AsLong(obj1) ? true : false;
8769 if (PyErr_Occurred()) SWIG_fail;
8770 {
8771 arg3 = &temp3;
8772 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8773 }
8774 {
8775 PyThreadState* __tstate = wxPyBeginAllowThreads();
8776 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
8777
8778 wxPyEndAllowThreads(__tstate);
8779 if (PyErr_Occurred()) SWIG_fail;
8780 }
8781 Py_INCREF(Py_None); resultobj = Py_None;
8782 return resultobj;
8783 fail:
8784 return NULL;
8785}
8786
8787
8788static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8789 PyObject *resultobj;
8790 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8791 bool arg2 ;
8792 wxColour *arg3 = 0 ;
8793 wxColour temp3 ;
8794 PyObject * obj0 = 0 ;
8795 PyObject * obj1 = 0 ;
8796 PyObject * obj2 = 0 ;
8797 char *kwnames[] = {
8798 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8799 };
8800
8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
8802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8803 arg2 = PyInt_AsLong(obj1) ? true : false;
8804 if (PyErr_Occurred()) SWIG_fail;
8805 {
8806 arg3 = &temp3;
8807 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8808 }
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
8812
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 Py_INCREF(Py_None); resultobj = Py_None;
8817 return resultobj;
8818 fail:
8819 return NULL;
8820}
8821
8822
8823static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
8824 PyObject *resultobj;
8825 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8826 bool arg2 ;
8827 PyObject * obj0 = 0 ;
8828 PyObject * obj1 = 0 ;
8829 char *kwnames[] = {
8830 (char *) "self",(char *) "underline", NULL
8831 };
8832
8833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
8834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8835 arg2 = PyInt_AsLong(obj1) ? true : false;
8836 if (PyErr_Occurred()) SWIG_fail;
8837 {
8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
8839 (arg1)->SetHotspotActiveUnderline(arg2);
8840
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 }
8844 Py_INCREF(Py_None); resultobj = Py_None;
8845 return resultobj;
8846 fail:
8847 return NULL;
8848}
8849
8850
8851static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8852 PyObject *resultobj;
8853 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8854 int arg2 ;
8855 int result;
8856 PyObject * obj0 = 0 ;
8857 char *kwnames[] = {
8858 (char *) "self",(char *) "pos", NULL
8859 };
8860
8861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionBefore",kwnames,&obj0,&arg2)) goto fail;
8862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8863 {
8864 PyThreadState* __tstate = wxPyBeginAllowThreads();
8865 result = (int)(arg1)->PositionBefore(arg2);
8866
8867 wxPyEndAllowThreads(__tstate);
8868 if (PyErr_Occurred()) SWIG_fail;
8869 }
8870 resultobj = PyInt_FromLong((long)result);
8871 return resultobj;
8872 fail:
8873 return NULL;
8874}
8875
8876
8877static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) {
8878 PyObject *resultobj;
8879 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8880 int arg2 ;
8881 int result;
8882 PyObject * obj0 = 0 ;
8883 char *kwnames[] = {
8884 (char *) "self",(char *) "pos", NULL
8885 };
8886
8887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionAfter",kwnames,&obj0,&arg2)) goto fail;
8888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 result = (int)(arg1)->PositionAfter(arg2);
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 resultobj = PyInt_FromLong((long)result);
8897 return resultobj;
8898 fail:
8899 return NULL;
8900}
8901
8902
8903static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8904 PyObject *resultobj;
8905 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8906 int arg2 ;
8907 int arg3 ;
8908 PyObject * obj0 = 0 ;
8909 char *kwnames[] = {
8910 (char *) "self",(char *) "start",(char *) "end", NULL
8911 };
8912
8913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CopyRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 (arg1)->CopyRange(arg2,arg3);
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 Py_INCREF(Py_None); resultobj = Py_None;
8923 return resultobj;
8924 fail:
8925 return NULL;
8926}
8927
8928
8929static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj;
8931 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8932 int arg2 ;
8933 wxString *arg3 = 0 ;
e811c8ce 8934 bool temp3 = False ;
d14a1e28
RD
8935 PyObject * obj0 = 0 ;
8936 PyObject * obj2 = 0 ;
8937 char *kwnames[] = {
8938 (char *) "self",(char *) "length",(char *) "text", NULL
8939 };
8940
8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_CopyText",kwnames,&obj0,&arg2,&obj2)) goto fail;
8942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8943 {
8944 arg3 = wxString_in_helper(obj2);
8945 if (arg3 == NULL) SWIG_fail;
e811c8ce 8946 temp3 = True;
d14a1e28
RD
8947 }
8948 {
8949 PyThreadState* __tstate = wxPyBeginAllowThreads();
8950 (arg1)->CopyText(arg2,(wxString const &)*arg3);
8951
8952 wxPyEndAllowThreads(__tstate);
8953 if (PyErr_Occurred()) SWIG_fail;
8954 }
8955 Py_INCREF(Py_None); resultobj = Py_None;
8956 {
8957 if (temp3)
8958 delete arg3;
8959 }
8960 return resultobj;
8961 fail:
8962 {
8963 if (temp3)
8964 delete arg3;
8965 }
8966 return NULL;
8967}
8968
8969
8970static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8971 PyObject *resultobj;
8972 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8973 PyObject * obj0 = 0 ;
8974 char *kwnames[] = {
8975 (char *) "self", NULL
8976 };
8977
8978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
8979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 (arg1)->StartRecord();
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 Py_INCREF(Py_None); resultobj = Py_None;
8988 return resultobj;
8989 fail:
8990 return NULL;
8991}
8992
8993
8994static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj;
8996 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8997 PyObject * obj0 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "self", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
9003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9004 {
9005 PyThreadState* __tstate = wxPyBeginAllowThreads();
9006 (arg1)->StopRecord();
9007
9008 wxPyEndAllowThreads(__tstate);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 }
9011 Py_INCREF(Py_None); resultobj = Py_None;
9012 return resultobj;
9013 fail:
9014 return NULL;
9015}
9016
9017
9018static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj;
9020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9021 int arg2 ;
9022 PyObject * obj0 = 0 ;
9023 char *kwnames[] = {
9024 (char *) "self",(char *) "lexer", NULL
9025 };
9026
9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetLexer",kwnames,&obj0,&arg2)) goto fail;
9028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 (arg1)->SetLexer(arg2);
9032
9033 wxPyEndAllowThreads(__tstate);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 Py_INCREF(Py_None); resultobj = Py_None;
9037 return resultobj;
9038 fail:
9039 return NULL;
9040}
9041
9042
9043static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
9044 PyObject *resultobj;
9045 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9046 int result;
9047 PyObject * obj0 = 0 ;
9048 char *kwnames[] = {
9049 (char *) "self", NULL
9050 };
9051
9052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
9053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 result = (int)(arg1)->GetLexer();
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 resultobj = PyInt_FromLong((long)result);
9062 return resultobj;
9063 fail:
9064 return NULL;
9065}
9066
9067
9068static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9071 int arg2 ;
9072 int arg3 ;
9073 PyObject * obj0 = 0 ;
9074 char *kwnames[] = {
9075 (char *) "self",(char *) "start",(char *) "end", NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_Colourise",kwnames,&obj0,&arg2,&arg3)) goto fail;
9079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 (arg1)->Colourise(arg2,arg3);
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 Py_INCREF(Py_None); resultobj = Py_None;
9088 return resultobj;
9089 fail:
9090 return NULL;
9091}
9092
9093
9094static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj;
9096 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9097 wxString *arg2 = 0 ;
9098 wxString *arg3 = 0 ;
e811c8ce
RD
9099 bool temp2 = False ;
9100 bool temp3 = False ;
d14a1e28
RD
9101 PyObject * obj0 = 0 ;
9102 PyObject * obj1 = 0 ;
9103 PyObject * obj2 = 0 ;
9104 char *kwnames[] = {
9105 (char *) "self",(char *) "key",(char *) "value", NULL
9106 };
9107
9108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
9109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9110 {
9111 arg2 = wxString_in_helper(obj1);
9112 if (arg2 == NULL) SWIG_fail;
e811c8ce 9113 temp2 = True;
d14a1e28
RD
9114 }
9115 {
9116 arg3 = wxString_in_helper(obj2);
9117 if (arg3 == NULL) SWIG_fail;
e811c8ce 9118 temp3 = True;
d14a1e28
RD
9119 }
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 Py_INCREF(Py_None); resultobj = Py_None;
9128 {
9129 if (temp2)
9130 delete arg2;
9131 }
9132 {
9133 if (temp3)
9134 delete arg3;
9135 }
9136 return resultobj;
9137 fail:
9138 {
9139 if (temp2)
9140 delete arg2;
9141 }
9142 {
9143 if (temp3)
9144 delete arg3;
9145 }
9146 return NULL;
9147}
9148
9149
9150static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
9151 PyObject *resultobj;
9152 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9153 int arg2 ;
9154 wxString *arg3 = 0 ;
e811c8ce 9155 bool temp3 = False ;
d14a1e28
RD
9156 PyObject * obj0 = 0 ;
9157 PyObject * obj2 = 0 ;
9158 char *kwnames[] = {
9159 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
9160 };
9161
9162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&arg2,&obj2)) goto fail;
9163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9164 {
9165 arg3 = wxString_in_helper(obj2);
9166 if (arg3 == NULL) SWIG_fail;
e811c8ce 9167 temp3 = True;
d14a1e28
RD
9168 }
9169 {
9170 PyThreadState* __tstate = wxPyBeginAllowThreads();
9171 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
9172
9173 wxPyEndAllowThreads(__tstate);
9174 if (PyErr_Occurred()) SWIG_fail;
9175 }
9176 Py_INCREF(Py_None); resultobj = Py_None;
9177 {
9178 if (temp3)
9179 delete arg3;
9180 }
9181 return resultobj;
9182 fail:
9183 {
9184 if (temp3)
9185 delete arg3;
9186 }
9187 return NULL;
9188}
9189
9190
9191static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject *resultobj;
9193 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9194 wxString *arg2 = 0 ;
e811c8ce 9195 bool temp2 = False ;
d14a1e28
RD
9196 PyObject * obj0 = 0 ;
9197 PyObject * obj1 = 0 ;
9198 char *kwnames[] = {
9199 (char *) "self",(char *) "language", NULL
9200 };
9201
9202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
9203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9204 {
9205 arg2 = wxString_in_helper(obj1);
9206 if (arg2 == NULL) SWIG_fail;
e811c8ce 9207 temp2 = True;
d14a1e28
RD
9208 }
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 (arg1)->SetLexerLanguage((wxString const &)*arg2);
9212
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 Py_INCREF(Py_None); resultobj = Py_None;
9217 {
9218 if (temp2)
9219 delete arg2;
9220 }
9221 return resultobj;
9222 fail:
9223 {
9224 if (temp2)
9225 delete arg2;
9226 }
9227 return NULL;
9228}
9229
9230
9231static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9232 PyObject *resultobj;
9233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9234 int result;
9235 PyObject * obj0 = 0 ;
9236 char *kwnames[] = {
9237 (char *) "self", NULL
9238 };
9239
9240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
9241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9242 {
9243 PyThreadState* __tstate = wxPyBeginAllowThreads();
9244 result = (int)(arg1)->GetCurrentLine();
9245
9246 wxPyEndAllowThreads(__tstate);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 }
9249 resultobj = PyInt_FromLong((long)result);
9250 return resultobj;
9251 fail:
9252 return NULL;
9253}
9254
9255
9256static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
9257 PyObject *resultobj;
9258 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9259 int arg2 ;
9260 wxString *arg3 = 0 ;
e811c8ce 9261 bool temp3 = False ;
d14a1e28
RD
9262 PyObject * obj0 = 0 ;
9263 PyObject * obj2 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&arg2,&obj2)) goto fail;
9269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9270 {
9271 arg3 = wxString_in_helper(obj2);
9272 if (arg3 == NULL) SWIG_fail;
e811c8ce 9273 temp3 = True;
d14a1e28
RD
9274 }
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 Py_INCREF(Py_None); resultobj = Py_None;
9283 {
9284 if (temp3)
9285 delete arg3;
9286 }
9287 return resultobj;
9288 fail:
9289 {
9290 if (temp3)
9291 delete arg3;
9292 }
9293 return NULL;
9294}
9295
9296
9297static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj;
9299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9300 int arg2 ;
9301 wxFont *arg3 = 0 ;
9302 PyObject * obj0 = 0 ;
9303 PyObject * obj2 = 0 ;
9304 char *kwnames[] = {
9305 (char *) "self",(char *) "styleNum",(char *) "font", NULL
9306 };
9307
9308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&arg2,&obj2)) goto fail;
9309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9310 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9311 if (arg3 == NULL) {
9312 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9313 }
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 (arg1)->StyleSetFont(arg2,*arg3);
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 Py_INCREF(Py_None); resultobj = Py_None;
9322 return resultobj;
9323 fail:
9324 return NULL;
9325}
9326
9327
9328static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9329 PyObject *resultobj;
9330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9331 int arg2 ;
9332 int arg3 ;
9333 wxString *arg4 = 0 ;
9334 bool arg5 ;
9335 bool arg6 ;
9336 bool arg7 ;
e811c8ce 9337 bool temp4 = False ;
d14a1e28
RD
9338 PyObject * obj0 = 0 ;
9339 PyObject * obj3 = 0 ;
9340 PyObject * obj4 = 0 ;
9341 PyObject * obj5 = 0 ;
9342 PyObject * obj6 = 0 ;
9343 char *kwnames[] = {
9344 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
9345 };
9346
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5,&obj6)) goto fail;
9348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9349 {
9350 arg4 = wxString_in_helper(obj3);
9351 if (arg4 == NULL) SWIG_fail;
e811c8ce 9352 temp4 = True;
d14a1e28
RD
9353 }
9354 arg5 = PyInt_AsLong(obj4) ? true : false;
9355 if (PyErr_Occurred()) SWIG_fail;
9356 arg6 = PyInt_AsLong(obj5) ? true : false;
9357 if (PyErr_Occurred()) SWIG_fail;
9358 arg7 = PyInt_AsLong(obj6) ? true : false;
9359 if (PyErr_Occurred()) SWIG_fail;
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9363
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
9367 Py_INCREF(Py_None); resultobj = Py_None;
9368 {
9369 if (temp4)
9370 delete arg4;
9371 }
9372 return resultobj;
9373 fail:
9374 {
9375 if (temp4)
9376 delete arg4;
9377 }
9378 return NULL;
9379}
9380
9381
9382static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
9383 PyObject *resultobj;
9384 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9385 int arg2 ;
9386 PyObject * obj0 = 0 ;
9387 char *kwnames[] = {
9388 (char *) "self",(char *) "cmd", NULL
9389 };
9390
9391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&arg2)) goto fail;
9392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9393 {
9394 PyThreadState* __tstate = wxPyBeginAllowThreads();
9395 (arg1)->CmdKeyExecute(arg2);
9396
9397 wxPyEndAllowThreads(__tstate);
9398 if (PyErr_Occurred()) SWIG_fail;
9399 }
9400 Py_INCREF(Py_None); resultobj = Py_None;
9401 return resultobj;
9402 fail:
9403 return NULL;
9404}
9405
9406
9407static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9408 PyObject *resultobj;
9409 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9410 int arg2 ;
9411 int arg3 ;
9412 PyObject * obj0 = 0 ;
9413 char *kwnames[] = {
9414 (char *) "self",(char *) "left",(char *) "right", NULL
9415 };
9416
9417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
9418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9419 {
9420 PyThreadState* __tstate = wxPyBeginAllowThreads();
9421 (arg1)->SetMargins(arg2,arg3);
9422
9423 wxPyEndAllowThreads(__tstate);
9424 if (PyErr_Occurred()) SWIG_fail;
9425 }
9426 Py_INCREF(Py_None); resultobj = Py_None;
9427 return resultobj;
9428 fail:
9429 return NULL;
9430}
9431
9432
9433static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj;
9435 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9436 int *arg2 = (int *) 0 ;
9437 int *arg3 = (int *) 0 ;
9438 int temp2 ;
9439 int temp3 ;
9440 PyObject * obj0 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self", NULL
9443 };
9444
9445 arg2 = &temp2;
9446 arg3 = &temp3;
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
9448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 (arg1)->GetSelection(arg2,arg3);
9452
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 Py_INCREF(Py_None); resultobj = Py_None;
9457 {
9458 PyObject *o = PyInt_FromLong((long) (*arg2));
9459 resultobj = t_output_helper(resultobj,o);
9460 }
9461 {
9462 PyObject *o = PyInt_FromLong((long) (*arg3));
9463 resultobj = t_output_helper(resultobj,o);
9464 }
9465 return resultobj;
9466 fail:
9467 return NULL;
9468}
9469
9470
9471static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9472 PyObject *resultobj;
9473 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9474 int arg2 ;
9475 wxPoint result;
9476 PyObject * obj0 = 0 ;
9477 char *kwnames[] = {
9478 (char *) "self",(char *) "pos", NULL
9479 };
9480
9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&arg2)) goto fail;
9482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 result = (arg1)->PointFromPosition(arg2);
9486
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
9490 {
9491 wxPoint * resultptr;
9492 resultptr = new wxPoint((wxPoint &) result);
9493 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9494 }
9495 return resultobj;
9496 fail:
9497 return NULL;
9498}
9499
9500
9501static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9502 PyObject *resultobj;
9503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9504 int arg2 ;
9505 PyObject * obj0 = 0 ;
9506 char *kwnames[] = {
9507 (char *) "self",(char *) "line", NULL
9508 };
9509
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&arg2)) goto fail;
9511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9512 {
9513 PyThreadState* __tstate = wxPyBeginAllowThreads();
9514 (arg1)->ScrollToLine(arg2);
9515
9516 wxPyEndAllowThreads(__tstate);
9517 if (PyErr_Occurred()) SWIG_fail;
9518 }
9519 Py_INCREF(Py_None); resultobj = Py_None;
9520 return resultobj;
9521 fail:
9522 return NULL;
9523}
9524
9525
9526static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
9527 PyObject *resultobj;
9528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9529 int arg2 ;
9530 PyObject * obj0 = 0 ;
9531 char *kwnames[] = {
9532 (char *) "self",(char *) "column", NULL
9533 };
9534
9535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&arg2)) goto fail;
9536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9537 {
9538 PyThreadState* __tstate = wxPyBeginAllowThreads();
9539 (arg1)->ScrollToColumn(arg2);
9540
9541 wxPyEndAllowThreads(__tstate);
9542 if (PyErr_Occurred()) SWIG_fail;
9543 }
9544 Py_INCREF(Py_None); resultobj = Py_None;
9545 return resultobj;
9546 fail:
9547 return NULL;
9548}
9549
9550
9551static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
9552 PyObject *resultobj;
9553 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9554 int arg2 ;
9555 long arg3 = (long) 0 ;
9556 long arg4 = (long) 0 ;
9557 long result;
9558 PyObject * obj0 = 0 ;
9559 char *kwnames[] = {
9560 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
9561 };
9562
9563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ll:StyledTextCtrl_SendMsg",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
9568
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 resultobj = PyInt_FromLong((long)result);
9573 return resultobj;
9574 fail:
9575 return NULL;
9576}
9577
9578
9579static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9580 PyObject *resultobj;
9581 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9582 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
9583 PyObject * obj0 = 0 ;
9584 PyObject * obj1 = 0 ;
9585 char *kwnames[] = {
9586 (char *) "self",(char *) "bar", NULL
9587 };
9588
9589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
9590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 (arg1)->SetVScrollBar(arg2);
9595
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
9599 Py_INCREF(Py_None); resultobj = Py_None;
9600 return resultobj;
9601 fail:
9602 return NULL;
9603}
9604
9605
9606static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9607 PyObject *resultobj;
9608 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9609 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
9610 PyObject * obj0 = 0 ;
9611 PyObject * obj1 = 0 ;
9612 char *kwnames[] = {
9613 (char *) "self",(char *) "bar", NULL
9614 };
9615
9616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
9617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9619 {
9620 PyThreadState* __tstate = wxPyBeginAllowThreads();
9621 (arg1)->SetHScrollBar(arg2);
9622
9623 wxPyEndAllowThreads(__tstate);
9624 if (PyErr_Occurred()) SWIG_fail;
9625 }
9626 Py_INCREF(Py_None); resultobj = Py_None;
9627 return resultobj;
9628 fail:
9629 return NULL;
9630}
9631
9632
9633static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
9634 PyObject *resultobj;
9635 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9636 bool result;
9637 PyObject * obj0 = 0 ;
9638 char *kwnames[] = {
9639 (char *) "self", NULL
9640 };
9641
9642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
9643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 result = (bool)(arg1)->GetLastKeydownProcessed();
9647
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
9651 resultobj = PyInt_FromLong((long)result);
9652 return resultobj;
9653 fail:
9654 return NULL;
9655}
9656
9657
9658static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
9659 PyObject *resultobj;
9660 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9661 bool arg2 ;
9662 PyObject * obj0 = 0 ;
9663 PyObject * obj1 = 0 ;
9664 char *kwnames[] = {
9665 (char *) "self",(char *) "val", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
9669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9670 arg2 = PyInt_AsLong(obj1) ? true : false;
9671 if (PyErr_Occurred()) SWIG_fail;
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 (arg1)->SetLastKeydownProcessed(arg2);
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 Py_INCREF(Py_None); resultobj = Py_None;
9680 return resultobj;
9681 fail:
9682 return NULL;
9683}
9684
9685
9686static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9687 PyObject *resultobj;
9688 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9689 wxString *arg2 = 0 ;
9690 bool result;
e811c8ce 9691 bool temp2 = False ;
d14a1e28
RD
9692 PyObject * obj0 = 0 ;
9693 PyObject * obj1 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self",(char *) "filename", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
9699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9700 {
9701 arg2 = wxString_in_helper(obj1);
9702 if (arg2 == NULL) SWIG_fail;
e811c8ce 9703 temp2 = True;
d14a1e28
RD
9704 }
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 resultobj = PyInt_FromLong((long)result);
9713 {
9714 if (temp2)
9715 delete arg2;
9716 }
9717 return resultobj;
9718 fail:
9719 {
9720 if (temp2)
9721 delete arg2;
9722 }
9723 return NULL;
9724}
9725
9726
9727static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj;
9729 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9730 wxString *arg2 = 0 ;
9731 bool result;
e811c8ce 9732 bool temp2 = False ;
d14a1e28
RD
9733 PyObject * obj0 = 0 ;
9734 PyObject * obj1 = 0 ;
9735 char *kwnames[] = {
9736 (char *) "self",(char *) "filename", NULL
9737 };
9738
9739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
9740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9741 {
9742 arg2 = wxString_in_helper(obj1);
9743 if (arg2 == NULL) SWIG_fail;
e811c8ce 9744 temp2 = True;
d14a1e28
RD
9745 }
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 resultobj = PyInt_FromLong((long)result);
9754 {
9755 if (temp2)
9756 delete arg2;
9757 }
9758 return resultobj;
9759 fail:
9760 {
9761 if (temp2)
9762 delete arg2;
9763 }
9764 return NULL;
9765}
9766
9767
9768static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
9769 PyObject *resultobj;
9770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
e811c8ce
RD
9771 int arg2 ;
9772 int arg3 ;
d14a1e28
RD
9773 wxDragResult arg4 ;
9774 wxDragResult result;
9775 wxDragResult *argp4 ;
9776 PyObject * obj0 = 0 ;
9777 PyObject * obj3 = 0 ;
9778 char *kwnames[] = {
9779 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
9780 };
9781
9782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
9783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9784 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
9785 arg4 = *argp4;
9786 {
9787 PyThreadState* __tstate = wxPyBeginAllowThreads();
9788 result = (arg1)->DoDragOver(arg2,arg3,arg4);
9789
9790 wxPyEndAllowThreads(__tstate);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 }
9793 {
9794 wxDragResult * resultptr;
9795 resultptr = new wxDragResult((wxDragResult &) result);
9796 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1);
9797 }
9798 return resultobj;
9799 fail:
9800 return NULL;
9801}
9802
9803
9804static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) {
9805 PyObject *resultobj;
9806 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9807 long arg2 ;
9808 long arg3 ;
9809 wxString *arg4 = 0 ;
9810 bool result;
e811c8ce 9811 bool temp4 = False ;
d14a1e28
RD
9812 PyObject * obj0 = 0 ;
9813 PyObject * obj3 = 0 ;
9814 char *kwnames[] = {
9815 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
9816 };
9817
9818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:StyledTextCtrl_DoDropText",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
9819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9820 {
9821 arg4 = wxString_in_helper(obj3);
9822 if (arg4 == NULL) SWIG_fail;
e811c8ce 9823 temp4 = True;
d14a1e28
RD
9824 }
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 resultobj = PyInt_FromLong((long)result);
9833 {
9834 if (temp4)
9835 delete arg4;
9836 }
9837 return resultobj;
9838 fail:
9839 {
9840 if (temp4)
9841 delete arg4;
9842 }
9843 return NULL;
9844}
9845
9846
9847static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) {
9848 PyObject *obj;
9849 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9850 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
9851 Py_INCREF(obj);
9852 return Py_BuildValue((char *)"");
9853}
9854static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9855 PyObject *resultobj;
9856 wxEventType arg1 = (wxEventType) 0 ;
9857 int arg2 = (int) 0 ;
9858 wxStyledTextEvent *result;
9859 char *kwnames[] = {
9860 (char *) "commandType",(char *) "id", NULL
9861 };
9862
9863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_StyledTextEvent",kwnames,&arg1,&arg2)) goto fail;
9864 {
9865 PyThreadState* __tstate = wxPyBeginAllowThreads();
9866 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
9867
9868 wxPyEndAllowThreads(__tstate);
9869 if (PyErr_Occurred()) SWIG_fail;
9870 }
9871 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextEvent, 1);
9872 return resultobj;
9873 fail:
9874 return NULL;
9875}
9876
9877
9878static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9879 PyObject *resultobj;
9880 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9881 PyObject * obj0 = 0 ;
9882 char *kwnames[] = {
9883 (char *) "self", NULL
9884 };
9885
9886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
9887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 delete arg1;
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 Py_INCREF(Py_None); resultobj = Py_None;
9896 return resultobj;
9897 fail:
9898 return NULL;
9899}
9900
9901
9902static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9903 PyObject *resultobj;
9904 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9905 int arg2 ;
9906 PyObject * obj0 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self",(char *) "pos", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
9912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9913 {
9914 PyThreadState* __tstate = wxPyBeginAllowThreads();
9915 (arg1)->SetPosition(arg2);
9916
9917 wxPyEndAllowThreads(__tstate);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 }
9920 Py_INCREF(Py_None); resultobj = Py_None;
9921 return resultobj;
9922 fail:
9923 return NULL;
9924}
9925
9926
9927static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
9928 PyObject *resultobj;
9929 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9930 int arg2 ;
9931 PyObject * obj0 = 0 ;
9932 char *kwnames[] = {
9933 (char *) "self",(char *) "k", NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetKey",kwnames,&obj0,&arg2)) goto fail;
9937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 (arg1)->SetKey(arg2);
9941
9942 wxPyEndAllowThreads(__tstate);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 }
9945 Py_INCREF(Py_None); resultobj = Py_None;
9946 return resultobj;
9947 fail:
9948 return NULL;
9949}
9950
9951
9952static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
9953 PyObject *resultobj;
9954 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9955 int arg2 ;
9956 PyObject * obj0 = 0 ;
9957 char *kwnames[] = {
9958 (char *) "self",(char *) "m", NULL
9959 };
9960
9961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetModifiers",kwnames,&obj0,&arg2)) goto fail;
9962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 (arg1)->SetModifiers(arg2);
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 Py_INCREF(Py_None); resultobj = Py_None;
9971 return resultobj;
9972 fail:
9973 return NULL;
9974}
9975
9976
9977static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
9978 PyObject *resultobj;
9979 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9980 int arg2 ;
9981 PyObject * obj0 = 0 ;
9982 char *kwnames[] = {
9983 (char *) "self",(char *) "t", NULL
9984 };
9985
9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetModificationType",kwnames,&obj0,&arg2)) goto fail;
9987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9988 {
9989 PyThreadState* __tstate = wxPyBeginAllowThreads();
9990 (arg1)->SetModificationType(arg2);
9991
9992 wxPyEndAllowThreads(__tstate);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 Py_INCREF(Py_None); resultobj = Py_None;
9996 return resultobj;
9997 fail:
9998 return NULL;
9999}
10000
10001
10002static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
10003 PyObject *resultobj;
10004 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10005 wxString *arg2 = 0 ;
e811c8ce 10006 bool temp2 = False ;
d14a1e28
RD
10007 PyObject * obj0 = 0 ;
10008 PyObject * obj1 = 0 ;
10009 char *kwnames[] = {
10010 (char *) "self",(char *) "t", NULL
10011 };
10012
10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
10014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10015 {
10016 arg2 = wxString_in_helper(obj1);
10017 if (arg2 == NULL) SWIG_fail;
e811c8ce 10018 temp2 = True;
d14a1e28
RD
10019 }
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 (arg1)->SetText((wxString const &)*arg2);
10023
10024 wxPyEndAllowThreads(__tstate);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 }
10027 Py_INCREF(Py_None); resultobj = Py_None;
10028 {
10029 if (temp2)
10030 delete arg2;
10031 }
10032 return resultobj;
10033 fail:
10034 {
10035 if (temp2)
10036 delete arg2;
10037 }
10038 return NULL;
10039}
10040
10041
10042static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10043 PyObject *resultobj;
10044 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10045 int arg2 ;
10046 PyObject * obj0 = 0 ;
10047 char *kwnames[] = {
10048 (char *) "self",(char *) "len", NULL
10049 };
10050
10051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLength",kwnames,&obj0,&arg2)) goto fail;
10052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 (arg1)->SetLength(arg2);
10056
10057 wxPyEndAllowThreads(__tstate);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
10060 Py_INCREF(Py_None); resultobj = Py_None;
10061 return resultobj;
10062 fail:
10063 return NULL;
10064}
10065
10066
10067static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
10068 PyObject *resultobj;
10069 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10070 int arg2 ;
10071 PyObject * obj0 = 0 ;
10072 char *kwnames[] = {
10073 (char *) "self",(char *) "num", NULL
10074 };
10075
10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&arg2)) goto fail;
10077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10078 {
10079 PyThreadState* __tstate = wxPyBeginAllowThreads();
10080 (arg1)->SetLinesAdded(arg2);
10081
10082 wxPyEndAllowThreads(__tstate);
10083 if (PyErr_Occurred()) SWIG_fail;
10084 }
10085 Py_INCREF(Py_None); resultobj = Py_None;
10086 return resultobj;
10087 fail:
10088 return NULL;
10089}
10090
10091
10092static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10093 PyObject *resultobj;
10094 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10095 int arg2 ;
10096 PyObject * obj0 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "self",(char *) "val", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLine",kwnames,&obj0,&arg2)) goto fail;
10102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 (arg1)->SetLine(arg2);
10106
10107 wxPyEndAllowThreads(__tstate);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 Py_INCREF(Py_None); resultobj = Py_None;
10111 return resultobj;
10112 fail:
10113 return NULL;
10114}
10115
10116
10117static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
10118 PyObject *resultobj;
10119 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10120 int arg2 ;
10121 PyObject * obj0 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self",(char *) "val", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&arg2)) goto fail;
10127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 (arg1)->SetFoldLevelNow(arg2);
10131
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 Py_INCREF(Py_None); resultobj = Py_None;
10136 return resultobj;
10137 fail:
10138 return NULL;
10139}
10140
10141
10142static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
10143 PyObject *resultobj;
10144 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10145 int arg2 ;
10146 PyObject * obj0 = 0 ;
10147 char *kwnames[] = {
10148 (char *) "self",(char *) "val", NULL
10149 };
10150
10151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&arg2)) goto fail;
10152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10153 {
10154 PyThreadState* __tstate = wxPyBeginAllowThreads();
10155 (arg1)->SetFoldLevelPrev(arg2);
10156
10157 wxPyEndAllowThreads(__tstate);
10158 if (PyErr_Occurred()) SWIG_fail;
10159 }
10160 Py_INCREF(Py_None); resultobj = Py_None;
10161 return resultobj;
10162 fail:
10163 return NULL;
10164}
10165
10166
10167static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
10168 PyObject *resultobj;
10169 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10170 int arg2 ;
10171 PyObject * obj0 = 0 ;
10172 char *kwnames[] = {
10173 (char *) "self",(char *) "val", NULL
10174 };
10175
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetMargin",kwnames,&obj0,&arg2)) goto fail;
10177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 (arg1)->SetMargin(arg2);
10181
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 Py_INCREF(Py_None); resultobj = Py_None;
10186 return resultobj;
10187 fail:
10188 return NULL;
10189}
10190
10191
10192static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10193 PyObject *resultobj;
10194 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10195 int arg2 ;
10196 PyObject * obj0 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self",(char *) "val", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetMessage",kwnames,&obj0,&arg2)) goto fail;
10202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 (arg1)->SetMessage(arg2);
10206
10207 wxPyEndAllowThreads(__tstate);
10208 if (PyErr_Occurred()) SWIG_fail;
10209 }
10210 Py_INCREF(Py_None); resultobj = Py_None;
10211 return resultobj;
10212 fail:
10213 return NULL;
10214}
10215
10216
10217static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10218 PyObject *resultobj;
10219 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10220 int arg2 ;
10221 PyObject * obj0 = 0 ;
10222 char *kwnames[] = {
10223 (char *) "self",(char *) "val", NULL
10224 };
10225
10226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetWParam",kwnames,&obj0,&arg2)) goto fail;
10227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 (arg1)->SetWParam(arg2);
10231
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
10235 Py_INCREF(Py_None); resultobj = Py_None;
10236 return resultobj;
10237 fail:
10238 return NULL;
10239}
10240
10241
10242static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10243 PyObject *resultobj;
10244 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10245 int arg2 ;
10246 PyObject * obj0 = 0 ;
10247 char *kwnames[] = {
10248 (char *) "self",(char *) "val", NULL
10249 };
10250
10251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLParam",kwnames,&obj0,&arg2)) goto fail;
10252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 (arg1)->SetLParam(arg2);
10256
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
10260 Py_INCREF(Py_None); resultobj = Py_None;
10261 return resultobj;
10262 fail:
10263 return NULL;
10264}
10265
10266
10267static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject *resultobj;
10269 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10270 int arg2 ;
10271 PyObject * obj0 = 0 ;
10272 char *kwnames[] = {
10273 (char *) "self",(char *) "val", NULL
10274 };
10275
10276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetListType",kwnames,&obj0,&arg2)) goto fail;
10277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 (arg1)->SetListType(arg2);
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 Py_INCREF(Py_None); resultobj = Py_None;
10286 return resultobj;
10287 fail:
10288 return NULL;
10289}
10290
10291
10292static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj;
10294 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10295 int arg2 ;
10296 PyObject * obj0 = 0 ;
10297 char *kwnames[] = {
10298 (char *) "self",(char *) "val", NULL
10299 };
10300
10301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetX",kwnames,&obj0,&arg2)) goto fail;
10302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 (arg1)->SetX(arg2);
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 Py_INCREF(Py_None); resultobj = Py_None;
10311 return resultobj;
10312 fail:
10313 return NULL;
10314}
10315
10316
10317static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
10318 PyObject *resultobj;
10319 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10320 int arg2 ;
10321 PyObject * obj0 = 0 ;
10322 char *kwnames[] = {
10323 (char *) "self",(char *) "val", NULL
10324 };
10325
10326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetY",kwnames,&obj0,&arg2)) goto fail;
10327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 (arg1)->SetY(arg2);
10331
10332 wxPyEndAllowThreads(__tstate);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 }
10335 Py_INCREF(Py_None); resultobj = Py_None;
10336 return resultobj;
10337 fail:
10338 return NULL;
10339}
10340
10341
10342static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
10343 PyObject *resultobj;
10344 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10345 wxString *arg2 = 0 ;
e811c8ce 10346 bool temp2 = False ;
d14a1e28
RD
10347 PyObject * obj0 = 0 ;
10348 PyObject * obj1 = 0 ;
10349 char *kwnames[] = {
10350 (char *) "self",(char *) "val", NULL
10351 };
10352
10353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
10354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10355 {
10356 arg2 = wxString_in_helper(obj1);
10357 if (arg2 == NULL) SWIG_fail;
e811c8ce 10358 temp2 = True;
d14a1e28
RD
10359 }
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
10362 (arg1)->SetDragText((wxString const &)*arg2);
10363
10364 wxPyEndAllowThreads(__tstate);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 }
10367 Py_INCREF(Py_None); resultobj = Py_None;
10368 {
10369 if (temp2)
10370 delete arg2;
10371 }
10372 return resultobj;
10373 fail:
10374 {
10375 if (temp2)
10376 delete arg2;
10377 }
10378 return NULL;
10379}
10380
10381
10382static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10383 PyObject *resultobj;
10384 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10385 bool arg2 ;
10386 PyObject * obj0 = 0 ;
10387 PyObject * obj1 = 0 ;
10388 char *kwnames[] = {
10389 (char *) "self",(char *) "val", NULL
10390 };
10391
10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
10393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10394 arg2 = PyInt_AsLong(obj1) ? true : false;
10395 if (PyErr_Occurred()) SWIG_fail;
10396 {
10397 PyThreadState* __tstate = wxPyBeginAllowThreads();
10398 (arg1)->SetDragAllowMove(arg2);
10399
10400 wxPyEndAllowThreads(__tstate);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 }
10403 Py_INCREF(Py_None); resultobj = Py_None;
10404 return resultobj;
10405 fail:
10406 return NULL;
10407}
10408
10409
10410static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
10411 PyObject *resultobj;
10412 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10413 wxDragResult arg2 ;
10414 wxDragResult *argp2 ;
10415 PyObject * obj0 = 0 ;
10416 PyObject * obj1 = 0 ;
10417 char *kwnames[] = {
10418 (char *) "self",(char *) "val", NULL
10419 };
10420
10421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
10422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10423 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
10424 arg2 = *argp2;
10425 {
10426 PyThreadState* __tstate = wxPyBeginAllowThreads();
10427 (arg1)->SetDragResult(arg2);
10428
10429 wxPyEndAllowThreads(__tstate);
10430 if (PyErr_Occurred()) SWIG_fail;
10431 }
10432 Py_INCREF(Py_None); resultobj = Py_None;
10433 return resultobj;
10434 fail:
10435 return NULL;
10436}
10437
10438
10439static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10440 PyObject *resultobj;
10441 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10442 int result;
10443 PyObject * obj0 = 0 ;
10444 char *kwnames[] = {
10445 (char *) "self", NULL
10446 };
10447
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
10449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10450 {
10451 PyThreadState* __tstate = wxPyBeginAllowThreads();
10452 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
10453
10454 wxPyEndAllowThreads(__tstate);
10455 if (PyErr_Occurred()) SWIG_fail;
10456 }
10457 resultobj = PyInt_FromLong((long)result);
10458 return resultobj;
10459 fail:
10460 return NULL;
10461}
10462
10463
10464static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
10465 PyObject *resultobj;
10466 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10467 int result;
10468 PyObject * obj0 = 0 ;
10469 char *kwnames[] = {
10470 (char *) "self", NULL
10471 };
10472
10473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
10474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10475 {
10476 PyThreadState* __tstate = wxPyBeginAllowThreads();
10477 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
10478
10479 wxPyEndAllowThreads(__tstate);
10480 if (PyErr_Occurred()) SWIG_fail;
10481 }
10482 resultobj = PyInt_FromLong((long)result);
10483 return resultobj;
10484 fail:
10485 return NULL;
10486}
10487
10488
10489static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10492 int result;
10493 PyObject * obj0 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
10499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10500 {
10501 PyThreadState* __tstate = wxPyBeginAllowThreads();
10502 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
10503
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 resultobj = PyInt_FromLong((long)result);
10508 return resultobj;
10509 fail:
10510 return NULL;
10511}
10512
10513
10514static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
10515 PyObject *resultobj;
10516 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10517 int result;
10518 PyObject * obj0 = 0 ;
10519 char *kwnames[] = {
10520 (char *) "self", NULL
10521 };
10522
10523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
10524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
10528
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
10532 resultobj = PyInt_FromLong((long)result);
10533 return resultobj;
10534 fail:
10535 return NULL;
10536}
10537
10538
10539static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
10540 PyObject *resultobj;
10541 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10542 wxString result;
10543 PyObject * obj0 = 0 ;
10544 char *kwnames[] = {
10545 (char *) "self", NULL
10546 };
10547
10548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
10549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10550 {
10551 PyThreadState* __tstate = wxPyBeginAllowThreads();
10552 result = ((wxStyledTextEvent const *)arg1)->GetText();
10553
10554 wxPyEndAllowThreads(__tstate);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
10557 {
10558#if wxUSE_UNICODE
10559 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10560#else
10561 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10562#endif
10563 }
10564 return resultobj;
10565 fail:
10566 return NULL;
10567}
10568
10569
10570static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10571 PyObject *resultobj;
10572 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10573 int result;
10574 PyObject * obj0 = 0 ;
10575 char *kwnames[] = {
10576 (char *) "self", NULL
10577 };
10578
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
10580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10581 {
10582 PyThreadState* __tstate = wxPyBeginAllowThreads();
10583 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
10584
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 resultobj = PyInt_FromLong((long)result);
10589 return resultobj;
10590 fail:
10591 return NULL;
10592}
10593
10594
10595static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj;
10597 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10598 int result;
10599 PyObject * obj0 = 0 ;
10600 char *kwnames[] = {
10601 (char *) "self", NULL
10602 };
10603
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
10605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
10609
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 resultobj = PyInt_FromLong((long)result);
10614 return resultobj;
10615 fail:
10616 return NULL;
10617}
10618
10619
10620static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10623 int result;
10624 PyObject * obj0 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
10630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10631 {
10632 PyThreadState* __tstate = wxPyBeginAllowThreads();
10633 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
10634
10635 wxPyEndAllowThreads(__tstate);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 resultobj = PyInt_FromLong((long)result);
10639 return resultobj;
10640 fail:
10641 return NULL;
10642}
10643
10644
10645static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
10646 PyObject *resultobj;
10647 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10648 int result;
10649 PyObject * obj0 = 0 ;
10650 char *kwnames[] = {
10651 (char *) "self", NULL
10652 };
10653
10654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
10655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
10659
10660 wxPyEndAllowThreads(__tstate);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 }
10663 resultobj = PyInt_FromLong((long)result);
10664 return resultobj;
10665 fail:
10666 return NULL;
10667}
10668
10669
10670static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
10671 PyObject *resultobj;
10672 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10673 int result;
10674 PyObject * obj0 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10681 {
10682 PyThreadState* __tstate = wxPyBeginAllowThreads();
10683 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
10684
10685 wxPyEndAllowThreads(__tstate);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 }
10688 resultobj = PyInt_FromLong((long)result);
10689 return resultobj;
10690 fail:
10691 return NULL;
10692}
10693
10694
10695static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
10696 PyObject *resultobj;
10697 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10698 int result;
10699 PyObject * obj0 = 0 ;
10700 char *kwnames[] = {
10701 (char *) "self", NULL
10702 };
10703
10704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
10705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10706 {
10707 PyThreadState* __tstate = wxPyBeginAllowThreads();
10708 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
10709
10710 wxPyEndAllowThreads(__tstate);
10711 if (PyErr_Occurred()) SWIG_fail;
10712 }
10713 resultobj = PyInt_FromLong((long)result);
10714 return resultobj;
10715 fail:
10716 return NULL;
10717}
10718
10719
10720static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10721 PyObject *resultobj;
10722 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10723 int result;
10724 PyObject * obj0 = 0 ;
10725 char *kwnames[] = {
10726 (char *) "self", NULL
10727 };
10728
10729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
10730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10731 {
10732 PyThreadState* __tstate = wxPyBeginAllowThreads();
10733 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
10734
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 resultobj = PyInt_FromLong((long)result);
10739 return resultobj;
10740 fail:
10741 return NULL;
10742}
10743
10744
10745static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10746 PyObject *resultobj;
10747 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10748 int result;
10749 PyObject * obj0 = 0 ;
10750 char *kwnames[] = {
10751 (char *) "self", NULL
10752 };
10753
10754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
10755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10756 {
10757 PyThreadState* __tstate = wxPyBeginAllowThreads();
10758 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
10759
10760 wxPyEndAllowThreads(__tstate);
10761 if (PyErr_Occurred()) SWIG_fail;
10762 }
10763 resultobj = PyInt_FromLong((long)result);
10764 return resultobj;
10765 fail:
10766 return NULL;
10767}
10768
10769
10770static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10771 PyObject *resultobj;
10772 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10773 int result;
10774 PyObject * obj0 = 0 ;
10775 char *kwnames[] = {
10776 (char *) "self", NULL
10777 };
10778
10779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
10780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10781 {
10782 PyThreadState* __tstate = wxPyBeginAllowThreads();
10783 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
10784
10785 wxPyEndAllowThreads(__tstate);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 }
10788 resultobj = PyInt_FromLong((long)result);
10789 return resultobj;
10790 fail:
10791 return NULL;
10792}
10793
10794
10795static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
10796 PyObject *resultobj;
10797 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10798 int result;
10799 PyObject * obj0 = 0 ;
10800 char *kwnames[] = {
10801 (char *) "self", NULL
10802 };
10803
10804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
10805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
10809
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 resultobj = PyInt_FromLong((long)result);
10814 return resultobj;
10815 fail:
10816 return NULL;
10817}
10818
10819
10820static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
10821 PyObject *resultobj;
10822 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10823 int result;
10824 PyObject * obj0 = 0 ;
10825 char *kwnames[] = {
10826 (char *) "self", NULL
10827 };
10828
10829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
10830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10831 {
10832 PyThreadState* __tstate = wxPyBeginAllowThreads();
10833 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
10834
10835 wxPyEndAllowThreads(__tstate);
10836 if (PyErr_Occurred()) SWIG_fail;
10837 }
10838 resultobj = PyInt_FromLong((long)result);
10839 return resultobj;
10840 fail:
10841 return NULL;
10842}
10843
10844
10845static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
10846 PyObject *resultobj;
10847 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10848 int result;
10849 PyObject * obj0 = 0 ;
10850 char *kwnames[] = {
10851 (char *) "self", NULL
10852 };
10853
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
10855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10856 {
10857 PyThreadState* __tstate = wxPyBeginAllowThreads();
10858 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
10859
10860 wxPyEndAllowThreads(__tstate);
10861 if (PyErr_Occurred()) SWIG_fail;
10862 }
10863 resultobj = PyInt_FromLong((long)result);
10864 return resultobj;
10865 fail:
10866 return NULL;
10867}
10868
10869
10870static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
10871 PyObject *resultobj;
10872 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10873 wxString result;
10874 PyObject * obj0 = 0 ;
10875 char *kwnames[] = {
10876 (char *) "self", NULL
10877 };
10878
10879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
10880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10881 {
10882 PyThreadState* __tstate = wxPyBeginAllowThreads();
10883 result = (arg1)->GetDragText();
10884
10885 wxPyEndAllowThreads(__tstate);
10886 if (PyErr_Occurred()) SWIG_fail;
10887 }
10888 {
10889#if wxUSE_UNICODE
10890 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10891#else
10892 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10893#endif
10894 }
10895 return resultobj;
10896 fail:
10897 return NULL;
10898}
10899
10900
10901static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10902 PyObject *resultobj;
10903 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10904 bool result;
10905 PyObject * obj0 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
10911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10912 {
10913 PyThreadState* __tstate = wxPyBeginAllowThreads();
10914 result = (bool)(arg1)->GetDragAllowMove();
10915
10916 wxPyEndAllowThreads(__tstate);
10917 if (PyErr_Occurred()) SWIG_fail;
10918 }
10919 resultobj = PyInt_FromLong((long)result);
10920 return resultobj;
10921 fail:
10922 return NULL;
10923}
10924
10925
10926static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
10927 PyObject *resultobj;
10928 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10929 wxDragResult result;
10930 PyObject * obj0 = 0 ;
10931 char *kwnames[] = {
10932 (char *) "self", NULL
10933 };
10934
10935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
10936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10937 {
10938 PyThreadState* __tstate = wxPyBeginAllowThreads();
10939 result = (arg1)->GetDragResult();
10940
10941 wxPyEndAllowThreads(__tstate);
10942 if (PyErr_Occurred()) SWIG_fail;
10943 }
10944 {
10945 wxDragResult * resultptr;
10946 resultptr = new wxDragResult((wxDragResult &) result);
10947 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1);
10948 }
10949 return resultobj;
10950 fail:
10951 return NULL;
10952}
10953
10954
10955static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
10956 PyObject *resultobj;
10957 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10958 bool result;
10959 PyObject * obj0 = 0 ;
10960 char *kwnames[] = {
10961 (char *) "self", NULL
10962 };
10963
10964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
10965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10966 {
10967 PyThreadState* __tstate = wxPyBeginAllowThreads();
10968 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
10969
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
10973 resultobj = PyInt_FromLong((long)result);
10974 return resultobj;
10975 fail:
10976 return NULL;
10977}
10978
10979
10980static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
10981 PyObject *resultobj;
10982 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10983 bool result;
10984 PyObject * obj0 = 0 ;
10985 char *kwnames[] = {
10986 (char *) "self", NULL
10987 };
10988
10989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
10990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10991 {
10992 PyThreadState* __tstate = wxPyBeginAllowThreads();
10993 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
10994
10995 wxPyEndAllowThreads(__tstate);
10996 if (PyErr_Occurred()) SWIG_fail;
10997 }
10998 resultobj = PyInt_FromLong((long)result);
10999 return resultobj;
11000 fail:
11001 return NULL;
11002}
11003
11004
11005static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
11006 PyObject *resultobj;
11007 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11008 bool result;
11009 PyObject * obj0 = 0 ;
11010 char *kwnames[] = {
11011 (char *) "self", NULL
11012 };
11013
11014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
11015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 resultobj = PyInt_FromLong((long)result);
11024 return resultobj;
11025 fail:
11026 return NULL;
11027}
11028
11029
11030static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11031 PyObject *resultobj;
11032 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11033 wxEvent *result;
11034 PyObject * obj0 = 0 ;
11035 char *kwnames[] = {
11036 (char *) "self", NULL
11037 };
11038
11039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
11040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11041 {
11042 PyThreadState* __tstate = wxPyBeginAllowThreads();
11043 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
11044
11045 wxPyEndAllowThreads(__tstate);
11046 if (PyErr_Occurred()) SWIG_fail;
11047 }
11048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11049 return resultobj;
11050 fail:
11051 return NULL;
11052}
11053
11054
11055static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) {
11056 PyObject *obj;
11057 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11058 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
11059 Py_INCREF(obj);
11060 return Py_BuildValue((char *)"");
11061}
11062static PyMethodDef SwigMethods[] = {
11063 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
11064 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
11065 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11066 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
11067 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
11068 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
11069 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
11070 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
11071 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
11072 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
11073 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
11074 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
11075 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
11076 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
11077 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
11078 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
11079 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
11080 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
11081 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
11082 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
11083 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
11084 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
11085 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
11086 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
11087 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
11088 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
11089 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
11090 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
11091 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
11092 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
11093 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
11094 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
11095 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
11096 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
11097 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
11098 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
11099 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
11100 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
11101 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
11102 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
11103 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
11104 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
11105 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
11106 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
11107 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
11108 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
11109 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
11110 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
11111 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
11112 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
11113 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
11114 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
11115 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
11116 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11117 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11118 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
11119 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
11120 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
11121 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
11122 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
11123 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
11124 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
11125 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
11126 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
11127 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
11128 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
11129 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
11130 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
11131 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
11132 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
11133 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
11134 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
11135 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
11136 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
11137 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
11138 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
11139 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
11140 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
11141 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
11142 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
11143 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
11144 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
11145 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
11146 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
11147 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
11148 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
11149 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
11150 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
11151 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
11152 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS },
11153 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS },
11154 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
11155 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
11156 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
11157 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
11158 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
11159 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
11160 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
11161 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
11162 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
11163 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS },
11164 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
11165 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
11166 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
11167 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
11168 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
11169 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
11170 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
11171 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
11172 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
11173 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
11174 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
11175 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
11176 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
11177 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
11178 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
11179 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
11180 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
11181 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
11182 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
11183 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
11184 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
11185 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
11186 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
11187 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
11188 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
11189 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
11190 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
11191 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
11192 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
11193 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
11194 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
11195 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
11196 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
11197 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
11198 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
11199 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
11200 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
11201 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
11202 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
11203 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
11204 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
11205 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
11206 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
11207 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
11208 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
11209 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
11210 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
11211 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
11212 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
11213 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
11214 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
11215 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
11216 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
11217 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
11218 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
11219 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
11220 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
11221 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
11222 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
11223 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
11224 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
11225 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
11226 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
11227 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
11228 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
11229 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
11230 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
11231 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
11232 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
11233 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
11234 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
11235 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
11236 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
11237 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
11238 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
11239 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
11240 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
11241 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
11242 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
11243 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
11244 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
11245 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
11246 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
11247 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
11248 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
11249 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
11250 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
11251 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
11252 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
11253 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
11254 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
11255 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
11256 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
11257 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
11258 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
11259 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
11260 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
11261 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
11262 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
11263 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
11264 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
11265 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
11266 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
11267 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
11268 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
11269 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
11270 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
11271 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
11272 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
11273 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
11274 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
11275 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
11276 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
11277 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
11278 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
11279 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
11280 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
11281 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
11282 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
11283 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
11284 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
11285 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
11286 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
11287 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
11288 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
11289 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS },
11290 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS },
11291 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS },
11292 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS },
11293 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS },
11294 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS },
11295 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS },
11296 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS },
11297 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS },
11298 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
11299 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
11300 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
11301 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
11302 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
11303 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
11304 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
11305 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
11306 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
11307 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
11308 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
11309 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
11310 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
11311 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
11312 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
11313 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
11314 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
11315 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS },
11316 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS },
11317 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
11318 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
11319 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
11320 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
11321 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
11322 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
11323 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
11324 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
11325 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
11326 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
11327 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
11328 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
11329 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
11330 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
11331 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
11332 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
11333 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
11334 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
11335 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
11336 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
11337 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
11338 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
11339 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
11340 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
11341 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
11342 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
11343 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
11344 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
11345 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
11346 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
11347 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
11348 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
11349 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
11350 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
11351 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS },
11352 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS },
11353 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
11354 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
11355 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
11356 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
11357 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
11358 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
11359 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
11360 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
11361 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
11362 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
11363 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
11364 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
11365 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
11366 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
11367 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
11368 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
11369 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
11370 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
11371 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
11372 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS },
11373 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS },
11374 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS },
11375 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS },
11376 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
11377 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
11378 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
11379 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
11380 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
11381 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
11382 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
11383 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
11384 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
11385 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
11386 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
11387 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
11388 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
11389 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
11390 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
11391 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
11392 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
11393 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
11394 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
11395 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
11396 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
11397 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
11398 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
11399 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
11400 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
11401 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS },
11402 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS },
11403 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS },
11404 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
11405 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
11406 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
11407 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
11408 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
11409 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
11410 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
11411 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
11412 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
11413 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
11414 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
11415 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
11416 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
11417 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
11418 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
11419 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
11420 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
11421 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
11422 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
11423 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
11424 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
11425 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
11426 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
11427 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
11428 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
11429 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
11430 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
11431 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
11432 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
11433 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
11434 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
11435 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
11436 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
11437 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
11438 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
11439 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
11440 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
11441 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
11442 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
11443 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
11444 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
11445 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
11446 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
11447 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
11448 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
11449 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
11450 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS },
11451 { NULL, NULL }
11452};
11453
11454
11455/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11456
11457static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11458 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11459}
11460static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11461 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11462}
11463static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11464 return (void *)((wxObject *) ((wxSizerItem *) x));
11465}
11466static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11467 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11468}
11469static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11470 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11471}
11472static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11473 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11474}
11475static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11476 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11477}
11478static void *_p_wxSizerTo_p_wxObject(void *x) {
11479 return (void *)((wxObject *) ((wxSizer *) x));
11480}
11481static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11482 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11483}
11484static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11485 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11486}
11487static void *_p_wxEventTo_p_wxObject(void *x) {
11488 return (void *)((wxObject *) ((wxEvent *) x));
11489}
11490static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11491 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11492}
11493static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11494 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11495}
11496static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11497 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11498}
d14a1e28
RD
11499static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11500 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11501}
11502static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11503 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11504}
0df68c9f
RD
11505static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
11506 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
11507}
d14a1e28
RD
11508static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
11509 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
11510}
11511static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
11512 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
11513}
11514static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
11515 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11516}
11517static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
11518 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
11519}
11520static void *_p_wxControlTo_p_wxObject(void *x) {
11521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11522}
11523static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11524 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11525}
11526static void *_p_wxFSFileTo_p_wxObject(void *x) {
11527 return (void *)((wxObject *) ((wxFSFile *) x));
11528}
11529static void *_p_wxPySizerTo_p_wxObject(void *x) {
11530 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11531}
11532static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
11533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
11534}
11535static void *_p_wxPyEventTo_p_wxObject(void *x) {
11536 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11537}
11538static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11540}
11541static void *_p_wxShowEventTo_p_wxObject(void *x) {
11542 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
11543}
11544static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11545 return (void *)((wxObject *) ((wxMenuItem *) x));
11546}
11547static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11548 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11549}
11550static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11551 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11552}
11553static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11554 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11555}
11556static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11557 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11558}
11559static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11560 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11561}
11562static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11563 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11564}
11565static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11566 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11567}
11568static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11569 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11570}
11571static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11572 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11573}
11574static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
11575 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
11576}
11577static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
11578 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
11579}
11580static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
11581 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
11582}
11583static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
11584 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
11585}
11586static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11587 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11588}
11589static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11590 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11591}
11592static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11593 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11594}
11595static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11596 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11597}
11598static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11599 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11600}
11601static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11602 return (void *)((wxObject *) ((wxImageHandler *) x));
11603}
11604static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11605 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11606}
11607static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11608 return (void *)((wxObject *) ((wxEvtHandler *) x));
11609}
0df68c9f
RD
11610static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11611 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11612}
d14a1e28
RD
11613static void *_p_wxImageTo_p_wxObject(void *x) {
11614 return (void *)((wxObject *) ((wxImage *) x));
11615}
11616static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11617 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11618}
11619static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11620 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11621}
11622static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11623 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11624}
11625static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11626 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11627}
11628static void *_p_wxWindowTo_p_wxObject(void *x) {
11629 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11630}
11631static void *_p_wxMenuTo_p_wxObject(void *x) {
11632 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11633}
11634static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11636}
11637static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11638 return (void *)((wxObject *) ((wxFileSystem *) x));
11639}
11640static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
11641 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
11642}
11643static void *_p_wxMenuEventTo_p_wxObject(void *x) {
11644 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
11645}
11646static void *_p_wxPyAppTo_p_wxObject(void *x) {
11647 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11648}
11649static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11650 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11651}
11652static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11653 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11654}
11655static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11656 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11657}
11658static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
11659 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
11660}
11661static void *_p_wxCommandEventTo_p_wxObject(void *x) {
11662 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
11663}
11664static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
11665 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11666}
11667static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11668 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11669}
11670static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11671 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11672}
11673static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11674 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11675}
11676static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11677 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11678}
11679static void *_p_wxValidatorTo_p_wxObject(void *x) {
11680 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11681}
11682static void *_p_wxControlTo_p_wxWindow(void *x) {
11683 return (void *)((wxWindow *) ((wxControl *) x));
11684}
11685static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11686 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11687}
11688static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
11689 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
11690}
11691static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11692 return (void *)((wxWindow *) ((wxMenuBar *) x));
11693}
11694static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
11695 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
11696}
11697static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
11698 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
11699}
11700static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
11701 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
11702}
11703static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
11704 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
11705}
11706static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
11707 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
11708}
11709static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
11710 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11711}
11712static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
11713 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
11714}
11715static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
11716 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
11717}
11718static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
11719 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
11720}
11721static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11722 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11723}
11724static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11725 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11726}
11727static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11728 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11729}
11730static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11731 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11732}
11733static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
11734 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
11735}
11736static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11737 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11738}
11739static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11740 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11741}
11742static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11743 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11744}
11745static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11746 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11747}
11748static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
11749 return (void *)((wxControl *) ((wxControlWithItems *) x));
11750}
11751static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
11752 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
11753}
11754static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
11755 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
11756}
11757static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
11758 return (void *)((wxEvent *) ((wxMenuEvent *) x));
11759}
11760static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
11761 return (void *)((wxEvent *) ((wxCloseEvent *) x));
11762}
11763static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
11764 return (void *)((wxEvent *) ((wxMouseEvent *) x));
11765}
11766static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
11767 return (void *)((wxEvent *) ((wxEraseEvent *) x));
11768}
11769static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
11770 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
11771}
11772static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
11773 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
11774}
11775static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
11776 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
11777}
11778static void *_p_wxPyEventTo_p_wxEvent(void *x) {
11779 return (void *)((wxEvent *) ((wxPyEvent *) x));
11780}
11781static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
11782 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
11783}
11784static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
11785 return (void *)((wxEvent *) ((wxIdleEvent *) x));
11786}
11787static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
11788 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
11789}
11790static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
11791 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
11792}
11793static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
11794 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
11795}
11796static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
11797 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
11798}
11799static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
11800 return (void *)((wxEvent *) ((wxActivateEvent *) x));
11801}
11802static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
11803 return (void *)((wxEvent *) ((wxSizeEvent *) x));
11804}
11805static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
11806 return (void *)((wxEvent *) ((wxMoveEvent *) x));
11807}
11808static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
11809 return (void *)((wxEvent *) ((wxPaintEvent *) x));
11810}
11811static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
11812 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
11813}
11814static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
11815 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
11816}
11817static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
11818 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
11819}
11820static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
11821 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
11822}
11823static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
11824 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
11825}
11826static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
11827 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11828}
11829static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
11830 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
11831}
11832static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
11833 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
11834}
11835static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
11836 return (void *)((wxEvent *) ((wxFocusEvent *) x));
11837}
11838static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
11839 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
11840}
11841static void *_p_wxShowEventTo_p_wxEvent(void *x) {
11842 return (void *)((wxEvent *) ((wxShowEvent *) x));
11843}
11844static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
11845 return (void *)((wxEvent *) ((wxCommandEvent *) x));
11846}
11847static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
11848 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
11849}
11850static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
11851 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11852}
11853static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
11854 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
11855}
11856static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
11857 return (void *)((wxEvent *) ((wxKeyEvent *) x));
11858}
11859static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
11860 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
11861}
11862static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
11863static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
0df68c9f 11864static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}};
d14a1e28
RD
11865static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
11866static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0},{"_p_wxStyledTextEvent"},{0}};
11867static 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}};
11868static 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}};
11869static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
11870static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
11871static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
11872static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
11873static swig_type_info _swigt__p_wxDragResult[] = {{"_p_wxDragResult", 0, "wxDragResult *", 0},{"_p_wxDragResult"},{0}};
11874static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
11875static 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}};
11876static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0},{"_p_wxStyledTextCtrl"},{0}};
11877static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
11878static 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}};
11879static 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}};
11880static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
11881static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0},{"_p_wxMemoryBuffer"},{0}};
11882
11883static swig_type_info *swig_types_initial[] = {
11884_swigt__p_wxRect,
11885_swigt__p_wxColour,
11886_swigt__p_wxObject,
11887_swigt__p_wxScrollBar,
11888_swigt__p_wxStyledTextEvent,
11889_swigt__p_wxWindow,
11890_swigt__p_wxCommandEvent,
11891_swigt__p_wxBitmap,
11892_swigt__p_void,
11893_swigt__p_wxPoint,
11894_swigt__p_wxDC,
11895_swigt__p_wxDragResult,
11896_swigt__p_wxString,
11897_swigt__p_wxEvtHandler,
11898_swigt__p_wxStyledTextCtrl,
11899_swigt__p_wxFont,
11900_swigt__p_wxControl,
11901_swigt__p_wxEvent,
11902_swigt__p_int,
11903_swigt__p_wxMemoryBuffer,
119040
11905};
11906
11907
11908/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11909
11910static swig_const_info swig_const_table[] = {
11911{ SWIG_PY_INT, (char *)"STC_USE_DND", (long) 1, 0, 0, 0},
11912{ SWIG_PY_INT, (char *)"STC_USE_POPUP", (long) 1, 0, 0, 0},
11913{ SWIG_PY_INT, (char *)"STC_INVALID_POSITION", (long) -1, 0, 0, 0},
11914{ SWIG_PY_INT, (char *)"STC_START", (long) 2000, 0, 0, 0},
11915{ SWIG_PY_INT, (char *)"STC_OPTIONAL_START", (long) 3000, 0, 0, 0},
11916{ SWIG_PY_INT, (char *)"STC_LEXER_START", (long) 4000, 0, 0, 0},
11917{ SWIG_PY_INT, (char *)"STC_WS_INVISIBLE", (long) 0, 0, 0, 0},
11918{ SWIG_PY_INT, (char *)"STC_WS_VISIBLEALWAYS", (long) 1, 0, 0, 0},
11919{ SWIG_PY_INT, (char *)"STC_WS_VISIBLEAFTERINDENT", (long) 2, 0, 0, 0},
11920{ SWIG_PY_INT, (char *)"STC_EOL_CRLF", (long) 0, 0, 0, 0},
11921{ SWIG_PY_INT, (char *)"STC_EOL_CR", (long) 1, 0, 0, 0},
11922{ SWIG_PY_INT, (char *)"STC_EOL_LF", (long) 2, 0, 0, 0},
11923{ SWIG_PY_INT, (char *)"STC_CP_UTF8", (long) 65001, 0, 0, 0},
11924{ SWIG_PY_INT, (char *)"STC_CP_DBCS", (long) 1, 0, 0, 0},
11925{ SWIG_PY_INT, (char *)"STC_MARKER_MAX", (long) 31, 0, 0, 0},
11926{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLE", (long) 0, 0, 0, 0},
11927{ SWIG_PY_INT, (char *)"STC_MARK_ROUNDRECT", (long) 1, 0, 0, 0},
11928{ SWIG_PY_INT, (char *)"STC_MARK_ARROW", (long) 2, 0, 0, 0},
11929{ SWIG_PY_INT, (char *)"STC_MARK_SMALLRECT", (long) 3, 0, 0, 0},
11930{ SWIG_PY_INT, (char *)"STC_MARK_SHORTARROW", (long) 4, 0, 0, 0},
11931{ SWIG_PY_INT, (char *)"STC_MARK_EMPTY", (long) 5, 0, 0, 0},
11932{ SWIG_PY_INT, (char *)"STC_MARK_ARROWDOWN", (long) 6, 0, 0, 0},
11933{ SWIG_PY_INT, (char *)"STC_MARK_MINUS", (long) 7, 0, 0, 0},
11934{ SWIG_PY_INT, (char *)"STC_MARK_PLUS", (long) 8, 0, 0, 0},
11935{ SWIG_PY_INT, (char *)"STC_MARK_VLINE", (long) 9, 0, 0, 0},
11936{ SWIG_PY_INT, (char *)"STC_MARK_LCORNER", (long) 10, 0, 0, 0},
11937{ SWIG_PY_INT, (char *)"STC_MARK_TCORNER", (long) 11, 0, 0, 0},
11938{ SWIG_PY_INT, (char *)"STC_MARK_BOXPLUS", (long) 12, 0, 0, 0},
11939{ SWIG_PY_INT, (char *)"STC_MARK_BOXPLUSCONNECTED", (long) 13, 0, 0, 0},
11940{ SWIG_PY_INT, (char *)"STC_MARK_BOXMINUS", (long) 14, 0, 0, 0},
11941{ SWIG_PY_INT, (char *)"STC_MARK_BOXMINUSCONNECTED", (long) 15, 0, 0, 0},
11942{ SWIG_PY_INT, (char *)"STC_MARK_LCORNERCURVE", (long) 16, 0, 0, 0},
11943{ SWIG_PY_INT, (char *)"STC_MARK_TCORNERCURVE", (long) 17, 0, 0, 0},
11944{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLEPLUS", (long) 18, 0, 0, 0},
11945{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLEPLUSCONNECTED", (long) 19, 0, 0, 0},
11946{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLEMINUS", (long) 20, 0, 0, 0},
11947{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLEMINUSCONNECTED", (long) 21, 0, 0, 0},
11948{ SWIG_PY_INT, (char *)"STC_MARK_BACKGROUND", (long) 22, 0, 0, 0},
11949{ SWIG_PY_INT, (char *)"STC_MARK_DOTDOTDOT", (long) 23, 0, 0, 0},
11950{ SWIG_PY_INT, (char *)"STC_MARK_ARROWS", (long) 24, 0, 0, 0},
11951{ SWIG_PY_INT, (char *)"STC_MARK_PIXMAP", (long) 25, 0, 0, 0},
11952{ SWIG_PY_INT, (char *)"STC_MARK_CHARACTER", (long) 10000, 0, 0, 0},
11953{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEREND", (long) 25, 0, 0, 0},
11954{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEROPENMID", (long) 26, 0, 0, 0},
11955{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERMIDTAIL", (long) 27, 0, 0, 0},
11956{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERTAIL", (long) 28, 0, 0, 0},
11957{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERSUB", (long) 29, 0, 0, 0},
11958{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDER", (long) 30, 0, 0, 0},
11959{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEROPEN", (long) 31, 0, 0, 0},
11960{ SWIG_PY_INT, (char *)"STC_MASK_FOLDERS", (long) 0xFE000000, 0, 0, 0},
11961{ SWIG_PY_INT, (char *)"STC_MARGIN_SYMBOL", (long) 0, 0, 0, 0},
11962{ SWIG_PY_INT, (char *)"STC_MARGIN_NUMBER", (long) 1, 0, 0, 0},
11963{ SWIG_PY_INT, (char *)"STC_STYLE_DEFAULT", (long) 32, 0, 0, 0},
11964{ SWIG_PY_INT, (char *)"STC_STYLE_LINENUMBER", (long) 33, 0, 0, 0},
11965{ SWIG_PY_INT, (char *)"STC_STYLE_BRACELIGHT", (long) 34, 0, 0, 0},
11966{ SWIG_PY_INT, (char *)"STC_STYLE_BRACEBAD", (long) 35, 0, 0, 0},
11967{ SWIG_PY_INT, (char *)"STC_STYLE_CONTROLCHAR", (long) 36, 0, 0, 0},
11968{ SWIG_PY_INT, (char *)"STC_STYLE_INDENTGUIDE", (long) 37, 0, 0, 0},
11969{ SWIG_PY_INT, (char *)"STC_STYLE_LASTPREDEFINED", (long) 39, 0, 0, 0},
11970{ SWIG_PY_INT, (char *)"STC_STYLE_MAX", (long) 127, 0, 0, 0},
11971{ SWIG_PY_INT, (char *)"STC_CHARSET_ANSI", (long) 0, 0, 0, 0},
11972{ SWIG_PY_INT, (char *)"STC_CHARSET_DEFAULT", (long) 1, 0, 0, 0},
11973{ SWIG_PY_INT, (char *)"STC_CHARSET_BALTIC", (long) 186, 0, 0, 0},
11974{ SWIG_PY_INT, (char *)"STC_CHARSET_CHINESEBIG5", (long) 136, 0, 0, 0},
11975{ SWIG_PY_INT, (char *)"STC_CHARSET_EASTEUROPE", (long) 238, 0, 0, 0},
11976{ SWIG_PY_INT, (char *)"STC_CHARSET_GB2312", (long) 134, 0, 0, 0},
11977{ SWIG_PY_INT, (char *)"STC_CHARSET_GREEK", (long) 161, 0, 0, 0},
11978{ SWIG_PY_INT, (char *)"STC_CHARSET_HANGUL", (long) 129, 0, 0, 0},
11979{ SWIG_PY_INT, (char *)"STC_CHARSET_MAC", (long) 77, 0, 0, 0},
11980{ SWIG_PY_INT, (char *)"STC_CHARSET_OEM", (long) 255, 0, 0, 0},
11981{ SWIG_PY_INT, (char *)"STC_CHARSET_RUSSIAN", (long) 204, 0, 0, 0},
11982{ SWIG_PY_INT, (char *)"STC_CHARSET_SHIFTJIS", (long) 128, 0, 0, 0},
11983{ SWIG_PY_INT, (char *)"STC_CHARSET_SYMBOL", (long) 2, 0, 0, 0},
11984{ SWIG_PY_INT, (char *)"STC_CHARSET_TURKISH", (long) 162, 0, 0, 0},
11985{ SWIG_PY_INT, (char *)"STC_CHARSET_JOHAB", (long) 130, 0, 0, 0},
11986{ SWIG_PY_INT, (char *)"STC_CHARSET_HEBREW", (long) 177, 0, 0, 0},
11987{ SWIG_PY_INT, (char *)"STC_CHARSET_ARABIC", (long) 178, 0, 0, 0},
11988{ SWIG_PY_INT, (char *)"STC_CHARSET_VIETNAMESE", (long) 163, 0, 0, 0},
11989{ SWIG_PY_INT, (char *)"STC_CHARSET_THAI", (long) 222, 0, 0, 0},
11990{ SWIG_PY_INT, (char *)"STC_CASE_MIXED", (long) 0, 0, 0, 0},
11991{ SWIG_PY_INT, (char *)"STC_CASE_UPPER", (long) 1, 0, 0, 0},
11992{ SWIG_PY_INT, (char *)"STC_CASE_LOWER", (long) 2, 0, 0, 0},
11993{ SWIG_PY_INT, (char *)"STC_INDIC_MAX", (long) 7, 0, 0, 0},
11994{ SWIG_PY_INT, (char *)"STC_INDIC_PLAIN", (long) 0, 0, 0, 0},
11995{ SWIG_PY_INT, (char *)"STC_INDIC_SQUIGGLE", (long) 1, 0, 0, 0},
11996{ SWIG_PY_INT, (char *)"STC_INDIC_TT", (long) 2, 0, 0, 0},
11997{ SWIG_PY_INT, (char *)"STC_INDIC_DIAGONAL", (long) 3, 0, 0, 0},
11998{ SWIG_PY_INT, (char *)"STC_INDIC_STRIKE", (long) 4, 0, 0, 0},
11999{ SWIG_PY_INT, (char *)"STC_INDIC_HIDDEN", (long) 5, 0, 0, 0},
12000{ SWIG_PY_INT, (char *)"STC_INDIC0_MASK", (long) 0x20, 0, 0, 0},
12001{ SWIG_PY_INT, (char *)"STC_INDIC1_MASK", (long) 0x40, 0, 0, 0},
12002{ SWIG_PY_INT, (char *)"STC_INDIC2_MASK", (long) 0x80, 0, 0, 0},
12003{ SWIG_PY_INT, (char *)"STC_INDICS_MASK", (long) 0xE0, 0, 0, 0},
12004{ SWIG_PY_INT, (char *)"STC_PRINT_NORMAL", (long) 0, 0, 0, 0},
12005{ SWIG_PY_INT, (char *)"STC_PRINT_INVERTLIGHT", (long) 1, 0, 0, 0},
12006{ SWIG_PY_INT, (char *)"STC_PRINT_BLACKONWHITE", (long) 2, 0, 0, 0},
12007{ SWIG_PY_INT, (char *)"STC_PRINT_COLOURONWHITE", (long) 3, 0, 0, 0},
12008{ SWIG_PY_INT, (char *)"STC_PRINT_COLOURONWHITEDEFAULTBG", (long) 4, 0, 0, 0},
12009{ SWIG_PY_INT, (char *)"STC_FIND_WHOLEWORD", (long) 2, 0, 0, 0},
12010{ SWIG_PY_INT, (char *)"STC_FIND_MATCHCASE", (long) 4, 0, 0, 0},
12011{ SWIG_PY_INT, (char *)"STC_FIND_WORDSTART", (long) 0x00100000, 0, 0, 0},
12012{ SWIG_PY_INT, (char *)"STC_FIND_REGEXP", (long) 0x00200000, 0, 0, 0},
12013{ SWIG_PY_INT, (char *)"STC_FIND_POSIX", (long) 0x00400000, 0, 0, 0},
12014{ SWIG_PY_INT, (char *)"STC_FOLDLEVELBASE", (long) 0x400, 0, 0, 0},
12015{ SWIG_PY_INT, (char *)"STC_FOLDLEVELWHITEFLAG", (long) 0x1000, 0, 0, 0},
12016{ SWIG_PY_INT, (char *)"STC_FOLDLEVELHEADERFLAG", (long) 0x2000, 0, 0, 0},
12017{ SWIG_PY_INT, (char *)"STC_FOLDLEVELBOXHEADERFLAG", (long) 0x4000, 0, 0, 0},
12018{ SWIG_PY_INT, (char *)"STC_FOLDLEVELBOXFOOTERFLAG", (long) 0x8000, 0, 0, 0},
12019{ SWIG_PY_INT, (char *)"STC_FOLDLEVELCONTRACTED", (long) 0x10000, 0, 0, 0},
12020{ SWIG_PY_INT, (char *)"STC_FOLDLEVELUNINDENT", (long) 0x20000, 0, 0, 0},
12021{ SWIG_PY_INT, (char *)"STC_FOLDLEVELNUMBERMASK", (long) 0x0FFF, 0, 0, 0},
12022{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEBEFORE_EXPANDED", (long) 0x0002, 0, 0, 0},
12023{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", (long) 0x0004, 0, 0, 0},
12024{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEAFTER_EXPANDED", (long) 0x0008, 0, 0, 0},
12025{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEAFTER_CONTRACTED", (long) 0x0010, 0, 0, 0},
12026{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LEVELNUMBERS", (long) 0x0040, 0, 0, 0},
12027{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_BOX", (long) 0x0001, 0, 0, 0},
12028{ SWIG_PY_INT, (char *)"STC_TIME_FOREVER", (long) 10000000, 0, 0, 0},
12029{ SWIG_PY_INT, (char *)"STC_WRAP_NONE", (long) 0, 0, 0, 0},
12030{ SWIG_PY_INT, (char *)"STC_WRAP_WORD", (long) 1, 0, 0, 0},
12031{ SWIG_PY_INT, (char *)"STC_CACHE_NONE", (long) 0, 0, 0, 0},
12032{ SWIG_PY_INT, (char *)"STC_CACHE_CARET", (long) 1, 0, 0, 0},
12033{ SWIG_PY_INT, (char *)"STC_CACHE_PAGE", (long) 2, 0, 0, 0},
12034{ SWIG_PY_INT, (char *)"STC_CACHE_DOCUMENT", (long) 3, 0, 0, 0},
12035{ SWIG_PY_INT, (char *)"STC_EDGE_NONE", (long) 0, 0, 0, 0},
12036{ SWIG_PY_INT, (char *)"STC_EDGE_LINE", (long) 1, 0, 0, 0},
12037{ SWIG_PY_INT, (char *)"STC_EDGE_BACKGROUND", (long) 2, 0, 0, 0},
12038{ SWIG_PY_INT, (char *)"STC_CURSORNORMAL", (long) -1, 0, 0, 0},
12039{ SWIG_PY_INT, (char *)"STC_CURSORWAIT", (long) 4, 0, 0, 0},
12040{ SWIG_PY_INT, (char *)"STC_VISIBLE_SLOP", (long) 0x01, 0, 0, 0},
12041{ SWIG_PY_INT, (char *)"STC_VISIBLE_STRICT", (long) 0x04, 0, 0, 0},
12042{ SWIG_PY_INT, (char *)"STC_CARET_SLOP", (long) 0x01, 0, 0, 0},
12043{ SWIG_PY_INT, (char *)"STC_CARET_STRICT", (long) 0x04, 0, 0, 0},
12044{ SWIG_PY_INT, (char *)"STC_CARET_JUMPS", (long) 0x10, 0, 0, 0},
12045{ SWIG_PY_INT, (char *)"STC_CARET_EVEN", (long) 0x08, 0, 0, 0},
12046{ SWIG_PY_INT, (char *)"STC_KEYWORDSET_MAX", (long) 8, 0, 0, 0},
12047{ SWIG_PY_INT, (char *)"STC_MOD_INSERTTEXT", (long) 0x1, 0, 0, 0},
12048{ SWIG_PY_INT, (char *)"STC_MOD_DELETETEXT", (long) 0x2, 0, 0, 0},
12049{ SWIG_PY_INT, (char *)"STC_MOD_CHANGESTYLE", (long) 0x4, 0, 0, 0},
12050{ SWIG_PY_INT, (char *)"STC_MOD_CHANGEFOLD", (long) 0x8, 0, 0, 0},
12051{ SWIG_PY_INT, (char *)"STC_PERFORMED_USER", (long) 0x10, 0, 0, 0},
12052{ SWIG_PY_INT, (char *)"STC_PERFORMED_UNDO", (long) 0x20, 0, 0, 0},
12053{ SWIG_PY_INT, (char *)"STC_PERFORMED_REDO", (long) 0x40, 0, 0, 0},
12054{ SWIG_PY_INT, (char *)"STC_LASTSTEPINUNDOREDO", (long) 0x100, 0, 0, 0},
12055{ SWIG_PY_INT, (char *)"STC_MOD_CHANGEMARKER", (long) 0x200, 0, 0, 0},
12056{ SWIG_PY_INT, (char *)"STC_MOD_BEFOREINSERT", (long) 0x400, 0, 0, 0},
12057{ SWIG_PY_INT, (char *)"STC_MOD_BEFOREDELETE", (long) 0x800, 0, 0, 0},
12058{ SWIG_PY_INT, (char *)"STC_MODEVENTMASKALL", (long) 0xF77, 0, 0, 0},
12059{ SWIG_PY_INT, (char *)"STC_KEY_DOWN", (long) 300, 0, 0, 0},
12060{ SWIG_PY_INT, (char *)"STC_KEY_UP", (long) 301, 0, 0, 0},
12061{ SWIG_PY_INT, (char *)"STC_KEY_LEFT", (long) 302, 0, 0, 0},
12062{ SWIG_PY_INT, (char *)"STC_KEY_RIGHT", (long) 303, 0, 0, 0},
12063{ SWIG_PY_INT, (char *)"STC_KEY_HOME", (long) 304, 0, 0, 0},
12064{ SWIG_PY_INT, (char *)"STC_KEY_END", (long) 305, 0, 0, 0},
12065{ SWIG_PY_INT, (char *)"STC_KEY_PRIOR", (long) 306, 0, 0, 0},
12066{ SWIG_PY_INT, (char *)"STC_KEY_NEXT", (long) 307, 0, 0, 0},
12067{ SWIG_PY_INT, (char *)"STC_KEY_DELETE", (long) 308, 0, 0, 0},
12068{ SWIG_PY_INT, (char *)"STC_KEY_INSERT", (long) 309, 0, 0, 0},
12069{ SWIG_PY_INT, (char *)"STC_KEY_ESCAPE", (long) 7, 0, 0, 0},
12070{ SWIG_PY_INT, (char *)"STC_KEY_BACK", (long) 8, 0, 0, 0},
12071{ SWIG_PY_INT, (char *)"STC_KEY_TAB", (long) 9, 0, 0, 0},
12072{ SWIG_PY_INT, (char *)"STC_KEY_RETURN", (long) 13, 0, 0, 0},
12073{ SWIG_PY_INT, (char *)"STC_KEY_ADD", (long) 310, 0, 0, 0},
12074{ SWIG_PY_INT, (char *)"STC_KEY_SUBTRACT", (long) 311, 0, 0, 0},
12075{ SWIG_PY_INT, (char *)"STC_KEY_DIVIDE", (long) 312, 0, 0, 0},
12076{ SWIG_PY_INT, (char *)"STC_SCMOD_SHIFT", (long) 1, 0, 0, 0},
12077{ SWIG_PY_INT, (char *)"STC_SCMOD_CTRL", (long) 2, 0, 0, 0},
12078{ SWIG_PY_INT, (char *)"STC_SCMOD_ALT", (long) 4, 0, 0, 0},
12079{ SWIG_PY_INT, (char *)"STC_LEX_CONTAINER", (long) 0, 0, 0, 0},
12080{ SWIG_PY_INT, (char *)"STC_LEX_NULL", (long) 1, 0, 0, 0},
12081{ SWIG_PY_INT, (char *)"STC_LEX_PYTHON", (long) 2, 0, 0, 0},
12082{ SWIG_PY_INT, (char *)"STC_LEX_CPP", (long) 3, 0, 0, 0},
12083{ SWIG_PY_INT, (char *)"STC_LEX_HTML", (long) 4, 0, 0, 0},
12084{ SWIG_PY_INT, (char *)"STC_LEX_XML", (long) 5, 0, 0, 0},
12085{ SWIG_PY_INT, (char *)"STC_LEX_PERL", (long) 6, 0, 0, 0},
12086{ SWIG_PY_INT, (char *)"STC_LEX_SQL", (long) 7, 0, 0, 0},
12087{ SWIG_PY_INT, (char *)"STC_LEX_VB", (long) 8, 0, 0, 0},
12088{ SWIG_PY_INT, (char *)"STC_LEX_PROPERTIES", (long) 9, 0, 0, 0},
12089{ SWIG_PY_INT, (char *)"STC_LEX_ERRORLIST", (long) 10, 0, 0, 0},
12090{ SWIG_PY_INT, (char *)"STC_LEX_MAKEFILE", (long) 11, 0, 0, 0},
12091{ SWIG_PY_INT, (char *)"STC_LEX_BATCH", (long) 12, 0, 0, 0},
12092{ SWIG_PY_INT, (char *)"STC_LEX_XCODE", (long) 13, 0, 0, 0},
12093{ SWIG_PY_INT, (char *)"STC_LEX_LATEX", (long) 14, 0, 0, 0},
12094{ SWIG_PY_INT, (char *)"STC_LEX_LUA", (long) 15, 0, 0, 0},
12095{ SWIG_PY_INT, (char *)"STC_LEX_DIFF", (long) 16, 0, 0, 0},
12096{ SWIG_PY_INT, (char *)"STC_LEX_CONF", (long) 17, 0, 0, 0},
12097{ SWIG_PY_INT, (char *)"STC_LEX_PASCAL", (long) 18, 0, 0, 0},
12098{ SWIG_PY_INT, (char *)"STC_LEX_AVE", (long) 19, 0, 0, 0},
12099{ SWIG_PY_INT, (char *)"STC_LEX_ADA", (long) 20, 0, 0, 0},
12100{ SWIG_PY_INT, (char *)"STC_LEX_LISP", (long) 21, 0, 0, 0},
12101{ SWIG_PY_INT, (char *)"STC_LEX_RUBY", (long) 22, 0, 0, 0},
12102{ SWIG_PY_INT, (char *)"STC_LEX_EIFFEL", (long) 23, 0, 0, 0},
12103{ SWIG_PY_INT, (char *)"STC_LEX_EIFFELKW", (long) 24, 0, 0, 0},
12104{ SWIG_PY_INT, (char *)"STC_LEX_TCL", (long) 25, 0, 0, 0},
12105{ SWIG_PY_INT, (char *)"STC_LEX_NNCRONTAB", (long) 26, 0, 0, 0},
12106{ SWIG_PY_INT, (char *)"STC_LEX_BULLANT", (long) 27, 0, 0, 0},
12107{ SWIG_PY_INT, (char *)"STC_LEX_VBSCRIPT", (long) 28, 0, 0, 0},
12108{ SWIG_PY_INT, (char *)"STC_LEX_ASP", (long) 29, 0, 0, 0},
12109{ SWIG_PY_INT, (char *)"STC_LEX_PHP", (long) 30, 0, 0, 0},
12110{ SWIG_PY_INT, (char *)"STC_LEX_BAAN", (long) 31, 0, 0, 0},
12111{ SWIG_PY_INT, (char *)"STC_LEX_MATLAB", (long) 32, 0, 0, 0},
12112{ SWIG_PY_INT, (char *)"STC_LEX_SCRIPTOL", (long) 33, 0, 0, 0},
12113{ SWIG_PY_INT, (char *)"STC_LEX_ASM", (long) 34, 0, 0, 0},
12114{ SWIG_PY_INT, (char *)"STC_LEX_CPPNOCASE", (long) 35, 0, 0, 0},
12115{ SWIG_PY_INT, (char *)"STC_LEX_FORTRAN", (long) 36, 0, 0, 0},
12116{ SWIG_PY_INT, (char *)"STC_LEX_F77", (long) 37, 0, 0, 0},
12117{ SWIG_PY_INT, (char *)"STC_LEX_CSS", (long) 38, 0, 0, 0},
12118{ SWIG_PY_INT, (char *)"STC_LEX_POV", (long) 39, 0, 0, 0},
12119{ SWIG_PY_INT, (char *)"STC_LEX_LOUT", (long) 40, 0, 0, 0},
12120{ SWIG_PY_INT, (char *)"STC_LEX_ESCRIPT", (long) 41, 0, 0, 0},
12121{ SWIG_PY_INT, (char *)"STC_LEX_PS", (long) 42, 0, 0, 0},
12122{ SWIG_PY_INT, (char *)"STC_LEX_NSIS", (long) 43, 0, 0, 0},
12123{ SWIG_PY_INT, (char *)"STC_LEX_MMIXAL", (long) 44, 0, 0, 0},
12124{ SWIG_PY_INT, (char *)"STC_LEX_AUTOMATIC", (long) 1000, 0, 0, 0},
12125{ SWIG_PY_INT, (char *)"STC_P_DEFAULT", (long) 0, 0, 0, 0},
12126{ SWIG_PY_INT, (char *)"STC_P_COMMENTLINE", (long) 1, 0, 0, 0},
12127{ SWIG_PY_INT, (char *)"STC_P_NUMBER", (long) 2, 0, 0, 0},
12128{ SWIG_PY_INT, (char *)"STC_P_STRING", (long) 3, 0, 0, 0},
12129{ SWIG_PY_INT, (char *)"STC_P_CHARACTER", (long) 4, 0, 0, 0},
12130{ SWIG_PY_INT, (char *)"STC_P_WORD", (long) 5, 0, 0, 0},
12131{ SWIG_PY_INT, (char *)"STC_P_TRIPLE", (long) 6, 0, 0, 0},
12132{ SWIG_PY_INT, (char *)"STC_P_TRIPLEDOUBLE", (long) 7, 0, 0, 0},
12133{ SWIG_PY_INT, (char *)"STC_P_CLASSNAME", (long) 8, 0, 0, 0},
12134{ SWIG_PY_INT, (char *)"STC_P_DEFNAME", (long) 9, 0, 0, 0},
12135{ SWIG_PY_INT, (char *)"STC_P_OPERATOR", (long) 10, 0, 0, 0},
12136{ SWIG_PY_INT, (char *)"STC_P_IDENTIFIER", (long) 11, 0, 0, 0},
12137{ SWIG_PY_INT, (char *)"STC_P_COMMENTBLOCK", (long) 12, 0, 0, 0},
12138{ SWIG_PY_INT, (char *)"STC_P_STRINGEOL", (long) 13, 0, 0, 0},
12139{ SWIG_PY_INT, (char *)"STC_C_DEFAULT", (long) 0, 0, 0, 0},
12140{ SWIG_PY_INT, (char *)"STC_C_COMMENT", (long) 1, 0, 0, 0},
12141{ SWIG_PY_INT, (char *)"STC_C_COMMENTLINE", (long) 2, 0, 0, 0},
12142{ SWIG_PY_INT, (char *)"STC_C_COMMENTDOC", (long) 3, 0, 0, 0},
12143{ SWIG_PY_INT, (char *)"STC_C_NUMBER", (long) 4, 0, 0, 0},
12144{ SWIG_PY_INT, (char *)"STC_C_WORD", (long) 5, 0, 0, 0},
12145{ SWIG_PY_INT, (char *)"STC_C_STRING", (long) 6, 0, 0, 0},
12146{ SWIG_PY_INT, (char *)"STC_C_CHARACTER", (long) 7, 0, 0, 0},
12147{ SWIG_PY_INT, (char *)"STC_C_UUID", (long) 8, 0, 0, 0},
12148{ SWIG_PY_INT, (char *)"STC_C_PREPROCESSOR", (long) 9, 0, 0, 0},
12149{ SWIG_PY_INT, (char *)"STC_C_OPERATOR", (long) 10, 0, 0, 0},
12150{ SWIG_PY_INT, (char *)"STC_C_IDENTIFIER", (long) 11, 0, 0, 0},
12151{ SWIG_PY_INT, (char *)"STC_C_STRINGEOL", (long) 12, 0, 0, 0},
12152{ SWIG_PY_INT, (char *)"STC_C_VERBATIM", (long) 13, 0, 0, 0},
12153{ SWIG_PY_INT, (char *)"STC_C_REGEX", (long) 14, 0, 0, 0},
12154{ SWIG_PY_INT, (char *)"STC_C_COMMENTLINEDOC", (long) 15, 0, 0, 0},
12155{ SWIG_PY_INT, (char *)"STC_C_WORD2", (long) 16, 0, 0, 0},
12156{ SWIG_PY_INT, (char *)"STC_C_COMMENTDOCKEYWORD", (long) 17, 0, 0, 0},
12157{ SWIG_PY_INT, (char *)"STC_C_COMMENTDOCKEYWORDERROR", (long) 18, 0, 0, 0},
12158{ SWIG_PY_INT, (char *)"STC_C_GLOBALCLASS", (long) 19, 0, 0, 0},
12159{ SWIG_PY_INT, (char *)"STC_H_DEFAULT", (long) 0, 0, 0, 0},
12160{ SWIG_PY_INT, (char *)"STC_H_TAG", (long) 1, 0, 0, 0},
12161{ SWIG_PY_INT, (char *)"STC_H_TAGUNKNOWN", (long) 2, 0, 0, 0},
12162{ SWIG_PY_INT, (char *)"STC_H_ATTRIBUTE", (long) 3, 0, 0, 0},
12163{ SWIG_PY_INT, (char *)"STC_H_ATTRIBUTEUNKNOWN", (long) 4, 0, 0, 0},
12164{ SWIG_PY_INT, (char *)"STC_H_NUMBER", (long) 5, 0, 0, 0},
12165{ SWIG_PY_INT, (char *)"STC_H_DOUBLESTRING", (long) 6, 0, 0, 0},
12166{ SWIG_PY_INT, (char *)"STC_H_SINGLESTRING", (long) 7, 0, 0, 0},
12167{ SWIG_PY_INT, (char *)"STC_H_OTHER", (long) 8, 0, 0, 0},
12168{ SWIG_PY_INT, (char *)"STC_H_COMMENT", (long) 9, 0, 0, 0},
12169{ SWIG_PY_INT, (char *)"STC_H_ENTITY", (long) 10, 0, 0, 0},
12170{ SWIG_PY_INT, (char *)"STC_H_TAGEND", (long) 11, 0, 0, 0},
12171{ SWIG_PY_INT, (char *)"STC_H_XMLSTART", (long) 12, 0, 0, 0},
12172{ SWIG_PY_INT, (char *)"STC_H_XMLEND", (long) 13, 0, 0, 0},
12173{ SWIG_PY_INT, (char *)"STC_H_SCRIPT", (long) 14, 0, 0, 0},
12174{ SWIG_PY_INT, (char *)"STC_H_ASP", (long) 15, 0, 0, 0},
12175{ SWIG_PY_INT, (char *)"STC_H_ASPAT", (long) 16, 0, 0, 0},
12176{ SWIG_PY_INT, (char *)"STC_H_CDATA", (long) 17, 0, 0, 0},
12177{ SWIG_PY_INT, (char *)"STC_H_QUESTION", (long) 18, 0, 0, 0},
12178{ SWIG_PY_INT, (char *)"STC_H_VALUE", (long) 19, 0, 0, 0},
12179{ SWIG_PY_INT, (char *)"STC_H_XCCOMMENT", (long) 20, 0, 0, 0},
12180{ SWIG_PY_INT, (char *)"STC_H_SGML_DEFAULT", (long) 21, 0, 0, 0},
12181{ SWIG_PY_INT, (char *)"STC_H_SGML_COMMAND", (long) 22, 0, 0, 0},
12182{ SWIG_PY_INT, (char *)"STC_H_SGML_1ST_PARAM", (long) 23, 0, 0, 0},
12183{ SWIG_PY_INT, (char *)"STC_H_SGML_DOUBLESTRING", (long) 24, 0, 0, 0},
12184{ SWIG_PY_INT, (char *)"STC_H_SGML_SIMPLESTRING", (long) 25, 0, 0, 0},
12185{ SWIG_PY_INT, (char *)"STC_H_SGML_ERROR", (long) 26, 0, 0, 0},
12186{ SWIG_PY_INT, (char *)"STC_H_SGML_SPECIAL", (long) 27, 0, 0, 0},
12187{ SWIG_PY_INT, (char *)"STC_H_SGML_ENTITY", (long) 28, 0, 0, 0},
12188{ SWIG_PY_INT, (char *)"STC_H_SGML_COMMENT", (long) 29, 0, 0, 0},
12189{ SWIG_PY_INT, (char *)"STC_H_SGML_1ST_PARAM_COMMENT", (long) 30, 0, 0, 0},
12190{ SWIG_PY_INT, (char *)"STC_H_SGML_BLOCK_DEFAULT", (long) 31, 0, 0, 0},
12191{ SWIG_PY_INT, (char *)"STC_HJ_START", (long) 40, 0, 0, 0},
12192{ SWIG_PY_INT, (char *)"STC_HJ_DEFAULT", (long) 41, 0, 0, 0},
12193{ SWIG_PY_INT, (char *)"STC_HJ_COMMENT", (long) 42, 0, 0, 0},
12194{ SWIG_PY_INT, (char *)"STC_HJ_COMMENTLINE", (long) 43, 0, 0, 0},
12195{ SWIG_PY_INT, (char *)"STC_HJ_COMMENTDOC", (long) 44, 0, 0, 0},
12196{ SWIG_PY_INT, (char *)"STC_HJ_NUMBER", (long) 45, 0, 0, 0},
12197{ SWIG_PY_INT, (char *)"STC_HJ_WORD", (long) 46, 0, 0, 0},
12198{ SWIG_PY_INT, (char *)"STC_HJ_KEYWORD", (long) 47, 0, 0, 0},
12199{ SWIG_PY_INT, (char *)"STC_HJ_DOUBLESTRING", (long) 48, 0, 0, 0},
12200{ SWIG_PY_INT, (char *)"STC_HJ_SINGLESTRING", (long) 49, 0, 0, 0},
12201{ SWIG_PY_INT, (char *)"STC_HJ_SYMBOLS", (long) 50, 0, 0, 0},
12202{ SWIG_PY_INT, (char *)"STC_HJ_STRINGEOL", (long) 51, 0, 0, 0},
12203{ SWIG_PY_INT, (char *)"STC_HJ_REGEX", (long) 52, 0, 0, 0},
12204{ SWIG_PY_INT, (char *)"STC_HJA_START", (long) 55, 0, 0, 0},
12205{ SWIG_PY_INT, (char *)"STC_HJA_DEFAULT", (long) 56, 0, 0, 0},
12206{ SWIG_PY_INT, (char *)"STC_HJA_COMMENT", (long) 57, 0, 0, 0},
12207{ SWIG_PY_INT, (char *)"STC_HJA_COMMENTLINE", (long) 58, 0, 0, 0},
12208{ SWIG_PY_INT, (char *)"STC_HJA_COMMENTDOC", (long) 59, 0, 0, 0},
12209{ SWIG_PY_INT, (char *)"STC_HJA_NUMBER", (long) 60, 0, 0, 0},
12210{ SWIG_PY_INT, (char *)"STC_HJA_WORD", (long) 61, 0, 0, 0},
12211{ SWIG_PY_INT, (char *)"STC_HJA_KEYWORD", (long) 62, 0, 0, 0},
12212{ SWIG_PY_INT, (char *)"STC_HJA_DOUBLESTRING", (long) 63, 0, 0, 0},
12213{ SWIG_PY_INT, (char *)"STC_HJA_SINGLESTRING", (long) 64, 0, 0, 0},
12214{ SWIG_PY_INT, (char *)"STC_HJA_SYMBOLS", (long) 65, 0, 0, 0},
12215{ SWIG_PY_INT, (char *)"STC_HJA_STRINGEOL", (long) 66, 0, 0, 0},
12216{ SWIG_PY_INT, (char *)"STC_HJA_REGEX", (long) 67, 0, 0, 0},
12217{ SWIG_PY_INT, (char *)"STC_HB_START", (long) 70, 0, 0, 0},
12218{ SWIG_PY_INT, (char *)"STC_HB_DEFAULT", (long) 71, 0, 0, 0},
12219{ SWIG_PY_INT, (char *)"STC_HB_COMMENTLINE", (long) 72, 0, 0, 0},
12220{ SWIG_PY_INT, (char *)"STC_HB_NUMBER", (long) 73, 0, 0, 0},
12221{ SWIG_PY_INT, (char *)"STC_HB_WORD", (long) 74, 0, 0, 0},
12222{ SWIG_PY_INT, (char *)"STC_HB_STRING", (long) 75, 0, 0, 0},
12223{ SWIG_PY_INT, (char *)"STC_HB_IDENTIFIER", (long) 76, 0, 0, 0},
12224{ SWIG_PY_INT, (char *)"STC_HB_STRINGEOL", (long) 77, 0, 0, 0},
12225{ SWIG_PY_INT, (char *)"STC_HBA_START", (long) 80, 0, 0, 0},
12226{ SWIG_PY_INT, (char *)"STC_HBA_DEFAULT", (long) 81, 0, 0, 0},
12227{ SWIG_PY_INT, (char *)"STC_HBA_COMMENTLINE", (long) 82, 0, 0, 0},
12228{ SWIG_PY_INT, (char *)"STC_HBA_NUMBER", (long) 83, 0, 0, 0},
12229{ SWIG_PY_INT, (char *)"STC_HBA_WORD", (long) 84, 0, 0, 0},
12230{ SWIG_PY_INT, (char *)"STC_HBA_STRING", (long) 85, 0, 0, 0},
12231{ SWIG_PY_INT, (char *)"STC_HBA_IDENTIFIER", (long) 86, 0, 0, 0},
12232{ SWIG_PY_INT, (char *)"STC_HBA_STRINGEOL", (long) 87, 0, 0, 0},
12233{ SWIG_PY_INT, (char *)"STC_HP_START", (long) 90, 0, 0, 0},
12234{ SWIG_PY_INT, (char *)"STC_HP_DEFAULT", (long) 91, 0, 0, 0},
12235{ SWIG_PY_INT, (char *)"STC_HP_COMMENTLINE", (long) 92, 0, 0, 0},
12236{ SWIG_PY_INT, (char *)"STC_HP_NUMBER", (long) 93, 0, 0, 0},
12237{ SWIG_PY_INT, (char *)"STC_HP_STRING", (long) 94, 0, 0, 0},
12238{ SWIG_PY_INT, (char *)"STC_HP_CHARACTER", (long) 95, 0, 0, 0},
12239{ SWIG_PY_INT, (char *)"STC_HP_WORD", (long) 96, 0, 0, 0},
12240{ SWIG_PY_INT, (char *)"STC_HP_TRIPLE", (long) 97, 0, 0, 0},
12241{ SWIG_PY_INT, (char *)"STC_HP_TRIPLEDOUBLE", (long) 98, 0, 0, 0},
12242{ SWIG_PY_INT, (char *)"STC_HP_CLASSNAME", (long) 99, 0, 0, 0},
12243{ SWIG_PY_INT, (char *)"STC_HP_DEFNAME", (long) 100, 0, 0, 0},
12244{ SWIG_PY_INT, (char *)"STC_HP_OPERATOR", (long) 101, 0, 0, 0},
12245{ SWIG_PY_INT, (char *)"STC_HP_IDENTIFIER", (long) 102, 0, 0, 0},
12246{ SWIG_PY_INT, (char *)"STC_HPA_START", (long) 105, 0, 0, 0},
12247{ SWIG_PY_INT, (char *)"STC_HPA_DEFAULT", (long) 106, 0, 0, 0},
12248{ SWIG_PY_INT, (char *)"STC_HPA_COMMENTLINE", (long) 107, 0, 0, 0},
12249{ SWIG_PY_INT, (char *)"STC_HPA_NUMBER", (long) 108, 0, 0, 0},
12250{ SWIG_PY_INT, (char *)"STC_HPA_STRING", (long) 109, 0, 0, 0},
12251{ SWIG_PY_INT, (char *)"STC_HPA_CHARACTER", (long) 110, 0, 0, 0},
12252{ SWIG_PY_INT, (char *)"STC_HPA_WORD", (long) 111, 0, 0, 0},
12253{ SWIG_PY_INT, (char *)"STC_HPA_TRIPLE", (long) 112, 0, 0, 0},
12254{ SWIG_PY_INT, (char *)"STC_HPA_TRIPLEDOUBLE", (long) 113, 0, 0, 0},
12255{ SWIG_PY_INT, (char *)"STC_HPA_CLASSNAME", (long) 114, 0, 0, 0},
12256{ SWIG_PY_INT, (char *)"STC_HPA_DEFNAME", (long) 115, 0, 0, 0},
12257{ SWIG_PY_INT, (char *)"STC_HPA_OPERATOR", (long) 116, 0, 0, 0},
12258{ SWIG_PY_INT, (char *)"STC_HPA_IDENTIFIER", (long) 117, 0, 0, 0},
12259{ SWIG_PY_INT, (char *)"STC_HPHP_DEFAULT", (long) 118, 0, 0, 0},
12260{ SWIG_PY_INT, (char *)"STC_HPHP_HSTRING", (long) 119, 0, 0, 0},
12261{ SWIG_PY_INT, (char *)"STC_HPHP_SIMPLESTRING", (long) 120, 0, 0, 0},
12262{ SWIG_PY_INT, (char *)"STC_HPHP_WORD", (long) 121, 0, 0, 0},
12263{ SWIG_PY_INT, (char *)"STC_HPHP_NUMBER", (long) 122, 0, 0, 0},
12264{ SWIG_PY_INT, (char *)"STC_HPHP_VARIABLE", (long) 123, 0, 0, 0},
12265{ SWIG_PY_INT, (char *)"STC_HPHP_COMMENT", (long) 124, 0, 0, 0},
12266{ SWIG_PY_INT, (char *)"STC_HPHP_COMMENTLINE", (long) 125, 0, 0, 0},
12267{ SWIG_PY_INT, (char *)"STC_HPHP_HSTRING_VARIABLE", (long) 126, 0, 0, 0},
12268{ SWIG_PY_INT, (char *)"STC_HPHP_OPERATOR", (long) 127, 0, 0, 0},
12269{ SWIG_PY_INT, (char *)"STC_PL_DEFAULT", (long) 0, 0, 0, 0},
12270{ SWIG_PY_INT, (char *)"STC_PL_ERROR", (long) 1, 0, 0, 0},
12271{ SWIG_PY_INT, (char *)"STC_PL_COMMENTLINE", (long) 2, 0, 0, 0},
12272{ SWIG_PY_INT, (char *)"STC_PL_POD", (long) 3, 0, 0, 0},
12273{ SWIG_PY_INT, (char *)"STC_PL_NUMBER", (long) 4, 0, 0, 0},
12274{ SWIG_PY_INT, (char *)"STC_PL_WORD", (long) 5, 0, 0, 0},
12275{ SWIG_PY_INT, (char *)"STC_PL_STRING", (long) 6, 0, 0, 0},
12276{ SWIG_PY_INT, (char *)"STC_PL_CHARACTER", (long) 7, 0, 0, 0},
12277{ SWIG_PY_INT, (char *)"STC_PL_PUNCTUATION", (long) 8, 0, 0, 0},
12278{ SWIG_PY_INT, (char *)"STC_PL_PREPROCESSOR", (long) 9, 0, 0, 0},
12279{ SWIG_PY_INT, (char *)"STC_PL_OPERATOR", (long) 10, 0, 0, 0},
12280{ SWIG_PY_INT, (char *)"STC_PL_IDENTIFIER", (long) 11, 0, 0, 0},
12281{ SWIG_PY_INT, (char *)"STC_PL_SCALAR", (long) 12, 0, 0, 0},
12282{ SWIG_PY_INT, (char *)"STC_PL_ARRAY", (long) 13, 0, 0, 0},
12283{ SWIG_PY_INT, (char *)"STC_PL_HASH", (long) 14, 0, 0, 0},
12284{ SWIG_PY_INT, (char *)"STC_PL_SYMBOLTABLE", (long) 15, 0, 0, 0},
12285{ SWIG_PY_INT, (char *)"STC_PL_REGEX", (long) 17, 0, 0, 0},
12286{ SWIG_PY_INT, (char *)"STC_PL_REGSUBST", (long) 18, 0, 0, 0},
12287{ SWIG_PY_INT, (char *)"STC_PL_LONGQUOTE", (long) 19, 0, 0, 0},
12288{ SWIG_PY_INT, (char *)"STC_PL_BACKTICKS", (long) 20, 0, 0, 0},
12289{ SWIG_PY_INT, (char *)"STC_PL_DATASECTION", (long) 21, 0, 0, 0},
12290{ SWIG_PY_INT, (char *)"STC_PL_HERE_DELIM", (long) 22, 0, 0, 0},
12291{ SWIG_PY_INT, (char *)"STC_PL_HERE_Q", (long) 23, 0, 0, 0},
12292{ SWIG_PY_INT, (char *)"STC_PL_HERE_QQ", (long) 24, 0, 0, 0},
12293{ SWIG_PY_INT, (char *)"STC_PL_HERE_QX", (long) 25, 0, 0, 0},
12294{ SWIG_PY_INT, (char *)"STC_PL_STRING_Q", (long) 26, 0, 0, 0},
12295{ SWIG_PY_INT, (char *)"STC_PL_STRING_QQ", (long) 27, 0, 0, 0},
12296{ SWIG_PY_INT, (char *)"STC_PL_STRING_QX", (long) 28, 0, 0, 0},
12297{ SWIG_PY_INT, (char *)"STC_PL_STRING_QR", (long) 29, 0, 0, 0},
12298{ SWIG_PY_INT, (char *)"STC_PL_STRING_QW", (long) 30, 0, 0, 0},
12299{ SWIG_PY_INT, (char *)"STC_B_DEFAULT", (long) 0, 0, 0, 0},
12300{ SWIG_PY_INT, (char *)"STC_B_COMMENT", (long) 1, 0, 0, 0},
12301{ SWIG_PY_INT, (char *)"STC_B_NUMBER", (long) 2, 0, 0, 0},
12302{ SWIG_PY_INT, (char *)"STC_B_KEYWORD", (long) 3, 0, 0, 0},
12303{ SWIG_PY_INT, (char *)"STC_B_STRING", (long) 4, 0, 0, 0},
12304{ SWIG_PY_INT, (char *)"STC_B_PREPROCESSOR", (long) 5, 0, 0, 0},
12305{ SWIG_PY_INT, (char *)"STC_B_OPERATOR", (long) 6, 0, 0, 0},
12306{ SWIG_PY_INT, (char *)"STC_B_IDENTIFIER", (long) 7, 0, 0, 0},
12307{ SWIG_PY_INT, (char *)"STC_B_DATE", (long) 8, 0, 0, 0},
12308{ SWIG_PY_INT, (char *)"STC_PROPS_DEFAULT", (long) 0, 0, 0, 0},
12309{ SWIG_PY_INT, (char *)"STC_PROPS_COMMENT", (long) 1, 0, 0, 0},
12310{ SWIG_PY_INT, (char *)"STC_PROPS_SECTION", (long) 2, 0, 0, 0},
12311{ SWIG_PY_INT, (char *)"STC_PROPS_ASSIGNMENT", (long) 3, 0, 0, 0},
12312{ SWIG_PY_INT, (char *)"STC_PROPS_DEFVAL", (long) 4, 0, 0, 0},
12313{ SWIG_PY_INT, (char *)"STC_L_DEFAULT", (long) 0, 0, 0, 0},
12314{ SWIG_PY_INT, (char *)"STC_L_COMMAND", (long) 1, 0, 0, 0},
12315{ SWIG_PY_INT, (char *)"STC_L_TAG", (long) 2, 0, 0, 0},
12316{ SWIG_PY_INT, (char *)"STC_L_MATH", (long) 3, 0, 0, 0},
12317{ SWIG_PY_INT, (char *)"STC_L_COMMENT", (long) 4, 0, 0, 0},
12318{ SWIG_PY_INT, (char *)"STC_LUA_DEFAULT", (long) 0, 0, 0, 0},
12319{ SWIG_PY_INT, (char *)"STC_LUA_COMMENT", (long) 1, 0, 0, 0},
12320{ SWIG_PY_INT, (char *)"STC_LUA_COMMENTLINE", (long) 2, 0, 0, 0},
12321{ SWIG_PY_INT, (char *)"STC_LUA_COMMENTDOC", (long) 3, 0, 0, 0},
12322{ SWIG_PY_INT, (char *)"STC_LUA_NUMBER", (long) 4, 0, 0, 0},
12323{ SWIG_PY_INT, (char *)"STC_LUA_WORD", (long) 5, 0, 0, 0},
12324{ SWIG_PY_INT, (char *)"STC_LUA_STRING", (long) 6, 0, 0, 0},
12325{ SWIG_PY_INT, (char *)"STC_LUA_CHARACTER", (long) 7, 0, 0, 0},
12326{ SWIG_PY_INT, (char *)"STC_LUA_LITERALSTRING", (long) 8, 0, 0, 0},
12327{ SWIG_PY_INT, (char *)"STC_LUA_PREPROCESSOR", (long) 9, 0, 0, 0},
12328{ SWIG_PY_INT, (char *)"STC_LUA_OPERATOR", (long) 10, 0, 0, 0},
12329{ SWIG_PY_INT, (char *)"STC_LUA_IDENTIFIER", (long) 11, 0, 0, 0},
12330{ SWIG_PY_INT, (char *)"STC_LUA_STRINGEOL", (long) 12, 0, 0, 0},
12331{ SWIG_PY_INT, (char *)"STC_LUA_WORD2", (long) 13, 0, 0, 0},
12332{ SWIG_PY_INT, (char *)"STC_LUA_WORD3", (long) 14, 0, 0, 0},
12333{ SWIG_PY_INT, (char *)"STC_LUA_WORD4", (long) 15, 0, 0, 0},
12334{ SWIG_PY_INT, (char *)"STC_LUA_WORD5", (long) 16, 0, 0, 0},
12335{ SWIG_PY_INT, (char *)"STC_LUA_WORD6", (long) 17, 0, 0, 0},
12336{ SWIG_PY_INT, (char *)"STC_LUA_WORD7", (long) 18, 0, 0, 0},
12337{ SWIG_PY_INT, (char *)"STC_LUA_WORD8", (long) 19, 0, 0, 0},
12338{ SWIG_PY_INT, (char *)"STC_ERR_DEFAULT", (long) 0, 0, 0, 0},
12339{ SWIG_PY_INT, (char *)"STC_ERR_PYTHON", (long) 1, 0, 0, 0},
12340{ SWIG_PY_INT, (char *)"STC_ERR_GCC", (long) 2, 0, 0, 0},
12341{ SWIG_PY_INT, (char *)"STC_ERR_MS", (long) 3, 0, 0, 0},
12342{ SWIG_PY_INT, (char *)"STC_ERR_CMD", (long) 4, 0, 0, 0},
12343{ SWIG_PY_INT, (char *)"STC_ERR_BORLAND", (long) 5, 0, 0, 0},
12344{ SWIG_PY_INT, (char *)"STC_ERR_PERL", (long) 6, 0, 0, 0},
12345{ SWIG_PY_INT, (char *)"STC_ERR_NET", (long) 7, 0, 0, 0},
12346{ SWIG_PY_INT, (char *)"STC_ERR_LUA", (long) 8, 0, 0, 0},
12347{ SWIG_PY_INT, (char *)"STC_ERR_CTAG", (long) 9, 0, 0, 0},
12348{ SWIG_PY_INT, (char *)"STC_ERR_DIFF_CHANGED", (long) 10, 0, 0, 0},
12349{ SWIG_PY_INT, (char *)"STC_ERR_DIFF_ADDITION", (long) 11, 0, 0, 0},
12350{ SWIG_PY_INT, (char *)"STC_ERR_DIFF_DELETION", (long) 12, 0, 0, 0},
12351{ SWIG_PY_INT, (char *)"STC_ERR_DIFF_MESSAGE", (long) 13, 0, 0, 0},
12352{ SWIG_PY_INT, (char *)"STC_ERR_PHP", (long) 14, 0, 0, 0},
12353{ SWIG_PY_INT, (char *)"STC_ERR_ELF", (long) 15, 0, 0, 0},
12354{ SWIG_PY_INT, (char *)"STC_ERR_IFC", (long) 16, 0, 0, 0},
12355{ SWIG_PY_INT, (char *)"STC_BAT_DEFAULT", (long) 0, 0, 0, 0},
12356{ SWIG_PY_INT, (char *)"STC_BAT_COMMENT", (long) 1, 0, 0, 0},
12357{ SWIG_PY_INT, (char *)"STC_BAT_WORD", (long) 2, 0, 0, 0},
12358{ SWIG_PY_INT, (char *)"STC_BAT_LABEL", (long) 3, 0, 0, 0},
12359{ SWIG_PY_INT, (char *)"STC_BAT_HIDE", (long) 4, 0, 0, 0},
12360{ SWIG_PY_INT, (char *)"STC_BAT_COMMAND", (long) 5, 0, 0, 0},
12361{ SWIG_PY_INT, (char *)"STC_BAT_IDENTIFIER", (long) 6, 0, 0, 0},
12362{ SWIG_PY_INT, (char *)"STC_BAT_OPERATOR", (long) 7, 0, 0, 0},
12363{ SWIG_PY_INT, (char *)"STC_MAKE_DEFAULT", (long) 0, 0, 0, 0},
12364{ SWIG_PY_INT, (char *)"STC_MAKE_COMMENT", (long) 1, 0, 0, 0},
12365{ SWIG_PY_INT, (char *)"STC_MAKE_PREPROCESSOR", (long) 2, 0, 0, 0},
12366{ SWIG_PY_INT, (char *)"STC_MAKE_IDENTIFIER", (long) 3, 0, 0, 0},
12367{ SWIG_PY_INT, (char *)"STC_MAKE_OPERATOR", (long) 4, 0, 0, 0},
12368{ SWIG_PY_INT, (char *)"STC_MAKE_TARGET", (long) 5, 0, 0, 0},
12369{ SWIG_PY_INT, (char *)"STC_MAKE_IDEOL", (long) 9, 0, 0, 0},
12370{ SWIG_PY_INT, (char *)"STC_DIFF_DEFAULT", (long) 0, 0, 0, 0},
12371{ SWIG_PY_INT, (char *)"STC_DIFF_COMMENT", (long) 1, 0, 0, 0},
12372{ SWIG_PY_INT, (char *)"STC_DIFF_COMMAND", (long) 2, 0, 0, 0},
12373{ SWIG_PY_INT, (char *)"STC_DIFF_HEADER", (long) 3, 0, 0, 0},
12374{ SWIG_PY_INT, (char *)"STC_DIFF_POSITION", (long) 4, 0, 0, 0},
12375{ SWIG_PY_INT, (char *)"STC_DIFF_DELETED", (long) 5, 0, 0, 0},
12376{ SWIG_PY_INT, (char *)"STC_DIFF_ADDED", (long) 6, 0, 0, 0},
12377{ SWIG_PY_INT, (char *)"STC_CONF_DEFAULT", (long) 0, 0, 0, 0},
12378{ SWIG_PY_INT, (char *)"STC_CONF_COMMENT", (long) 1, 0, 0, 0},
12379{ SWIG_PY_INT, (char *)"STC_CONF_NUMBER", (long) 2, 0, 0, 0},
12380{ SWIG_PY_INT, (char *)"STC_CONF_IDENTIFIER", (long) 3, 0, 0, 0},
12381{ SWIG_PY_INT, (char *)"STC_CONF_EXTENSION", (long) 4, 0, 0, 0},
12382{ SWIG_PY_INT, (char *)"STC_CONF_PARAMETER", (long) 5, 0, 0, 0},
12383{ SWIG_PY_INT, (char *)"STC_CONF_STRING", (long) 6, 0, 0, 0},
12384{ SWIG_PY_INT, (char *)"STC_CONF_OPERATOR", (long) 7, 0, 0, 0},
12385{ SWIG_PY_INT, (char *)"STC_CONF_IP", (long) 8, 0, 0, 0},
12386{ SWIG_PY_INT, (char *)"STC_CONF_DIRECTIVE", (long) 9, 0, 0, 0},
12387{ SWIG_PY_INT, (char *)"STC_AVE_DEFAULT", (long) 0, 0, 0, 0},
12388{ SWIG_PY_INT, (char *)"STC_AVE_COMMENT", (long) 1, 0, 0, 0},
12389{ SWIG_PY_INT, (char *)"STC_AVE_NUMBER", (long) 2, 0, 0, 0},
12390{ SWIG_PY_INT, (char *)"STC_AVE_WORD", (long) 3, 0, 0, 0},
12391{ SWIG_PY_INT, (char *)"STC_AVE_STRING", (long) 6, 0, 0, 0},
12392{ SWIG_PY_INT, (char *)"STC_AVE_ENUM", (long) 7, 0, 0, 0},
12393{ SWIG_PY_INT, (char *)"STC_AVE_STRINGEOL", (long) 8, 0, 0, 0},
12394{ SWIG_PY_INT, (char *)"STC_AVE_IDENTIFIER", (long) 9, 0, 0, 0},
12395{ SWIG_PY_INT, (char *)"STC_AVE_OPERATOR", (long) 10, 0, 0, 0},
12396{ SWIG_PY_INT, (char *)"STC_AVE_WORD1", (long) 11, 0, 0, 0},
12397{ SWIG_PY_INT, (char *)"STC_AVE_WORD2", (long) 12, 0, 0, 0},
12398{ SWIG_PY_INT, (char *)"STC_AVE_WORD3", (long) 13, 0, 0, 0},
12399{ SWIG_PY_INT, (char *)"STC_AVE_WORD4", (long) 14, 0, 0, 0},
12400{ SWIG_PY_INT, (char *)"STC_AVE_WORD5", (long) 15, 0, 0, 0},
12401{ SWIG_PY_INT, (char *)"STC_AVE_WORD6", (long) 16, 0, 0, 0},
12402{ SWIG_PY_INT, (char *)"STC_ADA_DEFAULT", (long) 0, 0, 0, 0},
12403{ SWIG_PY_INT, (char *)"STC_ADA_WORD", (long) 1, 0, 0, 0},
12404{ SWIG_PY_INT, (char *)"STC_ADA_IDENTIFIER", (long) 2, 0, 0, 0},
12405{ SWIG_PY_INT, (char *)"STC_ADA_NUMBER", (long) 3, 0, 0, 0},
12406{ SWIG_PY_INT, (char *)"STC_ADA_DELIMITER", (long) 4, 0, 0, 0},
12407{ SWIG_PY_INT, (char *)"STC_ADA_CHARACTER", (long) 5, 0, 0, 0},
12408{ SWIG_PY_INT, (char *)"STC_ADA_CHARACTEREOL", (long) 6, 0, 0, 0},
12409{ SWIG_PY_INT, (char *)"STC_ADA_STRING", (long) 7, 0, 0, 0},
12410{ SWIG_PY_INT, (char *)"STC_ADA_STRINGEOL", (long) 8, 0, 0, 0},
12411{ SWIG_PY_INT, (char *)"STC_ADA_LABEL", (long) 9, 0, 0, 0},
12412{ SWIG_PY_INT, (char *)"STC_ADA_COMMENTLINE", (long) 10, 0, 0, 0},
12413{ SWIG_PY_INT, (char *)"STC_ADA_ILLEGAL", (long) 11, 0, 0, 0},
12414{ SWIG_PY_INT, (char *)"STC_BAAN_DEFAULT", (long) 0, 0, 0, 0},
12415{ SWIG_PY_INT, (char *)"STC_BAAN_COMMENT", (long) 1, 0, 0, 0},
12416{ SWIG_PY_INT, (char *)"STC_BAAN_COMMENTDOC", (long) 2, 0, 0, 0},
12417{ SWIG_PY_INT, (char *)"STC_BAAN_NUMBER", (long) 3, 0, 0, 0},
12418{ SWIG_PY_INT, (char *)"STC_BAAN_WORD", (long) 4, 0, 0, 0},
12419{ SWIG_PY_INT, (char *)"STC_BAAN_STRING", (long) 5, 0, 0, 0},
12420{ SWIG_PY_INT, (char *)"STC_BAAN_PREPROCESSOR", (long) 6, 0, 0, 0},
12421{ SWIG_PY_INT, (char *)"STC_BAAN_OPERATOR", (long) 7, 0, 0, 0},
12422{ SWIG_PY_INT, (char *)"STC_BAAN_IDENTIFIER", (long) 8, 0, 0, 0},
12423{ SWIG_PY_INT, (char *)"STC_BAAN_STRINGEOL", (long) 9, 0, 0, 0},
12424{ SWIG_PY_INT, (char *)"STC_BAAN_WORD2", (long) 10, 0, 0, 0},
12425{ SWIG_PY_INT, (char *)"STC_LISP_DEFAULT", (long) 0, 0, 0, 0},
12426{ SWIG_PY_INT, (char *)"STC_LISP_COMMENT", (long) 1, 0, 0, 0},
12427{ SWIG_PY_INT, (char *)"STC_LISP_NUMBER", (long) 2, 0, 0, 0},
12428{ SWIG_PY_INT, (char *)"STC_LISP_KEYWORD", (long) 3, 0, 0, 0},
12429{ SWIG_PY_INT, (char *)"STC_LISP_STRING", (long) 6, 0, 0, 0},
12430{ SWIG_PY_INT, (char *)"STC_LISP_STRINGEOL", (long) 8, 0, 0, 0},
12431{ SWIG_PY_INT, (char *)"STC_LISP_IDENTIFIER", (long) 9, 0, 0, 0},
12432{ SWIG_PY_INT, (char *)"STC_LISP_OPERATOR", (long) 10, 0, 0, 0},
12433{ SWIG_PY_INT, (char *)"STC_EIFFEL_DEFAULT", (long) 0, 0, 0, 0},
12434{ SWIG_PY_INT, (char *)"STC_EIFFEL_COMMENTLINE", (long) 1, 0, 0, 0},
12435{ SWIG_PY_INT, (char *)"STC_EIFFEL_NUMBER", (long) 2, 0, 0, 0},
12436{ SWIG_PY_INT, (char *)"STC_EIFFEL_WORD", (long) 3, 0, 0, 0},
12437{ SWIG_PY_INT, (char *)"STC_EIFFEL_STRING", (long) 4, 0, 0, 0},
12438{ SWIG_PY_INT, (char *)"STC_EIFFEL_CHARACTER", (long) 5, 0, 0, 0},
12439{ SWIG_PY_INT, (char *)"STC_EIFFEL_OPERATOR", (long) 6, 0, 0, 0},
12440{ SWIG_PY_INT, (char *)"STC_EIFFEL_IDENTIFIER", (long) 7, 0, 0, 0},
12441{ SWIG_PY_INT, (char *)"STC_EIFFEL_STRINGEOL", (long) 8, 0, 0, 0},
12442{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_DEFAULT", (long) 0, 0, 0, 0},
12443{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_COMMENT", (long) 1, 0, 0, 0},
12444{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_TASK", (long) 2, 0, 0, 0},
12445{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_SECTION", (long) 3, 0, 0, 0},
12446{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_KEYWORD", (long) 4, 0, 0, 0},
12447{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_MODIFIER", (long) 5, 0, 0, 0},
12448{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_ASTERISK", (long) 6, 0, 0, 0},
12449{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_NUMBER", (long) 7, 0, 0, 0},
12450{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_STRING", (long) 8, 0, 0, 0},
12451{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_ENVIRONMENT", (long) 9, 0, 0, 0},
12452{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_IDENTIFIER", (long) 10, 0, 0, 0},
12453{ SWIG_PY_INT, (char *)"STC_MATLAB_DEFAULT", (long) 0, 0, 0, 0},
12454{ SWIG_PY_INT, (char *)"STC_MATLAB_COMMENT", (long) 1, 0, 0, 0},
12455{ SWIG_PY_INT, (char *)"STC_MATLAB_COMMAND", (long) 2, 0, 0, 0},
12456{ SWIG_PY_INT, (char *)"STC_MATLAB_NUMBER", (long) 3, 0, 0, 0},
12457{ SWIG_PY_INT, (char *)"STC_MATLAB_KEYWORD", (long) 4, 0, 0, 0},
12458{ SWIG_PY_INT, (char *)"STC_MATLAB_STRING", (long) 5, 0, 0, 0},
12459{ SWIG_PY_INT, (char *)"STC_MATLAB_OPERATOR", (long) 6, 0, 0, 0},
12460{ SWIG_PY_INT, (char *)"STC_MATLAB_IDENTIFIER", (long) 7, 0, 0, 0},
12461{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_DEFAULT", (long) 0, 0, 0, 0},
12462{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENT", (long) 1, 0, 0, 0},
12463{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTLINE", (long) 2, 0, 0, 0},
12464{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOC", (long) 3, 0, 0, 0},
12465{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_NUMBER", (long) 4, 0, 0, 0},
12466{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_WORD", (long) 5, 0, 0, 0},
12467{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_STRING", (long) 6, 0, 0, 0},
12468{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_CHARACTER", (long) 7, 0, 0, 0},
12469{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_UUID", (long) 8, 0, 0, 0},
12470{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_PREPROCESSOR", (long) 9, 0, 0, 0},
12471{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_OPERATOR", (long) 10, 0, 0, 0},
12472{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_IDENTIFIER", (long) 11, 0, 0, 0},
12473{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_STRINGEOL", (long) 12, 0, 0, 0},
12474{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_VERBATIM", (long) 13, 0, 0, 0},
12475{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_REGEX", (long) 14, 0, 0, 0},
12476{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTLINEDOC", (long) 15, 0, 0, 0},
12477{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_WORD2", (long) 16, 0, 0, 0},
12478{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOCKEYWORD", (long) 17, 0, 0, 0},
12479{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOCKEYWORDERROR", (long) 18, 0, 0, 0},
12480{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTBASIC", (long) 19, 0, 0, 0},
12481{ SWIG_PY_INT, (char *)"STC_ASM_DEFAULT", (long) 0, 0, 0, 0},
12482{ SWIG_PY_INT, (char *)"STC_ASM_COMMENT", (long) 1, 0, 0, 0},
12483{ SWIG_PY_INT, (char *)"STC_ASM_NUMBER", (long) 2, 0, 0, 0},
12484{ SWIG_PY_INT, (char *)"STC_ASM_STRING", (long) 3, 0, 0, 0},
12485{ SWIG_PY_INT, (char *)"STC_ASM_OPERATOR", (long) 4, 0, 0, 0},
12486{ SWIG_PY_INT, (char *)"STC_ASM_IDENTIFIER", (long) 5, 0, 0, 0},
12487{ SWIG_PY_INT, (char *)"STC_ASM_CPUINSTRUCTION", (long) 6, 0, 0, 0},
12488{ SWIG_PY_INT, (char *)"STC_ASM_MATHINSTRUCTION", (long) 7, 0, 0, 0},
12489{ SWIG_PY_INT, (char *)"STC_ASM_REGISTER", (long) 8, 0, 0, 0},
12490{ SWIG_PY_INT, (char *)"STC_ASM_DIRECTIVE", (long) 9, 0, 0, 0},
12491{ SWIG_PY_INT, (char *)"STC_ASM_DIRECTIVEOPERAND", (long) 10, 0, 0, 0},
12492{ SWIG_PY_INT, (char *)"STC_F_DEFAULT", (long) 0, 0, 0, 0},
12493{ SWIG_PY_INT, (char *)"STC_F_COMMENT", (long) 1, 0, 0, 0},
12494{ SWIG_PY_INT, (char *)"STC_F_NUMBER", (long) 2, 0, 0, 0},
12495{ SWIG_PY_INT, (char *)"STC_F_STRING1", (long) 3, 0, 0, 0},
12496{ SWIG_PY_INT, (char *)"STC_F_STRING2", (long) 4, 0, 0, 0},
12497{ SWIG_PY_INT, (char *)"STC_F_STRINGEOL", (long) 5, 0, 0, 0},
12498{ SWIG_PY_INT, (char *)"STC_F_OPERATOR", (long) 6, 0, 0, 0},
12499{ SWIG_PY_INT, (char *)"STC_F_IDENTIFIER", (long) 7, 0, 0, 0},
12500{ SWIG_PY_INT, (char *)"STC_F_WORD", (long) 8, 0, 0, 0},
12501{ SWIG_PY_INT, (char *)"STC_F_WORD2", (long) 9, 0, 0, 0},
12502{ SWIG_PY_INT, (char *)"STC_F_WORD3", (long) 10, 0, 0, 0},
12503{ SWIG_PY_INT, (char *)"STC_F_PREPROCESSOR", (long) 11, 0, 0, 0},
12504{ SWIG_PY_INT, (char *)"STC_F_OPERATOR2", (long) 12, 0, 0, 0},
12505{ SWIG_PY_INT, (char *)"STC_F_LABEL", (long) 13, 0, 0, 0},
12506{ SWIG_PY_INT, (char *)"STC_F_CONTINUATION", (long) 14, 0, 0, 0},
12507{ SWIG_PY_INT, (char *)"STC_CSS_DEFAULT", (long) 0, 0, 0, 0},
12508{ SWIG_PY_INT, (char *)"STC_CSS_TAG", (long) 1, 0, 0, 0},
12509{ SWIG_PY_INT, (char *)"STC_CSS_CLASS", (long) 2, 0, 0, 0},
12510{ SWIG_PY_INT, (char *)"STC_CSS_PSEUDOCLASS", (long) 3, 0, 0, 0},
12511{ SWIG_PY_INT, (char *)"STC_CSS_UNKNOWN_PSEUDOCLASS", (long) 4, 0, 0, 0},
12512{ SWIG_PY_INT, (char *)"STC_CSS_OPERATOR", (long) 5, 0, 0, 0},
12513{ SWIG_PY_INT, (char *)"STC_CSS_IDENTIFIER", (long) 6, 0, 0, 0},
12514{ SWIG_PY_INT, (char *)"STC_CSS_UNKNOWN_IDENTIFIER", (long) 7, 0, 0, 0},
12515{ SWIG_PY_INT, (char *)"STC_CSS_VALUE", (long) 8, 0, 0, 0},
12516{ SWIG_PY_INT, (char *)"STC_CSS_COMMENT", (long) 9, 0, 0, 0},
12517{ SWIG_PY_INT, (char *)"STC_CSS_ID", (long) 10, 0, 0, 0},
12518{ SWIG_PY_INT, (char *)"STC_CSS_IMPORTANT", (long) 11, 0, 0, 0},
12519{ SWIG_PY_INT, (char *)"STC_CSS_DIRECTIVE", (long) 12, 0, 0, 0},
12520{ SWIG_PY_INT, (char *)"STC_CSS_DOUBLESTRING", (long) 13, 0, 0, 0},
12521{ SWIG_PY_INT, (char *)"STC_CSS_SINGLESTRING", (long) 14, 0, 0, 0},
12522{ SWIG_PY_INT, (char *)"STC_POV_DEFAULT", (long) 0, 0, 0, 0},
12523{ SWIG_PY_INT, (char *)"STC_POV_COMMENT", (long) 1, 0, 0, 0},
12524{ SWIG_PY_INT, (char *)"STC_POV_COMMENTLINE", (long) 2, 0, 0, 0},
12525{ SWIG_PY_INT, (char *)"STC_POV_NUMBER", (long) 3, 0, 0, 0},
12526{ SWIG_PY_INT, (char *)"STC_POV_OPERATOR", (long) 4, 0, 0, 0},
12527{ SWIG_PY_INT, (char *)"STC_POV_IDENTIFIER", (long) 5, 0, 0, 0},
12528{ SWIG_PY_INT, (char *)"STC_POV_STRING", (long) 6, 0, 0, 0},
12529{ SWIG_PY_INT, (char *)"STC_POV_STRINGEOL", (long) 7, 0, 0, 0},
12530{ SWIG_PY_INT, (char *)"STC_POV_DIRECTIVE", (long) 8, 0, 0, 0},
12531{ SWIG_PY_INT, (char *)"STC_POV_BADDIRECTIVE", (long) 9, 0, 0, 0},
12532{ SWIG_PY_INT, (char *)"STC_POV_WORD2", (long) 10, 0, 0, 0},
12533{ SWIG_PY_INT, (char *)"STC_POV_WORD3", (long) 11, 0, 0, 0},
12534{ SWIG_PY_INT, (char *)"STC_POV_WORD4", (long) 12, 0, 0, 0},
12535{ SWIG_PY_INT, (char *)"STC_POV_WORD5", (long) 13, 0, 0, 0},
12536{ SWIG_PY_INT, (char *)"STC_POV_WORD6", (long) 14, 0, 0, 0},
12537{ SWIG_PY_INT, (char *)"STC_POV_WORD7", (long) 15, 0, 0, 0},
12538{ SWIG_PY_INT, (char *)"STC_POV_WORD8", (long) 16, 0, 0, 0},
12539{ SWIG_PY_INT, (char *)"STC_LOUT_DEFAULT", (long) 0, 0, 0, 0},
12540{ SWIG_PY_INT, (char *)"STC_LOUT_COMMENT", (long) 1, 0, 0, 0},
12541{ SWIG_PY_INT, (char *)"STC_LOUT_NUMBER", (long) 2, 0, 0, 0},
12542{ SWIG_PY_INT, (char *)"STC_LOUT_WORD", (long) 3, 0, 0, 0},
12543{ SWIG_PY_INT, (char *)"STC_LOUT_WORD2", (long) 4, 0, 0, 0},
12544{ SWIG_PY_INT, (char *)"STC_LOUT_WORD3", (long) 5, 0, 0, 0},
12545{ SWIG_PY_INT, (char *)"STC_LOUT_WORD4", (long) 6, 0, 0, 0},
12546{ SWIG_PY_INT, (char *)"STC_LOUT_STRING", (long) 7, 0, 0, 0},
12547{ SWIG_PY_INT, (char *)"STC_LOUT_OPERATOR", (long) 8, 0, 0, 0},
12548{ SWIG_PY_INT, (char *)"STC_LOUT_IDENTIFIER", (long) 9, 0, 0, 0},
12549{ SWIG_PY_INT, (char *)"STC_LOUT_STRINGEOL", (long) 10, 0, 0, 0},
12550{ SWIG_PY_INT, (char *)"STC_ESCRIPT_DEFAULT", (long) 0, 0, 0, 0},
12551{ SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENT", (long) 1, 0, 0, 0},
12552{ SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENTLINE", (long) 2, 0, 0, 0},
12553{ SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENTDOC", (long) 3, 0, 0, 0},
12554{ SWIG_PY_INT, (char *)"STC_ESCRIPT_NUMBER", (long) 4, 0, 0, 0},
12555{ SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD", (long) 5, 0, 0, 0},
12556{ SWIG_PY_INT, (char *)"STC_ESCRIPT_STRING", (long) 6, 0, 0, 0},
12557{ SWIG_PY_INT, (char *)"STC_ESCRIPT_OPERATOR", (long) 7, 0, 0, 0},
12558{ SWIG_PY_INT, (char *)"STC_ESCRIPT_IDENTIFIER", (long) 8, 0, 0, 0},
12559{ SWIG_PY_INT, (char *)"STC_ESCRIPT_BRACE", (long) 9, 0, 0, 0},
12560{ SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD2", (long) 10, 0, 0, 0},
12561{ SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD3", (long) 11, 0, 0, 0},
12562{ SWIG_PY_INT, (char *)"STC_PS_DEFAULT", (long) 0, 0, 0, 0},
12563{ SWIG_PY_INT, (char *)"STC_PS_COMMENT", (long) 1, 0, 0, 0},
12564{ SWIG_PY_INT, (char *)"STC_PS_DSC_COMMENT", (long) 2, 0, 0, 0},
12565{ SWIG_PY_INT, (char *)"STC_PS_DSC_VALUE", (long) 3, 0, 0, 0},
12566{ SWIG_PY_INT, (char *)"STC_PS_NUMBER", (long) 4, 0, 0, 0},
12567{ SWIG_PY_INT, (char *)"STC_PS_NAME", (long) 5, 0, 0, 0},
12568{ SWIG_PY_INT, (char *)"STC_PS_KEYWORD", (long) 6, 0, 0, 0},
12569{ SWIG_PY_INT, (char *)"STC_PS_LITERAL", (long) 7, 0, 0, 0},
12570{ SWIG_PY_INT, (char *)"STC_PS_IMMEVAL", (long) 8, 0, 0, 0},
12571{ SWIG_PY_INT, (char *)"STC_PS_PAREN_ARRAY", (long) 9, 0, 0, 0},
12572{ SWIG_PY_INT, (char *)"STC_PS_PAREN_DICT", (long) 10, 0, 0, 0},
12573{ SWIG_PY_INT, (char *)"STC_PS_PAREN_PROC", (long) 11, 0, 0, 0},
12574{ SWIG_PY_INT, (char *)"STC_PS_TEXT", (long) 12, 0, 0, 0},
12575{ SWIG_PY_INT, (char *)"STC_PS_HEXSTRING", (long) 13, 0, 0, 0},
12576{ SWIG_PY_INT, (char *)"STC_PS_BASE85STRING", (long) 14, 0, 0, 0},
12577{ SWIG_PY_INT, (char *)"STC_PS_BADSTRINGCHAR", (long) 15, 0, 0, 0},
12578{ SWIG_PY_INT, (char *)"STC_NSIS_DEFAULT", (long) 0, 0, 0, 0},
12579{ SWIG_PY_INT, (char *)"STC_NSIS_COMMENT", (long) 1, 0, 0, 0},
12580{ SWIG_PY_INT, (char *)"STC_NSIS_STRINGDQ", (long) 2, 0, 0, 0},
12581{ SWIG_PY_INT, (char *)"STC_NSIS_STRINGLQ", (long) 3, 0, 0, 0},
12582{ SWIG_PY_INT, (char *)"STC_NSIS_STRINGRQ", (long) 4, 0, 0, 0},
12583{ SWIG_PY_INT, (char *)"STC_NSIS_FUNCTION", (long) 5, 0, 0, 0},
12584{ SWIG_PY_INT, (char *)"STC_NSIS_VARIABLE", (long) 6, 0, 0, 0},
12585{ SWIG_PY_INT, (char *)"STC_NSIS_LABEL", (long) 7, 0, 0, 0},
12586{ SWIG_PY_INT, (char *)"STC_NSIS_USERDEFINED", (long) 8, 0, 0, 0},
12587{ SWIG_PY_INT, (char *)"STC_NSIS_SECTIONDEF", (long) 9, 0, 0, 0},
12588{ SWIG_PY_INT, (char *)"STC_NSIS_SUBSECTIONDEF", (long) 10, 0, 0, 0},
12589{ SWIG_PY_INT, (char *)"STC_NSIS_IFDEFINEDEF", (long) 11, 0, 0, 0},
12590{ SWIG_PY_INT, (char *)"STC_NSIS_MACRODEF", (long) 12, 0, 0, 0},
12591{ SWIG_PY_INT, (char *)"STC_NSIS_STRINGVAR", (long) 13, 0, 0, 0},
12592{ SWIG_PY_INT, (char *)"STC_MMIXAL_LEADWS", (long) 0, 0, 0, 0},
12593{ SWIG_PY_INT, (char *)"STC_MMIXAL_COMMENT", (long) 1, 0, 0, 0},
12594{ SWIG_PY_INT, (char *)"STC_MMIXAL_LABEL", (long) 2, 0, 0, 0},
12595{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE", (long) 3, 0, 0, 0},
12596{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_PRE", (long) 4, 0, 0, 0},
12597{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_VALID", (long) 5, 0, 0, 0},
12598{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_UNKNOWN", (long) 6, 0, 0, 0},
12599{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_POST", (long) 7, 0, 0, 0},
12600{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPERANDS", (long) 8, 0, 0, 0},
12601{ SWIG_PY_INT, (char *)"STC_MMIXAL_NUMBER", (long) 9, 0, 0, 0},
12602{ SWIG_PY_INT, (char *)"STC_MMIXAL_REF", (long) 10, 0, 0, 0},
12603{ SWIG_PY_INT, (char *)"STC_MMIXAL_CHAR", (long) 11, 0, 0, 0},
12604{ SWIG_PY_INT, (char *)"STC_MMIXAL_STRING", (long) 12, 0, 0, 0},
12605{ SWIG_PY_INT, (char *)"STC_MMIXAL_REGISTER", (long) 13, 0, 0, 0},
12606{ SWIG_PY_INT, (char *)"STC_MMIXAL_HEX", (long) 14, 0, 0, 0},
12607{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPERATOR", (long) 15, 0, 0, 0},
12608{ SWIG_PY_INT, (char *)"STC_MMIXAL_SYMBOL", (long) 16, 0, 0, 0},
12609{ SWIG_PY_INT, (char *)"STC_MMIXAL_INCLUDE", (long) 17, 0, 0, 0},
12610{ SWIG_PY_INT, (char *)"STC_CMD_REDO", (long) 2011, 0, 0, 0},
12611{ SWIG_PY_INT, (char *)"STC_CMD_SELECTALL", (long) 2013, 0, 0, 0},
12612{ SWIG_PY_INT, (char *)"STC_CMD_UNDO", (long) 2176, 0, 0, 0},
12613{ SWIG_PY_INT, (char *)"STC_CMD_CUT", (long) 2177, 0, 0, 0},
12614{ SWIG_PY_INT, (char *)"STC_CMD_COPY", (long) 2178, 0, 0, 0},
12615{ SWIG_PY_INT, (char *)"STC_CMD_PASTE", (long) 2179, 0, 0, 0},
12616{ SWIG_PY_INT, (char *)"STC_CMD_CLEAR", (long) 2180, 0, 0, 0},
12617{ SWIG_PY_INT, (char *)"STC_CMD_LINEDOWN", (long) 2300, 0, 0, 0},
12618{ SWIG_PY_INT, (char *)"STC_CMD_LINEDOWNEXTEND", (long) 2301, 0, 0, 0},
12619{ SWIG_PY_INT, (char *)"STC_CMD_LINEUP", (long) 2302, 0, 0, 0},
12620{ SWIG_PY_INT, (char *)"STC_CMD_LINEUPEXTEND", (long) 2303, 0, 0, 0},
12621{ SWIG_PY_INT, (char *)"STC_CMD_CHARLEFT", (long) 2304, 0, 0, 0},
12622{ SWIG_PY_INT, (char *)"STC_CMD_CHARLEFTEXTEND", (long) 2305, 0, 0, 0},
12623{ SWIG_PY_INT, (char *)"STC_CMD_CHARRIGHT", (long) 2306, 0, 0, 0},
12624{ SWIG_PY_INT, (char *)"STC_CMD_CHARRIGHTEXTEND", (long) 2307, 0, 0, 0},
12625{ SWIG_PY_INT, (char *)"STC_CMD_WORDLEFT", (long) 2308, 0, 0, 0},
12626{ SWIG_PY_INT, (char *)"STC_CMD_WORDLEFTEXTEND", (long) 2309, 0, 0, 0},
12627{ SWIG_PY_INT, (char *)"STC_CMD_WORDRIGHT", (long) 2310, 0, 0, 0},
12628{ SWIG_PY_INT, (char *)"STC_CMD_WORDRIGHTEXTEND", (long) 2311, 0, 0, 0},
12629{ SWIG_PY_INT, (char *)"STC_CMD_HOME", (long) 2312, 0, 0, 0},
12630{ SWIG_PY_INT, (char *)"STC_CMD_HOMEEXTEND", (long) 2313, 0, 0, 0},
12631{ SWIG_PY_INT, (char *)"STC_CMD_LINEEND", (long) 2314, 0, 0, 0},
12632{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDEXTEND", (long) 2315, 0, 0, 0},
12633{ SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTSTART", (long) 2316, 0, 0, 0},
12634{ SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTSTARTEXTEND", (long) 2317, 0, 0, 0},
12635{ SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTEND", (long) 2318, 0, 0, 0},
12636{ SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTENDEXTEND", (long) 2319, 0, 0, 0},
12637{ SWIG_PY_INT, (char *)"STC_CMD_PAGEUP", (long) 2320, 0, 0, 0},
12638{ SWIG_PY_INT, (char *)"STC_CMD_PAGEUPEXTEND", (long) 2321, 0, 0, 0},
12639{ SWIG_PY_INT, (char *)"STC_CMD_PAGEDOWN", (long) 2322, 0, 0, 0},
12640{ SWIG_PY_INT, (char *)"STC_CMD_PAGEDOWNEXTEND", (long) 2323, 0, 0, 0},
12641{ SWIG_PY_INT, (char *)"STC_CMD_EDITTOGGLEOVERTYPE", (long) 2324, 0, 0, 0},
12642{ SWIG_PY_INT, (char *)"STC_CMD_CANCEL", (long) 2325, 0, 0, 0},
12643{ SWIG_PY_INT, (char *)"STC_CMD_DELETEBACK", (long) 2326, 0, 0, 0},
12644{ SWIG_PY_INT, (char *)"STC_CMD_TAB", (long) 2327, 0, 0, 0},
12645{ SWIG_PY_INT, (char *)"STC_CMD_BACKTAB", (long) 2328, 0, 0, 0},
12646{ SWIG_PY_INT, (char *)"STC_CMD_NEWLINE", (long) 2329, 0, 0, 0},
12647{ SWIG_PY_INT, (char *)"STC_CMD_FORMFEED", (long) 2330, 0, 0, 0},
12648{ SWIG_PY_INT, (char *)"STC_CMD_VCHOME", (long) 2331, 0, 0, 0},
12649{ SWIG_PY_INT, (char *)"STC_CMD_VCHOMEEXTEND", (long) 2332, 0, 0, 0},
12650{ SWIG_PY_INT, (char *)"STC_CMD_ZOOMIN", (long) 2333, 0, 0, 0},
12651{ SWIG_PY_INT, (char *)"STC_CMD_ZOOMOUT", (long) 2334, 0, 0, 0},
12652{ SWIG_PY_INT, (char *)"STC_CMD_DELWORDLEFT", (long) 2335, 0, 0, 0},
12653{ SWIG_PY_INT, (char *)"STC_CMD_DELWORDRIGHT", (long) 2336, 0, 0, 0},
12654{ SWIG_PY_INT, (char *)"STC_CMD_LINECUT", (long) 2337, 0, 0, 0},
12655{ SWIG_PY_INT, (char *)"STC_CMD_LINEDELETE", (long) 2338, 0, 0, 0},
12656{ SWIG_PY_INT, (char *)"STC_CMD_LINETRANSPOSE", (long) 2339, 0, 0, 0},
12657{ SWIG_PY_INT, (char *)"STC_CMD_LINEDUPLICATE", (long) 2404, 0, 0, 0},
12658{ SWIG_PY_INT, (char *)"STC_CMD_LOWERCASE", (long) 2340, 0, 0, 0},
12659{ SWIG_PY_INT, (char *)"STC_CMD_UPPERCASE", (long) 2341, 0, 0, 0},
12660{ SWIG_PY_INT, (char *)"STC_CMD_LINESCROLLDOWN", (long) 2342, 0, 0, 0},
12661{ SWIG_PY_INT, (char *)"STC_CMD_LINESCROLLUP", (long) 2343, 0, 0, 0},
12662{ SWIG_PY_INT, (char *)"STC_CMD_DELETEBACKNOTLINE", (long) 2344, 0, 0, 0},
12663{ SWIG_PY_INT, (char *)"STC_CMD_HOMEDISPLAY", (long) 2345, 0, 0, 0},
12664{ SWIG_PY_INT, (char *)"STC_CMD_HOMEDISPLAYEXTEND", (long) 2346, 0, 0, 0},
12665{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDDISPLAY", (long) 2347, 0, 0, 0},
12666{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDDISPLAYEXTEND", (long) 2348, 0, 0, 0},
12667{ SWIG_PY_INT, (char *)"STC_CMD_HOMEWRAP", (long) 2349, 0, 0, 0},
12668{ SWIG_PY_INT, (char *)"STC_CMD_HOMEWRAPEXTEND", (long) 2450, 0, 0, 0},
12669{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDWRAP", (long) 2451, 0, 0, 0},
12670{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDWRAPEXTEND", (long) 2452, 0, 0, 0},
12671{ SWIG_PY_INT, (char *)"STC_CMD_VCHOMEWRAP", (long) 2453, 0, 0, 0},
12672{ SWIG_PY_INT, (char *)"STC_CMD_VCHOMEWRAPEXTEND", (long) 2454, 0, 0, 0},
12673{ SWIG_PY_INT, (char *)"STC_CMD_WORDPARTLEFT", (long) 2390, 0, 0, 0},
12674{ SWIG_PY_INT, (char *)"STC_CMD_WORDPARTLEFTEXTEND", (long) 2391, 0, 0, 0},
12675{ SWIG_PY_INT, (char *)"STC_CMD_WORDPARTRIGHT", (long) 2392, 0, 0, 0},
12676{ SWIG_PY_INT, (char *)"STC_CMD_WORDPARTRIGHTEXTEND", (long) 2393, 0, 0, 0},
12677{ SWIG_PY_INT, (char *)"STC_CMD_DELLINELEFT", (long) 2395, 0, 0, 0},
12678{ SWIG_PY_INT, (char *)"STC_CMD_DELLINERIGHT", (long) 2396, 0, 0, 0},
12679{ SWIG_PY_INT, (char *)"STC_CMD_PARADOWN", (long) 2413, 0, 0, 0},
12680{ SWIG_PY_INT, (char *)"STC_CMD_PARADOWNEXTEND", (long) 2414, 0, 0, 0},
12681{ SWIG_PY_INT, (char *)"STC_CMD_PARAUP", (long) 2415, 0, 0, 0},
12682{ SWIG_PY_INT, (char *)"STC_CMD_PARAUPEXTEND", (long) 2416, 0, 0, 0},
12683{ SWIG_PY_INT, (char *)"wxEVT_STC_CHANGE", (long) wxEVT_STC_CHANGE, 0, 0, 0},
12684{ SWIG_PY_INT, (char *)"wxEVT_STC_STYLENEEDED", (long) wxEVT_STC_STYLENEEDED, 0, 0, 0},
12685{ SWIG_PY_INT, (char *)"wxEVT_STC_CHARADDED", (long) wxEVT_STC_CHARADDED, 0, 0, 0},
12686{ SWIG_PY_INT, (char *)"wxEVT_STC_SAVEPOINTREACHED", (long) wxEVT_STC_SAVEPOINTREACHED, 0, 0, 0},
12687{ SWIG_PY_INT, (char *)"wxEVT_STC_SAVEPOINTLEFT", (long) wxEVT_STC_SAVEPOINTLEFT, 0, 0, 0},
12688{ SWIG_PY_INT, (char *)"wxEVT_STC_ROMODIFYATTEMPT", (long) wxEVT_STC_ROMODIFYATTEMPT, 0, 0, 0},
12689{ SWIG_PY_INT, (char *)"wxEVT_STC_KEY", (long) wxEVT_STC_KEY, 0, 0, 0},
12690{ SWIG_PY_INT, (char *)"wxEVT_STC_DOUBLECLICK", (long) wxEVT_STC_DOUBLECLICK, 0, 0, 0},
12691{ SWIG_PY_INT, (char *)"wxEVT_STC_UPDATEUI", (long) wxEVT_STC_UPDATEUI, 0, 0, 0},
12692{ SWIG_PY_INT, (char *)"wxEVT_STC_MODIFIED", (long) wxEVT_STC_MODIFIED, 0, 0, 0},
12693{ SWIG_PY_INT, (char *)"wxEVT_STC_MACRORECORD", (long) wxEVT_STC_MACRORECORD, 0, 0, 0},
12694{ SWIG_PY_INT, (char *)"wxEVT_STC_MARGINCLICK", (long) wxEVT_STC_MARGINCLICK, 0, 0, 0},
12695{ SWIG_PY_INT, (char *)"wxEVT_STC_NEEDSHOWN", (long) wxEVT_STC_NEEDSHOWN, 0, 0, 0},
12696{ SWIG_PY_INT, (char *)"wxEVT_STC_POSCHANGED", (long) wxEVT_STC_POSCHANGED, 0, 0, 0},
12697{ SWIG_PY_INT, (char *)"wxEVT_STC_PAINTED", (long) wxEVT_STC_PAINTED, 0, 0, 0},
12698{ SWIG_PY_INT, (char *)"wxEVT_STC_USERLISTSELECTION", (long) wxEVT_STC_USERLISTSELECTION, 0, 0, 0},
12699{ SWIG_PY_INT, (char *)"wxEVT_STC_URIDROPPED", (long) wxEVT_STC_URIDROPPED, 0, 0, 0},
12700{ SWIG_PY_INT, (char *)"wxEVT_STC_DWELLSTART", (long) wxEVT_STC_DWELLSTART, 0, 0, 0},
12701{ SWIG_PY_INT, (char *)"wxEVT_STC_DWELLEND", (long) wxEVT_STC_DWELLEND, 0, 0, 0},
12702{ SWIG_PY_INT, (char *)"wxEVT_STC_START_DRAG", (long) wxEVT_STC_START_DRAG, 0, 0, 0},
12703{ SWIG_PY_INT, (char *)"wxEVT_STC_DRAG_OVER", (long) wxEVT_STC_DRAG_OVER, 0, 0, 0},
12704{ SWIG_PY_INT, (char *)"wxEVT_STC_DO_DROP", (long) wxEVT_STC_DO_DROP, 0, 0, 0},
12705{ SWIG_PY_INT, (char *)"wxEVT_STC_ZOOM", (long) wxEVT_STC_ZOOM, 0, 0, 0},
12706{ SWIG_PY_INT, (char *)"wxEVT_STC_HOTSPOT_CLICK", (long) wxEVT_STC_HOTSPOT_CLICK, 0, 0, 0},
12707{ SWIG_PY_INT, (char *)"wxEVT_STC_HOTSPOT_DCLICK", (long) wxEVT_STC_HOTSPOT_DCLICK, 0, 0, 0},
12708{ SWIG_PY_INT, (char *)"wxEVT_STC_CALLTIP_CLICK", (long) wxEVT_STC_CALLTIP_CLICK, 0, 0, 0},
12709{0}};
12710
12711#ifdef __cplusplus
12712}
12713#endif
12714
12715#ifdef __cplusplus
12716extern "C"
12717#endif
12718SWIGEXPORT(void) SWIG_init(void) {
12719 static PyObject *SWIG_globals = 0;
12720 static int typeinit = 0;
12721 PyObject *m, *d;
12722 int i;
12723 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
12724 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12725 d = PyModule_GetDict(m);
12726
12727 if (!typeinit) {
12728 for (i = 0; swig_types_initial[i]; i++) {
12729 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
12730 }
12731 typeinit = 1;
12732 }
12733 SWIG_InstallConstants(d,swig_const_table);
12734
b2dc1044
RD
12735 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
12736 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
d14a1e28
RD
12737
12738
12739}
12740