]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/stc/stc_wrap.cpp
Little changes to match recent changes in wxWindows
[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
cc6dd355
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
d14a1e28
RD
50
51/***********************************************************************
52 * common.swg for wxPython
53 *
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
57 * anyway.
58 *
59 ************************************************************************/
60
61#include <string.h>
62
cc6dd355
RD
63#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64# if defined(_MSC_VER) || defined(__GNUC__)
65# if defined(STATIC_LINKED)
66# define SWIGEXPORT(a) a
67# define SWIGIMPORT(a) extern a
68# else
69# define SWIGEXPORT(a) __declspec(dllexport) a
70# define SWIGIMPORT(a) extern a
71# endif
72# else
73# if defined(__BORLANDC__)
74# define SWIGEXPORT(a) a _export
75# define SWIGIMPORT(a) a _export
76# else
77# define SWIGEXPORT(a) a
78# define SWIGIMPORT(a) a
79# endif
80# endif
d14a1e28 81#else
cc6dd355
RD
82# define SWIGEXPORT(a) a
83# define SWIGIMPORT(a) a
d14a1e28
RD
84#endif
85
86#ifdef SWIG_GLOBAL
cc6dd355 87# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 88#else
cc6dd355 89# define SWIGRUNTIME(a) static a
d14a1e28
RD
90#endif
91
d14a1e28
RD
92#ifdef __cplusplus
93extern "C" {
94#endif
95
96typedef void *(*swig_converter_func)(void *);
97typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99typedef struct swig_type_info {
cc6dd355 100 const char *name;
d14a1e28
RD
101 swig_converter_func converter;
102 const char *str;
cc6dd355 103 void *clientdata;
d14a1e28
RD
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107} swig_type_info;
108
109
110SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
cc6dd355
RD
117SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
119
120
121#ifdef __cplusplus
122}
9d1d5697 123
d14a1e28
RD
124#endif
125
cc6dd355 126
d14a1e28
RD
127/***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
d14a1e28
RD
137#include "Python.h"
138
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
d14a1e28
RD
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187
cc6dd355
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198
199/* Contract support */
200
9d1d5697 201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 202
d14a1e28
RD
203#ifdef __cplusplus
204}
205#endif
206
207
208
209/* -------- TYPES TABLE (BEGIN) -------- */
210
211#define SWIGTYPE_p_wxRect swig_types[0]
212#define SWIGTYPE_p_wxColour swig_types[1]
213#define SWIGTYPE_p_wxObject swig_types[2]
214#define SWIGTYPE_p_wxScrollBar swig_types[3]
215#define SWIGTYPE_p_wxStyledTextEvent swig_types[4]
216#define SWIGTYPE_p_wxWindow swig_types[5]
217#define SWIGTYPE_p_wxCommandEvent swig_types[6]
218#define SWIGTYPE_p_wxBitmap swig_types[7]
219#define SWIGTYPE_p_void swig_types[8]
220#define SWIGTYPE_p_wxPoint swig_types[9]
221#define SWIGTYPE_p_wxDC swig_types[10]
222#define SWIGTYPE_p_wxDragResult swig_types[11]
223#define SWIGTYPE_p_wxString swig_types[12]
224#define SWIGTYPE_p_wxEvtHandler swig_types[13]
225#define SWIGTYPE_p_wxStyledTextCtrl swig_types[14]
226#define SWIGTYPE_p_wxFont swig_types[15]
227#define SWIGTYPE_p_wxControl swig_types[16]
228#define SWIGTYPE_p_wxEvent swig_types[17]
229#define SWIGTYPE_p_int swig_types[18]
230#define SWIGTYPE_p_wxMemoryBuffer swig_types[19]
231static swig_type_info *swig_types[21];
232
233/* -------- TYPES TABLE (END) -------- */
234
235
236/*-----------------------------------------------
237 @(target):= _stc.so
238 ------------------------------------------------*/
239#define SWIG_init init_stc
240
241#define SWIG_name "_stc"
242
243#include "wx/wxPython/wxPython.h"
244#include "wx/wxPython/pyclasses.h"
245#include <wx/stc/stc.h>
246
247 DECLARE_DEF_STRING(STCNameStr);
248
249
250static PyObject* t_output_helper(PyObject* target, PyObject* o) {
251 PyObject* o2;
252 PyObject* o3;
253
254 if (!target) {
255 target = o;
256 } else if (target == Py_None) {
257 Py_DECREF(Py_None);
258 target = o;
259 } else {
260 if (!PyTuple_Check(target)) {
261 o2 = target;
262 target = PyTuple_New(1);
263 PyTuple_SetItem(target, 0, o2);
264 }
265 o3 = PyTuple_New(1);
266 PyTuple_SetItem(o3, 0, o);
267
268 o2 = target;
269 target = PySequence_Concat(o2, o3);
270 Py_DECREF(o2);
271 Py_DECREF(o3);
272 }
273 return target;
274}
275
276#ifdef __cplusplus
277extern "C" {
278#endif
279static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
280 PyObject *resultobj;
281 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 282 int arg2 ;
d14a1e28
RD
283 wxPoint const &arg3_defvalue = wxDefaultPosition ;
284 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
285 wxSize const &arg4_defvalue = wxDefaultSize ;
286 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
287 long arg5 = (long) 0 ;
288 wxString const &arg6_defvalue = wxPySTCNameStr ;
289 wxString *arg6 = (wxString *) &arg6_defvalue ;
290 wxStyledTextCtrl *result;
291 wxPoint temp3 ;
292 wxSize temp4 ;
e811c8ce 293 bool temp6 = False ;
d14a1e28
RD
294 PyObject * obj0 = 0 ;
295 PyObject * obj2 = 0 ;
296 PyObject * obj3 = 0 ;
297 PyObject * obj5 = 0 ;
298 char *kwnames[] = {
299 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
300 };
301
302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StyledTextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
304 if (obj2) {
305 {
306 arg3 = &temp3;
307 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
308 }
309 }
310 if (obj3) {
311 {
312 arg4 = &temp4;
313 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
314 }
315 }
316 if (obj5) {
317 {
318 arg6 = wxString_in_helper(obj5);
319 if (arg6 == NULL) SWIG_fail;
e811c8ce 320 temp6 = True;
d14a1e28
RD
321 }
322 }
323 {
324 PyThreadState* __tstate = wxPyBeginAllowThreads();
325 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
326
327 wxPyEndAllowThreads(__tstate);
328 if (PyErr_Occurred()) SWIG_fail;
329 }
330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
331 {
332 if (temp6)
333 delete arg6;
334 }
335 return resultobj;
336 fail:
337 {
338 if (temp6)
339 delete arg6;
340 }
341 return NULL;
342}
343
344
345static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
346 PyObject *resultobj;
347 wxStyledTextCtrl *result;
348 char *kwnames[] = {
349 NULL
350 };
351
352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
353 {
354 PyThreadState* __tstate = wxPyBeginAllowThreads();
355 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
356
357 wxPyEndAllowThreads(__tstate);
358 if (PyErr_Occurred()) SWIG_fail;
359 }
360 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1);
361 return resultobj;
362 fail:
363 return NULL;
364}
365
366
367static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
368 PyObject *resultobj;
369 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
370 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 371 int arg3 ;
d14a1e28
RD
372 wxPoint const &arg4_defvalue = wxDefaultPosition ;
373 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
374 wxSize const &arg5_defvalue = wxDefaultSize ;
375 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
376 long arg6 = (long) 0 ;
377 wxString const &arg7_defvalue = wxSTCNameStr ;
378 wxString *arg7 = (wxString *) &arg7_defvalue ;
379 wxPoint temp4 ;
380 wxSize temp5 ;
e811c8ce 381 bool temp7 = False ;
d14a1e28
RD
382 PyObject * obj0 = 0 ;
383 PyObject * obj1 = 0 ;
384 PyObject * obj3 = 0 ;
385 PyObject * obj4 = 0 ;
386 PyObject * obj6 = 0 ;
387 char *kwnames[] = {
388 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
389 };
390
391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
394 if (obj3) {
395 {
396 arg4 = &temp4;
397 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
398 }
399 }
400 if (obj4) {
401 {
402 arg5 = &temp5;
403 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
404 }
405 }
406 if (obj6) {
407 {
408 arg7 = wxString_in_helper(obj6);
409 if (arg7 == NULL) SWIG_fail;
e811c8ce 410 temp7 = True;
d14a1e28
RD
411 }
412 }
413 {
414 PyThreadState* __tstate = wxPyBeginAllowThreads();
415 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
416
417 wxPyEndAllowThreads(__tstate);
418 if (PyErr_Occurred()) SWIG_fail;
419 }
420 Py_INCREF(Py_None); resultobj = Py_None;
421 {
422 if (temp7)
423 delete arg7;
424 }
425 return resultobj;
426 fail:
427 {
428 if (temp7)
429 delete arg7;
430 }
431 return NULL;
432}
433
434
435static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
436 PyObject *resultobj;
437 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
438 wxString *arg2 = 0 ;
e811c8ce 439 bool temp2 = False ;
d14a1e28
RD
440 PyObject * obj0 = 0 ;
441 PyObject * obj1 = 0 ;
442 char *kwnames[] = {
443 (char *) "self",(char *) "text", NULL
444 };
445
446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
448 {
449 arg2 = wxString_in_helper(obj1);
450 if (arg2 == NULL) SWIG_fail;
e811c8ce 451 temp2 = True;
d14a1e28
RD
452 }
453 {
454 PyThreadState* __tstate = wxPyBeginAllowThreads();
455 (arg1)->AddText((wxString const &)*arg2);
456
457 wxPyEndAllowThreads(__tstate);
458 if (PyErr_Occurred()) SWIG_fail;
459 }
460 Py_INCREF(Py_None); resultobj = Py_None;
461 {
462 if (temp2)
463 delete arg2;
464 }
465 return resultobj;
466 fail:
467 {
468 if (temp2)
469 delete arg2;
470 }
471 return NULL;
472}
473
474
475static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
476 PyObject *resultobj;
477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
478 wxMemoryBuffer *arg2 = 0 ;
479 PyObject * obj0 = 0 ;
480 PyObject * obj1 = 0 ;
481 char *kwnames[] = {
482 (char *) "self",(char *) "data", NULL
483 };
484
485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMemoryBuffer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
488 if (arg2 == NULL) {
489 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
490 }
491 {
492 PyThreadState* __tstate = wxPyBeginAllowThreads();
493 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
494
495 wxPyEndAllowThreads(__tstate);
496 if (PyErr_Occurred()) SWIG_fail;
497 }
498 Py_INCREF(Py_None); resultobj = Py_None;
499 return resultobj;
500 fail:
501 return NULL;
502}
503
504
505static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
506 PyObject *resultobj;
507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
508 int arg2 ;
509 wxString *arg3 = 0 ;
e811c8ce 510 bool temp3 = False ;
d14a1e28
RD
511 PyObject * obj0 = 0 ;
512 PyObject * obj2 = 0 ;
513 char *kwnames[] = {
514 (char *) "self",(char *) "pos",(char *) "text", NULL
515 };
516
517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_InsertText",kwnames,&obj0,&arg2,&obj2)) goto fail;
518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
519 {
520 arg3 = wxString_in_helper(obj2);
521 if (arg3 == NULL) SWIG_fail;
e811c8ce 522 temp3 = True;
d14a1e28
RD
523 }
524 {
525 PyThreadState* __tstate = wxPyBeginAllowThreads();
526 (arg1)->InsertText(arg2,(wxString const &)*arg3);
527
528 wxPyEndAllowThreads(__tstate);
529 if (PyErr_Occurred()) SWIG_fail;
530 }
531 Py_INCREF(Py_None); resultobj = Py_None;
532 {
533 if (temp3)
534 delete arg3;
535 }
536 return resultobj;
537 fail:
538 {
539 if (temp3)
540 delete arg3;
541 }
542 return NULL;
543}
544
545
546static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
547 PyObject *resultobj;
548 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
549 PyObject * obj0 = 0 ;
550 char *kwnames[] = {
551 (char *) "self", NULL
552 };
553
554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
556 {
557 PyThreadState* __tstate = wxPyBeginAllowThreads();
558 (arg1)->ClearAll();
559
560 wxPyEndAllowThreads(__tstate);
561 if (PyErr_Occurred()) SWIG_fail;
562 }
563 Py_INCREF(Py_None); resultobj = Py_None;
564 return resultobj;
565 fail:
566 return NULL;
567}
568
569
570static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
571 PyObject *resultobj;
572 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
573 PyObject * obj0 = 0 ;
574 char *kwnames[] = {
575 (char *) "self", NULL
576 };
577
578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
580 {
581 PyThreadState* __tstate = wxPyBeginAllowThreads();
582 (arg1)->ClearDocumentStyle();
583
584 wxPyEndAllowThreads(__tstate);
585 if (PyErr_Occurred()) SWIG_fail;
586 }
587 Py_INCREF(Py_None); resultobj = Py_None;
588 return resultobj;
589 fail:
590 return NULL;
591}
592
593
594static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
595 PyObject *resultobj;
596 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
597 int result;
598 PyObject * obj0 = 0 ;
599 char *kwnames[] = {
600 (char *) "self", NULL
601 };
602
603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
605 {
606 PyThreadState* __tstate = wxPyBeginAllowThreads();
607 result = (int)(arg1)->GetLength();
608
609 wxPyEndAllowThreads(__tstate);
610 if (PyErr_Occurred()) SWIG_fail;
611 }
612 resultobj = PyInt_FromLong((long)result);
613 return resultobj;
614 fail:
615 return NULL;
616}
617
618
619static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
620 PyObject *resultobj;
621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
622 int arg2 ;
623 int result;
624 PyObject * obj0 = 0 ;
625 char *kwnames[] = {
626 (char *) "self",(char *) "pos", NULL
627 };
628
629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetCharAt",kwnames,&obj0,&arg2)) goto fail;
630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
631 {
632 PyThreadState* __tstate = wxPyBeginAllowThreads();
633 result = (int)(arg1)->GetCharAt(arg2);
634
635 wxPyEndAllowThreads(__tstate);
636 if (PyErr_Occurred()) SWIG_fail;
637 }
638 resultobj = PyInt_FromLong((long)result);
639 return resultobj;
640 fail:
641 return NULL;
642}
643
644
645static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
646 PyObject *resultobj;
647 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
648 int result;
649 PyObject * obj0 = 0 ;
650 char *kwnames[] = {
651 (char *) "self", NULL
652 };
653
654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
656 {
657 PyThreadState* __tstate = wxPyBeginAllowThreads();
658 result = (int)(arg1)->GetCurrentPos();
659
660 wxPyEndAllowThreads(__tstate);
661 if (PyErr_Occurred()) SWIG_fail;
662 }
663 resultobj = PyInt_FromLong((long)result);
664 return resultobj;
665 fail:
666 return NULL;
667}
668
669
670static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
671 PyObject *resultobj;
672 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
673 int result;
674 PyObject * obj0 = 0 ;
675 char *kwnames[] = {
676 (char *) "self", NULL
677 };
678
679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
681 {
682 PyThreadState* __tstate = wxPyBeginAllowThreads();
683 result = (int)(arg1)->GetAnchor();
684
685 wxPyEndAllowThreads(__tstate);
686 if (PyErr_Occurred()) SWIG_fail;
687 }
688 resultobj = PyInt_FromLong((long)result);
689 return resultobj;
690 fail:
691 return NULL;
692}
693
694
695static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
696 PyObject *resultobj;
697 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
698 int arg2 ;
699 int result;
700 PyObject * obj0 = 0 ;
701 char *kwnames[] = {
702 (char *) "self",(char *) "pos", NULL
703 };
704
705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&arg2)) goto fail;
706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
707 {
708 PyThreadState* __tstate = wxPyBeginAllowThreads();
709 result = (int)(arg1)->GetStyleAt(arg2);
710
711 wxPyEndAllowThreads(__tstate);
712 if (PyErr_Occurred()) SWIG_fail;
713 }
714 resultobj = PyInt_FromLong((long)result);
715 return resultobj;
716 fail:
717 return NULL;
718}
719
720
721static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
722 PyObject *resultobj;
723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
724 PyObject * obj0 = 0 ;
725 char *kwnames[] = {
726 (char *) "self", NULL
727 };
728
729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
731 {
732 PyThreadState* __tstate = wxPyBeginAllowThreads();
733 (arg1)->Redo();
734
735 wxPyEndAllowThreads(__tstate);
736 if (PyErr_Occurred()) SWIG_fail;
737 }
738 Py_INCREF(Py_None); resultobj = Py_None;
739 return resultobj;
740 fail:
741 return NULL;
742}
743
744
745static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
746 PyObject *resultobj;
747 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
748 bool arg2 ;
749 PyObject * obj0 = 0 ;
750 PyObject * obj1 = 0 ;
751 char *kwnames[] = {
752 (char *) "self",(char *) "collectUndo", NULL
753 };
754
755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
757 arg2 = PyInt_AsLong(obj1) ? true : false;
758 if (PyErr_Occurred()) SWIG_fail;
759 {
760 PyThreadState* __tstate = wxPyBeginAllowThreads();
761 (arg1)->SetUndoCollection(arg2);
762
763 wxPyEndAllowThreads(__tstate);
764 if (PyErr_Occurred()) SWIG_fail;
765 }
766 Py_INCREF(Py_None); resultobj = Py_None;
767 return resultobj;
768 fail:
769 return NULL;
770}
771
772
773static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
774 PyObject *resultobj;
775 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
776 PyObject * obj0 = 0 ;
777 char *kwnames[] = {
778 (char *) "self", NULL
779 };
780
781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
783 {
784 PyThreadState* __tstate = wxPyBeginAllowThreads();
785 (arg1)->SelectAll();
786
787 wxPyEndAllowThreads(__tstate);
788 if (PyErr_Occurred()) SWIG_fail;
789 }
790 Py_INCREF(Py_None); resultobj = Py_None;
791 return resultobj;
792 fail:
793 return NULL;
794}
795
796
797static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
798 PyObject *resultobj;
799 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
800 PyObject * obj0 = 0 ;
801 char *kwnames[] = {
802 (char *) "self", NULL
803 };
804
805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
807 {
808 PyThreadState* __tstate = wxPyBeginAllowThreads();
809 (arg1)->SetSavePoint();
810
811 wxPyEndAllowThreads(__tstate);
812 if (PyErr_Occurred()) SWIG_fail;
813 }
814 Py_INCREF(Py_None); resultobj = Py_None;
815 return resultobj;
816 fail:
817 return NULL;
818}
819
820
821static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
822 PyObject *resultobj;
823 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
824 int arg2 ;
825 int arg3 ;
826 wxMemoryBuffer result;
827 PyObject * obj0 = 0 ;
828 char *kwnames[] = {
829 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
830 };
831
832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetStyledText",kwnames,&obj0,&arg2,&arg3)) goto fail;
833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
834 {
835 PyThreadState* __tstate = wxPyBeginAllowThreads();
836 result = (arg1)->GetStyledText(arg2,arg3);
837
838 wxPyEndAllowThreads(__tstate);
839 if (PyErr_Occurred()) SWIG_fail;
840 }
841 {
842 wxMemoryBuffer * resultptr;
843 resultptr = new wxMemoryBuffer((wxMemoryBuffer &) result);
844 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMemoryBuffer, 1);
845 }
846 return resultobj;
847 fail:
848 return NULL;
849}
850
851
852static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
853 PyObject *resultobj;
854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
855 bool result;
856 PyObject * obj0 = 0 ;
857 char *kwnames[] = {
858 (char *) "self", NULL
859 };
860
861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
863 {
864 PyThreadState* __tstate = wxPyBeginAllowThreads();
865 result = (bool)(arg1)->CanRedo();
866
867 wxPyEndAllowThreads(__tstate);
868 if (PyErr_Occurred()) SWIG_fail;
869 }
870 resultobj = PyInt_FromLong((long)result);
871 return resultobj;
872 fail:
873 return NULL;
874}
875
876
877static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
878 PyObject *resultobj;
879 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
880 int arg2 ;
881 int result;
882 PyObject * obj0 = 0 ;
883 char *kwnames[] = {
884 (char *) "self",(char *) "handle", NULL
885 };
886
887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&arg2)) goto fail;
888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
889 {
890 PyThreadState* __tstate = wxPyBeginAllowThreads();
891 result = (int)(arg1)->MarkerLineFromHandle(arg2);
892
893 wxPyEndAllowThreads(__tstate);
894 if (PyErr_Occurred()) SWIG_fail;
895 }
896 resultobj = PyInt_FromLong((long)result);
897 return resultobj;
898 fail:
899 return NULL;
900}
901
902
903static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
904 PyObject *resultobj;
905 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
906 int arg2 ;
907 PyObject * obj0 = 0 ;
908 char *kwnames[] = {
909 (char *) "self",(char *) "handle", NULL
910 };
911
912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&arg2)) goto fail;
913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
914 {
915 PyThreadState* __tstate = wxPyBeginAllowThreads();
916 (arg1)->MarkerDeleteHandle(arg2);
917
918 wxPyEndAllowThreads(__tstate);
919 if (PyErr_Occurred()) SWIG_fail;
920 }
921 Py_INCREF(Py_None); resultobj = Py_None;
922 return resultobj;
923 fail:
924 return NULL;
925}
926
927
928static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
929 PyObject *resultobj;
930 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
931 bool result;
932 PyObject * obj0 = 0 ;
933 char *kwnames[] = {
934 (char *) "self", NULL
935 };
936
937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
939 {
940 PyThreadState* __tstate = wxPyBeginAllowThreads();
941 result = (bool)(arg1)->GetUndoCollection();
942
943 wxPyEndAllowThreads(__tstate);
944 if (PyErr_Occurred()) SWIG_fail;
945 }
946 resultobj = PyInt_FromLong((long)result);
947 return resultobj;
948 fail:
949 return NULL;
950}
951
952
953static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
954 PyObject *resultobj;
955 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
956 int result;
957 PyObject * obj0 = 0 ;
958 char *kwnames[] = {
959 (char *) "self", NULL
960 };
961
962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
964 {
965 PyThreadState* __tstate = wxPyBeginAllowThreads();
966 result = (int)(arg1)->GetViewWhiteSpace();
967
968 wxPyEndAllowThreads(__tstate);
969 if (PyErr_Occurred()) SWIG_fail;
970 }
971 resultobj = PyInt_FromLong((long)result);
972 return resultobj;
973 fail:
974 return NULL;
975}
976
977
978static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
979 PyObject *resultobj;
980 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
981 int arg2 ;
982 PyObject * obj0 = 0 ;
983 char *kwnames[] = {
984 (char *) "self",(char *) "viewWS", NULL
985 };
986
987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&arg2)) goto fail;
988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
989 {
990 PyThreadState* __tstate = wxPyBeginAllowThreads();
991 (arg1)->SetViewWhiteSpace(arg2);
992
993 wxPyEndAllowThreads(__tstate);
994 if (PyErr_Occurred()) SWIG_fail;
995 }
996 Py_INCREF(Py_None); resultobj = Py_None;
997 return resultobj;
998 fail:
999 return NULL;
1000}
1001
1002
1003static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1004 PyObject *resultobj;
1005 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1006 wxPoint arg2 ;
1007 int result;
1008 wxPoint *argp2 ;
1009 PyObject * obj0 = 0 ;
1010 PyObject * obj1 = 0 ;
1011 char *kwnames[] = {
1012 (char *) "self",(char *) "pt", NULL
1013 };
1014
1015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
1016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1017 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1018 arg2 = *argp2;
1019 {
1020 PyThreadState* __tstate = wxPyBeginAllowThreads();
1021 result = (int)(arg1)->PositionFromPoint(arg2);
1022
1023 wxPyEndAllowThreads(__tstate);
1024 if (PyErr_Occurred()) SWIG_fail;
1025 }
1026 resultobj = PyInt_FromLong((long)result);
1027 return resultobj;
1028 fail:
1029 return NULL;
1030}
1031
1032
1033static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
1034 PyObject *resultobj;
1035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1036 int arg2 ;
1037 int arg3 ;
1038 int result;
1039 PyObject * obj0 = 0 ;
1040 char *kwnames[] = {
1041 (char *) "self",(char *) "x",(char *) "y", NULL
1042 };
1043
1044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&arg2,&arg3)) goto fail;
1045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1046 {
1047 PyThreadState* __tstate = wxPyBeginAllowThreads();
1048 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
1049
1050 wxPyEndAllowThreads(__tstate);
1051 if (PyErr_Occurred()) SWIG_fail;
1052 }
1053 resultobj = PyInt_FromLong((long)result);
1054 return resultobj;
1055 fail:
1056 return NULL;
1057}
1058
1059
1060static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1061 PyObject *resultobj;
1062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1063 int arg2 ;
1064 PyObject * obj0 = 0 ;
1065 char *kwnames[] = {
1066 (char *) "self",(char *) "line", NULL
1067 };
1068
1069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GotoLine",kwnames,&obj0,&arg2)) goto fail;
1070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1071 {
1072 PyThreadState* __tstate = wxPyBeginAllowThreads();
1073 (arg1)->GotoLine(arg2);
1074
1075 wxPyEndAllowThreads(__tstate);
1076 if (PyErr_Occurred()) SWIG_fail;
1077 }
1078 Py_INCREF(Py_None); resultobj = Py_None;
1079 return resultobj;
1080 fail:
1081 return NULL;
1082}
1083
1084
1085static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1086 PyObject *resultobj;
1087 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1088 int arg2 ;
1089 PyObject * obj0 = 0 ;
1090 char *kwnames[] = {
1091 (char *) "self",(char *) "pos", NULL
1092 };
1093
1094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GotoPos",kwnames,&obj0,&arg2)) goto fail;
1095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1096 {
1097 PyThreadState* __tstate = wxPyBeginAllowThreads();
1098 (arg1)->GotoPos(arg2);
1099
1100 wxPyEndAllowThreads(__tstate);
1101 if (PyErr_Occurred()) SWIG_fail;
1102 }
1103 Py_INCREF(Py_None); resultobj = Py_None;
1104 return resultobj;
1105 fail:
1106 return NULL;
1107}
1108
1109
1110static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
1111 PyObject *resultobj;
1112 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1113 int arg2 ;
1114 PyObject * obj0 = 0 ;
1115 char *kwnames[] = {
1116 (char *) "self",(char *) "posAnchor", NULL
1117 };
1118
1119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetAnchor",kwnames,&obj0,&arg2)) goto fail;
1120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1121 {
1122 PyThreadState* __tstate = wxPyBeginAllowThreads();
1123 (arg1)->SetAnchor(arg2);
1124
1125 wxPyEndAllowThreads(__tstate);
1126 if (PyErr_Occurred()) SWIG_fail;
1127 }
1128 Py_INCREF(Py_None); resultobj = Py_None;
1129 return resultobj;
1130 fail:
1131 return NULL;
1132}
1133
1134
1135static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1136 PyObject *resultobj;
1137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1138 int *arg2 = (int *) 0 ;
1139 wxString result;
1140 int temp2 ;
1141 PyObject * obj0 = 0 ;
1142 char *kwnames[] = {
1143 (char *) "self", NULL
1144 };
1145
1146 arg2 = &temp2;
1147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
1148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1149 {
1150 PyThreadState* __tstate = wxPyBeginAllowThreads();
1151 result = (arg1)->GetCurLine(arg2);
1152
1153 wxPyEndAllowThreads(__tstate);
1154 if (PyErr_Occurred()) SWIG_fail;
1155 }
1156 {
1157#if wxUSE_UNICODE
1158 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1159#else
1160 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1161#endif
1162 }
1163 {
1164 PyObject *o = PyInt_FromLong((long) (*arg2));
1165 resultobj = t_output_helper(resultobj,o);
1166 }
1167 return resultobj;
1168 fail:
1169 return NULL;
1170}
1171
1172
1173static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
1174 PyObject *resultobj;
1175 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1176 int result;
1177 PyObject * obj0 = 0 ;
1178 char *kwnames[] = {
1179 (char *) "self", NULL
1180 };
1181
1182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
1183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1184 {
1185 PyThreadState* __tstate = wxPyBeginAllowThreads();
1186 result = (int)(arg1)->GetEndStyled();
1187
1188 wxPyEndAllowThreads(__tstate);
1189 if (PyErr_Occurred()) SWIG_fail;
1190 }
1191 resultobj = PyInt_FromLong((long)result);
1192 return resultobj;
1193 fail:
1194 return NULL;
1195}
1196
1197
1198static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
1199 PyObject *resultobj;
1200 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1201 int arg2 ;
1202 PyObject * obj0 = 0 ;
1203 char *kwnames[] = {
1204 (char *) "self",(char *) "eolMode", NULL
1205 };
1206
1207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&arg2)) goto fail;
1208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1209 {
1210 PyThreadState* __tstate = wxPyBeginAllowThreads();
1211 (arg1)->ConvertEOLs(arg2);
1212
1213 wxPyEndAllowThreads(__tstate);
1214 if (PyErr_Occurred()) SWIG_fail;
1215 }
1216 Py_INCREF(Py_None); resultobj = Py_None;
1217 return resultobj;
1218 fail:
1219 return NULL;
1220}
1221
1222
1223static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1224 PyObject *resultobj;
1225 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1226 int result;
1227 PyObject * obj0 = 0 ;
1228 char *kwnames[] = {
1229 (char *) "self", NULL
1230 };
1231
1232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
1233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1234 {
1235 PyThreadState* __tstate = wxPyBeginAllowThreads();
1236 result = (int)(arg1)->GetEOLMode();
1237
1238 wxPyEndAllowThreads(__tstate);
1239 if (PyErr_Occurred()) SWIG_fail;
1240 }
1241 resultobj = PyInt_FromLong((long)result);
1242 return resultobj;
1243 fail:
1244 return NULL;
1245}
1246
1247
1248static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1249 PyObject *resultobj;
1250 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1251 int arg2 ;
1252 PyObject * obj0 = 0 ;
1253 char *kwnames[] = {
1254 (char *) "self",(char *) "eolMode", NULL
1255 };
1256
1257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&arg2)) goto fail;
1258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1259 {
1260 PyThreadState* __tstate = wxPyBeginAllowThreads();
1261 (arg1)->SetEOLMode(arg2);
1262
1263 wxPyEndAllowThreads(__tstate);
1264 if (PyErr_Occurred()) SWIG_fail;
1265 }
1266 Py_INCREF(Py_None); resultobj = Py_None;
1267 return resultobj;
1268 fail:
1269 return NULL;
1270}
1271
1272
1273static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1274 PyObject *resultobj;
1275 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1276 int arg2 ;
1277 int arg3 ;
1278 PyObject * obj0 = 0 ;
1279 char *kwnames[] = {
1280 (char *) "self",(char *) "pos",(char *) "mask", NULL
1281 };
1282
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StartStyling",kwnames,&obj0,&arg2,&arg3)) goto fail;
1284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1285 {
1286 PyThreadState* __tstate = wxPyBeginAllowThreads();
1287 (arg1)->StartStyling(arg2,arg3);
1288
1289 wxPyEndAllowThreads(__tstate);
1290 if (PyErr_Occurred()) SWIG_fail;
1291 }
1292 Py_INCREF(Py_None); resultobj = Py_None;
1293 return resultobj;
1294 fail:
1295 return NULL;
1296}
1297
1298
1299static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1300 PyObject *resultobj;
1301 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1302 int arg2 ;
1303 int arg3 ;
1304 PyObject * obj0 = 0 ;
1305 char *kwnames[] = {
1306 (char *) "self",(char *) "length",(char *) "style", NULL
1307 };
1308
1309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetStyling",kwnames,&obj0,&arg2,&arg3)) goto fail;
1310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1311 {
1312 PyThreadState* __tstate = wxPyBeginAllowThreads();
1313 (arg1)->SetStyling(arg2,arg3);
1314
1315 wxPyEndAllowThreads(__tstate);
1316 if (PyErr_Occurred()) SWIG_fail;
1317 }
1318 Py_INCREF(Py_None); resultobj = Py_None;
1319 return resultobj;
1320 fail:
1321 return NULL;
1322}
1323
1324
1325static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1326 PyObject *resultobj;
1327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1328 bool result;
1329 PyObject * obj0 = 0 ;
1330 char *kwnames[] = {
1331 (char *) "self", NULL
1332 };
1333
1334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
1335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1336 {
1337 PyThreadState* __tstate = wxPyBeginAllowThreads();
1338 result = (bool)(arg1)->GetBufferedDraw();
1339
1340 wxPyEndAllowThreads(__tstate);
1341 if (PyErr_Occurred()) SWIG_fail;
1342 }
1343 resultobj = PyInt_FromLong((long)result);
1344 return resultobj;
1345 fail:
1346 return NULL;
1347}
1348
1349
1350static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1351 PyObject *resultobj;
1352 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1353 bool arg2 ;
1354 PyObject * obj0 = 0 ;
1355 PyObject * obj1 = 0 ;
1356 char *kwnames[] = {
1357 (char *) "self",(char *) "buffered", NULL
1358 };
1359
1360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
1361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1362 arg2 = PyInt_AsLong(obj1) ? true : false;
1363 if (PyErr_Occurred()) SWIG_fail;
1364 {
1365 PyThreadState* __tstate = wxPyBeginAllowThreads();
1366 (arg1)->SetBufferedDraw(arg2);
1367
1368 wxPyEndAllowThreads(__tstate);
1369 if (PyErr_Occurred()) SWIG_fail;
1370 }
1371 Py_INCREF(Py_None); resultobj = Py_None;
1372 return resultobj;
1373 fail:
1374 return NULL;
1375}
1376
1377
1378static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1379 PyObject *resultobj;
1380 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1381 int arg2 ;
1382 PyObject * obj0 = 0 ;
1383 char *kwnames[] = {
1384 (char *) "self",(char *) "tabWidth", NULL
1385 };
1386
1387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&arg2)) goto fail;
1388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1389 {
1390 PyThreadState* __tstate = wxPyBeginAllowThreads();
1391 (arg1)->SetTabWidth(arg2);
1392
1393 wxPyEndAllowThreads(__tstate);
1394 if (PyErr_Occurred()) SWIG_fail;
1395 }
1396 Py_INCREF(Py_None); resultobj = Py_None;
1397 return resultobj;
1398 fail:
1399 return NULL;
1400}
1401
1402
1403static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1404 PyObject *resultobj;
1405 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1406 int result;
1407 PyObject * obj0 = 0 ;
1408 char *kwnames[] = {
1409 (char *) "self", NULL
1410 };
1411
1412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
1413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1414 {
1415 PyThreadState* __tstate = wxPyBeginAllowThreads();
1416 result = (int)(arg1)->GetTabWidth();
1417
1418 wxPyEndAllowThreads(__tstate);
1419 if (PyErr_Occurred()) SWIG_fail;
1420 }
1421 resultobj = PyInt_FromLong((long)result);
1422 return resultobj;
1423 fail:
1424 return NULL;
1425}
1426
1427
1428static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1429 PyObject *resultobj;
1430 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1431 int arg2 ;
1432 PyObject * obj0 = 0 ;
1433 char *kwnames[] = {
1434 (char *) "self",(char *) "codePage", NULL
1435 };
1436
1437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCodePage",kwnames,&obj0,&arg2)) goto fail;
1438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1439 {
1440 PyThreadState* __tstate = wxPyBeginAllowThreads();
1441 (arg1)->SetCodePage(arg2);
1442
1443 wxPyEndAllowThreads(__tstate);
1444 if (PyErr_Occurred()) SWIG_fail;
1445 }
1446 Py_INCREF(Py_None); resultobj = Py_None;
1447 return resultobj;
1448 fail:
1449 return NULL;
1450}
1451
1452
1453static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
1454 PyObject *resultobj;
1455 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1456 int arg2 ;
1457 int arg3 ;
1458 wxColour const &arg4_defvalue = wxNullColour ;
1459 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
1460 wxColour const &arg5_defvalue = wxNullColour ;
1461 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
1462 wxColour temp4 ;
1463 wxColour temp5 ;
1464 PyObject * obj0 = 0 ;
1465 PyObject * obj3 = 0 ;
1466 PyObject * obj4 = 0 ;
1467 char *kwnames[] = {
1468 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1469 };
1470
1471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail;
1472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1473 if (obj3) {
1474 {
1475 arg4 = &temp4;
1476 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
1477 }
1478 }
1479 if (obj4) {
1480 {
1481 arg5 = &temp5;
1482 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
1483 }
1484 }
1485 {
1486 PyThreadState* __tstate = wxPyBeginAllowThreads();
1487 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
1488
1489 wxPyEndAllowThreads(__tstate);
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 Py_INCREF(Py_None); resultobj = Py_None;
1493 return resultobj;
1494 fail:
1495 return NULL;
1496}
1497
1498
1499static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1500 PyObject *resultobj;
1501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1502 int arg2 ;
1503 wxColour *arg3 = 0 ;
1504 wxColour temp3 ;
1505 PyObject * obj0 = 0 ;
1506 PyObject * obj2 = 0 ;
1507 char *kwnames[] = {
1508 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1509 };
1510
1511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail;
1512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1513 {
1514 arg3 = &temp3;
1515 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1516 }
1517 {
1518 PyThreadState* __tstate = wxPyBeginAllowThreads();
1519 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
1520
1521 wxPyEndAllowThreads(__tstate);
1522 if (PyErr_Occurred()) SWIG_fail;
1523 }
1524 Py_INCREF(Py_None); resultobj = Py_None;
1525 return resultobj;
1526 fail:
1527 return NULL;
1528}
1529
1530
1531static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1532 PyObject *resultobj;
1533 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1534 int arg2 ;
1535 wxColour *arg3 = 0 ;
1536 wxColour temp3 ;
1537 PyObject * obj0 = 0 ;
1538 PyObject * obj2 = 0 ;
1539 char *kwnames[] = {
1540 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1541 };
1542
1543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&arg2,&obj2)) goto fail;
1544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1545 {
1546 arg3 = &temp3;
1547 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1548 }
1549 {
1550 PyThreadState* __tstate = wxPyBeginAllowThreads();
1551 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
1552
1553 wxPyEndAllowThreads(__tstate);
1554 if (PyErr_Occurred()) SWIG_fail;
1555 }
1556 Py_INCREF(Py_None); resultobj = Py_None;
1557 return resultobj;
1558 fail:
1559 return NULL;
1560}
1561
1562
1563static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
1564 PyObject *resultobj;
1565 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1566 int arg2 ;
1567 int arg3 ;
1568 int result;
1569 PyObject * obj0 = 0 ;
1570 char *kwnames[] = {
1571 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1572 };
1573
1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&arg2,&arg3)) goto fail;
1575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1576 {
1577 PyThreadState* __tstate = wxPyBeginAllowThreads();
1578 result = (int)(arg1)->MarkerAdd(arg2,arg3);
1579
1580 wxPyEndAllowThreads(__tstate);
1581 if (PyErr_Occurred()) SWIG_fail;
1582 }
1583 resultobj = PyInt_FromLong((long)result);
1584 return resultobj;
1585 fail:
1586 return NULL;
1587}
1588
1589
1590static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1591 PyObject *resultobj;
1592 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1593 int arg2 ;
1594 int arg3 ;
1595 PyObject * obj0 = 0 ;
1596 char *kwnames[] = {
1597 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1598 };
1599
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&arg2,&arg3)) goto fail;
1601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1602 {
1603 PyThreadState* __tstate = wxPyBeginAllowThreads();
1604 (arg1)->MarkerDelete(arg2,arg3);
1605
1606 wxPyEndAllowThreads(__tstate);
1607 if (PyErr_Occurred()) SWIG_fail;
1608 }
1609 Py_INCREF(Py_None); resultobj = Py_None;
1610 return resultobj;
1611 fail:
1612 return NULL;
1613}
1614
1615
1616static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject *resultobj;
1618 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1619 int arg2 ;
1620 PyObject * obj0 = 0 ;
1621 char *kwnames[] = {
1622 (char *) "self",(char *) "markerNumber", NULL
1623 };
1624
1625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&arg2)) goto fail;
1626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1627 {
1628 PyThreadState* __tstate = wxPyBeginAllowThreads();
1629 (arg1)->MarkerDeleteAll(arg2);
1630
1631 wxPyEndAllowThreads(__tstate);
1632 if (PyErr_Occurred()) SWIG_fail;
1633 }
1634 Py_INCREF(Py_None); resultobj = Py_None;
1635 return resultobj;
1636 fail:
1637 return NULL;
1638}
1639
1640
1641static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1644 int arg2 ;
1645 int result;
1646 PyObject * obj0 = 0 ;
1647 char *kwnames[] = {
1648 (char *) "self",(char *) "line", NULL
1649 };
1650
1651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerGet",kwnames,&obj0,&arg2)) goto fail;
1652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1653 {
1654 PyThreadState* __tstate = wxPyBeginAllowThreads();
1655 result = (int)(arg1)->MarkerGet(arg2);
1656
1657 wxPyEndAllowThreads(__tstate);
1658 if (PyErr_Occurred()) SWIG_fail;
1659 }
1660 resultobj = PyInt_FromLong((long)result);
1661 return resultobj;
1662 fail:
1663 return NULL;
1664}
1665
1666
1667static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
1668 PyObject *resultobj;
1669 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1670 int arg2 ;
1671 int arg3 ;
1672 int result;
1673 PyObject * obj0 = 0 ;
1674 char *kwnames[] = {
1675 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1676 };
1677
1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerNext",kwnames,&obj0,&arg2,&arg3)) goto fail;
1679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1680 {
1681 PyThreadState* __tstate = wxPyBeginAllowThreads();
1682 result = (int)(arg1)->MarkerNext(arg2,arg3);
1683
1684 wxPyEndAllowThreads(__tstate);
1685 if (PyErr_Occurred()) SWIG_fail;
1686 }
1687 resultobj = PyInt_FromLong((long)result);
1688 return resultobj;
1689 fail:
1690 return NULL;
1691}
1692
1693
1694static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
1695 PyObject *resultobj;
1696 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1697 int arg2 ;
1698 int arg3 ;
1699 int result;
1700 PyObject * obj0 = 0 ;
1701 char *kwnames[] = {
1702 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1703 };
1704
1705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&arg2,&arg3)) goto fail;
1706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1707 {
1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
1709 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
1714 resultobj = PyInt_FromLong((long)result);
1715 return resultobj;
1716 fail:
1717 return NULL;
1718}
1719
1720
1721static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
1722 PyObject *resultobj;
1723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1724 int arg2 ;
1725 wxBitmap *arg3 = 0 ;
1726 PyObject * obj0 = 0 ;
1727 PyObject * obj2 = 0 ;
1728 char *kwnames[] = {
1729 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
1730 };
1731
1732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&arg2,&obj2)) goto fail;
1733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1734 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1735 if (arg3 == NULL) {
1736 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1737 }
1738 {
1739 PyThreadState* __tstate = wxPyBeginAllowThreads();
1740 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
1741
1742 wxPyEndAllowThreads(__tstate);
1743 if (PyErr_Occurred()) SWIG_fail;
1744 }
1745 Py_INCREF(Py_None); resultobj = Py_None;
1746 return resultobj;
1747 fail:
1748 return NULL;
1749}
1750
1751
1752static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
1753 PyObject *resultobj;
1754 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1755 int arg2 ;
1756 int arg3 ;
1757 PyObject * obj0 = 0 ;
1758 char *kwnames[] = {
1759 (char *) "self",(char *) "margin",(char *) "marginType", NULL
1760 };
1761
1762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginType",kwnames,&obj0,&arg2,&arg3)) goto fail;
1763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1764 {
1765 PyThreadState* __tstate = wxPyBeginAllowThreads();
1766 (arg1)->SetMarginType(arg2,arg3);
1767
1768 wxPyEndAllowThreads(__tstate);
1769 if (PyErr_Occurred()) SWIG_fail;
1770 }
1771 Py_INCREF(Py_None); resultobj = Py_None;
1772 return resultobj;
1773 fail:
1774 return NULL;
1775}
1776
1777
1778static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
1779 PyObject *resultobj;
1780 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1781 int arg2 ;
1782 int result;
1783 PyObject * obj0 = 0 ;
1784 char *kwnames[] = {
1785 (char *) "self",(char *) "margin", NULL
1786 };
1787
1788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginType",kwnames,&obj0,&arg2)) goto fail;
1789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1790 {
1791 PyThreadState* __tstate = wxPyBeginAllowThreads();
1792 result = (int)(arg1)->GetMarginType(arg2);
1793
1794 wxPyEndAllowThreads(__tstate);
1795 if (PyErr_Occurred()) SWIG_fail;
1796 }
1797 resultobj = PyInt_FromLong((long)result);
1798 return resultobj;
1799 fail:
1800 return NULL;
1801}
1802
1803
1804static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1805 PyObject *resultobj;
1806 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1807 int arg2 ;
1808 int arg3 ;
1809 PyObject * obj0 = 0 ;
1810 char *kwnames[] = {
1811 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
1812 };
1813
1814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
1815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1816 {
1817 PyThreadState* __tstate = wxPyBeginAllowThreads();
1818 (arg1)->SetMarginWidth(arg2,arg3);
1819
1820 wxPyEndAllowThreads(__tstate);
1821 if (PyErr_Occurred()) SWIG_fail;
1822 }
1823 Py_INCREF(Py_None); resultobj = Py_None;
1824 return resultobj;
1825 fail:
1826 return NULL;
1827}
1828
1829
1830static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1831 PyObject *resultobj;
1832 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1833 int arg2 ;
1834 int result;
1835 PyObject * obj0 = 0 ;
1836 char *kwnames[] = {
1837 (char *) "self",(char *) "margin", NULL
1838 };
1839
1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&arg2)) goto fail;
1841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1842 {
1843 PyThreadState* __tstate = wxPyBeginAllowThreads();
1844 result = (int)(arg1)->GetMarginWidth(arg2);
1845
1846 wxPyEndAllowThreads(__tstate);
1847 if (PyErr_Occurred()) SWIG_fail;
1848 }
1849 resultobj = PyInt_FromLong((long)result);
1850 return resultobj;
1851 fail:
1852 return NULL;
1853}
1854
1855
1856static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1857 PyObject *resultobj;
1858 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1859 int arg2 ;
1860 int arg3 ;
1861 PyObject * obj0 = 0 ;
1862 char *kwnames[] = {
1863 (char *) "self",(char *) "margin",(char *) "mask", NULL
1864 };
1865
1866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&arg2,&arg3)) goto fail;
1867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1868 {
1869 PyThreadState* __tstate = wxPyBeginAllowThreads();
1870 (arg1)->SetMarginMask(arg2,arg3);
1871
1872 wxPyEndAllowThreads(__tstate);
1873 if (PyErr_Occurred()) SWIG_fail;
1874 }
1875 Py_INCREF(Py_None); resultobj = Py_None;
1876 return resultobj;
1877 fail:
1878 return NULL;
1879}
1880
1881
1882static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1883 PyObject *resultobj;
1884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1885 int arg2 ;
1886 int result;
1887 PyObject * obj0 = 0 ;
1888 char *kwnames[] = {
1889 (char *) "self",(char *) "margin", NULL
1890 };
1891
1892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&arg2)) goto fail;
1893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1894 {
1895 PyThreadState* __tstate = wxPyBeginAllowThreads();
1896 result = (int)(arg1)->GetMarginMask(arg2);
1897
1898 wxPyEndAllowThreads(__tstate);
1899 if (PyErr_Occurred()) SWIG_fail;
1900 }
1901 resultobj = PyInt_FromLong((long)result);
1902 return resultobj;
1903 fail:
1904 return NULL;
1905}
1906
1907
1908static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
1909 PyObject *resultobj;
1910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1911 int arg2 ;
1912 bool arg3 ;
1913 PyObject * obj0 = 0 ;
1914 PyObject * obj2 = 0 ;
1915 char *kwnames[] = {
1916 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
1917 };
1918
1919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&arg2,&obj2)) goto fail;
1920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1921 arg3 = PyInt_AsLong(obj2) ? true : false;
1922 if (PyErr_Occurred()) SWIG_fail;
1923 {
1924 PyThreadState* __tstate = wxPyBeginAllowThreads();
1925 (arg1)->SetMarginSensitive(arg2,arg3);
1926
1927 wxPyEndAllowThreads(__tstate);
1928 if (PyErr_Occurred()) SWIG_fail;
1929 }
1930 Py_INCREF(Py_None); resultobj = Py_None;
1931 return resultobj;
1932 fail:
1933 return NULL;
1934}
1935
1936
1937static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
1938 PyObject *resultobj;
1939 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1940 int arg2 ;
1941 bool result;
1942 PyObject * obj0 = 0 ;
1943 char *kwnames[] = {
1944 (char *) "self",(char *) "margin", NULL
1945 };
1946
1947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&arg2)) goto fail;
1948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1949 {
1950 PyThreadState* __tstate = wxPyBeginAllowThreads();
1951 result = (bool)(arg1)->GetMarginSensitive(arg2);
1952
1953 wxPyEndAllowThreads(__tstate);
1954 if (PyErr_Occurred()) SWIG_fail;
1955 }
1956 resultobj = PyInt_FromLong((long)result);
1957 return resultobj;
1958 fail:
1959 return NULL;
1960}
1961
1962
1963static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1964 PyObject *resultobj;
1965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1966 PyObject * obj0 = 0 ;
1967 char *kwnames[] = {
1968 (char *) "self", NULL
1969 };
1970
1971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
1972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1973 {
1974 PyThreadState* __tstate = wxPyBeginAllowThreads();
1975 (arg1)->StyleClearAll();
1976
1977 wxPyEndAllowThreads(__tstate);
1978 if (PyErr_Occurred()) SWIG_fail;
1979 }
1980 Py_INCREF(Py_None); resultobj = Py_None;
1981 return resultobj;
1982 fail:
1983 return NULL;
1984}
1985
1986
1987static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1988 PyObject *resultobj;
1989 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1990 int arg2 ;
1991 wxColour *arg3 = 0 ;
1992 wxColour temp3 ;
1993 PyObject * obj0 = 0 ;
1994 PyObject * obj2 = 0 ;
1995 char *kwnames[] = {
1996 (char *) "self",(char *) "style",(char *) "fore", NULL
1997 };
1998
1999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail;
2000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2001 {
2002 arg3 = &temp3;
2003 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2004 }
2005 {
2006 PyThreadState* __tstate = wxPyBeginAllowThreads();
2007 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
2008
2009 wxPyEndAllowThreads(__tstate);
2010 if (PyErr_Occurred()) SWIG_fail;
2011 }
2012 Py_INCREF(Py_None); resultobj = Py_None;
2013 return resultobj;
2014 fail:
2015 return NULL;
2016}
2017
2018
2019static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2020 PyObject *resultobj;
2021 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2022 int arg2 ;
2023 wxColour *arg3 = 0 ;
2024 wxColour temp3 ;
2025 PyObject * obj0 = 0 ;
2026 PyObject * obj2 = 0 ;
2027 char *kwnames[] = {
2028 (char *) "self",(char *) "style",(char *) "back", NULL
2029 };
2030
2031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&arg2,&obj2)) goto fail;
2032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2033 {
2034 arg3 = &temp3;
2035 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2036 }
2037 {
2038 PyThreadState* __tstate = wxPyBeginAllowThreads();
2039 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
2040
2041 wxPyEndAllowThreads(__tstate);
2042 if (PyErr_Occurred()) SWIG_fail;
2043 }
2044 Py_INCREF(Py_None); resultobj = Py_None;
2045 return resultobj;
2046 fail:
2047 return NULL;
2048}
2049
2050
2051static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2052 PyObject *resultobj;
2053 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2054 int arg2 ;
2055 bool arg3 ;
2056 PyObject * obj0 = 0 ;
2057 PyObject * obj2 = 0 ;
2058 char *kwnames[] = {
2059 (char *) "self",(char *) "style",(char *) "bold", NULL
2060 };
2061
2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&arg2,&obj2)) goto fail;
2063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2064 arg3 = PyInt_AsLong(obj2) ? true : false;
2065 if (PyErr_Occurred()) SWIG_fail;
2066 {
2067 PyThreadState* __tstate = wxPyBeginAllowThreads();
2068 (arg1)->StyleSetBold(arg2,arg3);
2069
2070 wxPyEndAllowThreads(__tstate);
2071 if (PyErr_Occurred()) SWIG_fail;
2072 }
2073 Py_INCREF(Py_None); resultobj = Py_None;
2074 return resultobj;
2075 fail:
2076 return NULL;
2077}
2078
2079
2080static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2081 PyObject *resultobj;
2082 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2083 int arg2 ;
2084 bool arg3 ;
2085 PyObject * obj0 = 0 ;
2086 PyObject * obj2 = 0 ;
2087 char *kwnames[] = {
2088 (char *) "self",(char *) "style",(char *) "italic", NULL
2089 };
2090
2091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&arg2,&obj2)) goto fail;
2092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2093 arg3 = PyInt_AsLong(obj2) ? true : false;
2094 if (PyErr_Occurred()) SWIG_fail;
2095 {
2096 PyThreadState* __tstate = wxPyBeginAllowThreads();
2097 (arg1)->StyleSetItalic(arg2,arg3);
2098
2099 wxPyEndAllowThreads(__tstate);
2100 if (PyErr_Occurred()) SWIG_fail;
2101 }
2102 Py_INCREF(Py_None); resultobj = Py_None;
2103 return resultobj;
2104 fail:
2105 return NULL;
2106}
2107
2108
2109static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2110 PyObject *resultobj;
2111 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2112 int arg2 ;
2113 int arg3 ;
2114 PyObject * obj0 = 0 ;
2115 char *kwnames[] = {
2116 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2117 };
2118
2119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
2120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2121 {
2122 PyThreadState* __tstate = wxPyBeginAllowThreads();
2123 (arg1)->StyleSetSize(arg2,arg3);
2124
2125 wxPyEndAllowThreads(__tstate);
2126 if (PyErr_Occurred()) SWIG_fail;
2127 }
2128 Py_INCREF(Py_None); resultobj = Py_None;
2129 return resultobj;
2130 fail:
2131 return NULL;
2132}
2133
2134
2135static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
2136 PyObject *resultobj;
2137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2138 int arg2 ;
2139 wxString *arg3 = 0 ;
e811c8ce 2140 bool temp3 = False ;
d14a1e28
RD
2141 PyObject * obj0 = 0 ;
2142 PyObject * obj2 = 0 ;
2143 char *kwnames[] = {
2144 (char *) "self",(char *) "style",(char *) "fontName", NULL
2145 };
2146
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&arg2,&obj2)) goto fail;
2148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2149 {
2150 arg3 = wxString_in_helper(obj2);
2151 if (arg3 == NULL) SWIG_fail;
e811c8ce 2152 temp3 = True;
d14a1e28
RD
2153 }
2154 {
2155 PyThreadState* __tstate = wxPyBeginAllowThreads();
2156 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
2157
2158 wxPyEndAllowThreads(__tstate);
2159 if (PyErr_Occurred()) SWIG_fail;
2160 }
2161 Py_INCREF(Py_None); resultobj = Py_None;
2162 {
2163 if (temp3)
2164 delete arg3;
2165 }
2166 return resultobj;
2167 fail:
2168 {
2169 if (temp3)
2170 delete arg3;
2171 }
2172 return NULL;
2173}
2174
2175
2176static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
2177 PyObject *resultobj;
2178 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2179 int arg2 ;
2180 bool arg3 ;
2181 PyObject * obj0 = 0 ;
2182 PyObject * obj2 = 0 ;
2183 char *kwnames[] = {
2184 (char *) "self",(char *) "style",(char *) "filled", NULL
2185 };
2186
2187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&arg2,&obj2)) goto fail;
2188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2189 arg3 = PyInt_AsLong(obj2) ? true : false;
2190 if (PyErr_Occurred()) SWIG_fail;
2191 {
2192 PyThreadState* __tstate = wxPyBeginAllowThreads();
2193 (arg1)->StyleSetEOLFilled(arg2,arg3);
2194
2195 wxPyEndAllowThreads(__tstate);
2196 if (PyErr_Occurred()) SWIG_fail;
2197 }
2198 Py_INCREF(Py_None); resultobj = Py_None;
2199 return resultobj;
2200 fail:
2201 return NULL;
2202}
2203
2204
2205static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
2206 PyObject *resultobj;
2207 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2208 PyObject * obj0 = 0 ;
2209 char *kwnames[] = {
2210 (char *) "self", NULL
2211 };
2212
2213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
2214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2215 {
2216 PyThreadState* __tstate = wxPyBeginAllowThreads();
2217 (arg1)->StyleResetDefault();
2218
2219 wxPyEndAllowThreads(__tstate);
2220 if (PyErr_Occurred()) SWIG_fail;
2221 }
2222 Py_INCREF(Py_None); resultobj = Py_None;
2223 return resultobj;
2224 fail:
2225 return NULL;
2226}
2227
2228
2229static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
2230 PyObject *resultobj;
2231 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2232 int arg2 ;
2233 bool arg3 ;
2234 PyObject * obj0 = 0 ;
2235 PyObject * obj2 = 0 ;
2236 char *kwnames[] = {
2237 (char *) "self",(char *) "style",(char *) "underline", NULL
2238 };
2239
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&arg2,&obj2)) goto fail;
2241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2242 arg3 = PyInt_AsLong(obj2) ? true : false;
2243 if (PyErr_Occurred()) SWIG_fail;
2244 {
2245 PyThreadState* __tstate = wxPyBeginAllowThreads();
2246 (arg1)->StyleSetUnderline(arg2,arg3);
2247
2248 wxPyEndAllowThreads(__tstate);
2249 if (PyErr_Occurred()) SWIG_fail;
2250 }
2251 Py_INCREF(Py_None); resultobj = Py_None;
2252 return resultobj;
2253 fail:
2254 return NULL;
2255}
2256
2257
2258static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
2259 PyObject *resultobj;
2260 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2261 int arg2 ;
2262 int arg3 ;
2263 PyObject * obj0 = 0 ;
2264 char *kwnames[] = {
2265 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2266 };
2267
2268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&arg2,&arg3)) goto fail;
2269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2270 {
2271 PyThreadState* __tstate = wxPyBeginAllowThreads();
2272 (arg1)->StyleSetCase(arg2,arg3);
2273
2274 wxPyEndAllowThreads(__tstate);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 }
2277 Py_INCREF(Py_None); resultobj = Py_None;
2278 return resultobj;
2279 fail:
2280 return NULL;
2281}
2282
2283
2284static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject *resultobj;
2286 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2287 int arg2 ;
2288 int arg3 ;
2289 PyObject * obj0 = 0 ;
2290 char *kwnames[] = {
2291 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2292 };
2293
2294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&arg2,&arg3)) goto fail;
2295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2296 {
2297 PyThreadState* __tstate = wxPyBeginAllowThreads();
2298 (arg1)->StyleSetCharacterSet(arg2,arg3);
2299
2300 wxPyEndAllowThreads(__tstate);
2301 if (PyErr_Occurred()) SWIG_fail;
2302 }
2303 Py_INCREF(Py_None); resultobj = Py_None;
2304 return resultobj;
2305 fail:
2306 return NULL;
2307}
2308
2309
2310static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
2311 PyObject *resultobj;
2312 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2313 int arg2 ;
2314 bool arg3 ;
2315 PyObject * obj0 = 0 ;
2316 PyObject * obj2 = 0 ;
2317 char *kwnames[] = {
2318 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2319 };
2320
2321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&arg2,&obj2)) goto fail;
2322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2323 arg3 = PyInt_AsLong(obj2) ? true : false;
2324 if (PyErr_Occurred()) SWIG_fail;
2325 {
2326 PyThreadState* __tstate = wxPyBeginAllowThreads();
2327 (arg1)->StyleSetHotSpot(arg2,arg3);
2328
2329 wxPyEndAllowThreads(__tstate);
2330 if (PyErr_Occurred()) SWIG_fail;
2331 }
2332 Py_INCREF(Py_None); resultobj = Py_None;
2333 return resultobj;
2334 fail:
2335 return NULL;
2336}
2337
2338
2339static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2340 PyObject *resultobj;
2341 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2342 bool arg2 ;
2343 wxColour *arg3 = 0 ;
2344 wxColour temp3 ;
2345 PyObject * obj0 = 0 ;
2346 PyObject * obj1 = 0 ;
2347 PyObject * obj2 = 0 ;
2348 char *kwnames[] = {
2349 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2350 };
2351
2352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2354 arg2 = PyInt_AsLong(obj1) ? true : false;
2355 if (PyErr_Occurred()) SWIG_fail;
2356 {
2357 arg3 = &temp3;
2358 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2359 }
2360 {
2361 PyThreadState* __tstate = wxPyBeginAllowThreads();
2362 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
2363
2364 wxPyEndAllowThreads(__tstate);
2365 if (PyErr_Occurred()) SWIG_fail;
2366 }
2367 Py_INCREF(Py_None); resultobj = Py_None;
2368 return resultobj;
2369 fail:
2370 return NULL;
2371}
2372
2373
2374static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2375 PyObject *resultobj;
2376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2377 bool arg2 ;
2378 wxColour *arg3 = 0 ;
2379 wxColour temp3 ;
2380 PyObject * obj0 = 0 ;
2381 PyObject * obj1 = 0 ;
2382 PyObject * obj2 = 0 ;
2383 char *kwnames[] = {
2384 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2385 };
2386
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2389 arg2 = PyInt_AsLong(obj1) ? true : false;
2390 if (PyErr_Occurred()) SWIG_fail;
2391 {
2392 arg3 = &temp3;
2393 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2394 }
2395 {
2396 PyThreadState* __tstate = wxPyBeginAllowThreads();
2397 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
2398
2399 wxPyEndAllowThreads(__tstate);
2400 if (PyErr_Occurred()) SWIG_fail;
2401 }
2402 Py_INCREF(Py_None); resultobj = Py_None;
2403 return resultobj;
2404 fail:
2405 return NULL;
2406}
2407
2408
2409static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2410 PyObject *resultobj;
2411 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2412 wxColour *arg2 = 0 ;
2413 wxColour temp2 ;
2414 PyObject * obj0 = 0 ;
2415 PyObject * obj1 = 0 ;
2416 char *kwnames[] = {
2417 (char *) "self",(char *) "fore", NULL
2418 };
2419
2420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
2421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2422 {
2423 arg2 = &temp2;
2424 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2425 }
2426 {
2427 PyThreadState* __tstate = wxPyBeginAllowThreads();
2428 (arg1)->SetCaretForeground((wxColour const &)*arg2);
2429
2430 wxPyEndAllowThreads(__tstate);
2431 if (PyErr_Occurred()) SWIG_fail;
2432 }
2433 Py_INCREF(Py_None); resultobj = Py_None;
2434 return resultobj;
2435 fail:
2436 return NULL;
2437}
2438
2439
2440static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
2441 PyObject *resultobj;
2442 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2443 int arg2 ;
2444 int arg3 ;
2445 int arg4 ;
2446 PyObject * obj0 = 0 ;
2447 char *kwnames[] = {
2448 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2449 };
2450
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
2452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2453 {
2454 PyThreadState* __tstate = wxPyBeginAllowThreads();
2455 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
2456
2457 wxPyEndAllowThreads(__tstate);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 Py_INCREF(Py_None); resultobj = Py_None;
2461 return resultobj;
2462 fail:
2463 return NULL;
2464}
2465
2466
2467static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
2468 PyObject *resultobj;
2469 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2470 int arg2 ;
2471 int arg3 ;
2472 PyObject * obj0 = 0 ;
2473 char *kwnames[] = {
2474 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2475 };
2476
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&arg2,&arg3)) goto fail;
2478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2479 {
2480 PyThreadState* __tstate = wxPyBeginAllowThreads();
2481 (arg1)->CmdKeyClear(arg2,arg3);
2482
2483 wxPyEndAllowThreads(__tstate);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 Py_INCREF(Py_None); resultobj = Py_None;
2487 return resultobj;
2488 fail:
2489 return NULL;
2490}
2491
2492
2493static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2494 PyObject *resultobj;
2495 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2496 PyObject * obj0 = 0 ;
2497 char *kwnames[] = {
2498 (char *) "self", NULL
2499 };
2500
2501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
2502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2503 {
2504 PyThreadState* __tstate = wxPyBeginAllowThreads();
2505 (arg1)->CmdKeyClearAll();
2506
2507 wxPyEndAllowThreads(__tstate);
2508 if (PyErr_Occurred()) SWIG_fail;
2509 }
2510 Py_INCREF(Py_None); resultobj = Py_None;
2511 return resultobj;
2512 fail:
2513 return NULL;
2514}
2515
2516
2517static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
2518 PyObject *resultobj;
2519 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2520 int arg2 ;
2521 char *arg3 ;
2522 PyObject * obj0 = 0 ;
2523 char *kwnames[] = {
2524 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
2525 };
2526
2527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ois:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&arg2,&arg3)) goto fail;
2528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2529 {
2530 PyThreadState* __tstate = wxPyBeginAllowThreads();
2531 (arg1)->SetStyleBytes(arg2,arg3);
2532
2533 wxPyEndAllowThreads(__tstate);
2534 if (PyErr_Occurred()) SWIG_fail;
2535 }
2536 Py_INCREF(Py_None); resultobj = Py_None;
2537 return resultobj;
2538 fail:
2539 return NULL;
2540}
2541
2542
2543static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2544 PyObject *resultobj;
2545 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2546 int arg2 ;
2547 bool arg3 ;
2548 PyObject * obj0 = 0 ;
2549 PyObject * obj2 = 0 ;
2550 char *kwnames[] = {
2551 (char *) "self",(char *) "style",(char *) "visible", NULL
2552 };
2553
2554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
2555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2556 arg3 = PyInt_AsLong(obj2) ? true : false;
2557 if (PyErr_Occurred()) SWIG_fail;
2558 {
2559 PyThreadState* __tstate = wxPyBeginAllowThreads();
2560 (arg1)->StyleSetVisible(arg2,arg3);
2561
2562 wxPyEndAllowThreads(__tstate);
2563 if (PyErr_Occurred()) SWIG_fail;
2564 }
2565 Py_INCREF(Py_None); resultobj = Py_None;
2566 return resultobj;
2567 fail:
2568 return NULL;
2569}
2570
2571
2572static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
2573 PyObject *resultobj;
2574 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2575 int result;
2576 PyObject * obj0 = 0 ;
2577 char *kwnames[] = {
2578 (char *) "self", NULL
2579 };
2580
2581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
2582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2583 {
2584 PyThreadState* __tstate = wxPyBeginAllowThreads();
2585 result = (int)(arg1)->GetCaretPeriod();
2586
2587 wxPyEndAllowThreads(__tstate);
2588 if (PyErr_Occurred()) SWIG_fail;
2589 }
2590 resultobj = PyInt_FromLong((long)result);
2591 return resultobj;
2592 fail:
2593 return NULL;
2594}
2595
2596
2597static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
2598 PyObject *resultobj;
2599 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2600 int arg2 ;
2601 PyObject * obj0 = 0 ;
2602 char *kwnames[] = {
2603 (char *) "self",(char *) "periodMilliseconds", NULL
2604 };
2605
2606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&arg2)) goto fail;
2607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2608 {
2609 PyThreadState* __tstate = wxPyBeginAllowThreads();
2610 (arg1)->SetCaretPeriod(arg2);
2611
2612 wxPyEndAllowThreads(__tstate);
2613 if (PyErr_Occurred()) SWIG_fail;
2614 }
2615 Py_INCREF(Py_None); resultobj = Py_None;
2616 return resultobj;
2617 fail:
2618 return NULL;
2619}
2620
2621
2622static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
2623 PyObject *resultobj;
2624 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2625 wxString *arg2 = 0 ;
e811c8ce 2626 bool temp2 = False ;
d14a1e28
RD
2627 PyObject * obj0 = 0 ;
2628 PyObject * obj1 = 0 ;
2629 char *kwnames[] = {
2630 (char *) "self",(char *) "characters", NULL
2631 };
2632
2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
2634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2635 {
2636 arg2 = wxString_in_helper(obj1);
2637 if (arg2 == NULL) SWIG_fail;
e811c8ce 2638 temp2 = True;
d14a1e28
RD
2639 }
2640 {
2641 PyThreadState* __tstate = wxPyBeginAllowThreads();
2642 (arg1)->SetWordChars((wxString const &)*arg2);
2643
2644 wxPyEndAllowThreads(__tstate);
2645 if (PyErr_Occurred()) SWIG_fail;
2646 }
2647 Py_INCREF(Py_None); resultobj = Py_None;
2648 {
2649 if (temp2)
2650 delete arg2;
2651 }
2652 return resultobj;
2653 fail:
2654 {
2655 if (temp2)
2656 delete arg2;
2657 }
2658 return NULL;
2659}
2660
2661
2662static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
2663 PyObject *resultobj;
2664 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2665 PyObject * obj0 = 0 ;
2666 char *kwnames[] = {
2667 (char *) "self", NULL
2668 };
2669
2670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
2671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 (arg1)->BeginUndoAction();
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 Py_INCREF(Py_None); resultobj = Py_None;
2680 return resultobj;
2681 fail:
2682 return NULL;
2683}
2684
2685
2686static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
2687 PyObject *resultobj;
2688 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2689 PyObject * obj0 = 0 ;
2690 char *kwnames[] = {
2691 (char *) "self", NULL
2692 };
2693
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
2695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2696 {
2697 PyThreadState* __tstate = wxPyBeginAllowThreads();
2698 (arg1)->EndUndoAction();
2699
2700 wxPyEndAllowThreads(__tstate);
2701 if (PyErr_Occurred()) SWIG_fail;
2702 }
2703 Py_INCREF(Py_None); resultobj = Py_None;
2704 return resultobj;
2705 fail:
2706 return NULL;
2707}
2708
2709
2710static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2711 PyObject *resultobj;
2712 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2713 int arg2 ;
2714 int arg3 ;
2715 PyObject * obj0 = 0 ;
2716 char *kwnames[] = {
2717 (char *) "self",(char *) "indic",(char *) "style", NULL
2718 };
2719
2720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&arg2,&arg3)) goto fail;
2721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2722 {
2723 PyThreadState* __tstate = wxPyBeginAllowThreads();
2724 (arg1)->IndicatorSetStyle(arg2,arg3);
2725
2726 wxPyEndAllowThreads(__tstate);
2727 if (PyErr_Occurred()) SWIG_fail;
2728 }
2729 Py_INCREF(Py_None); resultobj = Py_None;
2730 return resultobj;
2731 fail:
2732 return NULL;
2733}
2734
2735
2736static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2737 PyObject *resultobj;
2738 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2739 int arg2 ;
2740 int result;
2741 PyObject * obj0 = 0 ;
2742 char *kwnames[] = {
2743 (char *) "self",(char *) "indic", NULL
2744 };
2745
2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&arg2)) goto fail;
2747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2748 {
2749 PyThreadState* __tstate = wxPyBeginAllowThreads();
2750 result = (int)(arg1)->IndicatorGetStyle(arg2);
2751
2752 wxPyEndAllowThreads(__tstate);
2753 if (PyErr_Occurred()) SWIG_fail;
2754 }
2755 resultobj = PyInt_FromLong((long)result);
2756 return resultobj;
2757 fail:
2758 return NULL;
2759}
2760
2761
2762static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2763 PyObject *resultobj;
2764 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2765 int arg2 ;
2766 wxColour *arg3 = 0 ;
2767 wxColour temp3 ;
2768 PyObject * obj0 = 0 ;
2769 PyObject * obj2 = 0 ;
2770 char *kwnames[] = {
2771 (char *) "self",(char *) "indic",(char *) "fore", NULL
2772 };
2773
2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail;
2775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2776 {
2777 arg3 = &temp3;
2778 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2779 }
2780 {
2781 PyThreadState* __tstate = wxPyBeginAllowThreads();
2782 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
2783
2784 wxPyEndAllowThreads(__tstate);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
2787 Py_INCREF(Py_None); resultobj = Py_None;
2788 return resultobj;
2789 fail:
2790 return NULL;
2791}
2792
2793
2794static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2795 PyObject *resultobj;
2796 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2797 int arg2 ;
2798 wxColour result;
2799 PyObject * obj0 = 0 ;
2800 char *kwnames[] = {
2801 (char *) "self",(char *) "indic", NULL
2802 };
2803
2804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&arg2)) goto fail;
2805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2806 {
2807 PyThreadState* __tstate = wxPyBeginAllowThreads();
2808 result = (arg1)->IndicatorGetForeground(arg2);
2809
2810 wxPyEndAllowThreads(__tstate);
2811 if (PyErr_Occurred()) SWIG_fail;
2812 }
2813 {
2814 wxColour * resultptr;
2815 resultptr = new wxColour((wxColour &) result);
2816 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
2817 }
2818 return resultobj;
2819 fail:
2820 return NULL;
2821}
2822
2823
2824static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2825 PyObject *resultobj;
2826 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2827 bool arg2 ;
2828 wxColour *arg3 = 0 ;
2829 wxColour temp3 ;
2830 PyObject * obj0 = 0 ;
2831 PyObject * obj1 = 0 ;
2832 PyObject * obj2 = 0 ;
2833 char *kwnames[] = {
2834 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2835 };
2836
2837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2839 arg2 = PyInt_AsLong(obj1) ? true : false;
2840 if (PyErr_Occurred()) SWIG_fail;
2841 {
2842 arg3 = &temp3;
2843 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2844 }
2845 {
2846 PyThreadState* __tstate = wxPyBeginAllowThreads();
2847 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
2848
2849 wxPyEndAllowThreads(__tstate);
2850 if (PyErr_Occurred()) SWIG_fail;
2851 }
2852 Py_INCREF(Py_None); resultobj = Py_None;
2853 return resultobj;
2854 fail:
2855 return NULL;
2856}
2857
2858
2859static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2860 PyObject *resultobj;
2861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2862 bool arg2 ;
2863 wxColour *arg3 = 0 ;
2864 wxColour temp3 ;
2865 PyObject * obj0 = 0 ;
2866 PyObject * obj1 = 0 ;
2867 PyObject * obj2 = 0 ;
2868 char *kwnames[] = {
2869 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2870 };
2871
2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2874 arg2 = PyInt_AsLong(obj1) ? true : false;
2875 if (PyErr_Occurred()) SWIG_fail;
2876 {
2877 arg3 = &temp3;
2878 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2879 }
2880 {
2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
2882 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
2883
2884 wxPyEndAllowThreads(__tstate);
2885 if (PyErr_Occurred()) SWIG_fail;
2886 }
2887 Py_INCREF(Py_None); resultobj = Py_None;
2888 return resultobj;
2889 fail:
2890 return NULL;
2891}
2892
2893
2894static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2895 PyObject *resultobj;
2896 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2897 int arg2 ;
2898 PyObject * obj0 = 0 ;
2899 char *kwnames[] = {
2900 (char *) "self",(char *) "bits", NULL
2901 };
2902
2903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&arg2)) goto fail;
2904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2905 {
2906 PyThreadState* __tstate = wxPyBeginAllowThreads();
2907 (arg1)->SetStyleBits(arg2);
2908
2909 wxPyEndAllowThreads(__tstate);
2910 if (PyErr_Occurred()) SWIG_fail;
2911 }
2912 Py_INCREF(Py_None); resultobj = Py_None;
2913 return resultobj;
2914 fail:
2915 return NULL;
2916}
2917
2918
2919static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2920 PyObject *resultobj;
2921 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2922 int result;
2923 PyObject * obj0 = 0 ;
2924 char *kwnames[] = {
2925 (char *) "self", NULL
2926 };
2927
2928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
2929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2930 {
2931 PyThreadState* __tstate = wxPyBeginAllowThreads();
2932 result = (int)(arg1)->GetStyleBits();
2933
2934 wxPyEndAllowThreads(__tstate);
2935 if (PyErr_Occurred()) SWIG_fail;
2936 }
2937 resultobj = PyInt_FromLong((long)result);
2938 return resultobj;
2939 fail:
2940 return NULL;
2941}
2942
2943
2944static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2945 PyObject *resultobj;
2946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2947 int arg2 ;
2948 int arg3 ;
2949 PyObject * obj0 = 0 ;
2950 char *kwnames[] = {
2951 (char *) "self",(char *) "line",(char *) "state", NULL
2952 };
2953
2954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetLineState",kwnames,&obj0,&arg2,&arg3)) goto fail;
2955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2956 {
2957 PyThreadState* __tstate = wxPyBeginAllowThreads();
2958 (arg1)->SetLineState(arg2,arg3);
2959
2960 wxPyEndAllowThreads(__tstate);
2961 if (PyErr_Occurred()) SWIG_fail;
2962 }
2963 Py_INCREF(Py_None); resultobj = Py_None;
2964 return resultobj;
2965 fail:
2966 return NULL;
2967}
2968
2969
2970static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2971 PyObject *resultobj;
2972 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2973 int arg2 ;
2974 int result;
2975 PyObject * obj0 = 0 ;
2976 char *kwnames[] = {
2977 (char *) "self",(char *) "line", NULL
2978 };
2979
2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineState",kwnames,&obj0,&arg2)) goto fail;
2981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2982 {
2983 PyThreadState* __tstate = wxPyBeginAllowThreads();
2984 result = (int)(arg1)->GetLineState(arg2);
2985
2986 wxPyEndAllowThreads(__tstate);
2987 if (PyErr_Occurred()) SWIG_fail;
2988 }
2989 resultobj = PyInt_FromLong((long)result);
2990 return resultobj;
2991 fail:
2992 return NULL;
2993}
2994
2995
2996static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2997 PyObject *resultobj;
2998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2999 int result;
3000 PyObject * obj0 = 0 ;
3001 char *kwnames[] = {
3002 (char *) "self", NULL
3003 };
3004
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
3006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3007 {
3008 PyThreadState* __tstate = wxPyBeginAllowThreads();
3009 result = (int)(arg1)->GetMaxLineState();
3010
3011 wxPyEndAllowThreads(__tstate);
3012 if (PyErr_Occurred()) SWIG_fail;
3013 }
3014 resultobj = PyInt_FromLong((long)result);
3015 return resultobj;
3016 fail:
3017 return NULL;
3018}
3019
3020
3021static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3022 PyObject *resultobj;
3023 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3024 bool result;
3025 PyObject * obj0 = 0 ;
3026 char *kwnames[] = {
3027 (char *) "self", NULL
3028 };
3029
3030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
3031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3032 {
3033 PyThreadState* __tstate = wxPyBeginAllowThreads();
3034 result = (bool)(arg1)->GetCaretLineVisible();
3035
3036 wxPyEndAllowThreads(__tstate);
3037 if (PyErr_Occurred()) SWIG_fail;
3038 }
3039 resultobj = PyInt_FromLong((long)result);
3040 return resultobj;
3041 fail:
3042 return NULL;
3043}
3044
3045
3046static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3047 PyObject *resultobj;
3048 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3049 bool arg2 ;
3050 PyObject * obj0 = 0 ;
3051 PyObject * obj1 = 0 ;
3052 char *kwnames[] = {
3053 (char *) "self",(char *) "show", NULL
3054 };
3055
3056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
3057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3058 arg2 = PyInt_AsLong(obj1) ? true : false;
3059 if (PyErr_Occurred()) SWIG_fail;
3060 {
3061 PyThreadState* __tstate = wxPyBeginAllowThreads();
3062 (arg1)->SetCaretLineVisible(arg2);
3063
3064 wxPyEndAllowThreads(__tstate);
3065 if (PyErr_Occurred()) SWIG_fail;
3066 }
3067 Py_INCREF(Py_None); resultobj = Py_None;
3068 return resultobj;
3069 fail:
3070 return NULL;
3071}
3072
3073
3074static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3075 PyObject *resultobj;
3076 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3077 wxColour result;
3078 PyObject * obj0 = 0 ;
3079 char *kwnames[] = {
3080 (char *) "self", NULL
3081 };
3082
3083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
3084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3085 {
3086 PyThreadState* __tstate = wxPyBeginAllowThreads();
3087 result = (arg1)->GetCaretLineBack();
3088
3089 wxPyEndAllowThreads(__tstate);
3090 if (PyErr_Occurred()) SWIG_fail;
3091 }
3092 {
3093 wxColour * resultptr;
3094 resultptr = new wxColour((wxColour &) result);
3095 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
3096 }
3097 return resultobj;
3098 fail:
3099 return NULL;
3100}
3101
3102
3103static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3104 PyObject *resultobj;
3105 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3106 wxColour *arg2 = 0 ;
3107 wxColour temp2 ;
3108 PyObject * obj0 = 0 ;
3109 PyObject * obj1 = 0 ;
3110 char *kwnames[] = {
3111 (char *) "self",(char *) "back", NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
3115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3116 {
3117 arg2 = &temp2;
3118 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3119 }
3120 {
3121 PyThreadState* __tstate = wxPyBeginAllowThreads();
3122 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
3123
3124 wxPyEndAllowThreads(__tstate);
3125 if (PyErr_Occurred()) SWIG_fail;
3126 }
3127 Py_INCREF(Py_None); resultobj = Py_None;
3128 return resultobj;
3129 fail:
3130 return NULL;
3131}
3132
3133
3134static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) {
3135 PyObject *resultobj;
3136 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3137 int arg2 ;
3138 bool arg3 ;
3139 PyObject * obj0 = 0 ;
3140 PyObject * obj2 = 0 ;
3141 char *kwnames[] = {
3142 (char *) "self",(char *) "style",(char *) "changeable", NULL
3143 };
3144
3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&arg2,&obj2)) goto fail;
3146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3147 arg3 = PyInt_AsLong(obj2) ? true : false;
3148 if (PyErr_Occurred()) SWIG_fail;
3149 {
3150 PyThreadState* __tstate = wxPyBeginAllowThreads();
3151 (arg1)->StyleSetChangeable(arg2,arg3);
3152
3153 wxPyEndAllowThreads(__tstate);
3154 if (PyErr_Occurred()) SWIG_fail;
3155 }
3156 Py_INCREF(Py_None); resultobj = Py_None;
3157 return resultobj;
3158 fail:
3159 return NULL;
3160}
3161
3162
3163static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3164 PyObject *resultobj;
3165 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3166 int arg2 ;
3167 wxString *arg3 = 0 ;
e811c8ce 3168 bool temp3 = False ;
d14a1e28
RD
3169 PyObject * obj0 = 0 ;
3170 PyObject * obj2 = 0 ;
3171 char *kwnames[] = {
3172 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3173 };
3174
3175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&arg2,&obj2)) goto fail;
3176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3177 {
3178 arg3 = wxString_in_helper(obj2);
3179 if (arg3 == NULL) SWIG_fail;
e811c8ce 3180 temp3 = True;
d14a1e28
RD
3181 }
3182 {
3183 PyThreadState* __tstate = wxPyBeginAllowThreads();
3184 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
3185
3186 wxPyEndAllowThreads(__tstate);
3187 if (PyErr_Occurred()) SWIG_fail;
3188 }
3189 Py_INCREF(Py_None); resultobj = Py_None;
3190 {
3191 if (temp3)
3192 delete arg3;
3193 }
3194 return resultobj;
3195 fail:
3196 {
3197 if (temp3)
3198 delete arg3;
3199 }
3200 return NULL;
3201}
3202
3203
3204static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
3205 PyObject *resultobj;
3206 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3207 PyObject * obj0 = 0 ;
3208 char *kwnames[] = {
3209 (char *) "self", NULL
3210 };
3211
3212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
3213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3214 {
3215 PyThreadState* __tstate = wxPyBeginAllowThreads();
3216 (arg1)->AutoCompCancel();
3217
3218 wxPyEndAllowThreads(__tstate);
3219 if (PyErr_Occurred()) SWIG_fail;
3220 }
3221 Py_INCREF(Py_None); resultobj = Py_None;
3222 return resultobj;
3223 fail:
3224 return NULL;
3225}
3226
3227
3228static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3229 PyObject *resultobj;
3230 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3231 bool result;
3232 PyObject * obj0 = 0 ;
3233 char *kwnames[] = {
3234 (char *) "self", NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
3238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3239 {
3240 PyThreadState* __tstate = wxPyBeginAllowThreads();
3241 result = (bool)(arg1)->AutoCompActive();
3242
3243 wxPyEndAllowThreads(__tstate);
3244 if (PyErr_Occurred()) SWIG_fail;
3245 }
3246 resultobj = PyInt_FromLong((long)result);
3247 return resultobj;
3248 fail:
3249 return NULL;
3250}
3251
3252
3253static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3254 PyObject *resultobj;
3255 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3256 int result;
3257 PyObject * obj0 = 0 ;
3258 char *kwnames[] = {
3259 (char *) "self", NULL
3260 };
3261
3262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
3263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3264 {
3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
3266 result = (int)(arg1)->AutoCompPosStart();
3267
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 resultobj = PyInt_FromLong((long)result);
3272 return resultobj;
3273 fail:
3274 return NULL;
3275}
3276
3277
3278static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
3279 PyObject *resultobj;
3280 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3281 PyObject * obj0 = 0 ;
3282 char *kwnames[] = {
3283 (char *) "self", NULL
3284 };
3285
3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
3287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3288 {
3289 PyThreadState* __tstate = wxPyBeginAllowThreads();
3290 (arg1)->AutoCompComplete();
3291
3292 wxPyEndAllowThreads(__tstate);
3293 if (PyErr_Occurred()) SWIG_fail;
3294 }
3295 Py_INCREF(Py_None); resultobj = Py_None;
3296 return resultobj;
3297 fail:
3298 return NULL;
3299}
3300
3301
3302static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
3303 PyObject *resultobj;
3304 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3305 wxString *arg2 = 0 ;
e811c8ce 3306 bool temp2 = False ;
d14a1e28
RD
3307 PyObject * obj0 = 0 ;
3308 PyObject * obj1 = 0 ;
3309 char *kwnames[] = {
3310 (char *) "self",(char *) "characterSet", NULL
3311 };
3312
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
3314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3315 {
3316 arg2 = wxString_in_helper(obj1);
3317 if (arg2 == NULL) SWIG_fail;
e811c8ce 3318 temp2 = True;
d14a1e28
RD
3319 }
3320 {
3321 PyThreadState* __tstate = wxPyBeginAllowThreads();
3322 (arg1)->AutoCompStops((wxString const &)*arg2);
3323
3324 wxPyEndAllowThreads(__tstate);
3325 if (PyErr_Occurred()) SWIG_fail;
3326 }
3327 Py_INCREF(Py_None); resultobj = Py_None;
3328 {
3329 if (temp2)
3330 delete arg2;
3331 }
3332 return resultobj;
3333 fail:
3334 {
3335 if (temp2)
3336 delete arg2;
3337 }
3338 return NULL;
3339}
3340
3341
3342static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3343 PyObject *resultobj;
3344 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3345 int arg2 ;
3346 PyObject * obj0 = 0 ;
3347 char *kwnames[] = {
3348 (char *) "self",(char *) "separatorCharacter", NULL
3349 };
3350
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&arg2)) goto fail;
3352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3353 {
3354 PyThreadState* __tstate = wxPyBeginAllowThreads();
3355 (arg1)->AutoCompSetSeparator(arg2);
3356
3357 wxPyEndAllowThreads(__tstate);
3358 if (PyErr_Occurred()) SWIG_fail;
3359 }
3360 Py_INCREF(Py_None); resultobj = Py_None;
3361 return resultobj;
3362 fail:
3363 return NULL;
3364}
3365
3366
3367static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3368 PyObject *resultobj;
3369 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3370 int result;
3371 PyObject * obj0 = 0 ;
3372 char *kwnames[] = {
3373 (char *) "self", NULL
3374 };
3375
3376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
3377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3378 {
3379 PyThreadState* __tstate = wxPyBeginAllowThreads();
3380 result = (int)(arg1)->AutoCompGetSeparator();
3381
3382 wxPyEndAllowThreads(__tstate);
3383 if (PyErr_Occurred()) SWIG_fail;
3384 }
3385 resultobj = PyInt_FromLong((long)result);
3386 return resultobj;
3387 fail:
3388 return NULL;
3389}
3390
3391
3392static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
3393 PyObject *resultobj;
3394 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3395 wxString *arg2 = 0 ;
e811c8ce 3396 bool temp2 = False ;
d14a1e28
RD
3397 PyObject * obj0 = 0 ;
3398 PyObject * obj1 = 0 ;
3399 char *kwnames[] = {
3400 (char *) "self",(char *) "text", NULL
3401 };
3402
3403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
3404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3405 {
3406 arg2 = wxString_in_helper(obj1);
3407 if (arg2 == NULL) SWIG_fail;
e811c8ce 3408 temp2 = True;
d14a1e28
RD
3409 }
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 (arg1)->AutoCompSelect((wxString const &)*arg2);
3413
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
3417 Py_INCREF(Py_None); resultobj = Py_None;
3418 {
3419 if (temp2)
3420 delete arg2;
3421 }
3422 return resultobj;
3423 fail:
3424 {
3425 if (temp2)
3426 delete arg2;
3427 }
3428 return NULL;
3429}
3430
3431
3432static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3433 PyObject *resultobj;
3434 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3435 bool arg2 ;
3436 PyObject * obj0 = 0 ;
3437 PyObject * obj1 = 0 ;
3438 char *kwnames[] = {
3439 (char *) "self",(char *) "cancel", NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
3443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3444 arg2 = PyInt_AsLong(obj1) ? true : false;
3445 if (PyErr_Occurred()) SWIG_fail;
3446 {
3447 PyThreadState* __tstate = wxPyBeginAllowThreads();
3448 (arg1)->AutoCompSetCancelAtStart(arg2);
3449
3450 wxPyEndAllowThreads(__tstate);
3451 if (PyErr_Occurred()) SWIG_fail;
3452 }
3453 Py_INCREF(Py_None); resultobj = Py_None;
3454 return resultobj;
3455 fail:
3456 return NULL;
3457}
3458
3459
3460static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3461 PyObject *resultobj;
3462 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3463 bool result;
3464 PyObject * obj0 = 0 ;
3465 char *kwnames[] = {
3466 (char *) "self", NULL
3467 };
3468
3469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
3470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3471 {
3472 PyThreadState* __tstate = wxPyBeginAllowThreads();
3473 result = (bool)(arg1)->AutoCompGetCancelAtStart();
3474
3475 wxPyEndAllowThreads(__tstate);
3476 if (PyErr_Occurred()) SWIG_fail;
3477 }
3478 resultobj = PyInt_FromLong((long)result);
3479 return resultobj;
3480 fail:
3481 return NULL;
3482}
3483
3484
3485static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
3486 PyObject *resultobj;
3487 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3488 wxString *arg2 = 0 ;
e811c8ce 3489 bool temp2 = False ;
d14a1e28
RD
3490 PyObject * obj0 = 0 ;
3491 PyObject * obj1 = 0 ;
3492 char *kwnames[] = {
3493 (char *) "self",(char *) "characterSet", NULL
3494 };
3495
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
3497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3498 {
3499 arg2 = wxString_in_helper(obj1);
3500 if (arg2 == NULL) SWIG_fail;
e811c8ce 3501 temp2 = True;
d14a1e28
RD
3502 }
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
3506
3507 wxPyEndAllowThreads(__tstate);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 Py_INCREF(Py_None); resultobj = Py_None;
3511 {
3512 if (temp2)
3513 delete arg2;
3514 }
3515 return resultobj;
3516 fail:
3517 {
3518 if (temp2)
3519 delete arg2;
3520 }
3521 return NULL;
3522}
3523
3524
3525static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
3526 PyObject *resultobj;
3527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3528 bool arg2 ;
3529 PyObject * obj0 = 0 ;
3530 PyObject * obj1 = 0 ;
3531 char *kwnames[] = {
3532 (char *) "self",(char *) "chooseSingle", NULL
3533 };
3534
3535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
3536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3537 arg2 = PyInt_AsLong(obj1) ? true : false;
3538 if (PyErr_Occurred()) SWIG_fail;
3539 {
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 (arg1)->AutoCompSetChooseSingle(arg2);
3542
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 Py_INCREF(Py_None); resultobj = Py_None;
3547 return resultobj;
3548 fail:
3549 return NULL;
3550}
3551
3552
3553static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
3554 PyObject *resultobj;
3555 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3556 bool result;
3557 PyObject * obj0 = 0 ;
3558 char *kwnames[] = {
3559 (char *) "self", NULL
3560 };
3561
3562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
3563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3564 {
3565 PyThreadState* __tstate = wxPyBeginAllowThreads();
3566 result = (bool)(arg1)->AutoCompGetChooseSingle();
3567
3568 wxPyEndAllowThreads(__tstate);
3569 if (PyErr_Occurred()) SWIG_fail;
3570 }
3571 resultobj = PyInt_FromLong((long)result);
3572 return resultobj;
3573 fail:
3574 return NULL;
3575}
3576
3577
3578static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
3579 PyObject *resultobj;
3580 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3581 bool arg2 ;
3582 PyObject * obj0 = 0 ;
3583 PyObject * obj1 = 0 ;
3584 char *kwnames[] = {
3585 (char *) "self",(char *) "ignoreCase", NULL
3586 };
3587
3588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
3589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3590 arg2 = PyInt_AsLong(obj1) ? true : false;
3591 if (PyErr_Occurred()) SWIG_fail;
3592 {
3593 PyThreadState* __tstate = wxPyBeginAllowThreads();
3594 (arg1)->AutoCompSetIgnoreCase(arg2);
3595
3596 wxPyEndAllowThreads(__tstate);
3597 if (PyErr_Occurred()) SWIG_fail;
3598 }
3599 Py_INCREF(Py_None); resultobj = Py_None;
3600 return resultobj;
3601 fail:
3602 return NULL;
3603}
3604
3605
3606static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
3607 PyObject *resultobj;
3608 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3609 bool result;
3610 PyObject * obj0 = 0 ;
3611 char *kwnames[] = {
3612 (char *) "self", NULL
3613 };
3614
3615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
3616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 result = (bool)(arg1)->AutoCompGetIgnoreCase();
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 resultobj = PyInt_FromLong((long)result);
3625 return resultobj;
3626 fail:
3627 return NULL;
3628}
3629
3630
3631static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3632 PyObject *resultobj;
3633 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3634 int arg2 ;
3635 wxString *arg3 = 0 ;
e811c8ce 3636 bool temp3 = False ;
d14a1e28
RD
3637 PyObject * obj0 = 0 ;
3638 PyObject * obj2 = 0 ;
3639 char *kwnames[] = {
3640 (char *) "self",(char *) "listType",(char *) "itemList", NULL
3641 };
3642
3643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_UserListShow",kwnames,&obj0,&arg2,&obj2)) goto fail;
3644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3645 {
3646 arg3 = wxString_in_helper(obj2);
3647 if (arg3 == NULL) SWIG_fail;
e811c8ce 3648 temp3 = True;
d14a1e28
RD
3649 }
3650 {
3651 PyThreadState* __tstate = wxPyBeginAllowThreads();
3652 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
3653
3654 wxPyEndAllowThreads(__tstate);
3655 if (PyErr_Occurred()) SWIG_fail;
3656 }
3657 Py_INCREF(Py_None); resultobj = Py_None;
3658 {
3659 if (temp3)
3660 delete arg3;
3661 }
3662 return resultobj;
3663 fail:
3664 {
3665 if (temp3)
3666 delete arg3;
3667 }
3668 return NULL;
3669}
3670
3671
3672static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
3673 PyObject *resultobj;
3674 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3675 bool arg2 ;
3676 PyObject * obj0 = 0 ;
3677 PyObject * obj1 = 0 ;
3678 char *kwnames[] = {
3679 (char *) "self",(char *) "autoHide", NULL
3680 };
3681
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
3683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3684 arg2 = PyInt_AsLong(obj1) ? true : false;
3685 if (PyErr_Occurred()) SWIG_fail;
3686 {
3687 PyThreadState* __tstate = wxPyBeginAllowThreads();
3688 (arg1)->AutoCompSetAutoHide(arg2);
3689
3690 wxPyEndAllowThreads(__tstate);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 Py_INCREF(Py_None); resultobj = Py_None;
3694 return resultobj;
3695 fail:
3696 return NULL;
3697}
3698
3699
3700static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
3701 PyObject *resultobj;
3702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3703 bool result;
3704 PyObject * obj0 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
3710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3711 {
3712 PyThreadState* __tstate = wxPyBeginAllowThreads();
3713 result = (bool)(arg1)->AutoCompGetAutoHide();
3714
3715 wxPyEndAllowThreads(__tstate);
3716 if (PyErr_Occurred()) SWIG_fail;
3717 }
3718 resultobj = PyInt_FromLong((long)result);
3719 return resultobj;
3720 fail:
3721 return NULL;
3722}
3723
3724
3725static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
3726 PyObject *resultobj;
3727 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3728 bool arg2 ;
3729 PyObject * obj0 = 0 ;
3730 PyObject * obj1 = 0 ;
3731 char *kwnames[] = {
3732 (char *) "self",(char *) "dropRestOfWord", NULL
3733 };
3734
3735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
3736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3737 arg2 = PyInt_AsLong(obj1) ? true : false;
3738 if (PyErr_Occurred()) SWIG_fail;
3739 {
3740 PyThreadState* __tstate = wxPyBeginAllowThreads();
3741 (arg1)->AutoCompSetDropRestOfWord(arg2);
3742
3743 wxPyEndAllowThreads(__tstate);
3744 if (PyErr_Occurred()) SWIG_fail;
3745 }
3746 Py_INCREF(Py_None); resultobj = Py_None;
3747 return resultobj;
3748 fail:
3749 return NULL;
3750}
3751
3752
3753static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
3754 PyObject *resultobj;
3755 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3756 bool result;
3757 PyObject * obj0 = 0 ;
3758 char *kwnames[] = {
3759 (char *) "self", NULL
3760 };
3761
3762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
3763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
3771 resultobj = PyInt_FromLong((long)result);
3772 return resultobj;
3773 fail:
3774 return NULL;
3775}
3776
3777
3778static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
3779 PyObject *resultobj;
3780 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3781 int arg2 ;
3782 wxBitmap *arg3 = 0 ;
3783 PyObject * obj0 = 0 ;
3784 PyObject * obj2 = 0 ;
3785 char *kwnames[] = {
3786 (char *) "self",(char *) "type",(char *) "bmp", NULL
3787 };
3788
3789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&arg2,&obj2)) goto fail;
3790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3791 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3792 if (arg3 == NULL) {
3793 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3794 }
3795 {
3796 PyThreadState* __tstate = wxPyBeginAllowThreads();
3797 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
3798
3799 wxPyEndAllowThreads(__tstate);
3800 if (PyErr_Occurred()) SWIG_fail;
3801 }
3802 Py_INCREF(Py_None); resultobj = Py_None;
3803 return resultobj;
3804 fail:
3805 return NULL;
3806}
3807
3808
3809static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
3810 PyObject *resultobj;
3811 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3812 PyObject * obj0 = 0 ;
3813 char *kwnames[] = {
3814 (char *) "self", NULL
3815 };
3816
3817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
3818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 (arg1)->ClearRegisteredImages();
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 Py_INCREF(Py_None); resultobj = Py_None;
3827 return resultobj;
3828 fail:
3829 return NULL;
3830}
3831
3832
3833static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3834 PyObject *resultobj;
3835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3836 int result;
3837 PyObject * obj0 = 0 ;
3838 char *kwnames[] = {
3839 (char *) "self", NULL
3840 };
3841
3842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
3843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3844 {
3845 PyThreadState* __tstate = wxPyBeginAllowThreads();
3846 result = (int)(arg1)->AutoCompGetTypeSeparator();
3847
3848 wxPyEndAllowThreads(__tstate);
3849 if (PyErr_Occurred()) SWIG_fail;
3850 }
3851 resultobj = PyInt_FromLong((long)result);
3852 return resultobj;
3853 fail:
3854 return NULL;
3855}
3856
3857
3858static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3859 PyObject *resultobj;
3860 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3861 int arg2 ;
3862 PyObject * obj0 = 0 ;
3863 char *kwnames[] = {
3864 (char *) "self",(char *) "separatorCharacter", NULL
3865 };
3866
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&arg2)) goto fail;
3868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 (arg1)->AutoCompSetTypeSeparator(arg2);
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 Py_INCREF(Py_None); resultobj = Py_None;
3877 return resultobj;
3878 fail:
3879 return NULL;
3880}
3881
3882
3883static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj;
3885 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3886 int arg2 ;
3887 PyObject * obj0 = 0 ;
3888 char *kwnames[] = {
3889 (char *) "self",(char *) "indentSize", NULL
3890 };
3891
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetIndent",kwnames,&obj0,&arg2)) goto fail;
3893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3894 {
3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
3896 (arg1)->SetIndent(arg2);
3897
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 Py_INCREF(Py_None); resultobj = Py_None;
3902 return resultobj;
3903 fail:
3904 return NULL;
3905}
3906
3907
3908static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3909 PyObject *resultobj;
3910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3911 int result;
3912 PyObject * obj0 = 0 ;
3913 char *kwnames[] = {
3914 (char *) "self", NULL
3915 };
3916
3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
3918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3919 {
3920 PyThreadState* __tstate = wxPyBeginAllowThreads();
3921 result = (int)(arg1)->GetIndent();
3922
3923 wxPyEndAllowThreads(__tstate);
3924 if (PyErr_Occurred()) SWIG_fail;
3925 }
3926 resultobj = PyInt_FromLong((long)result);
3927 return resultobj;
3928 fail:
3929 return NULL;
3930}
3931
3932
3933static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
3934 PyObject *resultobj;
3935 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3936 bool arg2 ;
3937 PyObject * obj0 = 0 ;
3938 PyObject * obj1 = 0 ;
3939 char *kwnames[] = {
3940 (char *) "self",(char *) "useTabs", NULL
3941 };
3942
3943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
3944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3945 arg2 = PyInt_AsLong(obj1) ? true : false;
3946 if (PyErr_Occurred()) SWIG_fail;
3947 {
3948 PyThreadState* __tstate = wxPyBeginAllowThreads();
3949 (arg1)->SetUseTabs(arg2);
3950
3951 wxPyEndAllowThreads(__tstate);
3952 if (PyErr_Occurred()) SWIG_fail;
3953 }
3954 Py_INCREF(Py_None); resultobj = Py_None;
3955 return resultobj;
3956 fail:
3957 return NULL;
3958}
3959
3960
3961static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
3962 PyObject *resultobj;
3963 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3964 bool result;
3965 PyObject * obj0 = 0 ;
3966 char *kwnames[] = {
3967 (char *) "self", NULL
3968 };
3969
3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
3971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3972 {
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
3974 result = (bool)(arg1)->GetUseTabs();
3975
3976 wxPyEndAllowThreads(__tstate);
3977 if (PyErr_Occurred()) SWIG_fail;
3978 }
3979 resultobj = PyInt_FromLong((long)result);
3980 return resultobj;
3981 fail:
3982 return NULL;
3983}
3984
3985
3986static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
3987 PyObject *resultobj;
3988 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3989 int arg2 ;
3990 int arg3 ;
3991 PyObject * obj0 = 0 ;
3992 char *kwnames[] = {
3993 (char *) "self",(char *) "line",(char *) "indentSize", NULL
3994 };
3995
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&arg2,&arg3)) goto fail;
3997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3998 {
3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
4000 (arg1)->SetLineIndentation(arg2,arg3);
4001
4002 wxPyEndAllowThreads(__tstate);
4003 if (PyErr_Occurred()) SWIG_fail;
4004 }
4005 Py_INCREF(Py_None); resultobj = Py_None;
4006 return resultobj;
4007 fail:
4008 return NULL;
4009}
4010
4011
4012static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4013 PyObject *resultobj;
4014 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4015 int arg2 ;
4016 int result;
4017 PyObject * obj0 = 0 ;
4018 char *kwnames[] = {
4019 (char *) "self",(char *) "line", NULL
4020 };
4021
4022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&arg2)) goto fail;
4023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 result = (int)(arg1)->GetLineIndentation(arg2);
4027
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 resultobj = PyInt_FromLong((long)result);
4032 return resultobj;
4033 fail:
4034 return NULL;
4035}
4036
4037
4038static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4039 PyObject *resultobj;
4040 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4041 int arg2 ;
4042 int result;
4043 PyObject * obj0 = 0 ;
4044 char *kwnames[] = {
4045 (char *) "self",(char *) "line", NULL
4046 };
4047
4048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&arg2)) goto fail;
4049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4050 {
4051 PyThreadState* __tstate = wxPyBeginAllowThreads();
4052 result = (int)(arg1)->GetLineIndentPosition(arg2);
4053
4054 wxPyEndAllowThreads(__tstate);
4055 if (PyErr_Occurred()) SWIG_fail;
4056 }
4057 resultobj = PyInt_FromLong((long)result);
4058 return resultobj;
4059 fail:
4060 return NULL;
4061}
4062
4063
4064static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4065 PyObject *resultobj;
4066 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4067 int arg2 ;
4068 int result;
4069 PyObject * obj0 = 0 ;
4070 char *kwnames[] = {
4071 (char *) "self",(char *) "pos", NULL
4072 };
4073
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
4075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4076 {
4077 PyThreadState* __tstate = wxPyBeginAllowThreads();
4078 result = (int)(arg1)->GetColumn(arg2);
4079
4080 wxPyEndAllowThreads(__tstate);
4081 if (PyErr_Occurred()) SWIG_fail;
4082 }
4083 resultobj = PyInt_FromLong((long)result);
4084 return resultobj;
4085 fail:
4086 return NULL;
4087}
4088
4089
4090static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4091 PyObject *resultobj;
4092 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4093 bool arg2 ;
4094 PyObject * obj0 = 0 ;
4095 PyObject * obj1 = 0 ;
4096 char *kwnames[] = {
4097 (char *) "self",(char *) "show", NULL
4098 };
4099
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
4101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4102 arg2 = PyInt_AsLong(obj1) ? true : false;
4103 if (PyErr_Occurred()) SWIG_fail;
4104 {
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 (arg1)->SetUseHorizontalScrollBar(arg2);
4107
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 Py_INCREF(Py_None); resultobj = Py_None;
4112 return resultobj;
4113 fail:
4114 return NULL;
4115}
4116
4117
4118static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4119 PyObject *resultobj;
4120 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4121 bool result;
4122 PyObject * obj0 = 0 ;
4123 char *kwnames[] = {
4124 (char *) "self", NULL
4125 };
4126
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
4128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4129 {
4130 PyThreadState* __tstate = wxPyBeginAllowThreads();
4131 result = (bool)(arg1)->GetUseHorizontalScrollBar();
4132
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) SWIG_fail;
4135 }
4136 resultobj = PyInt_FromLong((long)result);
4137 return resultobj;
4138 fail:
4139 return NULL;
4140}
4141
4142
4143static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4144 PyObject *resultobj;
4145 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4146 bool arg2 ;
4147 PyObject * obj0 = 0 ;
4148 PyObject * obj1 = 0 ;
4149 char *kwnames[] = {
4150 (char *) "self",(char *) "show", NULL
4151 };
4152
4153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
4154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4155 arg2 = PyInt_AsLong(obj1) ? true : false;
4156 if (PyErr_Occurred()) SWIG_fail;
4157 {
4158 PyThreadState* __tstate = wxPyBeginAllowThreads();
4159 (arg1)->SetIndentationGuides(arg2);
4160
4161 wxPyEndAllowThreads(__tstate);
4162 if (PyErr_Occurred()) SWIG_fail;
4163 }
4164 Py_INCREF(Py_None); resultobj = Py_None;
4165 return resultobj;
4166 fail:
4167 return NULL;
4168}
4169
4170
4171static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4172 PyObject *resultobj;
4173 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4174 bool result;
4175 PyObject * obj0 = 0 ;
4176 char *kwnames[] = {
4177 (char *) "self", NULL
4178 };
4179
4180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
4181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4182 {
4183 PyThreadState* __tstate = wxPyBeginAllowThreads();
4184 result = (bool)(arg1)->GetIndentationGuides();
4185
4186 wxPyEndAllowThreads(__tstate);
4187 if (PyErr_Occurred()) SWIG_fail;
4188 }
4189 resultobj = PyInt_FromLong((long)result);
4190 return resultobj;
4191 fail:
4192 return NULL;
4193}
4194
4195
4196static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4197 PyObject *resultobj;
4198 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4199 int arg2 ;
4200 PyObject * obj0 = 0 ;
4201 char *kwnames[] = {
4202 (char *) "self",(char *) "column", NULL
4203 };
4204
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&arg2)) goto fail;
4206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4207 {
4208 PyThreadState* __tstate = wxPyBeginAllowThreads();
4209 (arg1)->SetHighlightGuide(arg2);
4210
4211 wxPyEndAllowThreads(__tstate);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 }
4214 Py_INCREF(Py_None); resultobj = Py_None;
4215 return resultobj;
4216 fail:
4217 return NULL;
4218}
4219
4220
4221static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4222 PyObject *resultobj;
4223 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4224 int result;
4225 PyObject * obj0 = 0 ;
4226 char *kwnames[] = {
4227 (char *) "self", NULL
4228 };
4229
4230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
4231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4232 {
4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
4234 result = (int)(arg1)->GetHighlightGuide();
4235
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
4239 resultobj = PyInt_FromLong((long)result);
4240 return resultobj;
4241 fail:
4242 return NULL;
4243}
4244
4245
4246static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4247 PyObject *resultobj;
4248 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4249 int arg2 ;
4250 int result;
4251 PyObject * obj0 = 0 ;
4252 char *kwnames[] = {
4253 (char *) "self",(char *) "line", NULL
4254 };
4255
4256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&arg2)) goto fail;
4257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 result = (int)(arg1)->GetLineEndPosition(arg2);
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 resultobj = PyInt_FromLong((long)result);
4266 return resultobj;
4267 fail:
4268 return NULL;
4269}
4270
4271
4272static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4273 PyObject *resultobj;
4274 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4275 int result;
4276 PyObject * obj0 = 0 ;
4277 char *kwnames[] = {
4278 (char *) "self", NULL
4279 };
4280
4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
4282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4283 {
4284 PyThreadState* __tstate = wxPyBeginAllowThreads();
4285 result = (int)(arg1)->GetCodePage();
4286
4287 wxPyEndAllowThreads(__tstate);
4288 if (PyErr_Occurred()) SWIG_fail;
4289 }
4290 resultobj = PyInt_FromLong((long)result);
4291 return resultobj;
4292 fail:
4293 return NULL;
4294}
4295
4296
4297static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4298 PyObject *resultobj;
4299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4300 wxColour result;
4301 PyObject * obj0 = 0 ;
4302 char *kwnames[] = {
4303 (char *) "self", NULL
4304 };
4305
4306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
4307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4308 {
4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
4310 result = (arg1)->GetCaretForeground();
4311
4312 wxPyEndAllowThreads(__tstate);
4313 if (PyErr_Occurred()) SWIG_fail;
4314 }
4315 {
4316 wxColour * resultptr;
4317 resultptr = new wxColour((wxColour &) result);
4318 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
4319 }
4320 return resultobj;
4321 fail:
4322 return NULL;
4323}
4324
4325
4326static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4327 PyObject *resultobj;
4328 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4329 bool result;
4330 PyObject * obj0 = 0 ;
4331 char *kwnames[] = {
4332 (char *) "self", NULL
4333 };
4334
4335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
4336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 result = (bool)(arg1)->GetReadOnly();
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4344 resultobj = PyInt_FromLong((long)result);
4345 return resultobj;
4346 fail:
4347 return NULL;
4348}
4349
4350
4351static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4352 PyObject *resultobj;
4353 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4354 int arg2 ;
4355 PyObject * obj0 = 0 ;
4356 char *kwnames[] = {
4357 (char *) "self",(char *) "pos", NULL
4358 };
4359
4360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&arg2)) goto fail;
4361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 (arg1)->SetCurrentPos(arg2);
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 Py_INCREF(Py_None); resultobj = Py_None;
4370 return resultobj;
4371 fail:
4372 return NULL;
4373}
4374
4375
4376static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4377 PyObject *resultobj;
4378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4379 int arg2 ;
4380 PyObject * obj0 = 0 ;
4381 char *kwnames[] = {
4382 (char *) "self",(char *) "pos", NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&arg2)) goto fail;
4386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 (arg1)->SetSelectionStart(arg2);
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 Py_INCREF(Py_None); resultobj = Py_None;
4395 return resultobj;
4396 fail:
4397 return NULL;
4398}
4399
4400
4401static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj;
4403 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4404 int result;
4405 PyObject * obj0 = 0 ;
4406 char *kwnames[] = {
4407 (char *) "self", NULL
4408 };
4409
4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
4411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4412 {
4413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4414 result = (int)(arg1)->GetSelectionStart();
4415
4416 wxPyEndAllowThreads(__tstate);
4417 if (PyErr_Occurred()) SWIG_fail;
4418 }
4419 resultobj = PyInt_FromLong((long)result);
4420 return resultobj;
4421 fail:
4422 return NULL;
4423}
4424
4425
4426static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4427 PyObject *resultobj;
4428 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4429 int arg2 ;
4430 PyObject * obj0 = 0 ;
4431 char *kwnames[] = {
4432 (char *) "self",(char *) "pos", NULL
4433 };
4434
4435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&arg2)) goto fail;
4436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 (arg1)->SetSelectionEnd(arg2);
4440
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 Py_INCREF(Py_None); resultobj = Py_None;
4445 return resultobj;
4446 fail:
4447 return NULL;
4448}
4449
4450
4451static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4452 PyObject *resultobj;
4453 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4454 int result;
4455 PyObject * obj0 = 0 ;
4456 char *kwnames[] = {
4457 (char *) "self", NULL
4458 };
4459
4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
4461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 result = (int)(arg1)->GetSelectionEnd();
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 resultobj = PyInt_FromLong((long)result);
4470 return resultobj;
4471 fail:
4472 return NULL;
4473}
4474
4475
4476static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4479 int arg2 ;
4480 PyObject * obj0 = 0 ;
4481 char *kwnames[] = {
4482 (char *) "self",(char *) "magnification", NULL
4483 };
4484
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&arg2)) goto fail;
4486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 (arg1)->SetPrintMagnification(arg2);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 Py_INCREF(Py_None); resultobj = Py_None;
4495 return resultobj;
4496 fail:
4497 return NULL;
4498}
4499
4500
4501static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4504 int result;
4505 PyObject * obj0 = 0 ;
4506 char *kwnames[] = {
4507 (char *) "self", NULL
4508 };
4509
4510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
4511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 result = (int)(arg1)->GetPrintMagnification();
4515
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 resultobj = PyInt_FromLong((long)result);
4520 return resultobj;
4521 fail:
4522 return NULL;
4523}
4524
4525
4526static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj;
4528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4529 int arg2 ;
4530 PyObject * obj0 = 0 ;
4531 char *kwnames[] = {
4532 (char *) "self",(char *) "mode", NULL
4533 };
4534
4535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&arg2)) goto fail;
4536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 (arg1)->SetPrintColourMode(arg2);
4540
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 Py_INCREF(Py_None); resultobj = Py_None;
4545 return resultobj;
4546 fail:
4547 return NULL;
4548}
4549
4550
4551static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4552 PyObject *resultobj;
4553 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4554 int result;
4555 PyObject * obj0 = 0 ;
4556 char *kwnames[] = {
4557 (char *) "self", NULL
4558 };
4559
4560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
4561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4562 {
4563 PyThreadState* __tstate = wxPyBeginAllowThreads();
4564 result = (int)(arg1)->GetPrintColourMode();
4565
4566 wxPyEndAllowThreads(__tstate);
4567 if (PyErr_Occurred()) SWIG_fail;
4568 }
4569 resultobj = PyInt_FromLong((long)result);
4570 return resultobj;
4571 fail:
4572 return NULL;
4573}
4574
4575
4576static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
4577 PyObject *resultobj;
4578 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4579 int arg2 ;
4580 int arg3 ;
4581 wxString *arg4 = 0 ;
4582 int arg5 = (int) 0 ;
4583 int result;
e811c8ce 4584 bool temp4 = False ;
d14a1e28
RD
4585 PyObject * obj0 = 0 ;
4586 PyObject * obj3 = 0 ;
4587 char *kwnames[] = {
4588 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
4589 };
4590
4591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO|i:StyledTextCtrl_FindText",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
4592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4593 {
4594 arg4 = wxString_in_helper(obj3);
4595 if (arg4 == NULL) SWIG_fail;
e811c8ce 4596 temp4 = True;
d14a1e28
RD
4597 }
4598 {
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
4601
4602 wxPyEndAllowThreads(__tstate);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4605 resultobj = PyInt_FromLong((long)result);
4606 {
4607 if (temp4)
4608 delete arg4;
4609 }
4610 return resultobj;
4611 fail:
4612 {
4613 if (temp4)
4614 delete arg4;
4615 }
4616 return NULL;
4617}
4618
4619
4620static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4621 PyObject *resultobj;
4622 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4623 bool arg2 ;
4624 int arg3 ;
4625 int arg4 ;
4626 wxDC *arg5 = (wxDC *) 0 ;
4627 wxDC *arg6 = (wxDC *) 0 ;
4628 wxRect arg7 ;
4629 wxRect arg8 ;
4630 int result;
4631 wxRect *argp7 ;
4632 wxRect *argp8 ;
4633 PyObject * obj0 = 0 ;
4634 PyObject * obj1 = 0 ;
4635 PyObject * obj4 = 0 ;
4636 PyObject * obj5 = 0 ;
4637 PyObject * obj6 = 0 ;
4638 PyObject * obj7 = 0 ;
4639 char *kwnames[] = {
4640 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
4641 };
4642
4643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6,&obj7)) goto fail;
4644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4645 arg2 = PyInt_AsLong(obj1) ? true : false;
4646 if (PyErr_Occurred()) SWIG_fail;
4647 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4648 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4649 if ((SWIG_ConvertPtr(obj6,(void **) &argp7, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
4650 arg7 = *argp7;
4651 if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
4652 arg8 = *argp8;
4653 {
4654 PyThreadState* __tstate = wxPyBeginAllowThreads();
4655 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4656
4657 wxPyEndAllowThreads(__tstate);
4658 if (PyErr_Occurred()) SWIG_fail;
4659 }
4660 resultobj = PyInt_FromLong((long)result);
4661 return resultobj;
4662 fail:
4663 return NULL;
4664}
4665
4666
4667static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj;
4669 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4670 int result;
4671 PyObject * obj0 = 0 ;
4672 char *kwnames[] = {
4673 (char *) "self", NULL
4674 };
4675
4676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
4677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4678 {
4679 PyThreadState* __tstate = wxPyBeginAllowThreads();
4680 result = (int)(arg1)->GetFirstVisibleLine();
4681
4682 wxPyEndAllowThreads(__tstate);
4683 if (PyErr_Occurred()) SWIG_fail;
4684 }
4685 resultobj = PyInt_FromLong((long)result);
4686 return resultobj;
4687 fail:
4688 return NULL;
4689}
4690
4691
4692static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4693 PyObject *resultobj;
4694 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4695 int arg2 ;
4696 wxString result;
4697 PyObject * obj0 = 0 ;
4698 char *kwnames[] = {
4699 (char *) "self",(char *) "line", NULL
4700 };
4701
4702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLine",kwnames,&obj0,&arg2)) goto fail;
4703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4704 {
4705 PyThreadState* __tstate = wxPyBeginAllowThreads();
4706 result = (arg1)->GetLine(arg2);
4707
4708 wxPyEndAllowThreads(__tstate);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 {
4712#if wxUSE_UNICODE
4713 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4714#else
4715 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4716#endif
4717 }
4718 return resultobj;
4719 fail:
4720 return NULL;
4721}
4722
4723
4724static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4725 PyObject *resultobj;
4726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4727 int result;
4728 PyObject * obj0 = 0 ;
4729 char *kwnames[] = {
4730 (char *) "self", NULL
4731 };
4732
4733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
4734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4735 {
4736 PyThreadState* __tstate = wxPyBeginAllowThreads();
4737 result = (int)(arg1)->GetLineCount();
4738
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
4742 resultobj = PyInt_FromLong((long)result);
4743 return resultobj;
4744 fail:
4745 return NULL;
4746}
4747
4748
4749static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4750 PyObject *resultobj;
4751 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4752 int arg2 ;
4753 PyObject * obj0 = 0 ;
4754 char *kwnames[] = {
4755 (char *) "self",(char *) "pixelWidth", NULL
4756 };
4757
4758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&arg2)) goto fail;
4759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4760 {
4761 PyThreadState* __tstate = wxPyBeginAllowThreads();
4762 (arg1)->SetMarginLeft(arg2);
4763
4764 wxPyEndAllowThreads(__tstate);
4765 if (PyErr_Occurred()) SWIG_fail;
4766 }
4767 Py_INCREF(Py_None); resultobj = Py_None;
4768 return resultobj;
4769 fail:
4770 return NULL;
4771}
4772
4773
4774static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4775 PyObject *resultobj;
4776 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4777 int result;
4778 PyObject * obj0 = 0 ;
4779 char *kwnames[] = {
4780 (char *) "self", NULL
4781 };
4782
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
4784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4785 {
4786 PyThreadState* __tstate = wxPyBeginAllowThreads();
4787 result = (int)(arg1)->GetMarginLeft();
4788
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = PyInt_FromLong((long)result);
4793 return resultobj;
4794 fail:
4795 return NULL;
4796}
4797
4798
4799static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4802 int arg2 ;
4803 PyObject * obj0 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self",(char *) "pixelWidth", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&arg2)) goto fail;
4809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4810 {
4811 PyThreadState* __tstate = wxPyBeginAllowThreads();
4812 (arg1)->SetMarginRight(arg2);
4813
4814 wxPyEndAllowThreads(__tstate);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 }
4817 Py_INCREF(Py_None); resultobj = Py_None;
4818 return resultobj;
4819 fail:
4820 return NULL;
4821}
4822
4823
4824static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj;
4826 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4827 int result;
4828 PyObject * obj0 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
4834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4835 {
4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
4837 result = (int)(arg1)->GetMarginRight();
4838
4839 wxPyEndAllowThreads(__tstate);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
4842 resultobj = PyInt_FromLong((long)result);
4843 return resultobj;
4844 fail:
4845 return NULL;
4846}
4847
4848
4849static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
4850 PyObject *resultobj;
4851 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4852 bool result;
4853 PyObject * obj0 = 0 ;
4854 char *kwnames[] = {
4855 (char *) "self", NULL
4856 };
4857
4858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
4859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4860 {
4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
4862 result = (bool)(arg1)->GetModify();
4863
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
4867 resultobj = PyInt_FromLong((long)result);
4868 return resultobj;
4869 fail:
4870 return NULL;
4871}
4872
4873
4874static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4875 PyObject *resultobj;
4876 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4877 int arg2 ;
4878 int arg3 ;
4879 PyObject * obj0 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self",(char *) "start",(char *) "end", NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
4885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 (arg1)->SetSelection(arg2,arg3);
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 Py_INCREF(Py_None); resultobj = Py_None;
4894 return resultobj;
4895 fail:
4896 return NULL;
4897}
4898
4899
4900static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
4901 PyObject *resultobj;
4902 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4903 wxString result;
4904 PyObject * obj0 = 0 ;
4905 char *kwnames[] = {
4906 (char *) "self", NULL
4907 };
4908
4909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
4910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4911 {
4912 PyThreadState* __tstate = wxPyBeginAllowThreads();
4913 result = (arg1)->GetSelectedText();
4914
4915 wxPyEndAllowThreads(__tstate);
4916 if (PyErr_Occurred()) SWIG_fail;
4917 }
4918 {
4919#if wxUSE_UNICODE
4920 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4921#else
4922 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4923#endif
4924 }
4925 return resultobj;
4926 fail:
4927 return NULL;
4928}
4929
4930
4931static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4932 PyObject *resultobj;
4933 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4934 int arg2 ;
4935 int arg3 ;
4936 wxString result;
4937 PyObject * obj0 = 0 ;
4938 char *kwnames[] = {
4939 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
4940 };
4941
4942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetTextRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
4943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 result = (arg1)->GetTextRange(arg2,arg3);
4947
4948 wxPyEndAllowThreads(__tstate);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 {
4952#if wxUSE_UNICODE
4953 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4954#else
4955 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4956#endif
4957 }
4958 return resultobj;
4959 fail:
4960 return NULL;
4961}
4962
4963
4964static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4965 PyObject *resultobj;
4966 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4967 bool arg2 ;
4968 PyObject * obj0 = 0 ;
4969 PyObject * obj1 = 0 ;
4970 char *kwnames[] = {
4971 (char *) "self",(char *) "normal", NULL
4972 };
4973
4974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
4975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4976 arg2 = PyInt_AsLong(obj1) ? true : false;
4977 if (PyErr_Occurred()) SWIG_fail;
4978 {
4979 PyThreadState* __tstate = wxPyBeginAllowThreads();
4980 (arg1)->HideSelection(arg2);
4981
4982 wxPyEndAllowThreads(__tstate);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 Py_INCREF(Py_None); resultobj = Py_None;
4986 return resultobj;
4987 fail:
4988 return NULL;
4989}
4990
4991
4992static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4993 PyObject *resultobj;
4994 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4995 int arg2 ;
4996 int result;
4997 PyObject * obj0 = 0 ;
4998 char *kwnames[] = {
4999 (char *) "self",(char *) "pos", NULL
5000 };
5001
5002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&arg2)) goto fail;
5003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5004 {
5005 PyThreadState* __tstate = wxPyBeginAllowThreads();
5006 result = (int)(arg1)->LineFromPosition(arg2);
5007
5008 wxPyEndAllowThreads(__tstate);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 }
5011 resultobj = PyInt_FromLong((long)result);
5012 return resultobj;
5013 fail:
5014 return NULL;
5015}
5016
5017
5018static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5019 PyObject *resultobj;
5020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5021 int arg2 ;
5022 int result;
5023 PyObject * obj0 = 0 ;
5024 char *kwnames[] = {
5025 (char *) "self",(char *) "line", NULL
5026 };
5027
5028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&arg2)) goto fail;
5029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5030 {
5031 PyThreadState* __tstate = wxPyBeginAllowThreads();
5032 result = (int)(arg1)->PositionFromLine(arg2);
5033
5034 wxPyEndAllowThreads(__tstate);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 resultobj = PyInt_FromLong((long)result);
5038 return resultobj;
5039 fail:
5040 return NULL;
5041}
5042
5043
5044static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5045 PyObject *resultobj;
5046 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5047 int arg2 ;
5048 int arg3 ;
5049 PyObject * obj0 = 0 ;
5050 char *kwnames[] = {
5051 (char *) "self",(char *) "columns",(char *) "lines", NULL
5052 };
5053
5054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_LineScroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
5055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5056 {
5057 PyThreadState* __tstate = wxPyBeginAllowThreads();
5058 (arg1)->LineScroll(arg2,arg3);
5059
5060 wxPyEndAllowThreads(__tstate);
5061 if (PyErr_Occurred()) SWIG_fail;
5062 }
5063 Py_INCREF(Py_None); resultobj = Py_None;
5064 return resultobj;
5065 fail:
5066 return NULL;
5067}
5068
5069
5070static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5071 PyObject *resultobj;
5072 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5073 PyObject * obj0 = 0 ;
5074 char *kwnames[] = {
5075 (char *) "self", NULL
5076 };
5077
5078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
5079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5080 {
5081 PyThreadState* __tstate = wxPyBeginAllowThreads();
5082 (arg1)->EnsureCaretVisible();
5083
5084 wxPyEndAllowThreads(__tstate);
5085 if (PyErr_Occurred()) SWIG_fail;
5086 }
5087 Py_INCREF(Py_None); resultobj = Py_None;
5088 return resultobj;
5089 fail:
5090 return NULL;
5091}
5092
5093
5094static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5095 PyObject *resultobj;
5096 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5097 wxString *arg2 = 0 ;
e811c8ce 5098 bool temp2 = False ;
d14a1e28
RD
5099 PyObject * obj0 = 0 ;
5100 PyObject * obj1 = 0 ;
5101 char *kwnames[] = {
5102 (char *) "self",(char *) "text", NULL
5103 };
5104
5105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
5106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5107 {
5108 arg2 = wxString_in_helper(obj1);
5109 if (arg2 == NULL) SWIG_fail;
e811c8ce 5110 temp2 = True;
d14a1e28
RD
5111 }
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 (arg1)->ReplaceSelection((wxString const &)*arg2);
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
5119 Py_INCREF(Py_None); resultobj = Py_None;
5120 {
5121 if (temp2)
5122 delete arg2;
5123 }
5124 return resultobj;
5125 fail:
5126 {
5127 if (temp2)
5128 delete arg2;
5129 }
5130 return NULL;
5131}
5132
5133
5134static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5135 PyObject *resultobj;
5136 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5137 bool arg2 ;
5138 PyObject * obj0 = 0 ;
5139 PyObject * obj1 = 0 ;
5140 char *kwnames[] = {
5141 (char *) "self",(char *) "readOnly", NULL
5142 };
5143
5144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
5145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5146 arg2 = PyInt_AsLong(obj1) ? true : false;
5147 if (PyErr_Occurred()) SWIG_fail;
5148 {
5149 PyThreadState* __tstate = wxPyBeginAllowThreads();
5150 (arg1)->SetReadOnly(arg2);
5151
5152 wxPyEndAllowThreads(__tstate);
5153 if (PyErr_Occurred()) SWIG_fail;
5154 }
5155 Py_INCREF(Py_None); resultobj = Py_None;
5156 return resultobj;
5157 fail:
5158 return NULL;
5159}
5160
5161
5162static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5163 PyObject *resultobj;
5164 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5165 bool result;
5166 PyObject * obj0 = 0 ;
5167 char *kwnames[] = {
5168 (char *) "self", NULL
5169 };
5170
5171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
5172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 result = (bool)(arg1)->CanPaste();
5176
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 resultobj = PyInt_FromLong((long)result);
5181 return resultobj;
5182 fail:
5183 return NULL;
5184}
5185
5186
5187static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5188 PyObject *resultobj;
5189 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5190 bool result;
5191 PyObject * obj0 = 0 ;
5192 char *kwnames[] = {
5193 (char *) "self", NULL
5194 };
5195
5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
5197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5198 {
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 result = (bool)(arg1)->CanUndo();
5201
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 resultobj = PyInt_FromLong((long)result);
5206 return resultobj;
5207 fail:
5208 return NULL;
5209}
5210
5211
5212static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
5213 PyObject *resultobj;
5214 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5215 PyObject * obj0 = 0 ;
5216 char *kwnames[] = {
5217 (char *) "self", NULL
5218 };
5219
5220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
5221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 (arg1)->EmptyUndoBuffer();
5225
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) SWIG_fail;
5228 }
5229 Py_INCREF(Py_None); resultobj = Py_None;
5230 return resultobj;
5231 fail:
5232 return NULL;
5233}
5234
5235
5236static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
5237 PyObject *resultobj;
5238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5239 PyObject * obj0 = 0 ;
5240 char *kwnames[] = {
5241 (char *) "self", NULL
5242 };
5243
5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
5245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 (arg1)->Undo();
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 Py_INCREF(Py_None); resultobj = Py_None;
5254 return resultobj;
5255 fail:
5256 return NULL;
5257}
5258
5259
5260static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
5261 PyObject *resultobj;
5262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5263 PyObject * obj0 = 0 ;
5264 char *kwnames[] = {
5265 (char *) "self", NULL
5266 };
5267
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
5269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5270 {
5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5272 (arg1)->Cut();
5273
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 Py_INCREF(Py_None); resultobj = Py_None;
5278 return resultobj;
5279 fail:
5280 return NULL;
5281}
5282
5283
5284static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
5285 PyObject *resultobj;
5286 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5287 PyObject * obj0 = 0 ;
5288 char *kwnames[] = {
5289 (char *) "self", NULL
5290 };
5291
5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
5293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5294 {
5295 PyThreadState* __tstate = wxPyBeginAllowThreads();
5296 (arg1)->Copy();
5297
5298 wxPyEndAllowThreads(__tstate);
5299 if (PyErr_Occurred()) SWIG_fail;
5300 }
5301 Py_INCREF(Py_None); resultobj = Py_None;
5302 return resultobj;
5303 fail:
5304 return NULL;
5305}
5306
5307
5308static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
5309 PyObject *resultobj;
5310 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5311 PyObject * obj0 = 0 ;
5312 char *kwnames[] = {
5313 (char *) "self", NULL
5314 };
5315
5316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
5317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5318 {
5319 PyThreadState* __tstate = wxPyBeginAllowThreads();
5320 (arg1)->Paste();
5321
5322 wxPyEndAllowThreads(__tstate);
5323 if (PyErr_Occurred()) SWIG_fail;
5324 }
5325 Py_INCREF(Py_None); resultobj = Py_None;
5326 return resultobj;
5327 fail:
5328 return NULL;
5329}
5330
5331
5332static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5333 PyObject *resultobj;
5334 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5335 PyObject * obj0 = 0 ;
5336 char *kwnames[] = {
5337 (char *) "self", NULL
5338 };
5339
5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
5341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5342 {
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
5344 (arg1)->Clear();
5345
5346 wxPyEndAllowThreads(__tstate);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 Py_INCREF(Py_None); resultobj = Py_None;
5350 return resultobj;
5351 fail:
5352 return NULL;
5353}
5354
5355
5356static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5357 PyObject *resultobj;
5358 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5359 wxString *arg2 = 0 ;
e811c8ce 5360 bool temp2 = False ;
d14a1e28
RD
5361 PyObject * obj0 = 0 ;
5362 PyObject * obj1 = 0 ;
5363 char *kwnames[] = {
5364 (char *) "self",(char *) "text", NULL
5365 };
5366
5367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
5368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5369 {
5370 arg2 = wxString_in_helper(obj1);
5371 if (arg2 == NULL) SWIG_fail;
e811c8ce 5372 temp2 = True;
d14a1e28
RD
5373 }
5374 {
5375 PyThreadState* __tstate = wxPyBeginAllowThreads();
5376 (arg1)->SetText((wxString const &)*arg2);
5377
5378 wxPyEndAllowThreads(__tstate);
5379 if (PyErr_Occurred()) SWIG_fail;
5380 }
5381 Py_INCREF(Py_None); resultobj = Py_None;
5382 {
5383 if (temp2)
5384 delete arg2;
5385 }
5386 return resultobj;
5387 fail:
5388 {
5389 if (temp2)
5390 delete arg2;
5391 }
5392 return NULL;
5393}
5394
5395
5396static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5397 PyObject *resultobj;
5398 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5399 wxString result;
5400 PyObject * obj0 = 0 ;
5401 char *kwnames[] = {
5402 (char *) "self", NULL
5403 };
5404
5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
5406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 result = (arg1)->GetText();
5410
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 {
5415#if wxUSE_UNICODE
5416 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5417#else
5418 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5419#endif
5420 }
5421 return resultobj;
5422 fail:
5423 return NULL;
5424}
5425
5426
5427static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5428 PyObject *resultobj;
5429 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5430 int result;
5431 PyObject * obj0 = 0 ;
5432 char *kwnames[] = {
5433 (char *) "self", NULL
5434 };
5435
5436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
5437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5438 {
5439 PyThreadState* __tstate = wxPyBeginAllowThreads();
5440 result = (int)(arg1)->GetTextLength();
5441
5442 wxPyEndAllowThreads(__tstate);
5443 if (PyErr_Occurred()) SWIG_fail;
5444 }
5445 resultobj = PyInt_FromLong((long)result);
5446 return resultobj;
5447 fail:
5448 return NULL;
5449}
5450
5451
5452static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
5453 PyObject *resultobj;
5454 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5455 bool arg2 ;
5456 PyObject * obj0 = 0 ;
5457 PyObject * obj1 = 0 ;
5458 char *kwnames[] = {
5459 (char *) "self",(char *) "overtype", NULL
5460 };
5461
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
5463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5464 arg2 = PyInt_AsLong(obj1) ? true : false;
5465 if (PyErr_Occurred()) SWIG_fail;
5466 {
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 (arg1)->SetOvertype(arg2);
5469
5470 wxPyEndAllowThreads(__tstate);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 }
5473 Py_INCREF(Py_None); resultobj = Py_None;
5474 return resultobj;
5475 fail:
5476 return NULL;
5477}
5478
5479
5480static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
5481 PyObject *resultobj;
5482 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5483 bool result;
5484 PyObject * obj0 = 0 ;
5485 char *kwnames[] = {
5486 (char *) "self", NULL
5487 };
5488
5489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
5490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5491 {
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 result = (bool)(arg1)->GetOvertype();
5494
5495 wxPyEndAllowThreads(__tstate);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 }
5498 resultobj = PyInt_FromLong((long)result);
5499 return resultobj;
5500 fail:
5501 return NULL;
5502}
5503
5504
5505static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5506 PyObject *resultobj;
5507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5508 int arg2 ;
5509 PyObject * obj0 = 0 ;
5510 char *kwnames[] = {
5511 (char *) "self",(char *) "pixelWidth", NULL
5512 };
5513
5514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&arg2)) goto fail;
5515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 (arg1)->SetCaretWidth(arg2);
5519
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 Py_INCREF(Py_None); resultobj = Py_None;
5524 return resultobj;
5525 fail:
5526 return NULL;
5527}
5528
5529
5530static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5531 PyObject *resultobj;
5532 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5533 int result;
5534 PyObject * obj0 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "self", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
5540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 result = (int)(arg1)->GetCaretWidth();
5544
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 resultobj = PyInt_FromLong((long)result);
5549 return resultobj;
5550 fail:
5551 return NULL;
5552}
5553
5554
5555static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5556 PyObject *resultobj;
5557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5558 int arg2 ;
5559 PyObject * obj0 = 0 ;
5560 char *kwnames[] = {
5561 (char *) "self",(char *) "pos", NULL
5562 };
5563
5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&arg2)) goto fail;
5565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 (arg1)->SetTargetStart(arg2);
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 Py_INCREF(Py_None); resultobj = Py_None;
5574 return resultobj;
5575 fail:
5576 return NULL;
5577}
5578
5579
5580static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5581 PyObject *resultobj;
5582 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5583 int result;
5584 PyObject * obj0 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
5590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5591 {
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 result = (int)(arg1)->GetTargetStart();
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 resultobj = PyInt_FromLong((long)result);
5599 return resultobj;
5600 fail:
5601 return NULL;
5602}
5603
5604
5605static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5606 PyObject *resultobj;
5607 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5608 int arg2 ;
5609 PyObject * obj0 = 0 ;
5610 char *kwnames[] = {
5611 (char *) "self",(char *) "pos", NULL
5612 };
5613
5614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&arg2)) goto fail;
5615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5616 {
5617 PyThreadState* __tstate = wxPyBeginAllowThreads();
5618 (arg1)->SetTargetEnd(arg2);
5619
5620 wxPyEndAllowThreads(__tstate);
5621 if (PyErr_Occurred()) SWIG_fail;
5622 }
5623 Py_INCREF(Py_None); resultobj = Py_None;
5624 return resultobj;
5625 fail:
5626 return NULL;
5627}
5628
5629
5630static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5631 PyObject *resultobj;
5632 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5633 int result;
5634 PyObject * obj0 = 0 ;
5635 char *kwnames[] = {
5636 (char *) "self", NULL
5637 };
5638
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
5640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5641 {
5642 PyThreadState* __tstate = wxPyBeginAllowThreads();
5643 result = (int)(arg1)->GetTargetEnd();
5644
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
5648 resultobj = PyInt_FromLong((long)result);
5649 return resultobj;
5650 fail:
5651 return NULL;
5652}
5653
5654
5655static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5656 PyObject *resultobj;
5657 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5658 wxString *arg2 = 0 ;
5659 int result;
e811c8ce 5660 bool temp2 = False ;
d14a1e28
RD
5661 PyObject * obj0 = 0 ;
5662 PyObject * obj1 = 0 ;
5663 char *kwnames[] = {
5664 (char *) "self",(char *) "text", NULL
5665 };
5666
5667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
5668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5669 {
5670 arg2 = wxString_in_helper(obj1);
5671 if (arg2 == NULL) SWIG_fail;
e811c8ce 5672 temp2 = True;
d14a1e28
RD
5673 }
5674 {
5675 PyThreadState* __tstate = wxPyBeginAllowThreads();
5676 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
5677
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 }
5681 resultobj = PyInt_FromLong((long)result);
5682 {
5683 if (temp2)
5684 delete arg2;
5685 }
5686 return resultobj;
5687 fail:
5688 {
5689 if (temp2)
5690 delete arg2;
5691 }
5692 return NULL;
5693}
5694
5695
5696static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
5697 PyObject *resultobj;
5698 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5699 wxString *arg2 = 0 ;
5700 int result;
e811c8ce 5701 bool temp2 = False ;
d14a1e28
RD
5702 PyObject * obj0 = 0 ;
5703 PyObject * obj1 = 0 ;
5704 char *kwnames[] = {
5705 (char *) "self",(char *) "text", NULL
5706 };
5707
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
5709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5710 {
5711 arg2 = wxString_in_helper(obj1);
5712 if (arg2 == NULL) SWIG_fail;
e811c8ce 5713 temp2 = True;
d14a1e28
RD
5714 }
5715 {
5716 PyThreadState* __tstate = wxPyBeginAllowThreads();
5717 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
5718
5719 wxPyEndAllowThreads(__tstate);
5720 if (PyErr_Occurred()) SWIG_fail;
5721 }
5722 resultobj = PyInt_FromLong((long)result);
5723 {
5724 if (temp2)
5725 delete arg2;
5726 }
5727 return resultobj;
5728 fail:
5729 {
5730 if (temp2)
5731 delete arg2;
5732 }
5733 return NULL;
5734}
5735
5736
5737static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5738 PyObject *resultobj;
5739 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5740 wxString *arg2 = 0 ;
5741 int result;
e811c8ce 5742 bool temp2 = False ;
d14a1e28
RD
5743 PyObject * obj0 = 0 ;
5744 PyObject * obj1 = 0 ;
5745 char *kwnames[] = {
5746 (char *) "self",(char *) "text", NULL
5747 };
5748
5749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
5750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5751 {
5752 arg2 = wxString_in_helper(obj1);
5753 if (arg2 == NULL) SWIG_fail;
e811c8ce 5754 temp2 = True;
d14a1e28
RD
5755 }
5756 {
5757 PyThreadState* __tstate = wxPyBeginAllowThreads();
5758 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
5759
5760 wxPyEndAllowThreads(__tstate);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 }
5763 resultobj = PyInt_FromLong((long)result);
5764 {
5765 if (temp2)
5766 delete arg2;
5767 }
5768 return resultobj;
5769 fail:
5770 {
5771 if (temp2)
5772 delete arg2;
5773 }
5774 return NULL;
5775}
5776
5777
5778static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5779 PyObject *resultobj;
5780 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5781 int arg2 ;
5782 PyObject * obj0 = 0 ;
5783 char *kwnames[] = {
5784 (char *) "self",(char *) "flags", NULL
5785 };
5786
5787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&arg2)) goto fail;
5788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 (arg1)->SetSearchFlags(arg2);
5792
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 Py_INCREF(Py_None); resultobj = Py_None;
5797 return resultobj;
5798 fail:
5799 return NULL;
5800}
5801
5802
5803static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5804 PyObject *resultobj;
5805 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5806 int result;
5807 PyObject * obj0 = 0 ;
5808 char *kwnames[] = {
5809 (char *) "self", NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
5813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 result = (int)(arg1)->GetSearchFlags();
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 resultobj = PyInt_FromLong((long)result);
5822 return resultobj;
5823 fail:
5824 return NULL;
5825}
5826
5827
5828static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj;
5830 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5831 int arg2 ;
5832 wxString *arg3 = 0 ;
e811c8ce 5833 bool temp3 = False ;
d14a1e28
RD
5834 PyObject * obj0 = 0 ;
5835 PyObject * obj2 = 0 ;
5836 char *kwnames[] = {
5837 (char *) "self",(char *) "pos",(char *) "definition", NULL
5838 };
5839
5840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&arg2,&obj2)) goto fail;
5841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5842 {
5843 arg3 = wxString_in_helper(obj2);
5844 if (arg3 == NULL) SWIG_fail;
e811c8ce 5845 temp3 = True;
d14a1e28
RD
5846 }
5847 {
5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
5849 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
5850
5851 wxPyEndAllowThreads(__tstate);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 }
5854 Py_INCREF(Py_None); resultobj = Py_None;
5855 {
5856 if (temp3)
5857 delete arg3;
5858 }
5859 return resultobj;
5860 fail:
5861 {
5862 if (temp3)
5863 delete arg3;
5864 }
5865 return NULL;
5866}
5867
5868
5869static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
5870 PyObject *resultobj;
5871 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5872 PyObject * obj0 = 0 ;
5873 char *kwnames[] = {
5874 (char *) "self", NULL
5875 };
5876
5877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
5878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->CallTipCancel();
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
5886 Py_INCREF(Py_None); resultobj = Py_None;
5887 return resultobj;
5888 fail:
5889 return NULL;
5890}
5891
5892
5893static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
5894 PyObject *resultobj;
5895 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5896 bool result;
5897 PyObject * obj0 = 0 ;
5898 char *kwnames[] = {
5899 (char *) "self", NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
5903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 result = (bool)(arg1)->CallTipActive();
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 resultobj = PyInt_FromLong((long)result);
5912 return resultobj;
5913 fail:
5914 return NULL;
5915}
5916
5917
5918static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5919 PyObject *resultobj;
5920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5921 int result;
5922 PyObject * obj0 = 0 ;
5923 char *kwnames[] = {
5924 (char *) "self", NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
5928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5929 {
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 result = (int)(arg1)->CallTipPosAtStart();
5932
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 resultobj = PyInt_FromLong((long)result);
5937 return resultobj;
5938 fail:
5939 return NULL;
5940}
5941
5942
5943static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj;
5945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5946 int arg2 ;
5947 int arg3 ;
5948 PyObject * obj0 = 0 ;
5949 char *kwnames[] = {
5950 (char *) "self",(char *) "start",(char *) "end", NULL
5951 };
5952
5953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&arg2,&arg3)) goto fail;
5954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 (arg1)->CallTipSetHighlight(arg2,arg3);
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
5962 Py_INCREF(Py_None); resultobj = Py_None;
5963 return resultobj;
5964 fail:
5965 return NULL;
5966}
5967
5968
5969static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
5970 PyObject *resultobj;
5971 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5972 wxColour *arg2 = 0 ;
5973 wxColour temp2 ;
5974 PyObject * obj0 = 0 ;
5975 PyObject * obj1 = 0 ;
5976 char *kwnames[] = {
5977 (char *) "self",(char *) "back", NULL
5978 };
5979
5980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
5981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5982 {
5983 arg2 = &temp2;
5984 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5985 }
5986 {
5987 PyThreadState* __tstate = wxPyBeginAllowThreads();
5988 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
5989
5990 wxPyEndAllowThreads(__tstate);
5991 if (PyErr_Occurred()) SWIG_fail;
5992 }
5993 Py_INCREF(Py_None); resultobj = Py_None;
5994 return resultobj;
5995 fail:
5996 return NULL;
5997}
5998
5999
6000static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
6001 PyObject *resultobj;
6002 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6003 wxColour *arg2 = 0 ;
6004 wxColour temp2 ;
6005 PyObject * obj0 = 0 ;
6006 PyObject * obj1 = 0 ;
6007 char *kwnames[] = {
6008 (char *) "self",(char *) "fore", NULL
6009 };
6010
6011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
6012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6013 {
6014 arg2 = &temp2;
6015 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6016 }
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
6020
6021 wxPyEndAllowThreads(__tstate);
6022 if (PyErr_Occurred()) SWIG_fail;
6023 }
6024 Py_INCREF(Py_None); resultobj = Py_None;
6025 return resultobj;
6026 fail:
6027 return NULL;
6028}
6029
6030
6031static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6032 PyObject *resultobj;
6033 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6034 wxColour *arg2 = 0 ;
6035 wxColour temp2 ;
6036 PyObject * obj0 = 0 ;
6037 PyObject * obj1 = 0 ;
6038 char *kwnames[] = {
6039 (char *) "self",(char *) "fore", NULL
6040 };
6041
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
6043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6044 {
6045 arg2 = &temp2;
6046 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6047 }
6048 {
6049 PyThreadState* __tstate = wxPyBeginAllowThreads();
6050 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
6051
6052 wxPyEndAllowThreads(__tstate);
6053 if (PyErr_Occurred()) SWIG_fail;
6054 }
6055 Py_INCREF(Py_None); resultobj = Py_None;
6056 return resultobj;
6057 fail:
6058 return NULL;
6059}
6060
6061
6062static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6063 PyObject *resultobj;
6064 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6065 int arg2 ;
6066 int result;
6067 PyObject * obj0 = 0 ;
6068 char *kwnames[] = {
6069 (char *) "self",(char *) "line", NULL
6070 };
6071
6072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&arg2)) goto fail;
6073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 result = (int)(arg1)->VisibleFromDocLine(arg2);
6077
6078 wxPyEndAllowThreads(__tstate);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 }
6081 resultobj = PyInt_FromLong((long)result);
6082 return resultobj;
6083 fail:
6084 return NULL;
6085}
6086
6087
6088static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6089 PyObject *resultobj;
6090 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6091 int arg2 ;
6092 int result;
6093 PyObject * obj0 = 0 ;
6094 char *kwnames[] = {
6095 (char *) "self",(char *) "lineDisplay", NULL
6096 };
6097
6098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&arg2)) goto fail;
6099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6100 {
6101 PyThreadState* __tstate = wxPyBeginAllowThreads();
6102 result = (int)(arg1)->DocLineFromVisible(arg2);
6103
6104 wxPyEndAllowThreads(__tstate);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 resultobj = PyInt_FromLong((long)result);
6108 return resultobj;
6109 fail:
6110 return NULL;
6111}
6112
6113
6114static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6115 PyObject *resultobj;
6116 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6117 int arg2 ;
6118 int arg3 ;
6119 PyObject * obj0 = 0 ;
6120 char *kwnames[] = {
6121 (char *) "self",(char *) "line",(char *) "level", NULL
6122 };
6123
6124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&arg2,&arg3)) goto fail;
6125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6126 {
6127 PyThreadState* __tstate = wxPyBeginAllowThreads();
6128 (arg1)->SetFoldLevel(arg2,arg3);
6129
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 Py_INCREF(Py_None); resultobj = Py_None;
6134 return resultobj;
6135 fail:
6136 return NULL;
6137}
6138
6139
6140static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6141 PyObject *resultobj;
6142 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6143 int arg2 ;
6144 int result;
6145 PyObject * obj0 = 0 ;
6146 char *kwnames[] = {
6147 (char *) "self",(char *) "line", NULL
6148 };
6149
6150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&arg2)) goto fail;
6151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6152 {
6153 PyThreadState* __tstate = wxPyBeginAllowThreads();
6154 result = (int)(arg1)->GetFoldLevel(arg2);
6155
6156 wxPyEndAllowThreads(__tstate);
6157 if (PyErr_Occurred()) SWIG_fail;
6158 }
6159 resultobj = PyInt_FromLong((long)result);
6160 return resultobj;
6161 fail:
6162 return NULL;
6163}
6164
6165
6166static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6167 PyObject *resultobj;
6168 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6169 int arg2 ;
6170 int arg3 ;
6171 int result;
6172 PyObject * obj0 = 0 ;
6173 char *kwnames[] = {
6174 (char *) "self",(char *) "line",(char *) "level", NULL
6175 };
6176
6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetLastChild",kwnames,&obj0,&arg2,&arg3)) goto fail;
6178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 result = (int)(arg1)->GetLastChild(arg2,arg3);
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
6186 resultobj = PyInt_FromLong((long)result);
6187 return resultobj;
6188 fail:
6189 return NULL;
6190}
6191
6192
6193static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
6194 PyObject *resultobj;
6195 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6196 int arg2 ;
6197 int result;
6198 PyObject * obj0 = 0 ;
6199 char *kwnames[] = {
6200 (char *) "self",(char *) "line", NULL
6201 };
6202
6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&arg2)) goto fail;
6204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 result = (int)(arg1)->GetFoldParent(arg2);
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 resultobj = PyInt_FromLong((long)result);
6213 return resultobj;
6214 fail:
6215 return NULL;
6216}
6217
6218
6219static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6220 PyObject *resultobj;
6221 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6222 int arg2 ;
6223 int arg3 ;
6224 PyObject * obj0 = 0 ;
6225 char *kwnames[] = {
6226 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
6227 };
6228
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_ShowLines",kwnames,&obj0,&arg2,&arg3)) goto fail;
6230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 (arg1)->ShowLines(arg2,arg3);
6234
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 Py_INCREF(Py_None); resultobj = Py_None;
6239 return resultobj;
6240 fail:
6241 return NULL;
6242}
6243
6244
6245static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj;
6247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6248 int arg2 ;
6249 int arg3 ;
6250 PyObject * obj0 = 0 ;
6251 char *kwnames[] = {
6252 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
6253 };
6254
6255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_HideLines",kwnames,&obj0,&arg2,&arg3)) goto fail;
6256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6257 {
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 (arg1)->HideLines(arg2,arg3);
6260
6261 wxPyEndAllowThreads(__tstate);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 }
6264 Py_INCREF(Py_None); resultobj = Py_None;
6265 return resultobj;
6266 fail:
6267 return NULL;
6268}
6269
6270
6271static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6272 PyObject *resultobj;
6273 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6274 int arg2 ;
6275 bool result;
6276 PyObject * obj0 = 0 ;
6277 char *kwnames[] = {
6278 (char *) "self",(char *) "line", NULL
6279 };
6280
6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&arg2)) goto fail;
6282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6283 {
6284 PyThreadState* __tstate = wxPyBeginAllowThreads();
6285 result = (bool)(arg1)->GetLineVisible(arg2);
6286
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 resultobj = PyInt_FromLong((long)result);
6291 return resultobj;
6292 fail:
6293 return NULL;
6294}
6295
6296
6297static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
6298 PyObject *resultobj;
6299 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6300 int arg2 ;
6301 bool arg3 ;
6302 PyObject * obj0 = 0 ;
6303 PyObject * obj2 = 0 ;
6304 char *kwnames[] = {
6305 (char *) "self",(char *) "line",(char *) "expanded", NULL
6306 };
6307
6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&arg2,&obj2)) goto fail;
6309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6310 arg3 = PyInt_AsLong(obj2) ? true : false;
6311 if (PyErr_Occurred()) SWIG_fail;
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 (arg1)->SetFoldExpanded(arg2,arg3);
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 Py_INCREF(Py_None); resultobj = Py_None;
6320 return resultobj;
6321 fail:
6322 return NULL;
6323}
6324
6325
6326static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
6327 PyObject *resultobj;
6328 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6329 int arg2 ;
6330 bool result;
6331 PyObject * obj0 = 0 ;
6332 char *kwnames[] = {
6333 (char *) "self",(char *) "line", NULL
6334 };
6335
6336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&arg2)) goto fail;
6337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6338 {
6339 PyThreadState* __tstate = wxPyBeginAllowThreads();
6340 result = (bool)(arg1)->GetFoldExpanded(arg2);
6341
6342 wxPyEndAllowThreads(__tstate);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 }
6345 resultobj = PyInt_FromLong((long)result);
6346 return resultobj;
6347 fail:
6348 return NULL;
6349}
6350
6351
6352static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
6353 PyObject *resultobj;
6354 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6355 int arg2 ;
6356 PyObject * obj0 = 0 ;
6357 char *kwnames[] = {
6358 (char *) "self",(char *) "line", NULL
6359 };
6360
6361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ToggleFold",kwnames,&obj0,&arg2)) goto fail;
6362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 (arg1)->ToggleFold(arg2);
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 Py_INCREF(Py_None); resultobj = Py_None;
6371 return resultobj;
6372 fail:
6373 return NULL;
6374}
6375
6376
6377static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj;
6379 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6380 int arg2 ;
6381 PyObject * obj0 = 0 ;
6382 char *kwnames[] = {
6383 (char *) "self",(char *) "line", NULL
6384 };
6385
6386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
6387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6388 {
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 (arg1)->EnsureVisible(arg2);
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
6395 Py_INCREF(Py_None); resultobj = Py_None;
6396 return resultobj;
6397 fail:
6398 return NULL;
6399}
6400
6401
6402static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6403 PyObject *resultobj;
6404 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6405 int arg2 ;
6406 PyObject * obj0 = 0 ;
6407 char *kwnames[] = {
6408 (char *) "self",(char *) "flags", NULL
6409 };
6410
6411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&arg2)) goto fail;
6412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 (arg1)->SetFoldFlags(arg2);
6416
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 Py_INCREF(Py_None); resultobj = Py_None;
6421 return resultobj;
6422 fail:
6423 return NULL;
6424}
6425
6426
6427static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
6428 PyObject *resultobj;
6429 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6430 int arg2 ;
6431 PyObject * obj0 = 0 ;
6432 char *kwnames[] = {
6433 (char *) "self",(char *) "line", NULL
6434 };
6435
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&arg2)) goto fail;
6437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 (arg1)->EnsureVisibleEnforcePolicy(arg2);
6441
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 Py_INCREF(Py_None); resultobj = Py_None;
6446 return resultobj;
6447 fail:
6448 return NULL;
6449}
6450
6451
6452static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6453 PyObject *resultobj;
6454 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6455 bool arg2 ;
6456 PyObject * obj0 = 0 ;
6457 PyObject * obj1 = 0 ;
6458 char *kwnames[] = {
6459 (char *) "self",(char *) "tabIndents", NULL
6460 };
6461
6462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
6463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6464 arg2 = PyInt_AsLong(obj1) ? true : false;
6465 if (PyErr_Occurred()) SWIG_fail;
6466 {
6467 PyThreadState* __tstate = wxPyBeginAllowThreads();
6468 (arg1)->SetTabIndents(arg2);
6469
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 }
6473 Py_INCREF(Py_None); resultobj = Py_None;
6474 return resultobj;
6475 fail:
6476 return NULL;
6477}
6478
6479
6480static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6481 PyObject *resultobj;
6482 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6483 bool result;
6484 PyObject * obj0 = 0 ;
6485 char *kwnames[] = {
6486 (char *) "self", NULL
6487 };
6488
6489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
6490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 result = (bool)(arg1)->GetTabIndents();
6494
6495 wxPyEndAllowThreads(__tstate);
6496 if (PyErr_Occurred()) SWIG_fail;
6497 }
6498 resultobj = PyInt_FromLong((long)result);
6499 return resultobj;
6500 fail:
6501 return NULL;
6502}
6503
6504
6505static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6506 PyObject *resultobj;
6507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6508 bool arg2 ;
6509 PyObject * obj0 = 0 ;
6510 PyObject * obj1 = 0 ;
6511 char *kwnames[] = {
6512 (char *) "self",(char *) "bsUnIndents", NULL
6513 };
6514
6515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
6516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6517 arg2 = PyInt_AsLong(obj1) ? true : false;
6518 if (PyErr_Occurred()) SWIG_fail;
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 (arg1)->SetBackSpaceUnIndents(arg2);
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
6526 Py_INCREF(Py_None); resultobj = Py_None;
6527 return resultobj;
6528 fail:
6529 return NULL;
6530}
6531
6532
6533static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj;
6535 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6536 bool result;
6537 PyObject * obj0 = 0 ;
6538 char *kwnames[] = {
6539 (char *) "self", NULL
6540 };
6541
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
6543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 result = (bool)(arg1)->GetBackSpaceUnIndents();
6547
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 resultobj = PyInt_FromLong((long)result);
6552 return resultobj;
6553 fail:
6554 return NULL;
6555}
6556
6557
6558static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6559 PyObject *resultobj;
6560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6561 int arg2 ;
6562 PyObject * obj0 = 0 ;
6563 char *kwnames[] = {
6564 (char *) "self",(char *) "periodMilliseconds", NULL
6565 };
6566
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&arg2)) goto fail;
6568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6569 {
6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
6571 (arg1)->SetMouseDwellTime(arg2);
6572
6573 wxPyEndAllowThreads(__tstate);
6574 if (PyErr_Occurred()) SWIG_fail;
6575 }
6576 Py_INCREF(Py_None); resultobj = Py_None;
6577 return resultobj;
6578 fail:
6579 return NULL;
6580}
6581
6582
6583static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6584 PyObject *resultobj;
6585 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6586 int result;
6587 PyObject * obj0 = 0 ;
6588 char *kwnames[] = {
6589 (char *) "self", NULL
6590 };
6591
6592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
6593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 result = (int)(arg1)->GetMouseDwellTime();
6597
6598 wxPyEndAllowThreads(__tstate);
6599 if (PyErr_Occurred()) SWIG_fail;
6600 }
6601 resultobj = PyInt_FromLong((long)result);
6602 return resultobj;
6603 fail:
6604 return NULL;
6605}
6606
6607
6608static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6609 PyObject *resultobj;
6610 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6611 int arg2 ;
6612 bool arg3 ;
6613 int result;
6614 PyObject * obj0 = 0 ;
6615 PyObject * obj2 = 0 ;
6616 char *kwnames[] = {
6617 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
6618 };
6619
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
6621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6622 arg3 = PyInt_AsLong(obj2) ? true : false;
6623 if (PyErr_Occurred()) SWIG_fail;
6624 {
6625 PyThreadState* __tstate = wxPyBeginAllowThreads();
6626 result = (int)(arg1)->WordStartPosition(arg2,arg3);
6627
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 resultobj = PyInt_FromLong((long)result);
6632 return resultobj;
6633 fail:
6634 return NULL;
6635}
6636
6637
6638static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6639 PyObject *resultobj;
6640 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6641 int arg2 ;
6642 bool arg3 ;
6643 int result;
6644 PyObject * obj0 = 0 ;
6645 PyObject * obj2 = 0 ;
6646 char *kwnames[] = {
6647 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
6648 };
6649
6650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
6651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6652 arg3 = PyInt_AsLong(obj2) ? true : false;
6653 if (PyErr_Occurred()) SWIG_fail;
6654 {
6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
6656 result = (int)(arg1)->WordEndPosition(arg2,arg3);
6657
6658 wxPyEndAllowThreads(__tstate);
6659 if (PyErr_Occurred()) SWIG_fail;
6660 }
6661 resultobj = PyInt_FromLong((long)result);
6662 return resultobj;
6663 fail:
6664 return NULL;
6665}
6666
6667
6668static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6669 PyObject *resultobj;
6670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6671 int arg2 ;
6672 PyObject * obj0 = 0 ;
6673 char *kwnames[] = {
6674 (char *) "self",(char *) "mode", NULL
6675 };
6676
6677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&arg2)) goto fail;
6678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 (arg1)->SetWrapMode(arg2);
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 Py_INCREF(Py_None); resultobj = Py_None;
6687 return resultobj;
6688 fail:
6689 return NULL;
6690}
6691
6692
6693static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj;
6695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6696 int result;
6697 PyObject * obj0 = 0 ;
6698 char *kwnames[] = {
6699 (char *) "self", NULL
6700 };
6701
6702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
6703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6704 {
6705 PyThreadState* __tstate = wxPyBeginAllowThreads();
6706 result = (int)(arg1)->GetWrapMode();
6707
6708 wxPyEndAllowThreads(__tstate);
6709 if (PyErr_Occurred()) SWIG_fail;
6710 }
6711 resultobj = PyInt_FromLong((long)result);
6712 return resultobj;
6713 fail:
6714 return NULL;
6715}
6716
6717
6718static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
6719 PyObject *resultobj;
6720 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6721 int arg2 ;
6722 PyObject * obj0 = 0 ;
6723 char *kwnames[] = {
6724 (char *) "self",(char *) "mode", NULL
6725 };
6726
6727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&arg2)) goto fail;
6728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6729 {
6730 PyThreadState* __tstate = wxPyBeginAllowThreads();
6731 (arg1)->SetLayoutCache(arg2);
6732
6733 wxPyEndAllowThreads(__tstate);
6734 if (PyErr_Occurred()) SWIG_fail;
6735 }
6736 Py_INCREF(Py_None); resultobj = Py_None;
6737 return resultobj;
6738 fail:
6739 return NULL;
6740}
6741
6742
6743static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
6744 PyObject *resultobj;
6745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6746 int result;
6747 PyObject * obj0 = 0 ;
6748 char *kwnames[] = {
6749 (char *) "self", NULL
6750 };
6751
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
6753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = (int)(arg1)->GetLayoutCache();
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 resultobj = PyInt_FromLong((long)result);
6762 return resultobj;
6763 fail:
6764 return NULL;
6765}
6766
6767
6768static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj;
6770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6771 int arg2 ;
6772 PyObject * obj0 = 0 ;
6773 char *kwnames[] = {
6774 (char *) "self",(char *) "pixelWidth", NULL
6775 };
6776
6777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&arg2)) goto fail;
6778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6779 {
6780 PyThreadState* __tstate = wxPyBeginAllowThreads();
6781 (arg1)->SetScrollWidth(arg2);
6782
6783 wxPyEndAllowThreads(__tstate);
6784 if (PyErr_Occurred()) SWIG_fail;
6785 }
6786 Py_INCREF(Py_None); resultobj = Py_None;
6787 return resultobj;
6788 fail:
6789 return NULL;
6790}
6791
6792
6793static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6794 PyObject *resultobj;
6795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6796 int result;
6797 PyObject * obj0 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self", NULL
6800 };
6801
6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
6803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6804 {
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 result = (int)(arg1)->GetScrollWidth();
6807
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 resultobj = PyInt_FromLong((long)result);
6812 return resultobj;
6813 fail:
6814 return NULL;
6815}
6816
6817
6818static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj;
6820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6821 int arg2 ;
6822 wxString *arg3 = 0 ;
6823 int result;
e811c8ce 6824 bool temp3 = False ;
d14a1e28
RD
6825 PyObject * obj0 = 0 ;
6826 PyObject * obj2 = 0 ;
6827 char *kwnames[] = {
6828 (char *) "self",(char *) "style",(char *) "text", NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_TextWidth",kwnames,&obj0,&arg2,&obj2)) goto fail;
6832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6833 {
6834 arg3 = wxString_in_helper(obj2);
6835 if (arg3 == NULL) SWIG_fail;
e811c8ce 6836 temp3 = True;
d14a1e28
RD
6837 }
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 resultobj = PyInt_FromLong((long)result);
6846 {
6847 if (temp3)
6848 delete arg3;
6849 }
6850 return resultobj;
6851 fail:
6852 {
6853 if (temp3)
6854 delete arg3;
6855 }
6856 return NULL;
6857}
6858
6859
6860static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6861 PyObject *resultobj;
6862 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6863 bool arg2 ;
6864 PyObject * obj0 = 0 ;
6865 PyObject * obj1 = 0 ;
6866 char *kwnames[] = {
6867 (char *) "self",(char *) "endAtLastLine", NULL
6868 };
6869
6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
6871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6872 arg2 = PyInt_AsLong(obj1) ? true : false;
6873 if (PyErr_Occurred()) SWIG_fail;
6874 {
6875 PyThreadState* __tstate = wxPyBeginAllowThreads();
6876 (arg1)->SetEndAtLastLine(arg2);
6877
6878 wxPyEndAllowThreads(__tstate);
6879 if (PyErr_Occurred()) SWIG_fail;
6880 }
6881 Py_INCREF(Py_None); resultobj = Py_None;
6882 return resultobj;
6883 fail:
6884 return NULL;
6885}
6886
6887
6888static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6889 PyObject *resultobj;
6890 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6891 int result;
6892 PyObject * obj0 = 0 ;
6893 char *kwnames[] = {
6894 (char *) "self", NULL
6895 };
6896
6897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
6898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 result = (int)(arg1)->GetEndAtLastLine();
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 resultobj = PyInt_FromLong((long)result);
6907 return resultobj;
6908 fail:
6909 return NULL;
6910}
6911
6912
6913static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6914 PyObject *resultobj;
6915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6916 int arg2 ;
6917 int result;
6918 PyObject * obj0 = 0 ;
6919 char *kwnames[] = {
6920 (char *) "self",(char *) "line", NULL
6921 };
6922
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_TextHeight",kwnames,&obj0,&arg2)) goto fail;
6924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6925 {
6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
6927 result = (int)(arg1)->TextHeight(arg2);
6928
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 resultobj = PyInt_FromLong((long)result);
6933 return resultobj;
6934 fail:
6935 return NULL;
6936}
6937
6938
6939static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj;
6941 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6942 bool arg2 ;
6943 PyObject * obj0 = 0 ;
6944 PyObject * obj1 = 0 ;
6945 char *kwnames[] = {
6946 (char *) "self",(char *) "show", NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
6950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6951 arg2 = PyInt_AsLong(obj1) ? true : false;
6952 if (PyErr_Occurred()) SWIG_fail;
6953 {
6954 PyThreadState* __tstate = wxPyBeginAllowThreads();
6955 (arg1)->SetUseVerticalScrollBar(arg2);
6956
6957 wxPyEndAllowThreads(__tstate);
6958 if (PyErr_Occurred()) SWIG_fail;
6959 }
6960 Py_INCREF(Py_None); resultobj = Py_None;
6961 return resultobj;
6962 fail:
6963 return NULL;
6964}
6965
6966
6967static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
6968 PyObject *resultobj;
6969 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6970 bool result;
6971 PyObject * obj0 = 0 ;
6972 char *kwnames[] = {
6973 (char *) "self", NULL
6974 };
6975
6976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
6977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6978 {
6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
6980 result = (bool)(arg1)->GetUseVerticalScrollBar();
6981
6982 wxPyEndAllowThreads(__tstate);
6983 if (PyErr_Occurred()) SWIG_fail;
6984 }
6985 resultobj = PyInt_FromLong((long)result);
6986 return resultobj;
6987 fail:
6988 return NULL;
6989}
6990
6991
6992static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
6993 PyObject *resultobj;
6994 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6995 int arg2 ;
6996 wxString *arg3 = 0 ;
e811c8ce 6997 bool temp3 = False ;
d14a1e28
RD
6998 PyObject * obj0 = 0 ;
6999 PyObject * obj2 = 0 ;
7000 char *kwnames[] = {
7001 (char *) "self",(char *) "length",(char *) "text", NULL
7002 };
7003
7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_AppendText",kwnames,&obj0,&arg2,&obj2)) goto fail;
7005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7006 {
7007 arg3 = wxString_in_helper(obj2);
7008 if (arg3 == NULL) SWIG_fail;
e811c8ce 7009 temp3 = True;
d14a1e28
RD
7010 }
7011 {
7012 PyThreadState* __tstate = wxPyBeginAllowThreads();
7013 (arg1)->AppendText(arg2,(wxString const &)*arg3);
7014
7015 wxPyEndAllowThreads(__tstate);
7016 if (PyErr_Occurred()) SWIG_fail;
7017 }
7018 Py_INCREF(Py_None); resultobj = Py_None;
7019 {
7020 if (temp3)
7021 delete arg3;
7022 }
7023 return resultobj;
7024 fail:
7025 {
7026 if (temp3)
7027 delete arg3;
7028 }
7029 return NULL;
7030}
7031
7032
7033static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7034 PyObject *resultobj;
7035 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7036 bool result;
7037 PyObject * obj0 = 0 ;
7038 char *kwnames[] = {
7039 (char *) "self", NULL
7040 };
7041
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
7043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 result = (bool)(arg1)->GetTwoPhaseDraw();
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 resultobj = PyInt_FromLong((long)result);
7052 return resultobj;
7053 fail:
7054 return NULL;
7055}
7056
7057
7058static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7059 PyObject *resultobj;
7060 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7061 bool arg2 ;
7062 PyObject * obj0 = 0 ;
7063 PyObject * obj1 = 0 ;
7064 char *kwnames[] = {
7065 (char *) "self",(char *) "twoPhase", NULL
7066 };
7067
7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
7069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7070 arg2 = PyInt_AsLong(obj1) ? true : false;
7071 if (PyErr_Occurred()) SWIG_fail;
7072 {
7073 PyThreadState* __tstate = wxPyBeginAllowThreads();
7074 (arg1)->SetTwoPhaseDraw(arg2);
7075
7076 wxPyEndAllowThreads(__tstate);
7077 if (PyErr_Occurred()) SWIG_fail;
7078 }
7079 Py_INCREF(Py_None); resultobj = Py_None;
7080 return resultobj;
7081 fail:
7082 return NULL;
7083}
7084
7085
7086static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7087 PyObject *resultobj;
7088 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7089 PyObject * obj0 = 0 ;
7090 char *kwnames[] = {
7091 (char *) "self", NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
7095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7096 {
7097 PyThreadState* __tstate = wxPyBeginAllowThreads();
7098 (arg1)->TargetFromSelection();
7099
7100 wxPyEndAllowThreads(__tstate);
7101 if (PyErr_Occurred()) SWIG_fail;
7102 }
7103 Py_INCREF(Py_None); resultobj = Py_None;
7104 return resultobj;
7105 fail:
7106 return NULL;
7107}
7108
7109
7110static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
7111 PyObject *resultobj;
7112 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7113 PyObject * obj0 = 0 ;
7114 char *kwnames[] = {
7115 (char *) "self", NULL
7116 };
7117
7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
7119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7120 {
7121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7122 (arg1)->LinesJoin();
7123
7124 wxPyEndAllowThreads(__tstate);
7125 if (PyErr_Occurred()) SWIG_fail;
7126 }
7127 Py_INCREF(Py_None); resultobj = Py_None;
7128 return resultobj;
7129 fail:
7130 return NULL;
7131}
7132
7133
7134static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
7135 PyObject *resultobj;
7136 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7137 int arg2 ;
7138 PyObject * obj0 = 0 ;
7139 char *kwnames[] = {
7140 (char *) "self",(char *) "pixelWidth", NULL
7141 };
7142
7143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LinesSplit",kwnames,&obj0,&arg2)) goto fail;
7144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 (arg1)->LinesSplit(arg2);
7148
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 Py_INCREF(Py_None); resultobj = Py_None;
7153 return resultobj;
7154 fail:
7155 return NULL;
7156}
7157
7158
7159static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7160 PyObject *resultobj;
7161 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7162 bool arg2 ;
7163 wxColour *arg3 = 0 ;
7164 wxColour temp3 ;
7165 PyObject * obj0 = 0 ;
7166 PyObject * obj1 = 0 ;
7167 PyObject * obj2 = 0 ;
7168 char *kwnames[] = {
7169 (char *) "self",(char *) "useSetting",(char *) "back", NULL
7170 };
7171
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7174 arg2 = PyInt_AsLong(obj1) ? true : false;
7175 if (PyErr_Occurred()) SWIG_fail;
7176 {
7177 arg3 = &temp3;
7178 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7179 }
7180 {
7181 PyThreadState* __tstate = wxPyBeginAllowThreads();
7182 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
7183
7184 wxPyEndAllowThreads(__tstate);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 }
7187 Py_INCREF(Py_None); resultobj = Py_None;
7188 return resultobj;
7189 fail:
7190 return NULL;
7191}
7192
7193
7194static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7195 PyObject *resultobj;
7196 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7197 bool arg2 ;
7198 wxColour *arg3 = 0 ;
7199 wxColour temp3 ;
7200 PyObject * obj0 = 0 ;
7201 PyObject * obj1 = 0 ;
7202 PyObject * obj2 = 0 ;
7203 char *kwnames[] = {
7204 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
7205 };
7206
7207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
7208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7209 arg2 = PyInt_AsLong(obj1) ? true : false;
7210 if (PyErr_Occurred()) SWIG_fail;
7211 {
7212 arg3 = &temp3;
7213 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7214 }
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
7218
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 Py_INCREF(Py_None); resultobj = Py_None;
7223 return resultobj;
7224 fail:
7225 return NULL;
7226}
7227
7228
7229static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
7230 PyObject *resultobj;
7231 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7232 PyObject * obj0 = 0 ;
7233 char *kwnames[] = {
7234 (char *) "self", NULL
7235 };
7236
7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
7238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7239 {
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 (arg1)->LineDuplicate();
7242
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 Py_INCREF(Py_None); resultobj = Py_None;
7247 return resultobj;
7248 fail:
7249 return NULL;
7250}
7251
7252
7253static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj;
7255 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7256 PyObject * obj0 = 0 ;
7257 char *kwnames[] = {
7258 (char *) "self", NULL
7259 };
7260
7261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
7262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7263 {
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 (arg1)->HomeDisplay();
7266
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 Py_INCREF(Py_None); resultobj = Py_None;
7271 return resultobj;
7272 fail:
7273 return NULL;
7274}
7275
7276
7277static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
7278 PyObject *resultobj;
7279 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7280 PyObject * obj0 = 0 ;
7281 char *kwnames[] = {
7282 (char *) "self", NULL
7283 };
7284
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
7286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 (arg1)->HomeDisplayExtend();
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 Py_INCREF(Py_None); resultobj = Py_None;
7295 return resultobj;
7296 fail:
7297 return NULL;
7298}
7299
7300
7301static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
7302 PyObject *resultobj;
7303 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7304 PyObject * obj0 = 0 ;
7305 char *kwnames[] = {
7306 (char *) "self", NULL
7307 };
7308
7309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
7310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7311 {
7312 PyThreadState* __tstate = wxPyBeginAllowThreads();
7313 (arg1)->LineEndDisplay();
7314
7315 wxPyEndAllowThreads(__tstate);
7316 if (PyErr_Occurred()) SWIG_fail;
7317 }
7318 Py_INCREF(Py_None); resultobj = Py_None;
7319 return resultobj;
7320 fail:
7321 return NULL;
7322}
7323
7324
7325static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
7326 PyObject *resultobj;
7327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7328 PyObject * obj0 = 0 ;
7329 char *kwnames[] = {
7330 (char *) "self", NULL
7331 };
7332
7333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
7334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7335 {
7336 PyThreadState* __tstate = wxPyBeginAllowThreads();
7337 (arg1)->LineEndDisplayExtend();
7338
7339 wxPyEndAllowThreads(__tstate);
7340 if (PyErr_Occurred()) SWIG_fail;
7341 }
7342 Py_INCREF(Py_None); resultobj = Py_None;
7343 return resultobj;
7344 fail:
7345 return NULL;
7346}
7347
7348
7349static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7350 PyObject *resultobj;
7351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7352 PyObject * obj0 = 0 ;
7353 char *kwnames[] = {
7354 (char *) "self", NULL
7355 };
7356
7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
7358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 (arg1)->LineCopy();
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 Py_INCREF(Py_None); resultobj = Py_None;
7367 return resultobj;
7368 fail:
7369 return NULL;
7370}
7371
7372
7373static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject *resultobj;
7375 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7376 PyObject * obj0 = 0 ;
7377 char *kwnames[] = {
7378 (char *) "self", NULL
7379 };
7380
7381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
7382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7383 {
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
7385 (arg1)->MoveCaretInsideView();
7386
7387 wxPyEndAllowThreads(__tstate);
7388 if (PyErr_Occurred()) SWIG_fail;
7389 }
7390 Py_INCREF(Py_None); resultobj = Py_None;
7391 return resultobj;
7392 fail:
7393 return NULL;
7394}
7395
7396
7397static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7398 PyObject *resultobj;
7399 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7400 int arg2 ;
7401 int result;
7402 PyObject * obj0 = 0 ;
7403 char *kwnames[] = {
7404 (char *) "self",(char *) "line", NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LineLength",kwnames,&obj0,&arg2)) goto fail;
7408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7409 {
7410 PyThreadState* __tstate = wxPyBeginAllowThreads();
7411 result = (int)(arg1)->LineLength(arg2);
7412
7413 wxPyEndAllowThreads(__tstate);
7414 if (PyErr_Occurred()) SWIG_fail;
7415 }
7416 resultobj = PyInt_FromLong((long)result);
7417 return resultobj;
7418 fail:
7419 return NULL;
7420}
7421
7422
7423static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7424 PyObject *resultobj;
7425 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7426 int arg2 ;
7427 int arg3 ;
7428 PyObject * obj0 = 0 ;
7429 char *kwnames[] = {
7430 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
7431 };
7432
7433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&arg2,&arg3)) goto fail;
7434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7435 {
7436 PyThreadState* __tstate = wxPyBeginAllowThreads();
7437 (arg1)->BraceHighlight(arg2,arg3);
7438
7439 wxPyEndAllowThreads(__tstate);
7440 if (PyErr_Occurred()) SWIG_fail;
7441 }
7442 Py_INCREF(Py_None); resultobj = Py_None;
7443 return resultobj;
7444 fail:
7445 return NULL;
7446}
7447
7448
7449static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
7450 PyObject *resultobj;
7451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7452 int arg2 ;
7453 PyObject * obj0 = 0 ;
7454 char *kwnames[] = {
7455 (char *) "self",(char *) "pos", NULL
7456 };
7457
7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&arg2)) goto fail;
7459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 (arg1)->BraceBadLight(arg2);
7463
7464 wxPyEndAllowThreads(__tstate);
7465 if (PyErr_Occurred()) SWIG_fail;
7466 }
7467 Py_INCREF(Py_None); resultobj = Py_None;
7468 return resultobj;
7469 fail:
7470 return NULL;
7471}
7472
7473
7474static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7475 PyObject *resultobj;
7476 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7477 int arg2 ;
7478 int result;
7479 PyObject * obj0 = 0 ;
7480 char *kwnames[] = {
7481 (char *) "self",(char *) "pos", NULL
7482 };
7483
7484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_BraceMatch",kwnames,&obj0,&arg2)) goto fail;
7485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7486 {
7487 PyThreadState* __tstate = wxPyBeginAllowThreads();
7488 result = (int)(arg1)->BraceMatch(arg2);
7489
7490 wxPyEndAllowThreads(__tstate);
7491 if (PyErr_Occurred()) SWIG_fail;
7492 }
7493 resultobj = PyInt_FromLong((long)result);
7494 return resultobj;
7495 fail:
7496 return NULL;
7497}
7498
7499
7500static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
7501 PyObject *resultobj;
7502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7503 bool result;
7504 PyObject * obj0 = 0 ;
7505 char *kwnames[] = {
7506 (char *) "self", NULL
7507 };
7508
7509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
7510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7511 {
7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
7513 result = (bool)(arg1)->GetViewEOL();
7514
7515 wxPyEndAllowThreads(__tstate);
7516 if (PyErr_Occurred()) SWIG_fail;
7517 }
7518 resultobj = PyInt_FromLong((long)result);
7519 return resultobj;
7520 fail:
7521 return NULL;
7522}
7523
7524
7525static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
7526 PyObject *resultobj;
7527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7528 bool arg2 ;
7529 PyObject * obj0 = 0 ;
7530 PyObject * obj1 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self",(char *) "visible", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
7536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7537 arg2 = PyInt_AsLong(obj1) ? true : false;
7538 if (PyErr_Occurred()) SWIG_fail;
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 (arg1)->SetViewEOL(arg2);
7542
7543 wxPyEndAllowThreads(__tstate);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 Py_INCREF(Py_None); resultobj = Py_None;
7547 return resultobj;
7548 fail:
7549 return NULL;
7550}
7551
7552
7553static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
7554 PyObject *resultobj;
7555 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7556 void *result;
7557 PyObject * obj0 = 0 ;
7558 char *kwnames[] = {
7559 (char *) "self", NULL
7560 };
7561
7562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
7563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7564 {
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
7566 result = (void *)(arg1)->GetDocPointer();
7567
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
7571 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
7572 return resultobj;
7573 fail:
7574 return NULL;
7575}
7576
7577
7578static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
7579 PyObject *resultobj;
7580 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7581 void *arg2 = (void *) 0 ;
7582 PyObject * obj0 = 0 ;
7583 PyObject * obj1 = 0 ;
7584 char *kwnames[] = {
7585 (char *) "self",(char *) "docPointer", NULL
7586 };
7587
7588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
7589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 (arg1)->SetDocPointer(arg2);
7594
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 Py_INCREF(Py_None); resultobj = Py_None;
7599 return resultobj;
7600 fail:
7601 return NULL;
7602}
7603
7604
7605static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7606 PyObject *resultobj;
7607 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7608 int arg2 ;
7609 PyObject * obj0 = 0 ;
7610 char *kwnames[] = {
7611 (char *) "self",(char *) "mask", NULL
7612 };
7613
7614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&arg2)) goto fail;
7615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 (arg1)->SetModEventMask(arg2);
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 Py_INCREF(Py_None); resultobj = Py_None;
7624 return resultobj;
7625 fail:
7626 return NULL;
7627}
7628
7629
7630static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
7631 PyObject *resultobj;
7632 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7633 int result;
7634 PyObject * obj0 = 0 ;
7635 char *kwnames[] = {
7636 (char *) "self", NULL
7637 };
7638
7639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
7640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 result = (int)(arg1)->GetEdgeColumn();
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
7648 resultobj = PyInt_FromLong((long)result);
7649 return resultobj;
7650 fail:
7651 return NULL;
7652}
7653
7654
7655static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
7656 PyObject *resultobj;
7657 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7658 int arg2 ;
7659 PyObject * obj0 = 0 ;
7660 char *kwnames[] = {
7661 (char *) "self",(char *) "column", NULL
7662 };
7663
7664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&arg2)) goto fail;
7665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7666 {
7667 PyThreadState* __tstate = wxPyBeginAllowThreads();
7668 (arg1)->SetEdgeColumn(arg2);
7669
7670 wxPyEndAllowThreads(__tstate);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 }
7673 Py_INCREF(Py_None); resultobj = Py_None;
7674 return resultobj;
7675 fail:
7676 return NULL;
7677}
7678
7679
7680static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7681 PyObject *resultobj;
7682 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7683 int result;
7684 PyObject * obj0 = 0 ;
7685 char *kwnames[] = {
7686 (char *) "self", NULL
7687 };
7688
7689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
7690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7691 {
7692 PyThreadState* __tstate = wxPyBeginAllowThreads();
7693 result = (int)(arg1)->GetEdgeMode();
7694
7695 wxPyEndAllowThreads(__tstate);
7696 if (PyErr_Occurred()) SWIG_fail;
7697 }
7698 resultobj = PyInt_FromLong((long)result);
7699 return resultobj;
7700 fail:
7701 return NULL;
7702}
7703
7704
7705static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7706 PyObject *resultobj;
7707 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7708 int arg2 ;
7709 PyObject * obj0 = 0 ;
7710 char *kwnames[] = {
7711 (char *) "self",(char *) "mode", NULL
7712 };
7713
7714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&arg2)) goto fail;
7715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7716 {
7717 PyThreadState* __tstate = wxPyBeginAllowThreads();
7718 (arg1)->SetEdgeMode(arg2);
7719
7720 wxPyEndAllowThreads(__tstate);
7721 if (PyErr_Occurred()) SWIG_fail;
7722 }
7723 Py_INCREF(Py_None); resultobj = Py_None;
7724 return resultobj;
7725 fail:
7726 return NULL;
7727}
7728
7729
7730static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7731 PyObject *resultobj;
7732 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7733 wxColour result;
7734 PyObject * obj0 = 0 ;
7735 char *kwnames[] = {
7736 (char *) "self", NULL
7737 };
7738
7739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
7740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7741 {
7742 PyThreadState* __tstate = wxPyBeginAllowThreads();
7743 result = (arg1)->GetEdgeColour();
7744
7745 wxPyEndAllowThreads(__tstate);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
7748 {
7749 wxColour * resultptr;
7750 resultptr = new wxColour((wxColour &) result);
7751 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
7752 }
7753 return resultobj;
7754 fail:
7755 return NULL;
7756}
7757
7758
7759static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7760 PyObject *resultobj;
7761 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7762 wxColour *arg2 = 0 ;
7763 wxColour temp2 ;
7764 PyObject * obj0 = 0 ;
7765 PyObject * obj1 = 0 ;
7766 char *kwnames[] = {
7767 (char *) "self",(char *) "edgeColour", NULL
7768 };
7769
7770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
7771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7772 {
7773 arg2 = &temp2;
7774 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7775 }
7776 {
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 (arg1)->SetEdgeColour((wxColour const &)*arg2);
7779
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 Py_INCREF(Py_None); resultobj = Py_None;
7784 return resultobj;
7785 fail:
7786 return NULL;
7787}
7788
7789
7790static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
7791 PyObject *resultobj;
7792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7793 PyObject * obj0 = 0 ;
7794 char *kwnames[] = {
7795 (char *) "self", NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
7799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 (arg1)->SearchAnchor();
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 Py_INCREF(Py_None); resultobj = Py_None;
7808 return resultobj;
7809 fail:
7810 return NULL;
7811}
7812
7813
7814static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj;
7816 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7817 int arg2 ;
7818 wxString *arg3 = 0 ;
7819 int result;
e811c8ce 7820 bool temp3 = False ;
d14a1e28
RD
7821 PyObject * obj0 = 0 ;
7822 PyObject * obj2 = 0 ;
7823 char *kwnames[] = {
7824 (char *) "self",(char *) "flags",(char *) "text", NULL
7825 };
7826
7827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SearchNext",kwnames,&obj0,&arg2,&obj2)) goto fail;
7828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7829 {
7830 arg3 = wxString_in_helper(obj2);
7831 if (arg3 == NULL) SWIG_fail;
e811c8ce 7832 temp3 = True;
d14a1e28
RD
7833 }
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 resultobj = PyInt_FromLong((long)result);
7842 {
7843 if (temp3)
7844 delete arg3;
7845 }
7846 return resultobj;
7847 fail:
7848 {
7849 if (temp3)
7850 delete arg3;
7851 }
7852 return NULL;
7853}
7854
7855
7856static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
7857 PyObject *resultobj;
7858 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7859 int arg2 ;
7860 wxString *arg3 = 0 ;
7861 int result;
e811c8ce 7862 bool temp3 = False ;
d14a1e28
RD
7863 PyObject * obj0 = 0 ;
7864 PyObject * obj2 = 0 ;
7865 char *kwnames[] = {
7866 (char *) "self",(char *) "flags",(char *) "text", NULL
7867 };
7868
7869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&arg2,&obj2)) goto fail;
7870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7871 {
7872 arg3 = wxString_in_helper(obj2);
7873 if (arg3 == NULL) SWIG_fail;
e811c8ce 7874 temp3 = True;
d14a1e28
RD
7875 }
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 resultobj = PyInt_FromLong((long)result);
7884 {
7885 if (temp3)
7886 delete arg3;
7887 }
7888 return resultobj;
7889 fail:
7890 {
7891 if (temp3)
7892 delete arg3;
7893 }
7894 return NULL;
7895}
7896
7897
7898static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
7899 PyObject *resultobj;
7900 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7901 int result;
7902 PyObject * obj0 = 0 ;
7903 char *kwnames[] = {
7904 (char *) "self", NULL
7905 };
7906
7907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
7908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 result = (int)(arg1)->LinesOnScreen();
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 resultobj = PyInt_FromLong((long)result);
7917 return resultobj;
7918 fail:
7919 return NULL;
7920}
7921
7922
7923static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7926 bool arg2 ;
7927 PyObject * obj0 = 0 ;
7928 PyObject * obj1 = 0 ;
7929 char *kwnames[] = {
7930 (char *) "self",(char *) "allowPopUp", NULL
7931 };
7932
7933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
7934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7935 arg2 = PyInt_AsLong(obj1) ? true : false;
7936 if (PyErr_Occurred()) SWIG_fail;
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 (arg1)->UsePopUp(arg2);
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 Py_INCREF(Py_None); resultobj = Py_None;
7945 return resultobj;
7946 fail:
7947 return NULL;
7948}
7949
7950
7951static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj;
7953 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7954 bool result;
7955 PyObject * obj0 = 0 ;
7956 char *kwnames[] = {
7957 (char *) "self", NULL
7958 };
7959
7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
7961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 result = (bool)(arg1)->SelectionIsRectangle();
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 resultobj = PyInt_FromLong((long)result);
7970 return resultobj;
7971 fail:
7972 return NULL;
7973}
7974
7975
7976static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj;
7978 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7979 int arg2 ;
7980 PyObject * obj0 = 0 ;
7981 char *kwnames[] = {
7982 (char *) "self",(char *) "zoom", NULL
7983 };
7984
7985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetZoom",kwnames,&obj0,&arg2)) goto fail;
7986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7987 {
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 (arg1)->SetZoom(arg2);
7990
7991 wxPyEndAllowThreads(__tstate);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 }
7994 Py_INCREF(Py_None); resultobj = Py_None;
7995 return resultobj;
7996 fail:
7997 return NULL;
7998}
7999
8000
8001static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
8002 PyObject *resultobj;
8003 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8004 int result;
8005 PyObject * obj0 = 0 ;
8006 char *kwnames[] = {
8007 (char *) "self", NULL
8008 };
8009
8010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
8011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8012 {
8013 PyThreadState* __tstate = wxPyBeginAllowThreads();
8014 result = (int)(arg1)->GetZoom();
8015
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
8019 resultobj = PyInt_FromLong((long)result);
8020 return resultobj;
8021 fail:
8022 return NULL;
8023}
8024
8025
8026static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
8027 PyObject *resultobj;
8028 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8029 void *result;
8030 PyObject * obj0 = 0 ;
8031 char *kwnames[] = {
8032 (char *) "self", NULL
8033 };
8034
8035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
8036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8037 {
8038 PyThreadState* __tstate = wxPyBeginAllowThreads();
8039 result = (void *)(arg1)->CreateDocument();
8040
8041 wxPyEndAllowThreads(__tstate);
8042 if (PyErr_Occurred()) SWIG_fail;
8043 }
8044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
8045 return resultobj;
8046 fail:
8047 return NULL;
8048}
8049
8050
8051static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
8052 PyObject *resultobj;
8053 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8054 void *arg2 = (void *) 0 ;
8055 PyObject * obj0 = 0 ;
8056 PyObject * obj1 = 0 ;
8057 char *kwnames[] = {
8058 (char *) "self",(char *) "docPointer", NULL
8059 };
8060
8061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
8062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8063 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 (arg1)->AddRefDocument(arg2);
8067
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 Py_INCREF(Py_None); resultobj = Py_None;
8072 return resultobj;
8073 fail:
8074 return NULL;
8075}
8076
8077
8078static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj;
8080 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8081 void *arg2 = (void *) 0 ;
8082 PyObject * obj0 = 0 ;
8083 PyObject * obj1 = 0 ;
8084 char *kwnames[] = {
8085 (char *) "self",(char *) "docPointer", NULL
8086 };
8087
8088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
8089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 (arg1)->ReleaseDocument(arg2);
8094
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 Py_INCREF(Py_None); resultobj = Py_None;
8099 return resultobj;
8100 fail:
8101 return NULL;
8102}
8103
8104
8105static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj;
8107 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8108 int result;
8109 PyObject * obj0 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
8115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8116 {
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 result = (int)(arg1)->GetModEventMask();
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
8123 resultobj = PyInt_FromLong((long)result);
8124 return resultobj;
8125 fail:
8126 return NULL;
8127}
8128
8129
8130static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8131 PyObject *resultobj;
8132 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8133 bool arg2 ;
8134 PyObject * obj0 = 0 ;
8135 PyObject * obj1 = 0 ;
8136 char *kwnames[] = {
8137 (char *) "self",(char *) "focus", NULL
8138 };
8139
8140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
8141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8142 arg2 = PyInt_AsLong(obj1) ? true : false;
8143 if (PyErr_Occurred()) SWIG_fail;
8144 {
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 (arg1)->SetSTCFocus(arg2);
8147
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 Py_INCREF(Py_None); resultobj = Py_None;
8152 return resultobj;
8153 fail:
8154 return NULL;
8155}
8156
8157
8158static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8159 PyObject *resultobj;
8160 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8161 bool result;
8162 PyObject * obj0 = 0 ;
8163 char *kwnames[] = {
8164 (char *) "self", NULL
8165 };
8166
8167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
8168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 result = (bool)(arg1)->GetSTCFocus();
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 resultobj = PyInt_FromLong((long)result);
8177 return resultobj;
8178 fail:
8179 return NULL;
8180}
8181
8182
8183static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8184 PyObject *resultobj;
8185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8186 int arg2 ;
8187 PyObject * obj0 = 0 ;
8188 char *kwnames[] = {
8189 (char *) "self",(char *) "statusCode", NULL
8190 };
8191
8192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetStatus",kwnames,&obj0,&arg2)) goto fail;
8193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8194 {
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
8196 (arg1)->SetStatus(arg2);
8197
8198 wxPyEndAllowThreads(__tstate);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 Py_INCREF(Py_None); resultobj = Py_None;
8202 return resultobj;
8203 fail:
8204 return NULL;
8205}
8206
8207
8208static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj;
8210 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8211 int result;
8212 PyObject * obj0 = 0 ;
8213 char *kwnames[] = {
8214 (char *) "self", NULL
8215 };
8216
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
8218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 result = (int)(arg1)->GetStatus();
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
8226 resultobj = PyInt_FromLong((long)result);
8227 return resultobj;
8228 fail:
8229 return NULL;
8230}
8231
8232
8233static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
8234 PyObject *resultobj;
8235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8236 bool arg2 ;
8237 PyObject * obj0 = 0 ;
8238 PyObject * obj1 = 0 ;
8239 char *kwnames[] = {
8240 (char *) "self",(char *) "captures", NULL
8241 };
8242
8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
8244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8245 arg2 = PyInt_AsLong(obj1) ? true : false;
8246 if (PyErr_Occurred()) SWIG_fail;
8247 {
8248 PyThreadState* __tstate = wxPyBeginAllowThreads();
8249 (arg1)->SetMouseDownCaptures(arg2);
8250
8251 wxPyEndAllowThreads(__tstate);
8252 if (PyErr_Occurred()) SWIG_fail;
8253 }
8254 Py_INCREF(Py_None); resultobj = Py_None;
8255 return resultobj;
8256 fail:
8257 return NULL;
8258}
8259
8260
8261static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
8262 PyObject *resultobj;
8263 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8264 bool result;
8265 PyObject * obj0 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
8271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8272 {
8273 PyThreadState* __tstate = wxPyBeginAllowThreads();
8274 result = (bool)(arg1)->GetMouseDownCaptures();
8275
8276 wxPyEndAllowThreads(__tstate);
8277 if (PyErr_Occurred()) SWIG_fail;
8278 }
8279 resultobj = PyInt_FromLong((long)result);
8280 return resultobj;
8281 fail:
8282 return NULL;
8283}
8284
8285
8286static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8287 PyObject *resultobj;
8288 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8289 int arg2 ;
8290 PyObject * obj0 = 0 ;
8291 char *kwnames[] = {
8292 (char *) "self",(char *) "cursorType", NULL
8293 };
8294
8295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&arg2)) goto fail;
8296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8297 {
8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
8299 (arg1)->SetSTCCursor(arg2);
8300
8301 wxPyEndAllowThreads(__tstate);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 }
8304 Py_INCREF(Py_None); resultobj = Py_None;
8305 return resultobj;
8306 fail:
8307 return NULL;
8308}
8309
8310
8311static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8312 PyObject *resultobj;
8313 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8314 int result;
8315 PyObject * obj0 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "self", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
8321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8322 {
8323 PyThreadState* __tstate = wxPyBeginAllowThreads();
8324 result = (int)(arg1)->GetSTCCursor();
8325
8326 wxPyEndAllowThreads(__tstate);
8327 if (PyErr_Occurred()) SWIG_fail;
8328 }
8329 resultobj = PyInt_FromLong((long)result);
8330 return resultobj;
8331 fail:
8332 return NULL;
8333}
8334
8335
8336static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
8337 PyObject *resultobj;
8338 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8339 int arg2 ;
8340 PyObject * obj0 = 0 ;
8341 char *kwnames[] = {
8342 (char *) "self",(char *) "symbol", NULL
8343 };
8344
8345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&arg2)) goto fail;
8346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8347 {
8348 PyThreadState* __tstate = wxPyBeginAllowThreads();
8349 (arg1)->SetControlCharSymbol(arg2);
8350
8351 wxPyEndAllowThreads(__tstate);
8352 if (PyErr_Occurred()) SWIG_fail;
8353 }
8354 Py_INCREF(Py_None); resultobj = Py_None;
8355 return resultobj;
8356 fail:
8357 return NULL;
8358}
8359
8360
8361static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
8362 PyObject *resultobj;
8363 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8364 int result;
8365 PyObject * obj0 = 0 ;
8366 char *kwnames[] = {
8367 (char *) "self", NULL
8368 };
8369
8370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
8371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 result = (int)(arg1)->GetControlCharSymbol();
8375
8376 wxPyEndAllowThreads(__tstate);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 }
8379 resultobj = PyInt_FromLong((long)result);
8380 return resultobj;
8381 fail:
8382 return NULL;
8383}
8384
8385
8386static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8387 PyObject *resultobj;
8388 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8389 PyObject * obj0 = 0 ;
8390 char *kwnames[] = {
8391 (char *) "self", NULL
8392 };
8393
8394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
8395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8396 {
8397 PyThreadState* __tstate = wxPyBeginAllowThreads();
8398 (arg1)->WordPartLeft();
8399
8400 wxPyEndAllowThreads(__tstate);
8401 if (PyErr_Occurred()) SWIG_fail;
8402 }
8403 Py_INCREF(Py_None); resultobj = Py_None;
8404 return resultobj;
8405 fail:
8406 return NULL;
8407}
8408
8409
8410static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8411 PyObject *resultobj;
8412 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8413 PyObject * obj0 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
8419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 (arg1)->WordPartLeftExtend();
8423
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 Py_INCREF(Py_None); resultobj = Py_None;
8428 return resultobj;
8429 fail:
8430 return NULL;
8431}
8432
8433
8434static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj;
8436 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8437 PyObject * obj0 = 0 ;
8438 char *kwnames[] = {
8439 (char *) "self", NULL
8440 };
8441
8442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
8443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 (arg1)->WordPartRight();
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 Py_INCREF(Py_None); resultobj = Py_None;
8452 return resultobj;
8453 fail:
8454 return NULL;
8455}
8456
8457
8458static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8459 PyObject *resultobj;
8460 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8461 PyObject * obj0 = 0 ;
8462 char *kwnames[] = {
8463 (char *) "self", NULL
8464 };
8465
8466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
8467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 (arg1)->WordPartRightExtend();
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 Py_INCREF(Py_None); resultobj = Py_None;
8476 return resultobj;
8477 fail:
8478 return NULL;
8479}
8480
8481
8482static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8483 PyObject *resultobj;
8484 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8485 int arg2 ;
8486 int arg3 ;
8487 PyObject * obj0 = 0 ;
8488 char *kwnames[] = {
8489 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
8490 };
8491
8492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&arg2,&arg3)) goto fail;
8493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 (arg1)->SetVisiblePolicy(arg2,arg3);
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 Py_INCREF(Py_None); resultobj = Py_None;
8502 return resultobj;
8503 fail:
8504 return NULL;
8505}
8506
8507
8508static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8511 PyObject * obj0 = 0 ;
8512 char *kwnames[] = {
8513 (char *) "self", NULL
8514 };
8515
8516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
8517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 (arg1)->DelLineLeft();
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 Py_INCREF(Py_None); resultobj = Py_None;
8526 return resultobj;
8527 fail:
8528 return NULL;
8529}
8530
8531
8532static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8533 PyObject *resultobj;
8534 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8535 PyObject * obj0 = 0 ;
8536 char *kwnames[] = {
8537 (char *) "self", NULL
8538 };
8539
8540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
8541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8542 {
8543 PyThreadState* __tstate = wxPyBeginAllowThreads();
8544 (arg1)->DelLineRight();
8545
8546 wxPyEndAllowThreads(__tstate);
8547 if (PyErr_Occurred()) SWIG_fail;
8548 }
8549 Py_INCREF(Py_None); resultobj = Py_None;
8550 return resultobj;
8551 fail:
8552 return NULL;
8553}
8554
8555
8556static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
8557 PyObject *resultobj;
8558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8559 int arg2 ;
8560 PyObject * obj0 = 0 ;
8561 char *kwnames[] = {
8562 (char *) "self",(char *) "newOffset", NULL
8563 };
8564
8565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetXOffset",kwnames,&obj0,&arg2)) goto fail;
8566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 (arg1)->SetXOffset(arg2);
8570
8571 wxPyEndAllowThreads(__tstate);
8572 if (PyErr_Occurred()) SWIG_fail;
8573 }
8574 Py_INCREF(Py_None); resultobj = Py_None;
8575 return resultobj;
8576 fail:
8577 return NULL;
8578}
8579
8580
8581static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
8582 PyObject *resultobj;
8583 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8584 int result;
8585 PyObject * obj0 = 0 ;
8586 char *kwnames[] = {
8587 (char *) "self", NULL
8588 };
8589
8590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
8591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8592 {
8593 PyThreadState* __tstate = wxPyBeginAllowThreads();
8594 result = (int)(arg1)->GetXOffset();
8595
8596 wxPyEndAllowThreads(__tstate);
8597 if (PyErr_Occurred()) SWIG_fail;
8598 }
8599 resultobj = PyInt_FromLong((long)result);
8600 return resultobj;
8601 fail:
8602 return NULL;
8603}
8604
8605
8606static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
8607 PyObject *resultobj;
8608 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8609 PyObject * obj0 = 0 ;
8610 char *kwnames[] = {
8611 (char *) "self", NULL
8612 };
8613
8614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
8615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8616 {
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 (arg1)->ChooseCaretX();
8619
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 }
8623 Py_INCREF(Py_None); resultobj = Py_None;
8624 return resultobj;
8625 fail:
8626 return NULL;
8627}
8628
8629
8630static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8631 PyObject *resultobj;
8632 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8633 int arg2 ;
8634 int arg3 ;
8635 PyObject * obj0 = 0 ;
8636 char *kwnames[] = {
8637 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
8638 };
8639
8640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&arg2,&arg3)) goto fail;
8641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8642 {
8643 PyThreadState* __tstate = wxPyBeginAllowThreads();
8644 (arg1)->SetXCaretPolicy(arg2,arg3);
8645
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 Py_INCREF(Py_None); resultobj = Py_None;
8650 return resultobj;
8651 fail:
8652 return NULL;
8653}
8654
8655
8656static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8657 PyObject *resultobj;
8658 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8659 int arg2 ;
8660 int arg3 ;
8661 PyObject * obj0 = 0 ;
8662 char *kwnames[] = {
8663 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
8664 };
8665
8666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&arg2,&arg3)) goto fail;
8667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8668 {
8669 PyThreadState* __tstate = wxPyBeginAllowThreads();
8670 (arg1)->SetYCaretPolicy(arg2,arg3);
8671
8672 wxPyEndAllowThreads(__tstate);
8673 if (PyErr_Occurred()) SWIG_fail;
8674 }
8675 Py_INCREF(Py_None); resultobj = Py_None;
8676 return resultobj;
8677 fail:
8678 return NULL;
8679}
8680
8681
8682static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8683 PyObject *resultobj;
8684 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8685 int arg2 ;
8686 PyObject * obj0 = 0 ;
8687 char *kwnames[] = {
8688 (char *) "self",(char *) "mode", NULL
8689 };
8690
8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&arg2)) goto fail;
8692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 (arg1)->SetPrintWrapMode(arg2);
8696
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 Py_INCREF(Py_None); resultobj = Py_None;
8701 return resultobj;
8702 fail:
8703 return NULL;
8704}
8705
8706
8707static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8708 PyObject *resultobj;
8709 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8710 int result;
8711 PyObject * obj0 = 0 ;
8712 char *kwnames[] = {
8713 (char *) "self", NULL
8714 };
8715
8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
8717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 result = (int)(arg1)->GetPrintWrapMode();
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 resultobj = PyInt_FromLong((long)result);
8726 return resultobj;
8727 fail:
8728 return NULL;
8729}
8730
8731
8732static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj;
8734 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8735 bool arg2 ;
8736 wxColour *arg3 = 0 ;
8737 wxColour temp3 ;
8738 PyObject * obj0 = 0 ;
8739 PyObject * obj1 = 0 ;
8740 PyObject * obj2 = 0 ;
8741 char *kwnames[] = {
8742 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8743 };
8744
8745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
8746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8747 arg2 = PyInt_AsLong(obj1) ? true : false;
8748 if (PyErr_Occurred()) SWIG_fail;
8749 {
8750 arg3 = &temp3;
8751 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8752 }
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
8756
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 Py_INCREF(Py_None); resultobj = Py_None;
8761 return resultobj;
8762 fail:
8763 return NULL;
8764}
8765
8766
8767static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8768 PyObject *resultobj;
8769 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8770 bool arg2 ;
8771 wxColour *arg3 = 0 ;
8772 wxColour temp3 ;
8773 PyObject * obj0 = 0 ;
8774 PyObject * obj1 = 0 ;
8775 PyObject * obj2 = 0 ;
8776 char *kwnames[] = {
8777 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8778 };
8779
8780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
8781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8782 arg2 = PyInt_AsLong(obj1) ? true : false;
8783 if (PyErr_Occurred()) SWIG_fail;
8784 {
8785 arg3 = &temp3;
8786 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8787 }
8788 {
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
8791
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 Py_INCREF(Py_None); resultobj = Py_None;
8796 return resultobj;
8797 fail:
8798 return NULL;
8799}
8800
8801
8802static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
8803 PyObject *resultobj;
8804 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8805 bool arg2 ;
8806 PyObject * obj0 = 0 ;
8807 PyObject * obj1 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "self",(char *) "underline", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
8813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8814 arg2 = PyInt_AsLong(obj1) ? true : false;
8815 if (PyErr_Occurred()) SWIG_fail;
8816 {
8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
8818 (arg1)->SetHotspotActiveUnderline(arg2);
8819
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 Py_INCREF(Py_None); resultobj = Py_None;
8824 return resultobj;
8825 fail:
8826 return NULL;
8827}
8828
8829
8830static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
8831 PyObject *resultobj;
8832 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8833 int arg2 ;
8834 int result;
8835 PyObject * obj0 = 0 ;
8836 char *kwnames[] = {
8837 (char *) "self",(char *) "pos", NULL
8838 };
8839
8840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionBefore",kwnames,&obj0,&arg2)) goto fail;
8841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8842 {
8843 PyThreadState* __tstate = wxPyBeginAllowThreads();
8844 result = (int)(arg1)->PositionBefore(arg2);
8845
8846 wxPyEndAllowThreads(__tstate);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 resultobj = PyInt_FromLong((long)result);
8850 return resultobj;
8851 fail:
8852 return NULL;
8853}
8854
8855
8856static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) {
8857 PyObject *resultobj;
8858 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8859 int arg2 ;
8860 int result;
8861 PyObject * obj0 = 0 ;
8862 char *kwnames[] = {
8863 (char *) "self",(char *) "pos", NULL
8864 };
8865
8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionAfter",kwnames,&obj0,&arg2)) goto fail;
8867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8868 {
8869 PyThreadState* __tstate = wxPyBeginAllowThreads();
8870 result = (int)(arg1)->PositionAfter(arg2);
8871
8872 wxPyEndAllowThreads(__tstate);
8873 if (PyErr_Occurred()) SWIG_fail;
8874 }
8875 resultobj = PyInt_FromLong((long)result);
8876 return resultobj;
8877 fail:
8878 return NULL;
8879}
8880
8881
8882static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8883 PyObject *resultobj;
8884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8885 int arg2 ;
8886 int arg3 ;
8887 PyObject * obj0 = 0 ;
8888 char *kwnames[] = {
8889 (char *) "self",(char *) "start",(char *) "end", NULL
8890 };
8891
8892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CopyRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 (arg1)->CopyRange(arg2,arg3);
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 Py_INCREF(Py_None); resultobj = Py_None;
8902 return resultobj;
8903 fail:
8904 return NULL;
8905}
8906
8907
8908static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) {
8909 PyObject *resultobj;
8910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8911 int arg2 ;
8912 wxString *arg3 = 0 ;
e811c8ce 8913 bool temp3 = False ;
d14a1e28
RD
8914 PyObject * obj0 = 0 ;
8915 PyObject * obj2 = 0 ;
8916 char *kwnames[] = {
8917 (char *) "self",(char *) "length",(char *) "text", NULL
8918 };
8919
8920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_CopyText",kwnames,&obj0,&arg2,&obj2)) goto fail;
8921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8922 {
8923 arg3 = wxString_in_helper(obj2);
8924 if (arg3 == NULL) SWIG_fail;
e811c8ce 8925 temp3 = True;
d14a1e28
RD
8926 }
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 (arg1)->CopyText(arg2,(wxString const &)*arg3);
8930
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 Py_INCREF(Py_None); resultobj = Py_None;
8935 {
8936 if (temp3)
8937 delete arg3;
8938 }
8939 return resultobj;
8940 fail:
8941 {
8942 if (temp3)
8943 delete arg3;
8944 }
8945 return NULL;
8946}
8947
8948
8949static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8952 PyObject * obj0 = 0 ;
8953 char *kwnames[] = {
8954 (char *) "self", NULL
8955 };
8956
8957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
8958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 (arg1)->StartRecord();
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 Py_INCREF(Py_None); resultobj = Py_None;
8967 return resultobj;
8968 fail:
8969 return NULL;
8970}
8971
8972
8973static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8976 PyObject * obj0 = 0 ;
8977 char *kwnames[] = {
8978 (char *) "self", NULL
8979 };
8980
8981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
8982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8983 {
8984 PyThreadState* __tstate = wxPyBeginAllowThreads();
8985 (arg1)->StopRecord();
8986
8987 wxPyEndAllowThreads(__tstate);
8988 if (PyErr_Occurred()) SWIG_fail;
8989 }
8990 Py_INCREF(Py_None); resultobj = Py_None;
8991 return resultobj;
8992 fail:
8993 return NULL;
8994}
8995
8996
8997static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
8998 PyObject *resultobj;
8999 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9000 int arg2 ;
9001 PyObject * obj0 = 0 ;
9002 char *kwnames[] = {
9003 (char *) "self",(char *) "lexer", NULL
9004 };
9005
9006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetLexer",kwnames,&obj0,&arg2)) goto fail;
9007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 (arg1)->SetLexer(arg2);
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 Py_INCREF(Py_None); resultobj = Py_None;
9016 return resultobj;
9017 fail:
9018 return NULL;
9019}
9020
9021
9022static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj;
9024 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9025 int result;
9026 PyObject * obj0 = 0 ;
9027 char *kwnames[] = {
9028 (char *) "self", NULL
9029 };
9030
9031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
9032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9033 {
9034 PyThreadState* __tstate = wxPyBeginAllowThreads();
9035 result = (int)(arg1)->GetLexer();
9036
9037 wxPyEndAllowThreads(__tstate);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 }
9040 resultobj = PyInt_FromLong((long)result);
9041 return resultobj;
9042 fail:
9043 return NULL;
9044}
9045
9046
9047static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj;
9049 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9050 int arg2 ;
9051 int arg3 ;
9052 PyObject * obj0 = 0 ;
9053 char *kwnames[] = {
9054 (char *) "self",(char *) "start",(char *) "end", NULL
9055 };
9056
9057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_Colourise",kwnames,&obj0,&arg2,&arg3)) goto fail;
9058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 (arg1)->Colourise(arg2,arg3);
9062
9063 wxPyEndAllowThreads(__tstate);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 }
9066 Py_INCREF(Py_None); resultobj = Py_None;
9067 return resultobj;
9068 fail:
9069 return NULL;
9070}
9071
9072
9073static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
9074 PyObject *resultobj;
9075 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9076 wxString *arg2 = 0 ;
9077 wxString *arg3 = 0 ;
e811c8ce
RD
9078 bool temp2 = False ;
9079 bool temp3 = False ;
d14a1e28
RD
9080 PyObject * obj0 = 0 ;
9081 PyObject * obj1 = 0 ;
9082 PyObject * obj2 = 0 ;
9083 char *kwnames[] = {
9084 (char *) "self",(char *) "key",(char *) "value", NULL
9085 };
9086
9087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
9088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9089 {
9090 arg2 = wxString_in_helper(obj1);
9091 if (arg2 == NULL) SWIG_fail;
e811c8ce 9092 temp2 = True;
d14a1e28
RD
9093 }
9094 {
9095 arg3 = wxString_in_helper(obj2);
9096 if (arg3 == NULL) SWIG_fail;
e811c8ce 9097 temp3 = True;
d14a1e28
RD
9098 }
9099 {
9100 PyThreadState* __tstate = wxPyBeginAllowThreads();
9101 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
9102
9103 wxPyEndAllowThreads(__tstate);
9104 if (PyErr_Occurred()) SWIG_fail;
9105 }
9106 Py_INCREF(Py_None); resultobj = Py_None;
9107 {
9108 if (temp2)
9109 delete arg2;
9110 }
9111 {
9112 if (temp3)
9113 delete arg3;
9114 }
9115 return resultobj;
9116 fail:
9117 {
9118 if (temp2)
9119 delete arg2;
9120 }
9121 {
9122 if (temp3)
9123 delete arg3;
9124 }
9125 return NULL;
9126}
9127
9128
9129static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
9130 PyObject *resultobj;
9131 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9132 int arg2 ;
9133 wxString *arg3 = 0 ;
e811c8ce 9134 bool temp3 = False ;
d14a1e28
RD
9135 PyObject * obj0 = 0 ;
9136 PyObject * obj2 = 0 ;
9137 char *kwnames[] = {
9138 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
9139 };
9140
9141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&arg2,&obj2)) goto fail;
9142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9143 {
9144 arg3 = wxString_in_helper(obj2);
9145 if (arg3 == NULL) SWIG_fail;
e811c8ce 9146 temp3 = True;
d14a1e28
RD
9147 }
9148 {
9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
9150 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
9151
9152 wxPyEndAllowThreads(__tstate);
9153 if (PyErr_Occurred()) SWIG_fail;
9154 }
9155 Py_INCREF(Py_None); resultobj = Py_None;
9156 {
9157 if (temp3)
9158 delete arg3;
9159 }
9160 return resultobj;
9161 fail:
9162 {
9163 if (temp3)
9164 delete arg3;
9165 }
9166 return NULL;
9167}
9168
9169
9170static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj;
9172 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9173 wxString *arg2 = 0 ;
e811c8ce 9174 bool temp2 = False ;
d14a1e28
RD
9175 PyObject * obj0 = 0 ;
9176 PyObject * obj1 = 0 ;
9177 char *kwnames[] = {
9178 (char *) "self",(char *) "language", NULL
9179 };
9180
9181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
9182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9183 {
9184 arg2 = wxString_in_helper(obj1);
9185 if (arg2 == NULL) SWIG_fail;
e811c8ce 9186 temp2 = True;
d14a1e28
RD
9187 }
9188 {
9189 PyThreadState* __tstate = wxPyBeginAllowThreads();
9190 (arg1)->SetLexerLanguage((wxString const &)*arg2);
9191
9192 wxPyEndAllowThreads(__tstate);
9193 if (PyErr_Occurred()) SWIG_fail;
9194 }
9195 Py_INCREF(Py_None); resultobj = Py_None;
9196 {
9197 if (temp2)
9198 delete arg2;
9199 }
9200 return resultobj;
9201 fail:
9202 {
9203 if (temp2)
9204 delete arg2;
9205 }
9206 return NULL;
9207}
9208
9209
9210static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9213 int result;
9214 PyObject * obj0 = 0 ;
9215 char *kwnames[] = {
9216 (char *) "self", NULL
9217 };
9218
9219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
9220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9221 {
9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
9223 result = (int)(arg1)->GetCurrentLine();
9224
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 resultobj = PyInt_FromLong((long)result);
9229 return resultobj;
9230 fail:
9231 return NULL;
9232}
9233
9234
9235static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
9236 PyObject *resultobj;
9237 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9238 int arg2 ;
9239 wxString *arg3 = 0 ;
e811c8ce 9240 bool temp3 = False ;
d14a1e28
RD
9241 PyObject * obj0 = 0 ;
9242 PyObject * obj2 = 0 ;
9243 char *kwnames[] = {
9244 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
9245 };
9246
9247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&arg2,&obj2)) goto fail;
9248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9249 {
9250 arg3 = wxString_in_helper(obj2);
9251 if (arg3 == NULL) SWIG_fail;
e811c8ce 9252 temp3 = True;
d14a1e28
RD
9253 }
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
9257
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 Py_INCREF(Py_None); resultobj = Py_None;
9262 {
9263 if (temp3)
9264 delete arg3;
9265 }
9266 return resultobj;
9267 fail:
9268 {
9269 if (temp3)
9270 delete arg3;
9271 }
9272 return NULL;
9273}
9274
9275
9276static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
9277 PyObject *resultobj;
9278 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9279 int arg2 ;
9280 wxFont *arg3 = 0 ;
9281 PyObject * obj0 = 0 ;
9282 PyObject * obj2 = 0 ;
9283 char *kwnames[] = {
9284 (char *) "self",(char *) "styleNum",(char *) "font", NULL
9285 };
9286
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&arg2,&obj2)) goto fail;
9288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9289 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9290 if (arg3 == NULL) {
9291 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9292 }
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 (arg1)->StyleSetFont(arg2,*arg3);
9296
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 Py_INCREF(Py_None); resultobj = Py_None;
9301 return resultobj;
9302 fail:
9303 return NULL;
9304}
9305
9306
9307static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
9308 PyObject *resultobj;
9309 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9310 int arg2 ;
9311 int arg3 ;
9312 wxString *arg4 = 0 ;
9313 bool arg5 ;
9314 bool arg6 ;
9315 bool arg7 ;
e811c8ce 9316 bool temp4 = False ;
d14a1e28
RD
9317 PyObject * obj0 = 0 ;
9318 PyObject * obj3 = 0 ;
9319 PyObject * obj4 = 0 ;
9320 PyObject * obj5 = 0 ;
9321 PyObject * obj6 = 0 ;
9322 char *kwnames[] = {
9323 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
9324 };
9325
9326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5,&obj6)) goto fail;
9327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9328 {
9329 arg4 = wxString_in_helper(obj3);
9330 if (arg4 == NULL) SWIG_fail;
e811c8ce 9331 temp4 = True;
d14a1e28
RD
9332 }
9333 arg5 = PyInt_AsLong(obj4) ? true : false;
9334 if (PyErr_Occurred()) SWIG_fail;
9335 arg6 = PyInt_AsLong(obj5) ? true : false;
9336 if (PyErr_Occurred()) SWIG_fail;
9337 arg7 = PyInt_AsLong(obj6) ? true : false;
9338 if (PyErr_Occurred()) SWIG_fail;
9339 {
9340 PyThreadState* __tstate = wxPyBeginAllowThreads();
9341 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9342
9343 wxPyEndAllowThreads(__tstate);
9344 if (PyErr_Occurred()) SWIG_fail;
9345 }
9346 Py_INCREF(Py_None); resultobj = Py_None;
9347 {
9348 if (temp4)
9349 delete arg4;
9350 }
9351 return resultobj;
9352 fail:
9353 {
9354 if (temp4)
9355 delete arg4;
9356 }
9357 return NULL;
9358}
9359
9360
9361static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
9362 PyObject *resultobj;
9363 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9364 int arg2 ;
9365 PyObject * obj0 = 0 ;
9366 char *kwnames[] = {
9367 (char *) "self",(char *) "cmd", NULL
9368 };
9369
9370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&arg2)) goto fail;
9371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
9374 (arg1)->CmdKeyExecute(arg2);
9375
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 Py_INCREF(Py_None); resultobj = Py_None;
9380 return resultobj;
9381 fail:
9382 return NULL;
9383}
9384
9385
9386static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9387 PyObject *resultobj;
9388 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9389 int arg2 ;
9390 int arg3 ;
9391 PyObject * obj0 = 0 ;
9392 char *kwnames[] = {
9393 (char *) "self",(char *) "left",(char *) "right", NULL
9394 };
9395
9396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
9397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9398 {
9399 PyThreadState* __tstate = wxPyBeginAllowThreads();
9400 (arg1)->SetMargins(arg2,arg3);
9401
9402 wxPyEndAllowThreads(__tstate);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 }
9405 Py_INCREF(Py_None); resultobj = Py_None;
9406 return resultobj;
9407 fail:
9408 return NULL;
9409}
9410
9411
9412static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9413 PyObject *resultobj;
9414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9415 int *arg2 = (int *) 0 ;
9416 int *arg3 = (int *) 0 ;
9417 int temp2 ;
9418 int temp3 ;
9419 PyObject * obj0 = 0 ;
9420 char *kwnames[] = {
9421 (char *) "self", NULL
9422 };
9423
9424 arg2 = &temp2;
9425 arg3 = &temp3;
9426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
9427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 (arg1)->GetSelection(arg2,arg3);
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 Py_INCREF(Py_None); resultobj = Py_None;
9436 {
9437 PyObject *o = PyInt_FromLong((long) (*arg2));
9438 resultobj = t_output_helper(resultobj,o);
9439 }
9440 {
9441 PyObject *o = PyInt_FromLong((long) (*arg3));
9442 resultobj = t_output_helper(resultobj,o);
9443 }
9444 return resultobj;
9445 fail:
9446 return NULL;
9447}
9448
9449
9450static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9453 int arg2 ;
9454 wxPoint result;
9455 PyObject * obj0 = 0 ;
9456 char *kwnames[] = {
9457 (char *) "self",(char *) "pos", NULL
9458 };
9459
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&arg2)) goto fail;
9461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9462 {
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 result = (arg1)->PointFromPosition(arg2);
9465
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 {
9470 wxPoint * resultptr;
9471 resultptr = new wxPoint((wxPoint &) result);
9472 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9473 }
9474 return resultobj;
9475 fail:
9476 return NULL;
9477}
9478
9479
9480static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9481 PyObject *resultobj;
9482 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9483 int arg2 ;
9484 PyObject * obj0 = 0 ;
9485 char *kwnames[] = {
9486 (char *) "self",(char *) "line", NULL
9487 };
9488
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&arg2)) goto fail;
9490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9491 {
9492 PyThreadState* __tstate = wxPyBeginAllowThreads();
9493 (arg1)->ScrollToLine(arg2);
9494
9495 wxPyEndAllowThreads(__tstate);
9496 if (PyErr_Occurred()) SWIG_fail;
9497 }
9498 Py_INCREF(Py_None); resultobj = Py_None;
9499 return resultobj;
9500 fail:
9501 return NULL;
9502}
9503
9504
9505static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
9506 PyObject *resultobj;
9507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9508 int arg2 ;
9509 PyObject * obj0 = 0 ;
9510 char *kwnames[] = {
9511 (char *) "self",(char *) "column", NULL
9512 };
9513
9514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&arg2)) goto fail;
9515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9516 {
9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
9518 (arg1)->ScrollToColumn(arg2);
9519
9520 wxPyEndAllowThreads(__tstate);
9521 if (PyErr_Occurred()) SWIG_fail;
9522 }
9523 Py_INCREF(Py_None); resultobj = Py_None;
9524 return resultobj;
9525 fail:
9526 return NULL;
9527}
9528
9529
9530static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
9531 PyObject *resultobj;
9532 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9533 int arg2 ;
9534 long arg3 = (long) 0 ;
9535 long arg4 = (long) 0 ;
9536 long result;
9537 PyObject * obj0 = 0 ;
9538 char *kwnames[] = {
9539 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
9540 };
9541
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ll:StyledTextCtrl_SendMsg",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9544 {
9545 PyThreadState* __tstate = wxPyBeginAllowThreads();
9546 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
9547
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 resultobj = PyInt_FromLong((long)result);
9552 return resultobj;
9553 fail:
9554 return NULL;
9555}
9556
9557
9558static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9559 PyObject *resultobj;
9560 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9561 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
9562 PyObject * obj0 = 0 ;
9563 PyObject * obj1 = 0 ;
9564 char *kwnames[] = {
9565 (char *) "self",(char *) "bar", NULL
9566 };
9567
9568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
9569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9570 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9571 {
9572 PyThreadState* __tstate = wxPyBeginAllowThreads();
9573 (arg1)->SetVScrollBar(arg2);
9574
9575 wxPyEndAllowThreads(__tstate);
9576 if (PyErr_Occurred()) SWIG_fail;
9577 }
9578 Py_INCREF(Py_None); resultobj = Py_None;
9579 return resultobj;
9580 fail:
9581 return NULL;
9582}
9583
9584
9585static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj;
9587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9588 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
9589 PyObject * obj0 = 0 ;
9590 PyObject * obj1 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self",(char *) "bar", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
9596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9597 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 (arg1)->SetHScrollBar(arg2);
9601
9602 wxPyEndAllowThreads(__tstate);
9603 if (PyErr_Occurred()) SWIG_fail;
9604 }
9605 Py_INCREF(Py_None); resultobj = Py_None;
9606 return resultobj;
9607 fail:
9608 return NULL;
9609}
9610
9611
9612static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
9613 PyObject *resultobj;
9614 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9615 bool result;
9616 PyObject * obj0 = 0 ;
9617 char *kwnames[] = {
9618 (char *) "self", NULL
9619 };
9620
9621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
9622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9623 {
9624 PyThreadState* __tstate = wxPyBeginAllowThreads();
9625 result = (bool)(arg1)->GetLastKeydownProcessed();
9626
9627 wxPyEndAllowThreads(__tstate);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 }
9630 resultobj = PyInt_FromLong((long)result);
9631 return resultobj;
9632 fail:
9633 return NULL;
9634}
9635
9636
9637static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
9638 PyObject *resultobj;
9639 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9640 bool arg2 ;
9641 PyObject * obj0 = 0 ;
9642 PyObject * obj1 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "self",(char *) "val", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
9648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9649 arg2 = PyInt_AsLong(obj1) ? true : false;
9650 if (PyErr_Occurred()) SWIG_fail;
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 (arg1)->SetLastKeydownProcessed(arg2);
9654
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 Py_INCREF(Py_None); resultobj = Py_None;
9659 return resultobj;
9660 fail:
9661 return NULL;
9662}
9663
9664
9665static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9666 PyObject *resultobj;
9667 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9668 wxString *arg2 = 0 ;
9669 bool result;
e811c8ce 9670 bool temp2 = False ;
d14a1e28
RD
9671 PyObject * obj0 = 0 ;
9672 PyObject * obj1 = 0 ;
9673 char *kwnames[] = {
9674 (char *) "self",(char *) "filename", NULL
9675 };
9676
9677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
9678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9679 {
9680 arg2 = wxString_in_helper(obj1);
9681 if (arg2 == NULL) SWIG_fail;
e811c8ce 9682 temp2 = True;
d14a1e28
RD
9683 }
9684 {
9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
9686 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
9687
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 resultobj = PyInt_FromLong((long)result);
9692 {
9693 if (temp2)
9694 delete arg2;
9695 }
9696 return resultobj;
9697 fail:
9698 {
9699 if (temp2)
9700 delete arg2;
9701 }
9702 return NULL;
9703}
9704
9705
9706static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9707 PyObject *resultobj;
9708 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9709 wxString *arg2 = 0 ;
9710 bool result;
e811c8ce 9711 bool temp2 = False ;
d14a1e28
RD
9712 PyObject * obj0 = 0 ;
9713 PyObject * obj1 = 0 ;
9714 char *kwnames[] = {
9715 (char *) "self",(char *) "filename", NULL
9716 };
9717
9718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
9719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9720 {
9721 arg2 = wxString_in_helper(obj1);
9722 if (arg2 == NULL) SWIG_fail;
e811c8ce 9723 temp2 = True;
d14a1e28
RD
9724 }
9725 {
9726 PyThreadState* __tstate = wxPyBeginAllowThreads();
9727 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
9728
9729 wxPyEndAllowThreads(__tstate);
9730 if (PyErr_Occurred()) SWIG_fail;
9731 }
9732 resultobj = PyInt_FromLong((long)result);
9733 {
9734 if (temp2)
9735 delete arg2;
9736 }
9737 return resultobj;
9738 fail:
9739 {
9740 if (temp2)
9741 delete arg2;
9742 }
9743 return NULL;
9744}
9745
9746
9747static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
9748 PyObject *resultobj;
9749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
e811c8ce
RD
9750 int arg2 ;
9751 int arg3 ;
d14a1e28
RD
9752 wxDragResult arg4 ;
9753 wxDragResult result;
9754 wxDragResult *argp4 ;
9755 PyObject * obj0 = 0 ;
9756 PyObject * obj3 = 0 ;
9757 char *kwnames[] = {
9758 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
9759 };
9760
9761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
9762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9763 if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
9764 arg4 = *argp4;
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 result = (arg1)->DoDragOver(arg2,arg3,arg4);
9768
9769 wxPyEndAllowThreads(__tstate);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
9772 {
9773 wxDragResult * resultptr;
9774 resultptr = new wxDragResult((wxDragResult &) result);
9775 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1);
9776 }
9777 return resultobj;
9778 fail:
9779 return NULL;
9780}
9781
9782
9783static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) {
9784 PyObject *resultobj;
9785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9786 long arg2 ;
9787 long arg3 ;
9788 wxString *arg4 = 0 ;
9789 bool result;
e811c8ce 9790 bool temp4 = False ;
d14a1e28
RD
9791 PyObject * obj0 = 0 ;
9792 PyObject * obj3 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
9795 };
9796
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:StyledTextCtrl_DoDropText",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
9798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9799 {
9800 arg4 = wxString_in_helper(obj3);
9801 if (arg4 == NULL) SWIG_fail;
e811c8ce 9802 temp4 = True;
d14a1e28
RD
9803 }
9804 {
9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
9806 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
9807
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) SWIG_fail;
9810 }
9811 resultobj = PyInt_FromLong((long)result);
9812 {
9813 if (temp4)
9814 delete arg4;
9815 }
9816 return resultobj;
9817 fail:
9818 {
9819 if (temp4)
9820 delete arg4;
9821 }
9822 return NULL;
9823}
9824
9825
9826static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) {
9827 PyObject *obj;
9828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9829 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
9830 Py_INCREF(obj);
9831 return Py_BuildValue((char *)"");
9832}
9833static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj;
9835 wxEventType arg1 = (wxEventType) 0 ;
9836 int arg2 = (int) 0 ;
9837 wxStyledTextEvent *result;
9838 char *kwnames[] = {
9839 (char *) "commandType",(char *) "id", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_StyledTextEvent",kwnames,&arg1,&arg2)) goto fail;
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
9846
9847 wxPyEndAllowThreads(__tstate);
9848 if (PyErr_Occurred()) SWIG_fail;
9849 }
9850 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextEvent, 1);
9851 return resultobj;
9852 fail:
9853 return NULL;
9854}
9855
9856
9857static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9858 PyObject *resultobj;
9859 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9860 PyObject * obj0 = 0 ;
9861 char *kwnames[] = {
9862 (char *) "self", NULL
9863 };
9864
9865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
9866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 delete arg1;
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 }
9874 Py_INCREF(Py_None); resultobj = Py_None;
9875 return resultobj;
9876 fail:
9877 return NULL;
9878}
9879
9880
9881static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9882 PyObject *resultobj;
9883 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9884 int arg2 ;
9885 PyObject * obj0 = 0 ;
9886 char *kwnames[] = {
9887 (char *) "self",(char *) "pos", NULL
9888 };
9889
9890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
9891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9892 {
9893 PyThreadState* __tstate = wxPyBeginAllowThreads();
9894 (arg1)->SetPosition(arg2);
9895
9896 wxPyEndAllowThreads(__tstate);
9897 if (PyErr_Occurred()) SWIG_fail;
9898 }
9899 Py_INCREF(Py_None); resultobj = Py_None;
9900 return resultobj;
9901 fail:
9902 return NULL;
9903}
9904
9905
9906static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
9907 PyObject *resultobj;
9908 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9909 int arg2 ;
9910 PyObject * obj0 = 0 ;
9911 char *kwnames[] = {
9912 (char *) "self",(char *) "k", NULL
9913 };
9914
9915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetKey",kwnames,&obj0,&arg2)) goto fail;
9916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 (arg1)->SetKey(arg2);
9920
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 Py_INCREF(Py_None); resultobj = Py_None;
9925 return resultobj;
9926 fail:
9927 return NULL;
9928}
9929
9930
9931static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
9932 PyObject *resultobj;
9933 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9934 int arg2 ;
9935 PyObject * obj0 = 0 ;
9936 char *kwnames[] = {
9937 (char *) "self",(char *) "m", NULL
9938 };
9939
9940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetModifiers",kwnames,&obj0,&arg2)) goto fail;
9941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9942 {
9943 PyThreadState* __tstate = wxPyBeginAllowThreads();
9944 (arg1)->SetModifiers(arg2);
9945
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 Py_INCREF(Py_None); resultobj = Py_None;
9950 return resultobj;
9951 fail:
9952 return NULL;
9953}
9954
9955
9956static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9959 int arg2 ;
9960 PyObject * obj0 = 0 ;
9961 char *kwnames[] = {
9962 (char *) "self",(char *) "t", NULL
9963 };
9964
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetModificationType",kwnames,&obj0,&arg2)) goto fail;
9966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 (arg1)->SetModificationType(arg2);
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 Py_INCREF(Py_None); resultobj = Py_None;
9975 return resultobj;
9976 fail:
9977 return NULL;
9978}
9979
9980
9981static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
9982 PyObject *resultobj;
9983 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
9984 wxString *arg2 = 0 ;
e811c8ce 9985 bool temp2 = False ;
d14a1e28
RD
9986 PyObject * obj0 = 0 ;
9987 PyObject * obj1 = 0 ;
9988 char *kwnames[] = {
9989 (char *) "self",(char *) "t", NULL
9990 };
9991
9992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
9993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9994 {
9995 arg2 = wxString_in_helper(obj1);
9996 if (arg2 == NULL) SWIG_fail;
e811c8ce 9997 temp2 = True;
d14a1e28
RD
9998 }
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 (arg1)->SetText((wxString const &)*arg2);
10002
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 }
10006 Py_INCREF(Py_None); resultobj = Py_None;
10007 {
10008 if (temp2)
10009 delete arg2;
10010 }
10011 return resultobj;
10012 fail:
10013 {
10014 if (temp2)
10015 delete arg2;
10016 }
10017 return NULL;
10018}
10019
10020
10021static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10022 PyObject *resultobj;
10023 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10024 int arg2 ;
10025 PyObject * obj0 = 0 ;
10026 char *kwnames[] = {
10027 (char *) "self",(char *) "len", NULL
10028 };
10029
10030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLength",kwnames,&obj0,&arg2)) goto fail;
10031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10032 {
10033 PyThreadState* __tstate = wxPyBeginAllowThreads();
10034 (arg1)->SetLength(arg2);
10035
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 }
10039 Py_INCREF(Py_None); resultobj = Py_None;
10040 return resultobj;
10041 fail:
10042 return NULL;
10043}
10044
10045
10046static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
10047 PyObject *resultobj;
10048 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10049 int arg2 ;
10050 PyObject * obj0 = 0 ;
10051 char *kwnames[] = {
10052 (char *) "self",(char *) "num", NULL
10053 };
10054
10055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&arg2)) goto fail;
10056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10057 {
10058 PyThreadState* __tstate = wxPyBeginAllowThreads();
10059 (arg1)->SetLinesAdded(arg2);
10060
10061 wxPyEndAllowThreads(__tstate);
10062 if (PyErr_Occurred()) SWIG_fail;
10063 }
10064 Py_INCREF(Py_None); resultobj = Py_None;
10065 return resultobj;
10066 fail:
10067 return NULL;
10068}
10069
10070
10071static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10072 PyObject *resultobj;
10073 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10074 int arg2 ;
10075 PyObject * obj0 = 0 ;
10076 char *kwnames[] = {
10077 (char *) "self",(char *) "val", NULL
10078 };
10079
10080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLine",kwnames,&obj0,&arg2)) goto fail;
10081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 (arg1)->SetLine(arg2);
10085
10086 wxPyEndAllowThreads(__tstate);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
10089 Py_INCREF(Py_None); resultobj = Py_None;
10090 return resultobj;
10091 fail:
10092 return NULL;
10093}
10094
10095
10096static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
10097 PyObject *resultobj;
10098 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10099 int arg2 ;
10100 PyObject * obj0 = 0 ;
10101 char *kwnames[] = {
10102 (char *) "self",(char *) "val", NULL
10103 };
10104
10105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&arg2)) goto fail;
10106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10107 {
10108 PyThreadState* __tstate = wxPyBeginAllowThreads();
10109 (arg1)->SetFoldLevelNow(arg2);
10110
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 Py_INCREF(Py_None); resultobj = Py_None;
10115 return resultobj;
10116 fail:
10117 return NULL;
10118}
10119
10120
10121static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj;
10123 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10124 int arg2 ;
10125 PyObject * obj0 = 0 ;
10126 char *kwnames[] = {
10127 (char *) "self",(char *) "val", NULL
10128 };
10129
10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&arg2)) goto fail;
10131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10132 {
10133 PyThreadState* __tstate = wxPyBeginAllowThreads();
10134 (arg1)->SetFoldLevelPrev(arg2);
10135
10136 wxPyEndAllowThreads(__tstate);
10137 if (PyErr_Occurred()) SWIG_fail;
10138 }
10139 Py_INCREF(Py_None); resultobj = Py_None;
10140 return resultobj;
10141 fail:
10142 return NULL;
10143}
10144
10145
10146static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
10147 PyObject *resultobj;
10148 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10149 int arg2 ;
10150 PyObject * obj0 = 0 ;
10151 char *kwnames[] = {
10152 (char *) "self",(char *) "val", NULL
10153 };
10154
10155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetMargin",kwnames,&obj0,&arg2)) goto fail;
10156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10157 {
10158 PyThreadState* __tstate = wxPyBeginAllowThreads();
10159 (arg1)->SetMargin(arg2);
10160
10161 wxPyEndAllowThreads(__tstate);
10162 if (PyErr_Occurred()) SWIG_fail;
10163 }
10164 Py_INCREF(Py_None); resultobj = Py_None;
10165 return resultobj;
10166 fail:
10167 return NULL;
10168}
10169
10170
10171static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10172 PyObject *resultobj;
10173 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10174 int arg2 ;
10175 PyObject * obj0 = 0 ;
10176 char *kwnames[] = {
10177 (char *) "self",(char *) "val", NULL
10178 };
10179
10180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetMessage",kwnames,&obj0,&arg2)) goto fail;
10181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 (arg1)->SetMessage(arg2);
10185
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 Py_INCREF(Py_None); resultobj = Py_None;
10190 return resultobj;
10191 fail:
10192 return NULL;
10193}
10194
10195
10196static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10197 PyObject *resultobj;
10198 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10199 int arg2 ;
10200 PyObject * obj0 = 0 ;
10201 char *kwnames[] = {
10202 (char *) "self",(char *) "val", NULL
10203 };
10204
10205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetWParam",kwnames,&obj0,&arg2)) goto fail;
10206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10207 {
10208 PyThreadState* __tstate = wxPyBeginAllowThreads();
10209 (arg1)->SetWParam(arg2);
10210
10211 wxPyEndAllowThreads(__tstate);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 }
10214 Py_INCREF(Py_None); resultobj = Py_None;
10215 return resultobj;
10216 fail:
10217 return NULL;
10218}
10219
10220
10221static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10222 PyObject *resultobj;
10223 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10224 int arg2 ;
10225 PyObject * obj0 = 0 ;
10226 char *kwnames[] = {
10227 (char *) "self",(char *) "val", NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLParam",kwnames,&obj0,&arg2)) goto fail;
10231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10232 {
10233 PyThreadState* __tstate = wxPyBeginAllowThreads();
10234 (arg1)->SetLParam(arg2);
10235
10236 wxPyEndAllowThreads(__tstate);
10237 if (PyErr_Occurred()) SWIG_fail;
10238 }
10239 Py_INCREF(Py_None); resultobj = Py_None;
10240 return resultobj;
10241 fail:
10242 return NULL;
10243}
10244
10245
10246static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
10247 PyObject *resultobj;
10248 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10249 int arg2 ;
10250 PyObject * obj0 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self",(char *) "val", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetListType",kwnames,&obj0,&arg2)) goto fail;
10256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10257 {
10258 PyThreadState* __tstate = wxPyBeginAllowThreads();
10259 (arg1)->SetListType(arg2);
10260
10261 wxPyEndAllowThreads(__tstate);
10262 if (PyErr_Occurred()) SWIG_fail;
10263 }
10264 Py_INCREF(Py_None); resultobj = Py_None;
10265 return resultobj;
10266 fail:
10267 return NULL;
10268}
10269
10270
10271static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
10272 PyObject *resultobj;
10273 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10274 int arg2 ;
10275 PyObject * obj0 = 0 ;
10276 char *kwnames[] = {
10277 (char *) "self",(char *) "val", NULL
10278 };
10279
10280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetX",kwnames,&obj0,&arg2)) goto fail;
10281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 (arg1)->SetX(arg2);
10285
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 Py_INCREF(Py_None); resultobj = Py_None;
10290 return resultobj;
10291 fail:
10292 return NULL;
10293}
10294
10295
10296static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject *resultobj;
10298 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10299 int arg2 ;
10300 PyObject * obj0 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self",(char *) "val", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetY",kwnames,&obj0,&arg2)) goto fail;
10306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10307 {
10308 PyThreadState* __tstate = wxPyBeginAllowThreads();
10309 (arg1)->SetY(arg2);
10310
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 Py_INCREF(Py_None); resultobj = Py_None;
10315 return resultobj;
10316 fail:
10317 return NULL;
10318}
10319
10320
10321static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
10322 PyObject *resultobj;
10323 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10324 wxString *arg2 = 0 ;
e811c8ce 10325 bool temp2 = False ;
d14a1e28
RD
10326 PyObject * obj0 = 0 ;
10327 PyObject * obj1 = 0 ;
10328 char *kwnames[] = {
10329 (char *) "self",(char *) "val", NULL
10330 };
10331
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
10333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10334 {
10335 arg2 = wxString_in_helper(obj1);
10336 if (arg2 == NULL) SWIG_fail;
e811c8ce 10337 temp2 = True;
d14a1e28
RD
10338 }
10339 {
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
10341 (arg1)->SetDragText((wxString const &)*arg2);
10342
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 }
10346 Py_INCREF(Py_None); resultobj = Py_None;
10347 {
10348 if (temp2)
10349 delete arg2;
10350 }
10351 return resultobj;
10352 fail:
10353 {
10354 if (temp2)
10355 delete arg2;
10356 }
10357 return NULL;
10358}
10359
10360
10361static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10362 PyObject *resultobj;
10363 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10364 bool arg2 ;
10365 PyObject * obj0 = 0 ;
10366 PyObject * obj1 = 0 ;
10367 char *kwnames[] = {
10368 (char *) "self",(char *) "val", NULL
10369 };
10370
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
10372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10373 arg2 = PyInt_AsLong(obj1) ? true : false;
10374 if (PyErr_Occurred()) SWIG_fail;
10375 {
10376 PyThreadState* __tstate = wxPyBeginAllowThreads();
10377 (arg1)->SetDragAllowMove(arg2);
10378
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 Py_INCREF(Py_None); resultobj = Py_None;
10383 return resultobj;
10384 fail:
10385 return NULL;
10386}
10387
10388
10389static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
10390 PyObject *resultobj;
10391 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10392 wxDragResult arg2 ;
10393 wxDragResult *argp2 ;
10394 PyObject * obj0 = 0 ;
10395 PyObject * obj1 = 0 ;
10396 char *kwnames[] = {
10397 (char *) "self",(char *) "val", NULL
10398 };
10399
10400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
10401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10402 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
10403 arg2 = *argp2;
10404 {
10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
10406 (arg1)->SetDragResult(arg2);
10407
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 Py_INCREF(Py_None); resultobj = Py_None;
10412 return resultobj;
10413 fail:
10414 return NULL;
10415}
10416
10417
10418static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj;
10420 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10421 int result;
10422 PyObject * obj0 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "self", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
10428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10429 {
10430 PyThreadState* __tstate = wxPyBeginAllowThreads();
10431 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
10432
10433 wxPyEndAllowThreads(__tstate);
10434 if (PyErr_Occurred()) SWIG_fail;
10435 }
10436 resultobj = PyInt_FromLong((long)result);
10437 return resultobj;
10438 fail:
10439 return NULL;
10440}
10441
10442
10443static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
10444 PyObject *resultobj;
10445 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10446 int result;
10447 PyObject * obj0 = 0 ;
10448 char *kwnames[] = {
10449 (char *) "self", NULL
10450 };
10451
10452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
10453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10454 {
10455 PyThreadState* __tstate = wxPyBeginAllowThreads();
10456 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
10457
10458 wxPyEndAllowThreads(__tstate);
10459 if (PyErr_Occurred()) SWIG_fail;
10460 }
10461 resultobj = PyInt_FromLong((long)result);
10462 return resultobj;
10463 fail:
10464 return NULL;
10465}
10466
10467
10468static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
10469 PyObject *resultobj;
10470 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10471 int result;
10472 PyObject * obj0 = 0 ;
10473 char *kwnames[] = {
10474 (char *) "self", NULL
10475 };
10476
10477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
10478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10479 {
10480 PyThreadState* __tstate = wxPyBeginAllowThreads();
10481 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
10482
10483 wxPyEndAllowThreads(__tstate);
10484 if (PyErr_Occurred()) SWIG_fail;
10485 }
10486 resultobj = PyInt_FromLong((long)result);
10487 return resultobj;
10488 fail:
10489 return NULL;
10490}
10491
10492
10493static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
10494 PyObject *resultobj;
10495 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10496 int result;
10497 PyObject * obj0 = 0 ;
10498 char *kwnames[] = {
10499 (char *) "self", NULL
10500 };
10501
10502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
10503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10504 {
10505 PyThreadState* __tstate = wxPyBeginAllowThreads();
10506 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
10507
10508 wxPyEndAllowThreads(__tstate);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 resultobj = PyInt_FromLong((long)result);
10512 return resultobj;
10513 fail:
10514 return NULL;
10515}
10516
10517
10518static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
10519 PyObject *resultobj;
10520 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10521 wxString result;
10522 PyObject * obj0 = 0 ;
10523 char *kwnames[] = {
10524 (char *) "self", NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
10528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 result = ((wxStyledTextEvent const *)arg1)->GetText();
10532
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
10536 {
10537#if wxUSE_UNICODE
10538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10539#else
10540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10541#endif
10542 }
10543 return resultobj;
10544 fail:
10545 return NULL;
10546}
10547
10548
10549static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10550 PyObject *resultobj;
10551 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10552 int result;
10553 PyObject * obj0 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
10559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 resultobj = PyInt_FromLong((long)result);
10568 return resultobj;
10569 fail:
10570 return NULL;
10571}
10572
10573
10574static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
10575 PyObject *resultobj;
10576 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10577 int result;
10578 PyObject * obj0 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
10584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 resultobj = PyInt_FromLong((long)result);
10593 return resultobj;
10594 fail:
10595 return NULL;
10596}
10597
10598
10599static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10600 PyObject *resultobj;
10601 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10602 int result;
10603 PyObject * obj0 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "self", NULL
10606 };
10607
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
10609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10610 {
10611 PyThreadState* __tstate = wxPyBeginAllowThreads();
10612 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
10613
10614 wxPyEndAllowThreads(__tstate);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 resultobj = PyInt_FromLong((long)result);
10618 return resultobj;
10619 fail:
10620 return NULL;
10621}
10622
10623
10624static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
10625 PyObject *resultobj;
10626 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10627 int result;
10628 PyObject * obj0 = 0 ;
10629 char *kwnames[] = {
10630 (char *) "self", NULL
10631 };
10632
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
10634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 resultobj = PyInt_FromLong((long)result);
10643 return resultobj;
10644 fail:
10645 return NULL;
10646}
10647
10648
10649static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
10650 PyObject *resultobj;
10651 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10652 int result;
10653 PyObject * obj0 = 0 ;
10654 char *kwnames[] = {
10655 (char *) "self", NULL
10656 };
10657
10658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
10659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 resultobj = PyInt_FromLong((long)result);
10668 return resultobj;
10669 fail:
10670 return NULL;
10671}
10672
10673
10674static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
10675 PyObject *resultobj;
10676 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10677 int result;
10678 PyObject * obj0 = 0 ;
10679 char *kwnames[] = {
10680 (char *) "self", NULL
10681 };
10682
10683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
10684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 resultobj = PyInt_FromLong((long)result);
10693 return resultobj;
10694 fail:
10695 return NULL;
10696}
10697
10698
10699static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10700 PyObject *resultobj;
10701 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10702 int result;
10703 PyObject * obj0 = 0 ;
10704 char *kwnames[] = {
10705 (char *) "self", NULL
10706 };
10707
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
10709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10710 {
10711 PyThreadState* __tstate = wxPyBeginAllowThreads();
10712 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
10713
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 resultobj = PyInt_FromLong((long)result);
10718 return resultobj;
10719 fail:
10720 return NULL;
10721}
10722
10723
10724static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10725 PyObject *resultobj;
10726 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10727 int result;
10728 PyObject * obj0 = 0 ;
10729 char *kwnames[] = {
10730 (char *) "self", NULL
10731 };
10732
10733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
10734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10735 {
10736 PyThreadState* __tstate = wxPyBeginAllowThreads();
10737 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
10738
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 resultobj = PyInt_FromLong((long)result);
10743 return resultobj;
10744 fail:
10745 return NULL;
10746}
10747
10748
10749static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10750 PyObject *resultobj;
10751 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10752 int result;
10753 PyObject * obj0 = 0 ;
10754 char *kwnames[] = {
10755 (char *) "self", NULL
10756 };
10757
10758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
10759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10760 {
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
10763
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 resultobj = PyInt_FromLong((long)result);
10768 return resultobj;
10769 fail:
10770 return NULL;
10771}
10772
10773
10774static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
10775 PyObject *resultobj;
10776 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10777 int result;
10778 PyObject * obj0 = 0 ;
10779 char *kwnames[] = {
10780 (char *) "self", NULL
10781 };
10782
10783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
10784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
10787 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 resultobj = PyInt_FromLong((long)result);
10793 return resultobj;
10794 fail:
10795 return NULL;
10796}
10797
10798
10799static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
10800 PyObject *resultobj;
10801 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10802 int result;
10803 PyObject * obj0 = 0 ;
10804 char *kwnames[] = {
10805 (char *) "self", NULL
10806 };
10807
10808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
10809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10810 {
10811 PyThreadState* __tstate = wxPyBeginAllowThreads();
10812 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
10813
10814 wxPyEndAllowThreads(__tstate);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
10817 resultobj = PyInt_FromLong((long)result);
10818 return resultobj;
10819 fail:
10820 return NULL;
10821}
10822
10823
10824static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
10825 PyObject *resultobj;
10826 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10827 int result;
10828 PyObject * obj0 = 0 ;
10829 char *kwnames[] = {
10830 (char *) "self", NULL
10831 };
10832
10833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
10834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10835 {
10836 PyThreadState* __tstate = wxPyBeginAllowThreads();
10837 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
10838
10839 wxPyEndAllowThreads(__tstate);
10840 if (PyErr_Occurred()) SWIG_fail;
10841 }
10842 resultobj = PyInt_FromLong((long)result);
10843 return resultobj;
10844 fail:
10845 return NULL;
10846}
10847
10848
10849static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
10850 PyObject *resultobj;
10851 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10852 wxString result;
10853 PyObject * obj0 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self", NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
10859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
10862 result = (arg1)->GetDragText();
10863
10864 wxPyEndAllowThreads(__tstate);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 {
10868#if wxUSE_UNICODE
10869 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10870#else
10871 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10872#endif
10873 }
10874 return resultobj;
10875 fail:
10876 return NULL;
10877}
10878
10879
10880static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10881 PyObject *resultobj;
10882 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10883 bool result;
10884 PyObject * obj0 = 0 ;
10885 char *kwnames[] = {
10886 (char *) "self", NULL
10887 };
10888
10889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
10890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 result = (bool)(arg1)->GetDragAllowMove();
10894
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 resultobj = PyInt_FromLong((long)result);
10899 return resultobj;
10900 fail:
10901 return NULL;
10902}
10903
10904
10905static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
10906 PyObject *resultobj;
10907 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10908 wxDragResult result;
10909 PyObject * obj0 = 0 ;
10910 char *kwnames[] = {
10911 (char *) "self", NULL
10912 };
10913
10914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
10915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 result = (arg1)->GetDragResult();
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 {
10924 wxDragResult * resultptr;
10925 resultptr = new wxDragResult((wxDragResult &) result);
10926 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1);
10927 }
10928 return resultobj;
10929 fail:
10930 return NULL;
10931}
10932
10933
10934static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
10935 PyObject *resultobj;
10936 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10937 bool result;
10938 PyObject * obj0 = 0 ;
10939 char *kwnames[] = {
10940 (char *) "self", NULL
10941 };
10942
10943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
10944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10945 {
10946 PyThreadState* __tstate = wxPyBeginAllowThreads();
10947 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
10948
10949 wxPyEndAllowThreads(__tstate);
10950 if (PyErr_Occurred()) SWIG_fail;
10951 }
10952 resultobj = PyInt_FromLong((long)result);
10953 return resultobj;
10954 fail:
10955 return NULL;
10956}
10957
10958
10959static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
10960 PyObject *resultobj;
10961 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10962 bool result;
10963 PyObject * obj0 = 0 ;
10964 char *kwnames[] = {
10965 (char *) "self", NULL
10966 };
10967
10968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
10969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10970 {
10971 PyThreadState* __tstate = wxPyBeginAllowThreads();
10972 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
10973
10974 wxPyEndAllowThreads(__tstate);
10975 if (PyErr_Occurred()) SWIG_fail;
10976 }
10977 resultobj = PyInt_FromLong((long)result);
10978 return resultobj;
10979 fail:
10980 return NULL;
10981}
10982
10983
10984static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
10985 PyObject *resultobj;
10986 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
10987 bool result;
10988 PyObject * obj0 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "self", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10995 {
10996 PyThreadState* __tstate = wxPyBeginAllowThreads();
10997 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
10998
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
11002 resultobj = PyInt_FromLong((long)result);
11003 return resultobj;
11004 fail:
11005 return NULL;
11006}
11007
11008
11009static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
11010 PyObject *resultobj;
11011 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11012 wxEvent *result;
11013 PyObject * obj0 = 0 ;
11014 char *kwnames[] = {
11015 (char *) "self", NULL
11016 };
11017
11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
11019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11020 {
11021 PyThreadState* __tstate = wxPyBeginAllowThreads();
11022 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
11023
11024 wxPyEndAllowThreads(__tstate);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0);
11028 return resultobj;
11029 fail:
11030 return NULL;
11031}
11032
11033
11034static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) {
11035 PyObject *obj;
11036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11037 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
11038 Py_INCREF(obj);
11039 return Py_BuildValue((char *)"");
11040}
11041static PyMethodDef SwigMethods[] = {
11042 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
11043 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
11044 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
11045 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
11046 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
11047 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
11048 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
11049 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
11050 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
11051 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
11052 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
11053 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
11054 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
11055 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
11056 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
11057 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
11058 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
11059 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
11060 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
11061 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
11062 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
11063 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
11064 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
11065 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
11066 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
11067 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
11068 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
11069 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
11070 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
11071 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
11072 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
11073 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
11074 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
11075 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
11076 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
11077 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
11078 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
11079 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
11080 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
11081 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
11082 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
11083 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
11084 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
11085 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
11086 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
11087 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
11088 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
11089 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
11090 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
11091 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
11092 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
11093 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
11094 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
11095 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11096 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11097 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
11098 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
11099 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
11100 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
11101 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
11102 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
11103 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
11104 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
11105 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
11106 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
11107 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
11108 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
11109 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
11110 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
11111 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
11112 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
11113 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
11114 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
11115 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
11116 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
11117 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
11118 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
11119 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
11120 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
11121 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
11122 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
11123 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
11124 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
11125 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
11126 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
11127 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
11128 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
11129 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
11130 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
11131 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS },
11132 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS },
11133 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
11134 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
11135 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
11136 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
11137 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
11138 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
11139 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
11140 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
11141 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
11142 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS },
11143 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
11144 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
11145 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
11146 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
11147 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
11148 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
11149 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
11150 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
11151 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
11152 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
11153 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
11154 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
11155 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
11156 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
11157 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
11158 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
11159 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
11160 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
11161 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
11162 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
11163 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
11164 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
11165 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
11166 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
11167 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
11168 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
11169 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
11170 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
11171 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
11172 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
11173 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
11174 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
11175 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
11176 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
11177 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
11178 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
11179 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
11180 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
11181 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
11182 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
11183 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
11184 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
11185 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
11186 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
11187 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
11188 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
11189 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
11190 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
11191 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
11192 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
11193 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
11194 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
11195 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
11196 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
11197 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
11198 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
11199 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
11200 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
11201 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
11202 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
11203 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
11204 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
11205 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
11206 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
11207 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
11208 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
11209 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
11210 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
11211 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
11212 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
11213 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
11214 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
11215 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
11216 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
11217 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
11218 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
11219 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
11220 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
11221 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
11222 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
11223 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
11224 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
11225 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
11226 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
11227 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
11228 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
11229 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
11230 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
11231 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
11232 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
11233 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
11234 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
11235 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
11236 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
11237 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
11238 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
11239 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
11240 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
11241 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
11242 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
11243 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
11244 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
11245 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
11246 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
11247 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
11248 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
11249 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
11250 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
11251 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
11252 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
11253 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
11254 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
11255 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
11256 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
11257 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
11258 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
11259 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
11260 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
11261 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
11262 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
11263 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
11264 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
11265 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
11266 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
11267 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
11268 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS },
11269 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS },
11270 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS },
11271 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS },
11272 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS },
11273 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS },
11274 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS },
11275 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS },
11276 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS },
11277 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
11278 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
11279 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
11280 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
11281 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
11282 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
11283 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
11284 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
11285 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
11286 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
11287 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
11288 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
11289 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
11290 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
11291 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
11292 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
11293 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
11294 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS },
11295 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS },
11296 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
11297 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
11298 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
11299 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
11300 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
11301 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
11302 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
11303 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
11304 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
11305 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
11306 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
11307 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
11308 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
11309 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
11310 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
11311 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
11312 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
11313 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
11314 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
11315 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
11316 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
11317 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
11318 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
11319 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
11320 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
11321 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
11322 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
11323 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
11324 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
11325 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
11326 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
11327 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
11328 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
11329 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
11330 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS },
11331 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS },
11332 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
11333 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
11334 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
11335 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
11336 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
11337 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
11338 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
11339 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
11340 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
11341 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
11342 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
11343 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
11344 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
11345 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
11346 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
11347 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
11348 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
11349 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
11350 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
11351 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS },
11352 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS },
11353 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS },
11354 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS },
11355 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
11356 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
11357 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
11358 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
11359 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
11360 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
11361 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
11362 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
11363 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
11364 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
11365 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
11366 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
11367 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
11368 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
11369 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
11370 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
11371 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
11372 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
11373 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
11374 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
11375 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
11376 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
11377 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
11378 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
11379 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
11380 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS },
11381 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS },
11382 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS },
11383 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
11384 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
11385 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
11386 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
11387 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
11388 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
11389 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
11390 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
11391 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
11392 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
11393 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
11394 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
11395 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
11396 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
11397 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
11398 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
11399 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
11400 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
11401 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
11402 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
11403 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
11404 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
11405 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
11406 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
11407 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
11408 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
11409 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
11410 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
11411 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
11412 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
11413 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
11414 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
11415 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
11416 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
11417 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
11418 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
11419 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
11420 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
11421 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
11422 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
11423 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
11424 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
11425 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
11426 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
11427 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
11428 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
11429 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS },
11430 { NULL, NULL }
11431};
11432
11433
11434/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11435
11436static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11437 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11438}
11439static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11440 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11441}
11442static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11443 return (void *)((wxObject *) ((wxSizerItem *) x));
11444}
11445static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11446 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11447}
11448static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11449 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11450}
11451static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11452 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11453}
11454static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11455 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11456}
11457static void *_p_wxSizerTo_p_wxObject(void *x) {
11458 return (void *)((wxObject *) ((wxSizer *) x));
11459}
11460static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11461 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11462}
11463static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11464 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11465}
11466static void *_p_wxEventTo_p_wxObject(void *x) {
11467 return (void *)((wxObject *) ((wxEvent *) x));
11468}
11469static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11470 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11471}
11472static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11473 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11474}
11475static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11476 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11477}
d14a1e28
RD
11478static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11479 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11480}
11481static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11482 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11483}
0df68c9f
RD
11484static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
11485 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
11486}
d14a1e28
RD
11487static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
11488 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
11489}
11490static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
11491 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
11492}
11493static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
11494 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11495}
11496static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
11497 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
11498}
11499static void *_p_wxControlTo_p_wxObject(void *x) {
11500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11501}
11502static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11503 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11504}
11505static void *_p_wxFSFileTo_p_wxObject(void *x) {
11506 return (void *)((wxObject *) ((wxFSFile *) x));
11507}
11508static void *_p_wxPySizerTo_p_wxObject(void *x) {
11509 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11510}
11511static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
11512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
11513}
11514static void *_p_wxPyEventTo_p_wxObject(void *x) {
11515 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11516}
11517static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11518 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11519}
11520static void *_p_wxShowEventTo_p_wxObject(void *x) {
11521 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
11522}
11523static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11524 return (void *)((wxObject *) ((wxMenuItem *) x));
11525}
11526static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11527 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11528}
11529static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11530 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11531}
11532static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11533 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11534}
11535static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11536 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11537}
11538static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11539 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11540}
11541static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11542 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11543}
11544static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11545 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11546}
11547static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11548 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11549}
11550static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
11551 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
11552}
11553static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
11554 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
11555}
11556static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
11557 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
11558}
11559static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
11560 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
11561}
11562static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
11563 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
11564}
11565static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
11566 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
11567}
11568static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
11569 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
11570}
11571static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
11572 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
11573}
11574static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
11575 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
11576}
11577static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
11578 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
11579}
11580static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
11581 return (void *)((wxObject *) ((wxImageHandler *) x));
11582}
11583static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
11584 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
11585}
11586static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
11587 return (void *)((wxObject *) ((wxEvtHandler *) x));
11588}
0df68c9f
RD
11589static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11590 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11591}
d14a1e28
RD
11592static void *_p_wxImageTo_p_wxObject(void *x) {
11593 return (void *)((wxObject *) ((wxImage *) x));
11594}
11595static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
11596 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
11597}
11598static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11599 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11600}
11601static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11602 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11603}
11604static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11605 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11606}
11607static void *_p_wxWindowTo_p_wxObject(void *x) {
11608 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
11609}
11610static void *_p_wxMenuTo_p_wxObject(void *x) {
11611 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11612}
11613static void *_p_wxMenuBarTo_p_wxObject(void *x) {
11614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
11615}
11616static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11617 return (void *)((wxObject *) ((wxFileSystem *) x));
11618}
11619static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
11620 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
11621}
11622static void *_p_wxMenuEventTo_p_wxObject(void *x) {
11623 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
11624}
11625static void *_p_wxPyAppTo_p_wxObject(void *x) {
11626 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11627}
11628static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11629 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11630}
11631static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11632 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11633}
11634static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11635 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11636}
11637static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
11638 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
11639}
11640static void *_p_wxCommandEventTo_p_wxObject(void *x) {
11641 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
11642}
11643static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
11644 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
11645}
11646static void *_p_wxFocusEventTo_p_wxObject(void *x) {
11647 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
11648}
11649static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
11650 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
11651}
11652static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11654}
11655static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11656 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11657}
11658static void *_p_wxValidatorTo_p_wxObject(void *x) {
11659 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11660}
11661static void *_p_wxControlTo_p_wxWindow(void *x) {
11662 return (void *)((wxWindow *) ((wxControl *) x));
11663}
11664static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11665 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11666}
11667static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
11668 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
11669}
11670static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11671 return (void *)((wxWindow *) ((wxMenuBar *) x));
11672}
11673static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
11674 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
11675}
11676static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
11677 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
11678}
11679static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
11680 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
11681}
11682static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
11683 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
11684}
11685static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
11686 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
11687}
11688static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
11689 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11690}
11691static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
11692 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
11693}
11694static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
11695 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
11696}
11697static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
11698 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
11699}
11700static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
11701 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
11702}
11703static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
11704 return (void *)((wxEvtHandler *) ((wxWindow *) x));
11705}
11706static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
11707 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11708}
11709static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
11710 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
11711}
11712static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
11713 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
11714}
11715static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
11716 return (void *)((wxEvtHandler *) ((wxValidator *) x));
11717}
11718static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
11719 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
11720}
11721static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
11722 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
11723}
11724static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
11725 return (void *)((wxEvtHandler *) ((wxMenu *) x));
11726}
11727static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
11728 return (void *)((wxControl *) ((wxControlWithItems *) x));
11729}
11730static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
11731 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
11732}
11733static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
11734 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
11735}
11736static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
11737 return (void *)((wxEvent *) ((wxMenuEvent *) x));
11738}
11739static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
11740 return (void *)((wxEvent *) ((wxCloseEvent *) x));
11741}
11742static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
11743 return (void *)((wxEvent *) ((wxMouseEvent *) x));
11744}
11745static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
11746 return (void *)((wxEvent *) ((wxEraseEvent *) x));
11747}
11748static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
11749 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
11750}
11751static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
11752 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
11753}
11754static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
11755 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
11756}
11757static void *_p_wxPyEventTo_p_wxEvent(void *x) {
11758 return (void *)((wxEvent *) ((wxPyEvent *) x));
11759}
11760static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
11761 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
11762}
11763static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
11764 return (void *)((wxEvent *) ((wxIdleEvent *) x));
11765}
11766static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
11767 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
11768}
11769static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
11770 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
11771}
11772static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
11773 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
11774}
11775static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
11776 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
11777}
11778static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
11779 return (void *)((wxEvent *) ((wxActivateEvent *) x));
11780}
11781static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
11782 return (void *)((wxEvent *) ((wxSizeEvent *) x));
11783}
11784static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
11785 return (void *)((wxEvent *) ((wxMoveEvent *) x));
11786}
11787static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
11788 return (void *)((wxEvent *) ((wxPaintEvent *) x));
11789}
11790static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
11791 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
11792}
11793static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
11794 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
11795}
11796static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
11797 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
11798}
11799static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
11800 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
11801}
11802static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
11803 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
11804}
11805static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
11806 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11807}
11808static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
11809 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
11810}
11811static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
11812 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
11813}
11814static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
11815 return (void *)((wxEvent *) ((wxFocusEvent *) x));
11816}
11817static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
11818 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
11819}
11820static void *_p_wxShowEventTo_p_wxEvent(void *x) {
11821 return (void *)((wxEvent *) ((wxShowEvent *) x));
11822}
11823static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
11824 return (void *)((wxEvent *) ((wxCommandEvent *) x));
11825}
11826static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
11827 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
11828}
11829static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
11830 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11831}
11832static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
11833 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
11834}
11835static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
11836 return (void *)((wxEvent *) ((wxKeyEvent *) x));
11837}
11838static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
11839 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
11840}
11841static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
11842static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
0df68c9f 11843static 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
11844static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
11845static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0},{"_p_wxStyledTextEvent"},{0}};
11846static 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}};
11847static 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}};
11848static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
11849static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
11850static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
11851static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
11852static swig_type_info _swigt__p_wxDragResult[] = {{"_p_wxDragResult", 0, "wxDragResult *", 0},{"_p_wxDragResult"},{0}};
11853static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
11854static 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}};
11855static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0},{"_p_wxStyledTextCtrl"},{0}};
11856static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
11857static 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}};
11858static 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}};
11859static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
11860static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0},{"_p_wxMemoryBuffer"},{0}};
11861
11862static swig_type_info *swig_types_initial[] = {
11863_swigt__p_wxRect,
11864_swigt__p_wxColour,
11865_swigt__p_wxObject,
11866_swigt__p_wxScrollBar,
11867_swigt__p_wxStyledTextEvent,
11868_swigt__p_wxWindow,
11869_swigt__p_wxCommandEvent,
11870_swigt__p_wxBitmap,
11871_swigt__p_void,
11872_swigt__p_wxPoint,
11873_swigt__p_wxDC,
11874_swigt__p_wxDragResult,
11875_swigt__p_wxString,
11876_swigt__p_wxEvtHandler,
11877_swigt__p_wxStyledTextCtrl,
11878_swigt__p_wxFont,
11879_swigt__p_wxControl,
11880_swigt__p_wxEvent,
11881_swigt__p_int,
11882_swigt__p_wxMemoryBuffer,
118830
11884};
11885
11886
11887/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
11888
11889static swig_const_info swig_const_table[] = {
11890{ SWIG_PY_INT, (char *)"STC_USE_DND", (long) 1, 0, 0, 0},
11891{ SWIG_PY_INT, (char *)"STC_USE_POPUP", (long) 1, 0, 0, 0},
11892{ SWIG_PY_INT, (char *)"STC_INVALID_POSITION", (long) -1, 0, 0, 0},
11893{ SWIG_PY_INT, (char *)"STC_START", (long) 2000, 0, 0, 0},
11894{ SWIG_PY_INT, (char *)"STC_OPTIONAL_START", (long) 3000, 0, 0, 0},
11895{ SWIG_PY_INT, (char *)"STC_LEXER_START", (long) 4000, 0, 0, 0},
11896{ SWIG_PY_INT, (char *)"STC_WS_INVISIBLE", (long) 0, 0, 0, 0},
11897{ SWIG_PY_INT, (char *)"STC_WS_VISIBLEALWAYS", (long) 1, 0, 0, 0},
11898{ SWIG_PY_INT, (char *)"STC_WS_VISIBLEAFTERINDENT", (long) 2, 0, 0, 0},
11899{ SWIG_PY_INT, (char *)"STC_EOL_CRLF", (long) 0, 0, 0, 0},
11900{ SWIG_PY_INT, (char *)"STC_EOL_CR", (long) 1, 0, 0, 0},
11901{ SWIG_PY_INT, (char *)"STC_EOL_LF", (long) 2, 0, 0, 0},
11902{ SWIG_PY_INT, (char *)"STC_CP_UTF8", (long) 65001, 0, 0, 0},
11903{ SWIG_PY_INT, (char *)"STC_CP_DBCS", (long) 1, 0, 0, 0},
11904{ SWIG_PY_INT, (char *)"STC_MARKER_MAX", (long) 31, 0, 0, 0},
11905{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLE", (long) 0, 0, 0, 0},
11906{ SWIG_PY_INT, (char *)"STC_MARK_ROUNDRECT", (long) 1, 0, 0, 0},
11907{ SWIG_PY_INT, (char *)"STC_MARK_ARROW", (long) 2, 0, 0, 0},
11908{ SWIG_PY_INT, (char *)"STC_MARK_SMALLRECT", (long) 3, 0, 0, 0},
11909{ SWIG_PY_INT, (char *)"STC_MARK_SHORTARROW", (long) 4, 0, 0, 0},
11910{ SWIG_PY_INT, (char *)"STC_MARK_EMPTY", (long) 5, 0, 0, 0},
11911{ SWIG_PY_INT, (char *)"STC_MARK_ARROWDOWN", (long) 6, 0, 0, 0},
11912{ SWIG_PY_INT, (char *)"STC_MARK_MINUS", (long) 7, 0, 0, 0},
11913{ SWIG_PY_INT, (char *)"STC_MARK_PLUS", (long) 8, 0, 0, 0},
11914{ SWIG_PY_INT, (char *)"STC_MARK_VLINE", (long) 9, 0, 0, 0},
11915{ SWIG_PY_INT, (char *)"STC_MARK_LCORNER", (long) 10, 0, 0, 0},
11916{ SWIG_PY_INT, (char *)"STC_MARK_TCORNER", (long) 11, 0, 0, 0},
11917{ SWIG_PY_INT, (char *)"STC_MARK_BOXPLUS", (long) 12, 0, 0, 0},
11918{ SWIG_PY_INT, (char *)"STC_MARK_BOXPLUSCONNECTED", (long) 13, 0, 0, 0},
11919{ SWIG_PY_INT, (char *)"STC_MARK_BOXMINUS", (long) 14, 0, 0, 0},
11920{ SWIG_PY_INT, (char *)"STC_MARK_BOXMINUSCONNECTED", (long) 15, 0, 0, 0},
11921{ SWIG_PY_INT, (char *)"STC_MARK_LCORNERCURVE", (long) 16, 0, 0, 0},
11922{ SWIG_PY_INT, (char *)"STC_MARK_TCORNERCURVE", (long) 17, 0, 0, 0},
11923{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLEPLUS", (long) 18, 0, 0, 0},
11924{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLEPLUSCONNECTED", (long) 19, 0, 0, 0},
11925{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLEMINUS", (long) 20, 0, 0, 0},
11926{ SWIG_PY_INT, (char *)"STC_MARK_CIRCLEMINUSCONNECTED", (long) 21, 0, 0, 0},
11927{ SWIG_PY_INT, (char *)"STC_MARK_BACKGROUND", (long) 22, 0, 0, 0},
11928{ SWIG_PY_INT, (char *)"STC_MARK_DOTDOTDOT", (long) 23, 0, 0, 0},
11929{ SWIG_PY_INT, (char *)"STC_MARK_ARROWS", (long) 24, 0, 0, 0},
11930{ SWIG_PY_INT, (char *)"STC_MARK_PIXMAP", (long) 25, 0, 0, 0},
11931{ SWIG_PY_INT, (char *)"STC_MARK_CHARACTER", (long) 10000, 0, 0, 0},
11932{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEREND", (long) 25, 0, 0, 0},
11933{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEROPENMID", (long) 26, 0, 0, 0},
11934{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERMIDTAIL", (long) 27, 0, 0, 0},
11935{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERTAIL", (long) 28, 0, 0, 0},
11936{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERSUB", (long) 29, 0, 0, 0},
11937{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDER", (long) 30, 0, 0, 0},
11938{ SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEROPEN", (long) 31, 0, 0, 0},
11939{ SWIG_PY_INT, (char *)"STC_MASK_FOLDERS", (long) 0xFE000000, 0, 0, 0},
11940{ SWIG_PY_INT, (char *)"STC_MARGIN_SYMBOL", (long) 0, 0, 0, 0},
11941{ SWIG_PY_INT, (char *)"STC_MARGIN_NUMBER", (long) 1, 0, 0, 0},
11942{ SWIG_PY_INT, (char *)"STC_STYLE_DEFAULT", (long) 32, 0, 0, 0},
11943{ SWIG_PY_INT, (char *)"STC_STYLE_LINENUMBER", (long) 33, 0, 0, 0},
11944{ SWIG_PY_INT, (char *)"STC_STYLE_BRACELIGHT", (long) 34, 0, 0, 0},
11945{ SWIG_PY_INT, (char *)"STC_STYLE_BRACEBAD", (long) 35, 0, 0, 0},
11946{ SWIG_PY_INT, (char *)"STC_STYLE_CONTROLCHAR", (long) 36, 0, 0, 0},
11947{ SWIG_PY_INT, (char *)"STC_STYLE_INDENTGUIDE", (long) 37, 0, 0, 0},
11948{ SWIG_PY_INT, (char *)"STC_STYLE_LASTPREDEFINED", (long) 39, 0, 0, 0},
11949{ SWIG_PY_INT, (char *)"STC_STYLE_MAX", (long) 127, 0, 0, 0},
11950{ SWIG_PY_INT, (char *)"STC_CHARSET_ANSI", (long) 0, 0, 0, 0},
11951{ SWIG_PY_INT, (char *)"STC_CHARSET_DEFAULT", (long) 1, 0, 0, 0},
11952{ SWIG_PY_INT, (char *)"STC_CHARSET_BALTIC", (long) 186, 0, 0, 0},
11953{ SWIG_PY_INT, (char *)"STC_CHARSET_CHINESEBIG5", (long) 136, 0, 0, 0},
11954{ SWIG_PY_INT, (char *)"STC_CHARSET_EASTEUROPE", (long) 238, 0, 0, 0},
11955{ SWIG_PY_INT, (char *)"STC_CHARSET_GB2312", (long) 134, 0, 0, 0},
11956{ SWIG_PY_INT, (char *)"STC_CHARSET_GREEK", (long) 161, 0, 0, 0},
11957{ SWIG_PY_INT, (char *)"STC_CHARSET_HANGUL", (long) 129, 0, 0, 0},
11958{ SWIG_PY_INT, (char *)"STC_CHARSET_MAC", (long) 77, 0, 0, 0},
11959{ SWIG_PY_INT, (char *)"STC_CHARSET_OEM", (long) 255, 0, 0, 0},
11960{ SWIG_PY_INT, (char *)"STC_CHARSET_RUSSIAN", (long) 204, 0, 0, 0},
11961{ SWIG_PY_INT, (char *)"STC_CHARSET_SHIFTJIS", (long) 128, 0, 0, 0},
11962{ SWIG_PY_INT, (char *)"STC_CHARSET_SYMBOL", (long) 2, 0, 0, 0},
11963{ SWIG_PY_INT, (char *)"STC_CHARSET_TURKISH", (long) 162, 0, 0, 0},
11964{ SWIG_PY_INT, (char *)"STC_CHARSET_JOHAB", (long) 130, 0, 0, 0},
11965{ SWIG_PY_INT, (char *)"STC_CHARSET_HEBREW", (long) 177, 0, 0, 0},
11966{ SWIG_PY_INT, (char *)"STC_CHARSET_ARABIC", (long) 178, 0, 0, 0},
11967{ SWIG_PY_INT, (char *)"STC_CHARSET_VIETNAMESE", (long) 163, 0, 0, 0},
11968{ SWIG_PY_INT, (char *)"STC_CHARSET_THAI", (long) 222, 0, 0, 0},
11969{ SWIG_PY_INT, (char *)"STC_CASE_MIXED", (long) 0, 0, 0, 0},
11970{ SWIG_PY_INT, (char *)"STC_CASE_UPPER", (long) 1, 0, 0, 0},
11971{ SWIG_PY_INT, (char *)"STC_CASE_LOWER", (long) 2, 0, 0, 0},
11972{ SWIG_PY_INT, (char *)"STC_INDIC_MAX", (long) 7, 0, 0, 0},
11973{ SWIG_PY_INT, (char *)"STC_INDIC_PLAIN", (long) 0, 0, 0, 0},
11974{ SWIG_PY_INT, (char *)"STC_INDIC_SQUIGGLE", (long) 1, 0, 0, 0},
11975{ SWIG_PY_INT, (char *)"STC_INDIC_TT", (long) 2, 0, 0, 0},
11976{ SWIG_PY_INT, (char *)"STC_INDIC_DIAGONAL", (long) 3, 0, 0, 0},
11977{ SWIG_PY_INT, (char *)"STC_INDIC_STRIKE", (long) 4, 0, 0, 0},
11978{ SWIG_PY_INT, (char *)"STC_INDIC_HIDDEN", (long) 5, 0, 0, 0},
11979{ SWIG_PY_INT, (char *)"STC_INDIC0_MASK", (long) 0x20, 0, 0, 0},
11980{ SWIG_PY_INT, (char *)"STC_INDIC1_MASK", (long) 0x40, 0, 0, 0},
11981{ SWIG_PY_INT, (char *)"STC_INDIC2_MASK", (long) 0x80, 0, 0, 0},
11982{ SWIG_PY_INT, (char *)"STC_INDICS_MASK", (long) 0xE0, 0, 0, 0},
11983{ SWIG_PY_INT, (char *)"STC_PRINT_NORMAL", (long) 0, 0, 0, 0},
11984{ SWIG_PY_INT, (char *)"STC_PRINT_INVERTLIGHT", (long) 1, 0, 0, 0},
11985{ SWIG_PY_INT, (char *)"STC_PRINT_BLACKONWHITE", (long) 2, 0, 0, 0},
11986{ SWIG_PY_INT, (char *)"STC_PRINT_COLOURONWHITE", (long) 3, 0, 0, 0},
11987{ SWIG_PY_INT, (char *)"STC_PRINT_COLOURONWHITEDEFAULTBG", (long) 4, 0, 0, 0},
11988{ SWIG_PY_INT, (char *)"STC_FIND_WHOLEWORD", (long) 2, 0, 0, 0},
11989{ SWIG_PY_INT, (char *)"STC_FIND_MATCHCASE", (long) 4, 0, 0, 0},
11990{ SWIG_PY_INT, (char *)"STC_FIND_WORDSTART", (long) 0x00100000, 0, 0, 0},
11991{ SWIG_PY_INT, (char *)"STC_FIND_REGEXP", (long) 0x00200000, 0, 0, 0},
11992{ SWIG_PY_INT, (char *)"STC_FIND_POSIX", (long) 0x00400000, 0, 0, 0},
11993{ SWIG_PY_INT, (char *)"STC_FOLDLEVELBASE", (long) 0x400, 0, 0, 0},
11994{ SWIG_PY_INT, (char *)"STC_FOLDLEVELWHITEFLAG", (long) 0x1000, 0, 0, 0},
11995{ SWIG_PY_INT, (char *)"STC_FOLDLEVELHEADERFLAG", (long) 0x2000, 0, 0, 0},
11996{ SWIG_PY_INT, (char *)"STC_FOLDLEVELBOXHEADERFLAG", (long) 0x4000, 0, 0, 0},
11997{ SWIG_PY_INT, (char *)"STC_FOLDLEVELBOXFOOTERFLAG", (long) 0x8000, 0, 0, 0},
11998{ SWIG_PY_INT, (char *)"STC_FOLDLEVELCONTRACTED", (long) 0x10000, 0, 0, 0},
11999{ SWIG_PY_INT, (char *)"STC_FOLDLEVELUNINDENT", (long) 0x20000, 0, 0, 0},
12000{ SWIG_PY_INT, (char *)"STC_FOLDLEVELNUMBERMASK", (long) 0x0FFF, 0, 0, 0},
12001{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEBEFORE_EXPANDED", (long) 0x0002, 0, 0, 0},
12002{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", (long) 0x0004, 0, 0, 0},
12003{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEAFTER_EXPANDED", (long) 0x0008, 0, 0, 0},
12004{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEAFTER_CONTRACTED", (long) 0x0010, 0, 0, 0},
12005{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_LEVELNUMBERS", (long) 0x0040, 0, 0, 0},
12006{ SWIG_PY_INT, (char *)"STC_FOLDFLAG_BOX", (long) 0x0001, 0, 0, 0},
12007{ SWIG_PY_INT, (char *)"STC_TIME_FOREVER", (long) 10000000, 0, 0, 0},
12008{ SWIG_PY_INT, (char *)"STC_WRAP_NONE", (long) 0, 0, 0, 0},
12009{ SWIG_PY_INT, (char *)"STC_WRAP_WORD", (long) 1, 0, 0, 0},
12010{ SWIG_PY_INT, (char *)"STC_CACHE_NONE", (long) 0, 0, 0, 0},
12011{ SWIG_PY_INT, (char *)"STC_CACHE_CARET", (long) 1, 0, 0, 0},
12012{ SWIG_PY_INT, (char *)"STC_CACHE_PAGE", (long) 2, 0, 0, 0},
12013{ SWIG_PY_INT, (char *)"STC_CACHE_DOCUMENT", (long) 3, 0, 0, 0},
12014{ SWIG_PY_INT, (char *)"STC_EDGE_NONE", (long) 0, 0, 0, 0},
12015{ SWIG_PY_INT, (char *)"STC_EDGE_LINE", (long) 1, 0, 0, 0},
12016{ SWIG_PY_INT, (char *)"STC_EDGE_BACKGROUND", (long) 2, 0, 0, 0},
12017{ SWIG_PY_INT, (char *)"STC_CURSORNORMAL", (long) -1, 0, 0, 0},
12018{ SWIG_PY_INT, (char *)"STC_CURSORWAIT", (long) 4, 0, 0, 0},
12019{ SWIG_PY_INT, (char *)"STC_VISIBLE_SLOP", (long) 0x01, 0, 0, 0},
12020{ SWIG_PY_INT, (char *)"STC_VISIBLE_STRICT", (long) 0x04, 0, 0, 0},
12021{ SWIG_PY_INT, (char *)"STC_CARET_SLOP", (long) 0x01, 0, 0, 0},
12022{ SWIG_PY_INT, (char *)"STC_CARET_STRICT", (long) 0x04, 0, 0, 0},
12023{ SWIG_PY_INT, (char *)"STC_CARET_JUMPS", (long) 0x10, 0, 0, 0},
12024{ SWIG_PY_INT, (char *)"STC_CARET_EVEN", (long) 0x08, 0, 0, 0},
12025{ SWIG_PY_INT, (char *)"STC_KEYWORDSET_MAX", (long) 8, 0, 0, 0},
12026{ SWIG_PY_INT, (char *)"STC_MOD_INSERTTEXT", (long) 0x1, 0, 0, 0},
12027{ SWIG_PY_INT, (char *)"STC_MOD_DELETETEXT", (long) 0x2, 0, 0, 0},
12028{ SWIG_PY_INT, (char *)"STC_MOD_CHANGESTYLE", (long) 0x4, 0, 0, 0},
12029{ SWIG_PY_INT, (char *)"STC_MOD_CHANGEFOLD", (long) 0x8, 0, 0, 0},
12030{ SWIG_PY_INT, (char *)"STC_PERFORMED_USER", (long) 0x10, 0, 0, 0},
12031{ SWIG_PY_INT, (char *)"STC_PERFORMED_UNDO", (long) 0x20, 0, 0, 0},
12032{ SWIG_PY_INT, (char *)"STC_PERFORMED_REDO", (long) 0x40, 0, 0, 0},
12033{ SWIG_PY_INT, (char *)"STC_LASTSTEPINUNDOREDO", (long) 0x100, 0, 0, 0},
12034{ SWIG_PY_INT, (char *)"STC_MOD_CHANGEMARKER", (long) 0x200, 0, 0, 0},
12035{ SWIG_PY_INT, (char *)"STC_MOD_BEFOREINSERT", (long) 0x400, 0, 0, 0},
12036{ SWIG_PY_INT, (char *)"STC_MOD_BEFOREDELETE", (long) 0x800, 0, 0, 0},
12037{ SWIG_PY_INT, (char *)"STC_MODEVENTMASKALL", (long) 0xF77, 0, 0, 0},
12038{ SWIG_PY_INT, (char *)"STC_KEY_DOWN", (long) 300, 0, 0, 0},
12039{ SWIG_PY_INT, (char *)"STC_KEY_UP", (long) 301, 0, 0, 0},
12040{ SWIG_PY_INT, (char *)"STC_KEY_LEFT", (long) 302, 0, 0, 0},
12041{ SWIG_PY_INT, (char *)"STC_KEY_RIGHT", (long) 303, 0, 0, 0},
12042{ SWIG_PY_INT, (char *)"STC_KEY_HOME", (long) 304, 0, 0, 0},
12043{ SWIG_PY_INT, (char *)"STC_KEY_END", (long) 305, 0, 0, 0},
12044{ SWIG_PY_INT, (char *)"STC_KEY_PRIOR", (long) 306, 0, 0, 0},
12045{ SWIG_PY_INT, (char *)"STC_KEY_NEXT", (long) 307, 0, 0, 0},
12046{ SWIG_PY_INT, (char *)"STC_KEY_DELETE", (long) 308, 0, 0, 0},
12047{ SWIG_PY_INT, (char *)"STC_KEY_INSERT", (long) 309, 0, 0, 0},
12048{ SWIG_PY_INT, (char *)"STC_KEY_ESCAPE", (long) 7, 0, 0, 0},
12049{ SWIG_PY_INT, (char *)"STC_KEY_BACK", (long) 8, 0, 0, 0},
12050{ SWIG_PY_INT, (char *)"STC_KEY_TAB", (long) 9, 0, 0, 0},
12051{ SWIG_PY_INT, (char *)"STC_KEY_RETURN", (long) 13, 0, 0, 0},
12052{ SWIG_PY_INT, (char *)"STC_KEY_ADD", (long) 310, 0, 0, 0},
12053{ SWIG_PY_INT, (char *)"STC_KEY_SUBTRACT", (long) 311, 0, 0, 0},
12054{ SWIG_PY_INT, (char *)"STC_KEY_DIVIDE", (long) 312, 0, 0, 0},
12055{ SWIG_PY_INT, (char *)"STC_SCMOD_SHIFT", (long) 1, 0, 0, 0},
12056{ SWIG_PY_INT, (char *)"STC_SCMOD_CTRL", (long) 2, 0, 0, 0},
12057{ SWIG_PY_INT, (char *)"STC_SCMOD_ALT", (long) 4, 0, 0, 0},
12058{ SWIG_PY_INT, (char *)"STC_LEX_CONTAINER", (long) 0, 0, 0, 0},
12059{ SWIG_PY_INT, (char *)"STC_LEX_NULL", (long) 1, 0, 0, 0},
12060{ SWIG_PY_INT, (char *)"STC_LEX_PYTHON", (long) 2, 0, 0, 0},
12061{ SWIG_PY_INT, (char *)"STC_LEX_CPP", (long) 3, 0, 0, 0},
12062{ SWIG_PY_INT, (char *)"STC_LEX_HTML", (long) 4, 0, 0, 0},
12063{ SWIG_PY_INT, (char *)"STC_LEX_XML", (long) 5, 0, 0, 0},
12064{ SWIG_PY_INT, (char *)"STC_LEX_PERL", (long) 6, 0, 0, 0},
12065{ SWIG_PY_INT, (char *)"STC_LEX_SQL", (long) 7, 0, 0, 0},
12066{ SWIG_PY_INT, (char *)"STC_LEX_VB", (long) 8, 0, 0, 0},
12067{ SWIG_PY_INT, (char *)"STC_LEX_PROPERTIES", (long) 9, 0, 0, 0},
12068{ SWIG_PY_INT, (char *)"STC_LEX_ERRORLIST", (long) 10, 0, 0, 0},
12069{ SWIG_PY_INT, (char *)"STC_LEX_MAKEFILE", (long) 11, 0, 0, 0},
12070{ SWIG_PY_INT, (char *)"STC_LEX_BATCH", (long) 12, 0, 0, 0},
12071{ SWIG_PY_INT, (char *)"STC_LEX_XCODE", (long) 13, 0, 0, 0},
12072{ SWIG_PY_INT, (char *)"STC_LEX_LATEX", (long) 14, 0, 0, 0},
12073{ SWIG_PY_INT, (char *)"STC_LEX_LUA", (long) 15, 0, 0, 0},
12074{ SWIG_PY_INT, (char *)"STC_LEX_DIFF", (long) 16, 0, 0, 0},
12075{ SWIG_PY_INT, (char *)"STC_LEX_CONF", (long) 17, 0, 0, 0},
12076{ SWIG_PY_INT, (char *)"STC_LEX_PASCAL", (long) 18, 0, 0, 0},
12077{ SWIG_PY_INT, (char *)"STC_LEX_AVE", (long) 19, 0, 0, 0},
12078{ SWIG_PY_INT, (char *)"STC_LEX_ADA", (long) 20, 0, 0, 0},
12079{ SWIG_PY_INT, (char *)"STC_LEX_LISP", (long) 21, 0, 0, 0},
12080{ SWIG_PY_INT, (char *)"STC_LEX_RUBY", (long) 22, 0, 0, 0},
12081{ SWIG_PY_INT, (char *)"STC_LEX_EIFFEL", (long) 23, 0, 0, 0},
12082{ SWIG_PY_INT, (char *)"STC_LEX_EIFFELKW", (long) 24, 0, 0, 0},
12083{ SWIG_PY_INT, (char *)"STC_LEX_TCL", (long) 25, 0, 0, 0},
12084{ SWIG_PY_INT, (char *)"STC_LEX_NNCRONTAB", (long) 26, 0, 0, 0},
12085{ SWIG_PY_INT, (char *)"STC_LEX_BULLANT", (long) 27, 0, 0, 0},
12086{ SWIG_PY_INT, (char *)"STC_LEX_VBSCRIPT", (long) 28, 0, 0, 0},
12087{ SWIG_PY_INT, (char *)"STC_LEX_ASP", (long) 29, 0, 0, 0},
12088{ SWIG_PY_INT, (char *)"STC_LEX_PHP", (long) 30, 0, 0, 0},
12089{ SWIG_PY_INT, (char *)"STC_LEX_BAAN", (long) 31, 0, 0, 0},
12090{ SWIG_PY_INT, (char *)"STC_LEX_MATLAB", (long) 32, 0, 0, 0},
12091{ SWIG_PY_INT, (char *)"STC_LEX_SCRIPTOL", (long) 33, 0, 0, 0},
12092{ SWIG_PY_INT, (char *)"STC_LEX_ASM", (long) 34, 0, 0, 0},
12093{ SWIG_PY_INT, (char *)"STC_LEX_CPPNOCASE", (long) 35, 0, 0, 0},
12094{ SWIG_PY_INT, (char *)"STC_LEX_FORTRAN", (long) 36, 0, 0, 0},
12095{ SWIG_PY_INT, (char *)"STC_LEX_F77", (long) 37, 0, 0, 0},
12096{ SWIG_PY_INT, (char *)"STC_LEX_CSS", (long) 38, 0, 0, 0},
12097{ SWIG_PY_INT, (char *)"STC_LEX_POV", (long) 39, 0, 0, 0},
12098{ SWIG_PY_INT, (char *)"STC_LEX_LOUT", (long) 40, 0, 0, 0},
12099{ SWIG_PY_INT, (char *)"STC_LEX_ESCRIPT", (long) 41, 0, 0, 0},
12100{ SWIG_PY_INT, (char *)"STC_LEX_PS", (long) 42, 0, 0, 0},
12101{ SWIG_PY_INT, (char *)"STC_LEX_NSIS", (long) 43, 0, 0, 0},
12102{ SWIG_PY_INT, (char *)"STC_LEX_MMIXAL", (long) 44, 0, 0, 0},
12103{ SWIG_PY_INT, (char *)"STC_LEX_AUTOMATIC", (long) 1000, 0, 0, 0},
12104{ SWIG_PY_INT, (char *)"STC_P_DEFAULT", (long) 0, 0, 0, 0},
12105{ SWIG_PY_INT, (char *)"STC_P_COMMENTLINE", (long) 1, 0, 0, 0},
12106{ SWIG_PY_INT, (char *)"STC_P_NUMBER", (long) 2, 0, 0, 0},
12107{ SWIG_PY_INT, (char *)"STC_P_STRING", (long) 3, 0, 0, 0},
12108{ SWIG_PY_INT, (char *)"STC_P_CHARACTER", (long) 4, 0, 0, 0},
12109{ SWIG_PY_INT, (char *)"STC_P_WORD", (long) 5, 0, 0, 0},
12110{ SWIG_PY_INT, (char *)"STC_P_TRIPLE", (long) 6, 0, 0, 0},
12111{ SWIG_PY_INT, (char *)"STC_P_TRIPLEDOUBLE", (long) 7, 0, 0, 0},
12112{ SWIG_PY_INT, (char *)"STC_P_CLASSNAME", (long) 8, 0, 0, 0},
12113{ SWIG_PY_INT, (char *)"STC_P_DEFNAME", (long) 9, 0, 0, 0},
12114{ SWIG_PY_INT, (char *)"STC_P_OPERATOR", (long) 10, 0, 0, 0},
12115{ SWIG_PY_INT, (char *)"STC_P_IDENTIFIER", (long) 11, 0, 0, 0},
12116{ SWIG_PY_INT, (char *)"STC_P_COMMENTBLOCK", (long) 12, 0, 0, 0},
12117{ SWIG_PY_INT, (char *)"STC_P_STRINGEOL", (long) 13, 0, 0, 0},
12118{ SWIG_PY_INT, (char *)"STC_C_DEFAULT", (long) 0, 0, 0, 0},
12119{ SWIG_PY_INT, (char *)"STC_C_COMMENT", (long) 1, 0, 0, 0},
12120{ SWIG_PY_INT, (char *)"STC_C_COMMENTLINE", (long) 2, 0, 0, 0},
12121{ SWIG_PY_INT, (char *)"STC_C_COMMENTDOC", (long) 3, 0, 0, 0},
12122{ SWIG_PY_INT, (char *)"STC_C_NUMBER", (long) 4, 0, 0, 0},
12123{ SWIG_PY_INT, (char *)"STC_C_WORD", (long) 5, 0, 0, 0},
12124{ SWIG_PY_INT, (char *)"STC_C_STRING", (long) 6, 0, 0, 0},
12125{ SWIG_PY_INT, (char *)"STC_C_CHARACTER", (long) 7, 0, 0, 0},
12126{ SWIG_PY_INT, (char *)"STC_C_UUID", (long) 8, 0, 0, 0},
12127{ SWIG_PY_INT, (char *)"STC_C_PREPROCESSOR", (long) 9, 0, 0, 0},
12128{ SWIG_PY_INT, (char *)"STC_C_OPERATOR", (long) 10, 0, 0, 0},
12129{ SWIG_PY_INT, (char *)"STC_C_IDENTIFIER", (long) 11, 0, 0, 0},
12130{ SWIG_PY_INT, (char *)"STC_C_STRINGEOL", (long) 12, 0, 0, 0},
12131{ SWIG_PY_INT, (char *)"STC_C_VERBATIM", (long) 13, 0, 0, 0},
12132{ SWIG_PY_INT, (char *)"STC_C_REGEX", (long) 14, 0, 0, 0},
12133{ SWIG_PY_INT, (char *)"STC_C_COMMENTLINEDOC", (long) 15, 0, 0, 0},
12134{ SWIG_PY_INT, (char *)"STC_C_WORD2", (long) 16, 0, 0, 0},
12135{ SWIG_PY_INT, (char *)"STC_C_COMMENTDOCKEYWORD", (long) 17, 0, 0, 0},
12136{ SWIG_PY_INT, (char *)"STC_C_COMMENTDOCKEYWORDERROR", (long) 18, 0, 0, 0},
12137{ SWIG_PY_INT, (char *)"STC_C_GLOBALCLASS", (long) 19, 0, 0, 0},
12138{ SWIG_PY_INT, (char *)"STC_H_DEFAULT", (long) 0, 0, 0, 0},
12139{ SWIG_PY_INT, (char *)"STC_H_TAG", (long) 1, 0, 0, 0},
12140{ SWIG_PY_INT, (char *)"STC_H_TAGUNKNOWN", (long) 2, 0, 0, 0},
12141{ SWIG_PY_INT, (char *)"STC_H_ATTRIBUTE", (long) 3, 0, 0, 0},
12142{ SWIG_PY_INT, (char *)"STC_H_ATTRIBUTEUNKNOWN", (long) 4, 0, 0, 0},
12143{ SWIG_PY_INT, (char *)"STC_H_NUMBER", (long) 5, 0, 0, 0},
12144{ SWIG_PY_INT, (char *)"STC_H_DOUBLESTRING", (long) 6, 0, 0, 0},
12145{ SWIG_PY_INT, (char *)"STC_H_SINGLESTRING", (long) 7, 0, 0, 0},
12146{ SWIG_PY_INT, (char *)"STC_H_OTHER", (long) 8, 0, 0, 0},
12147{ SWIG_PY_INT, (char *)"STC_H_COMMENT", (long) 9, 0, 0, 0},
12148{ SWIG_PY_INT, (char *)"STC_H_ENTITY", (long) 10, 0, 0, 0},
12149{ SWIG_PY_INT, (char *)"STC_H_TAGEND", (long) 11, 0, 0, 0},
12150{ SWIG_PY_INT, (char *)"STC_H_XMLSTART", (long) 12, 0, 0, 0},
12151{ SWIG_PY_INT, (char *)"STC_H_XMLEND", (long) 13, 0, 0, 0},
12152{ SWIG_PY_INT, (char *)"STC_H_SCRIPT", (long) 14, 0, 0, 0},
12153{ SWIG_PY_INT, (char *)"STC_H_ASP", (long) 15, 0, 0, 0},
12154{ SWIG_PY_INT, (char *)"STC_H_ASPAT", (long) 16, 0, 0, 0},
12155{ SWIG_PY_INT, (char *)"STC_H_CDATA", (long) 17, 0, 0, 0},
12156{ SWIG_PY_INT, (char *)"STC_H_QUESTION", (long) 18, 0, 0, 0},
12157{ SWIG_PY_INT, (char *)"STC_H_VALUE", (long) 19, 0, 0, 0},
12158{ SWIG_PY_INT, (char *)"STC_H_XCCOMMENT", (long) 20, 0, 0, 0},
12159{ SWIG_PY_INT, (char *)"STC_H_SGML_DEFAULT", (long) 21, 0, 0, 0},
12160{ SWIG_PY_INT, (char *)"STC_H_SGML_COMMAND", (long) 22, 0, 0, 0},
12161{ SWIG_PY_INT, (char *)"STC_H_SGML_1ST_PARAM", (long) 23, 0, 0, 0},
12162{ SWIG_PY_INT, (char *)"STC_H_SGML_DOUBLESTRING", (long) 24, 0, 0, 0},
12163{ SWIG_PY_INT, (char *)"STC_H_SGML_SIMPLESTRING", (long) 25, 0, 0, 0},
12164{ SWIG_PY_INT, (char *)"STC_H_SGML_ERROR", (long) 26, 0, 0, 0},
12165{ SWIG_PY_INT, (char *)"STC_H_SGML_SPECIAL", (long) 27, 0, 0, 0},
12166{ SWIG_PY_INT, (char *)"STC_H_SGML_ENTITY", (long) 28, 0, 0, 0},
12167{ SWIG_PY_INT, (char *)"STC_H_SGML_COMMENT", (long) 29, 0, 0, 0},
12168{ SWIG_PY_INT, (char *)"STC_H_SGML_1ST_PARAM_COMMENT", (long) 30, 0, 0, 0},
12169{ SWIG_PY_INT, (char *)"STC_H_SGML_BLOCK_DEFAULT", (long) 31, 0, 0, 0},
12170{ SWIG_PY_INT, (char *)"STC_HJ_START", (long) 40, 0, 0, 0},
12171{ SWIG_PY_INT, (char *)"STC_HJ_DEFAULT", (long) 41, 0, 0, 0},
12172{ SWIG_PY_INT, (char *)"STC_HJ_COMMENT", (long) 42, 0, 0, 0},
12173{ SWIG_PY_INT, (char *)"STC_HJ_COMMENTLINE", (long) 43, 0, 0, 0},
12174{ SWIG_PY_INT, (char *)"STC_HJ_COMMENTDOC", (long) 44, 0, 0, 0},
12175{ SWIG_PY_INT, (char *)"STC_HJ_NUMBER", (long) 45, 0, 0, 0},
12176{ SWIG_PY_INT, (char *)"STC_HJ_WORD", (long) 46, 0, 0, 0},
12177{ SWIG_PY_INT, (char *)"STC_HJ_KEYWORD", (long) 47, 0, 0, 0},
12178{ SWIG_PY_INT, (char *)"STC_HJ_DOUBLESTRING", (long) 48, 0, 0, 0},
12179{ SWIG_PY_INT, (char *)"STC_HJ_SINGLESTRING", (long) 49, 0, 0, 0},
12180{ SWIG_PY_INT, (char *)"STC_HJ_SYMBOLS", (long) 50, 0, 0, 0},
12181{ SWIG_PY_INT, (char *)"STC_HJ_STRINGEOL", (long) 51, 0, 0, 0},
12182{ SWIG_PY_INT, (char *)"STC_HJ_REGEX", (long) 52, 0, 0, 0},
12183{ SWIG_PY_INT, (char *)"STC_HJA_START", (long) 55, 0, 0, 0},
12184{ SWIG_PY_INT, (char *)"STC_HJA_DEFAULT", (long) 56, 0, 0, 0},
12185{ SWIG_PY_INT, (char *)"STC_HJA_COMMENT", (long) 57, 0, 0, 0},
12186{ SWIG_PY_INT, (char *)"STC_HJA_COMMENTLINE", (long) 58, 0, 0, 0},
12187{ SWIG_PY_INT, (char *)"STC_HJA_COMMENTDOC", (long) 59, 0, 0, 0},
12188{ SWIG_PY_INT, (char *)"STC_HJA_NUMBER", (long) 60, 0, 0, 0},
12189{ SWIG_PY_INT, (char *)"STC_HJA_WORD", (long) 61, 0, 0, 0},
12190{ SWIG_PY_INT, (char *)"STC_HJA_KEYWORD", (long) 62, 0, 0, 0},
12191{ SWIG_PY_INT, (char *)"STC_HJA_DOUBLESTRING", (long) 63, 0, 0, 0},
12192{ SWIG_PY_INT, (char *)"STC_HJA_SINGLESTRING", (long) 64, 0, 0, 0},
12193{ SWIG_PY_INT, (char *)"STC_HJA_SYMBOLS", (long) 65, 0, 0, 0},
12194{ SWIG_PY_INT, (char *)"STC_HJA_STRINGEOL", (long) 66, 0, 0, 0},
12195{ SWIG_PY_INT, (char *)"STC_HJA_REGEX", (long) 67, 0, 0, 0},
12196{ SWIG_PY_INT, (char *)"STC_HB_START", (long) 70, 0, 0, 0},
12197{ SWIG_PY_INT, (char *)"STC_HB_DEFAULT", (long) 71, 0, 0, 0},
12198{ SWIG_PY_INT, (char *)"STC_HB_COMMENTLINE", (long) 72, 0, 0, 0},
12199{ SWIG_PY_INT, (char *)"STC_HB_NUMBER", (long) 73, 0, 0, 0},
12200{ SWIG_PY_INT, (char *)"STC_HB_WORD", (long) 74, 0, 0, 0},
12201{ SWIG_PY_INT, (char *)"STC_HB_STRING", (long) 75, 0, 0, 0},
12202{ SWIG_PY_INT, (char *)"STC_HB_IDENTIFIER", (long) 76, 0, 0, 0},
12203{ SWIG_PY_INT, (char *)"STC_HB_STRINGEOL", (long) 77, 0, 0, 0},
12204{ SWIG_PY_INT, (char *)"STC_HBA_START", (long) 80, 0, 0, 0},
12205{ SWIG_PY_INT, (char *)"STC_HBA_DEFAULT", (long) 81, 0, 0, 0},
12206{ SWIG_PY_INT, (char *)"STC_HBA_COMMENTLINE", (long) 82, 0, 0, 0},
12207{ SWIG_PY_INT, (char *)"STC_HBA_NUMBER", (long) 83, 0, 0, 0},
12208{ SWIG_PY_INT, (char *)"STC_HBA_WORD", (long) 84, 0, 0, 0},
12209{ SWIG_PY_INT, (char *)"STC_HBA_STRING", (long) 85, 0, 0, 0},
12210{ SWIG_PY_INT, (char *)"STC_HBA_IDENTIFIER", (long) 86, 0, 0, 0},
12211{ SWIG_PY_INT, (char *)"STC_HBA_STRINGEOL", (long) 87, 0, 0, 0},
12212{ SWIG_PY_INT, (char *)"STC_HP_START", (long) 90, 0, 0, 0},
12213{ SWIG_PY_INT, (char *)"STC_HP_DEFAULT", (long) 91, 0, 0, 0},
12214{ SWIG_PY_INT, (char *)"STC_HP_COMMENTLINE", (long) 92, 0, 0, 0},
12215{ SWIG_PY_INT, (char *)"STC_HP_NUMBER", (long) 93, 0, 0, 0},
12216{ SWIG_PY_INT, (char *)"STC_HP_STRING", (long) 94, 0, 0, 0},
12217{ SWIG_PY_INT, (char *)"STC_HP_CHARACTER", (long) 95, 0, 0, 0},
12218{ SWIG_PY_INT, (char *)"STC_HP_WORD", (long) 96, 0, 0, 0},
12219{ SWIG_PY_INT, (char *)"STC_HP_TRIPLE", (long) 97, 0, 0, 0},
12220{ SWIG_PY_INT, (char *)"STC_HP_TRIPLEDOUBLE", (long) 98, 0, 0, 0},
12221{ SWIG_PY_INT, (char *)"STC_HP_CLASSNAME", (long) 99, 0, 0, 0},
12222{ SWIG_PY_INT, (char *)"STC_HP_DEFNAME", (long) 100, 0, 0, 0},
12223{ SWIG_PY_INT, (char *)"STC_HP_OPERATOR", (long) 101, 0, 0, 0},
12224{ SWIG_PY_INT, (char *)"STC_HP_IDENTIFIER", (long) 102, 0, 0, 0},
12225{ SWIG_PY_INT, (char *)"STC_HPA_START", (long) 105, 0, 0, 0},
12226{ SWIG_PY_INT, (char *)"STC_HPA_DEFAULT", (long) 106, 0, 0, 0},
12227{ SWIG_PY_INT, (char *)"STC_HPA_COMMENTLINE", (long) 107, 0, 0, 0},
12228{ SWIG_PY_INT, (char *)"STC_HPA_NUMBER", (long) 108, 0, 0, 0},
12229{ SWIG_PY_INT, (char *)"STC_HPA_STRING", (long) 109, 0, 0, 0},
12230{ SWIG_PY_INT, (char *)"STC_HPA_CHARACTER", (long) 110, 0, 0, 0},
12231{ SWIG_PY_INT, (char *)"STC_HPA_WORD", (long) 111, 0, 0, 0},
12232{ SWIG_PY_INT, (char *)"STC_HPA_TRIPLE", (long) 112, 0, 0, 0},
12233{ SWIG_PY_INT, (char *)"STC_HPA_TRIPLEDOUBLE", (long) 113, 0, 0, 0},
12234{ SWIG_PY_INT, (char *)"STC_HPA_CLASSNAME", (long) 114, 0, 0, 0},
12235{ SWIG_PY_INT, (char *)"STC_HPA_DEFNAME", (long) 115, 0, 0, 0},
12236{ SWIG_PY_INT, (char *)"STC_HPA_OPERATOR", (long) 116, 0, 0, 0},
12237{ SWIG_PY_INT, (char *)"STC_HPA_IDENTIFIER", (long) 117, 0, 0, 0},
12238{ SWIG_PY_INT, (char *)"STC_HPHP_DEFAULT", (long) 118, 0, 0, 0},
12239{ SWIG_PY_INT, (char *)"STC_HPHP_HSTRING", (long) 119, 0, 0, 0},
12240{ SWIG_PY_INT, (char *)"STC_HPHP_SIMPLESTRING", (long) 120, 0, 0, 0},
12241{ SWIG_PY_INT, (char *)"STC_HPHP_WORD", (long) 121, 0, 0, 0},
12242{ SWIG_PY_INT, (char *)"STC_HPHP_NUMBER", (long) 122, 0, 0, 0},
12243{ SWIG_PY_INT, (char *)"STC_HPHP_VARIABLE", (long) 123, 0, 0, 0},
12244{ SWIG_PY_INT, (char *)"STC_HPHP_COMMENT", (long) 124, 0, 0, 0},
12245{ SWIG_PY_INT, (char *)"STC_HPHP_COMMENTLINE", (long) 125, 0, 0, 0},
12246{ SWIG_PY_INT, (char *)"STC_HPHP_HSTRING_VARIABLE", (long) 126, 0, 0, 0},
12247{ SWIG_PY_INT, (char *)"STC_HPHP_OPERATOR", (long) 127, 0, 0, 0},
12248{ SWIG_PY_INT, (char *)"STC_PL_DEFAULT", (long) 0, 0, 0, 0},
12249{ SWIG_PY_INT, (char *)"STC_PL_ERROR", (long) 1, 0, 0, 0},
12250{ SWIG_PY_INT, (char *)"STC_PL_COMMENTLINE", (long) 2, 0, 0, 0},
12251{ SWIG_PY_INT, (char *)"STC_PL_POD", (long) 3, 0, 0, 0},
12252{ SWIG_PY_INT, (char *)"STC_PL_NUMBER", (long) 4, 0, 0, 0},
12253{ SWIG_PY_INT, (char *)"STC_PL_WORD", (long) 5, 0, 0, 0},
12254{ SWIG_PY_INT, (char *)"STC_PL_STRING", (long) 6, 0, 0, 0},
12255{ SWIG_PY_INT, (char *)"STC_PL_CHARACTER", (long) 7, 0, 0, 0},
12256{ SWIG_PY_INT, (char *)"STC_PL_PUNCTUATION", (long) 8, 0, 0, 0},
12257{ SWIG_PY_INT, (char *)"STC_PL_PREPROCESSOR", (long) 9, 0, 0, 0},
12258{ SWIG_PY_INT, (char *)"STC_PL_OPERATOR", (long) 10, 0, 0, 0},
12259{ SWIG_PY_INT, (char *)"STC_PL_IDENTIFIER", (long) 11, 0, 0, 0},
12260{ SWIG_PY_INT, (char *)"STC_PL_SCALAR", (long) 12, 0, 0, 0},
12261{ SWIG_PY_INT, (char *)"STC_PL_ARRAY", (long) 13, 0, 0, 0},
12262{ SWIG_PY_INT, (char *)"STC_PL_HASH", (long) 14, 0, 0, 0},
12263{ SWIG_PY_INT, (char *)"STC_PL_SYMBOLTABLE", (long) 15, 0, 0, 0},
12264{ SWIG_PY_INT, (char *)"STC_PL_REGEX", (long) 17, 0, 0, 0},
12265{ SWIG_PY_INT, (char *)"STC_PL_REGSUBST", (long) 18, 0, 0, 0},
12266{ SWIG_PY_INT, (char *)"STC_PL_LONGQUOTE", (long) 19, 0, 0, 0},
12267{ SWIG_PY_INT, (char *)"STC_PL_BACKTICKS", (long) 20, 0, 0, 0},
12268{ SWIG_PY_INT, (char *)"STC_PL_DATASECTION", (long) 21, 0, 0, 0},
12269{ SWIG_PY_INT, (char *)"STC_PL_HERE_DELIM", (long) 22, 0, 0, 0},
12270{ SWIG_PY_INT, (char *)"STC_PL_HERE_Q", (long) 23, 0, 0, 0},
12271{ SWIG_PY_INT, (char *)"STC_PL_HERE_QQ", (long) 24, 0, 0, 0},
12272{ SWIG_PY_INT, (char *)"STC_PL_HERE_QX", (long) 25, 0, 0, 0},
12273{ SWIG_PY_INT, (char *)"STC_PL_STRING_Q", (long) 26, 0, 0, 0},
12274{ SWIG_PY_INT, (char *)"STC_PL_STRING_QQ", (long) 27, 0, 0, 0},
12275{ SWIG_PY_INT, (char *)"STC_PL_STRING_QX", (long) 28, 0, 0, 0},
12276{ SWIG_PY_INT, (char *)"STC_PL_STRING_QR", (long) 29, 0, 0, 0},
12277{ SWIG_PY_INT, (char *)"STC_PL_STRING_QW", (long) 30, 0, 0, 0},
12278{ SWIG_PY_INT, (char *)"STC_B_DEFAULT", (long) 0, 0, 0, 0},
12279{ SWIG_PY_INT, (char *)"STC_B_COMMENT", (long) 1, 0, 0, 0},
12280{ SWIG_PY_INT, (char *)"STC_B_NUMBER", (long) 2, 0, 0, 0},
12281{ SWIG_PY_INT, (char *)"STC_B_KEYWORD", (long) 3, 0, 0, 0},
12282{ SWIG_PY_INT, (char *)"STC_B_STRING", (long) 4, 0, 0, 0},
12283{ SWIG_PY_INT, (char *)"STC_B_PREPROCESSOR", (long) 5, 0, 0, 0},
12284{ SWIG_PY_INT, (char *)"STC_B_OPERATOR", (long) 6, 0, 0, 0},
12285{ SWIG_PY_INT, (char *)"STC_B_IDENTIFIER", (long) 7, 0, 0, 0},
12286{ SWIG_PY_INT, (char *)"STC_B_DATE", (long) 8, 0, 0, 0},
12287{ SWIG_PY_INT, (char *)"STC_PROPS_DEFAULT", (long) 0, 0, 0, 0},
12288{ SWIG_PY_INT, (char *)"STC_PROPS_COMMENT", (long) 1, 0, 0, 0},
12289{ SWIG_PY_INT, (char *)"STC_PROPS_SECTION", (long) 2, 0, 0, 0},
12290{ SWIG_PY_INT, (char *)"STC_PROPS_ASSIGNMENT", (long) 3, 0, 0, 0},
12291{ SWIG_PY_INT, (char *)"STC_PROPS_DEFVAL", (long) 4, 0, 0, 0},
12292{ SWIG_PY_INT, (char *)"STC_L_DEFAULT", (long) 0, 0, 0, 0},
12293{ SWIG_PY_INT, (char *)"STC_L_COMMAND", (long) 1, 0, 0, 0},
12294{ SWIG_PY_INT, (char *)"STC_L_TAG", (long) 2, 0, 0, 0},
12295{ SWIG_PY_INT, (char *)"STC_L_MATH", (long) 3, 0, 0, 0},
12296{ SWIG_PY_INT, (char *)"STC_L_COMMENT", (long) 4, 0, 0, 0},
12297{ SWIG_PY_INT, (char *)"STC_LUA_DEFAULT", (long) 0, 0, 0, 0},
12298{ SWIG_PY_INT, (char *)"STC_LUA_COMMENT", (long) 1, 0, 0, 0},
12299{ SWIG_PY_INT, (char *)"STC_LUA_COMMENTLINE", (long) 2, 0, 0, 0},
12300{ SWIG_PY_INT, (char *)"STC_LUA_COMMENTDOC", (long) 3, 0, 0, 0},
12301{ SWIG_PY_INT, (char *)"STC_LUA_NUMBER", (long) 4, 0, 0, 0},
12302{ SWIG_PY_INT, (char *)"STC_LUA_WORD", (long) 5, 0, 0, 0},
12303{ SWIG_PY_INT, (char *)"STC_LUA_STRING", (long) 6, 0, 0, 0},
12304{ SWIG_PY_INT, (char *)"STC_LUA_CHARACTER", (long) 7, 0, 0, 0},
12305{ SWIG_PY_INT, (char *)"STC_LUA_LITERALSTRING", (long) 8, 0, 0, 0},
12306{ SWIG_PY_INT, (char *)"STC_LUA_PREPROCESSOR", (long) 9, 0, 0, 0},
12307{ SWIG_PY_INT, (char *)"STC_LUA_OPERATOR", (long) 10, 0, 0, 0},
12308{ SWIG_PY_INT, (char *)"STC_LUA_IDENTIFIER", (long) 11, 0, 0, 0},
12309{ SWIG_PY_INT, (char *)"STC_LUA_STRINGEOL", (long) 12, 0, 0, 0},
12310{ SWIG_PY_INT, (char *)"STC_LUA_WORD2", (long) 13, 0, 0, 0},
12311{ SWIG_PY_INT, (char *)"STC_LUA_WORD3", (long) 14, 0, 0, 0},
12312{ SWIG_PY_INT, (char *)"STC_LUA_WORD4", (long) 15, 0, 0, 0},
12313{ SWIG_PY_INT, (char *)"STC_LUA_WORD5", (long) 16, 0, 0, 0},
12314{ SWIG_PY_INT, (char *)"STC_LUA_WORD6", (long) 17, 0, 0, 0},
12315{ SWIG_PY_INT, (char *)"STC_LUA_WORD7", (long) 18, 0, 0, 0},
12316{ SWIG_PY_INT, (char *)"STC_LUA_WORD8", (long) 19, 0, 0, 0},
12317{ SWIG_PY_INT, (char *)"STC_ERR_DEFAULT", (long) 0, 0, 0, 0},
12318{ SWIG_PY_INT, (char *)"STC_ERR_PYTHON", (long) 1, 0, 0, 0},
12319{ SWIG_PY_INT, (char *)"STC_ERR_GCC", (long) 2, 0, 0, 0},
12320{ SWIG_PY_INT, (char *)"STC_ERR_MS", (long) 3, 0, 0, 0},
12321{ SWIG_PY_INT, (char *)"STC_ERR_CMD", (long) 4, 0, 0, 0},
12322{ SWIG_PY_INT, (char *)"STC_ERR_BORLAND", (long) 5, 0, 0, 0},
12323{ SWIG_PY_INT, (char *)"STC_ERR_PERL", (long) 6, 0, 0, 0},
12324{ SWIG_PY_INT, (char *)"STC_ERR_NET", (long) 7, 0, 0, 0},
12325{ SWIG_PY_INT, (char *)"STC_ERR_LUA", (long) 8, 0, 0, 0},
12326{ SWIG_PY_INT, (char *)"STC_ERR_CTAG", (long) 9, 0, 0, 0},
12327{ SWIG_PY_INT, (char *)"STC_ERR_DIFF_CHANGED", (long) 10, 0, 0, 0},
12328{ SWIG_PY_INT, (char *)"STC_ERR_DIFF_ADDITION", (long) 11, 0, 0, 0},
12329{ SWIG_PY_INT, (char *)"STC_ERR_DIFF_DELETION", (long) 12, 0, 0, 0},
12330{ SWIG_PY_INT, (char *)"STC_ERR_DIFF_MESSAGE", (long) 13, 0, 0, 0},
12331{ SWIG_PY_INT, (char *)"STC_ERR_PHP", (long) 14, 0, 0, 0},
12332{ SWIG_PY_INT, (char *)"STC_ERR_ELF", (long) 15, 0, 0, 0},
12333{ SWIG_PY_INT, (char *)"STC_ERR_IFC", (long) 16, 0, 0, 0},
12334{ SWIG_PY_INT, (char *)"STC_BAT_DEFAULT", (long) 0, 0, 0, 0},
12335{ SWIG_PY_INT, (char *)"STC_BAT_COMMENT", (long) 1, 0, 0, 0},
12336{ SWIG_PY_INT, (char *)"STC_BAT_WORD", (long) 2, 0, 0, 0},
12337{ SWIG_PY_INT, (char *)"STC_BAT_LABEL", (long) 3, 0, 0, 0},
12338{ SWIG_PY_INT, (char *)"STC_BAT_HIDE", (long) 4, 0, 0, 0},
12339{ SWIG_PY_INT, (char *)"STC_BAT_COMMAND", (long) 5, 0, 0, 0},
12340{ SWIG_PY_INT, (char *)"STC_BAT_IDENTIFIER", (long) 6, 0, 0, 0},
12341{ SWIG_PY_INT, (char *)"STC_BAT_OPERATOR", (long) 7, 0, 0, 0},
12342{ SWIG_PY_INT, (char *)"STC_MAKE_DEFAULT", (long) 0, 0, 0, 0},
12343{ SWIG_PY_INT, (char *)"STC_MAKE_COMMENT", (long) 1, 0, 0, 0},
12344{ SWIG_PY_INT, (char *)"STC_MAKE_PREPROCESSOR", (long) 2, 0, 0, 0},
12345{ SWIG_PY_INT, (char *)"STC_MAKE_IDENTIFIER", (long) 3, 0, 0, 0},
12346{ SWIG_PY_INT, (char *)"STC_MAKE_OPERATOR", (long) 4, 0, 0, 0},
12347{ SWIG_PY_INT, (char *)"STC_MAKE_TARGET", (long) 5, 0, 0, 0},
12348{ SWIG_PY_INT, (char *)"STC_MAKE_IDEOL", (long) 9, 0, 0, 0},
12349{ SWIG_PY_INT, (char *)"STC_DIFF_DEFAULT", (long) 0, 0, 0, 0},
12350{ SWIG_PY_INT, (char *)"STC_DIFF_COMMENT", (long) 1, 0, 0, 0},
12351{ SWIG_PY_INT, (char *)"STC_DIFF_COMMAND", (long) 2, 0, 0, 0},
12352{ SWIG_PY_INT, (char *)"STC_DIFF_HEADER", (long) 3, 0, 0, 0},
12353{ SWIG_PY_INT, (char *)"STC_DIFF_POSITION", (long) 4, 0, 0, 0},
12354{ SWIG_PY_INT, (char *)"STC_DIFF_DELETED", (long) 5, 0, 0, 0},
12355{ SWIG_PY_INT, (char *)"STC_DIFF_ADDED", (long) 6, 0, 0, 0},
12356{ SWIG_PY_INT, (char *)"STC_CONF_DEFAULT", (long) 0, 0, 0, 0},
12357{ SWIG_PY_INT, (char *)"STC_CONF_COMMENT", (long) 1, 0, 0, 0},
12358{ SWIG_PY_INT, (char *)"STC_CONF_NUMBER", (long) 2, 0, 0, 0},
12359{ SWIG_PY_INT, (char *)"STC_CONF_IDENTIFIER", (long) 3, 0, 0, 0},
12360{ SWIG_PY_INT, (char *)"STC_CONF_EXTENSION", (long) 4, 0, 0, 0},
12361{ SWIG_PY_INT, (char *)"STC_CONF_PARAMETER", (long) 5, 0, 0, 0},
12362{ SWIG_PY_INT, (char *)"STC_CONF_STRING", (long) 6, 0, 0, 0},
12363{ SWIG_PY_INT, (char *)"STC_CONF_OPERATOR", (long) 7, 0, 0, 0},
12364{ SWIG_PY_INT, (char *)"STC_CONF_IP", (long) 8, 0, 0, 0},
12365{ SWIG_PY_INT, (char *)"STC_CONF_DIRECTIVE", (long) 9, 0, 0, 0},
12366{ SWIG_PY_INT, (char *)"STC_AVE_DEFAULT", (long) 0, 0, 0, 0},
12367{ SWIG_PY_INT, (char *)"STC_AVE_COMMENT", (long) 1, 0, 0, 0},
12368{ SWIG_PY_INT, (char *)"STC_AVE_NUMBER", (long) 2, 0, 0, 0},
12369{ SWIG_PY_INT, (char *)"STC_AVE_WORD", (long) 3, 0, 0, 0},
12370{ SWIG_PY_INT, (char *)"STC_AVE_STRING", (long) 6, 0, 0, 0},
12371{ SWIG_PY_INT, (char *)"STC_AVE_ENUM", (long) 7, 0, 0, 0},
12372{ SWIG_PY_INT, (char *)"STC_AVE_STRINGEOL", (long) 8, 0, 0, 0},
12373{ SWIG_PY_INT, (char *)"STC_AVE_IDENTIFIER", (long) 9, 0, 0, 0},
12374{ SWIG_PY_INT, (char *)"STC_AVE_OPERATOR", (long) 10, 0, 0, 0},
12375{ SWIG_PY_INT, (char *)"STC_AVE_WORD1", (long) 11, 0, 0, 0},
12376{ SWIG_PY_INT, (char *)"STC_AVE_WORD2", (long) 12, 0, 0, 0},
12377{ SWIG_PY_INT, (char *)"STC_AVE_WORD3", (long) 13, 0, 0, 0},
12378{ SWIG_PY_INT, (char *)"STC_AVE_WORD4", (long) 14, 0, 0, 0},
12379{ SWIG_PY_INT, (char *)"STC_AVE_WORD5", (long) 15, 0, 0, 0},
12380{ SWIG_PY_INT, (char *)"STC_AVE_WORD6", (long) 16, 0, 0, 0},
12381{ SWIG_PY_INT, (char *)"STC_ADA_DEFAULT", (long) 0, 0, 0, 0},
12382{ SWIG_PY_INT, (char *)"STC_ADA_WORD", (long) 1, 0, 0, 0},
12383{ SWIG_PY_INT, (char *)"STC_ADA_IDENTIFIER", (long) 2, 0, 0, 0},
12384{ SWIG_PY_INT, (char *)"STC_ADA_NUMBER", (long) 3, 0, 0, 0},
12385{ SWIG_PY_INT, (char *)"STC_ADA_DELIMITER", (long) 4, 0, 0, 0},
12386{ SWIG_PY_INT, (char *)"STC_ADA_CHARACTER", (long) 5, 0, 0, 0},
12387{ SWIG_PY_INT, (char *)"STC_ADA_CHARACTEREOL", (long) 6, 0, 0, 0},
12388{ SWIG_PY_INT, (char *)"STC_ADA_STRING", (long) 7, 0, 0, 0},
12389{ SWIG_PY_INT, (char *)"STC_ADA_STRINGEOL", (long) 8, 0, 0, 0},
12390{ SWIG_PY_INT, (char *)"STC_ADA_LABEL", (long) 9, 0, 0, 0},
12391{ SWIG_PY_INT, (char *)"STC_ADA_COMMENTLINE", (long) 10, 0, 0, 0},
12392{ SWIG_PY_INT, (char *)"STC_ADA_ILLEGAL", (long) 11, 0, 0, 0},
12393{ SWIG_PY_INT, (char *)"STC_BAAN_DEFAULT", (long) 0, 0, 0, 0},
12394{ SWIG_PY_INT, (char *)"STC_BAAN_COMMENT", (long) 1, 0, 0, 0},
12395{ SWIG_PY_INT, (char *)"STC_BAAN_COMMENTDOC", (long) 2, 0, 0, 0},
12396{ SWIG_PY_INT, (char *)"STC_BAAN_NUMBER", (long) 3, 0, 0, 0},
12397{ SWIG_PY_INT, (char *)"STC_BAAN_WORD", (long) 4, 0, 0, 0},
12398{ SWIG_PY_INT, (char *)"STC_BAAN_STRING", (long) 5, 0, 0, 0},
12399{ SWIG_PY_INT, (char *)"STC_BAAN_PREPROCESSOR", (long) 6, 0, 0, 0},
12400{ SWIG_PY_INT, (char *)"STC_BAAN_OPERATOR", (long) 7, 0, 0, 0},
12401{ SWIG_PY_INT, (char *)"STC_BAAN_IDENTIFIER", (long) 8, 0, 0, 0},
12402{ SWIG_PY_INT, (char *)"STC_BAAN_STRINGEOL", (long) 9, 0, 0, 0},
12403{ SWIG_PY_INT, (char *)"STC_BAAN_WORD2", (long) 10, 0, 0, 0},
12404{ SWIG_PY_INT, (char *)"STC_LISP_DEFAULT", (long) 0, 0, 0, 0},
12405{ SWIG_PY_INT, (char *)"STC_LISP_COMMENT", (long) 1, 0, 0, 0},
12406{ SWIG_PY_INT, (char *)"STC_LISP_NUMBER", (long) 2, 0, 0, 0},
12407{ SWIG_PY_INT, (char *)"STC_LISP_KEYWORD", (long) 3, 0, 0, 0},
12408{ SWIG_PY_INT, (char *)"STC_LISP_STRING", (long) 6, 0, 0, 0},
12409{ SWIG_PY_INT, (char *)"STC_LISP_STRINGEOL", (long) 8, 0, 0, 0},
12410{ SWIG_PY_INT, (char *)"STC_LISP_IDENTIFIER", (long) 9, 0, 0, 0},
12411{ SWIG_PY_INT, (char *)"STC_LISP_OPERATOR", (long) 10, 0, 0, 0},
12412{ SWIG_PY_INT, (char *)"STC_EIFFEL_DEFAULT", (long) 0, 0, 0, 0},
12413{ SWIG_PY_INT, (char *)"STC_EIFFEL_COMMENTLINE", (long) 1, 0, 0, 0},
12414{ SWIG_PY_INT, (char *)"STC_EIFFEL_NUMBER", (long) 2, 0, 0, 0},
12415{ SWIG_PY_INT, (char *)"STC_EIFFEL_WORD", (long) 3, 0, 0, 0},
12416{ SWIG_PY_INT, (char *)"STC_EIFFEL_STRING", (long) 4, 0, 0, 0},
12417{ SWIG_PY_INT, (char *)"STC_EIFFEL_CHARACTER", (long) 5, 0, 0, 0},
12418{ SWIG_PY_INT, (char *)"STC_EIFFEL_OPERATOR", (long) 6, 0, 0, 0},
12419{ SWIG_PY_INT, (char *)"STC_EIFFEL_IDENTIFIER", (long) 7, 0, 0, 0},
12420{ SWIG_PY_INT, (char *)"STC_EIFFEL_STRINGEOL", (long) 8, 0, 0, 0},
12421{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_DEFAULT", (long) 0, 0, 0, 0},
12422{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_COMMENT", (long) 1, 0, 0, 0},
12423{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_TASK", (long) 2, 0, 0, 0},
12424{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_SECTION", (long) 3, 0, 0, 0},
12425{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_KEYWORD", (long) 4, 0, 0, 0},
12426{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_MODIFIER", (long) 5, 0, 0, 0},
12427{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_ASTERISK", (long) 6, 0, 0, 0},
12428{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_NUMBER", (long) 7, 0, 0, 0},
12429{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_STRING", (long) 8, 0, 0, 0},
12430{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_ENVIRONMENT", (long) 9, 0, 0, 0},
12431{ SWIG_PY_INT, (char *)"STC_NNCRONTAB_IDENTIFIER", (long) 10, 0, 0, 0},
12432{ SWIG_PY_INT, (char *)"STC_MATLAB_DEFAULT", (long) 0, 0, 0, 0},
12433{ SWIG_PY_INT, (char *)"STC_MATLAB_COMMENT", (long) 1, 0, 0, 0},
12434{ SWIG_PY_INT, (char *)"STC_MATLAB_COMMAND", (long) 2, 0, 0, 0},
12435{ SWIG_PY_INT, (char *)"STC_MATLAB_NUMBER", (long) 3, 0, 0, 0},
12436{ SWIG_PY_INT, (char *)"STC_MATLAB_KEYWORD", (long) 4, 0, 0, 0},
12437{ SWIG_PY_INT, (char *)"STC_MATLAB_STRING", (long) 5, 0, 0, 0},
12438{ SWIG_PY_INT, (char *)"STC_MATLAB_OPERATOR", (long) 6, 0, 0, 0},
12439{ SWIG_PY_INT, (char *)"STC_MATLAB_IDENTIFIER", (long) 7, 0, 0, 0},
12440{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_DEFAULT", (long) 0, 0, 0, 0},
12441{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENT", (long) 1, 0, 0, 0},
12442{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTLINE", (long) 2, 0, 0, 0},
12443{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOC", (long) 3, 0, 0, 0},
12444{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_NUMBER", (long) 4, 0, 0, 0},
12445{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_WORD", (long) 5, 0, 0, 0},
12446{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_STRING", (long) 6, 0, 0, 0},
12447{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_CHARACTER", (long) 7, 0, 0, 0},
12448{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_UUID", (long) 8, 0, 0, 0},
12449{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_PREPROCESSOR", (long) 9, 0, 0, 0},
12450{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_OPERATOR", (long) 10, 0, 0, 0},
12451{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_IDENTIFIER", (long) 11, 0, 0, 0},
12452{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_STRINGEOL", (long) 12, 0, 0, 0},
12453{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_VERBATIM", (long) 13, 0, 0, 0},
12454{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_REGEX", (long) 14, 0, 0, 0},
12455{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTLINEDOC", (long) 15, 0, 0, 0},
12456{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_WORD2", (long) 16, 0, 0, 0},
12457{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOCKEYWORD", (long) 17, 0, 0, 0},
12458{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOCKEYWORDERROR", (long) 18, 0, 0, 0},
12459{ SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTBASIC", (long) 19, 0, 0, 0},
12460{ SWIG_PY_INT, (char *)"STC_ASM_DEFAULT", (long) 0, 0, 0, 0},
12461{ SWIG_PY_INT, (char *)"STC_ASM_COMMENT", (long) 1, 0, 0, 0},
12462{ SWIG_PY_INT, (char *)"STC_ASM_NUMBER", (long) 2, 0, 0, 0},
12463{ SWIG_PY_INT, (char *)"STC_ASM_STRING", (long) 3, 0, 0, 0},
12464{ SWIG_PY_INT, (char *)"STC_ASM_OPERATOR", (long) 4, 0, 0, 0},
12465{ SWIG_PY_INT, (char *)"STC_ASM_IDENTIFIER", (long) 5, 0, 0, 0},
12466{ SWIG_PY_INT, (char *)"STC_ASM_CPUINSTRUCTION", (long) 6, 0, 0, 0},
12467{ SWIG_PY_INT, (char *)"STC_ASM_MATHINSTRUCTION", (long) 7, 0, 0, 0},
12468{ SWIG_PY_INT, (char *)"STC_ASM_REGISTER", (long) 8, 0, 0, 0},
12469{ SWIG_PY_INT, (char *)"STC_ASM_DIRECTIVE", (long) 9, 0, 0, 0},
12470{ SWIG_PY_INT, (char *)"STC_ASM_DIRECTIVEOPERAND", (long) 10, 0, 0, 0},
12471{ SWIG_PY_INT, (char *)"STC_F_DEFAULT", (long) 0, 0, 0, 0},
12472{ SWIG_PY_INT, (char *)"STC_F_COMMENT", (long) 1, 0, 0, 0},
12473{ SWIG_PY_INT, (char *)"STC_F_NUMBER", (long) 2, 0, 0, 0},
12474{ SWIG_PY_INT, (char *)"STC_F_STRING1", (long) 3, 0, 0, 0},
12475{ SWIG_PY_INT, (char *)"STC_F_STRING2", (long) 4, 0, 0, 0},
12476{ SWIG_PY_INT, (char *)"STC_F_STRINGEOL", (long) 5, 0, 0, 0},
12477{ SWIG_PY_INT, (char *)"STC_F_OPERATOR", (long) 6, 0, 0, 0},
12478{ SWIG_PY_INT, (char *)"STC_F_IDENTIFIER", (long) 7, 0, 0, 0},
12479{ SWIG_PY_INT, (char *)"STC_F_WORD", (long) 8, 0, 0, 0},
12480{ SWIG_PY_INT, (char *)"STC_F_WORD2", (long) 9, 0, 0, 0},
12481{ SWIG_PY_INT, (char *)"STC_F_WORD3", (long) 10, 0, 0, 0},
12482{ SWIG_PY_INT, (char *)"STC_F_PREPROCESSOR", (long) 11, 0, 0, 0},
12483{ SWIG_PY_INT, (char *)"STC_F_OPERATOR2", (long) 12, 0, 0, 0},
12484{ SWIG_PY_INT, (char *)"STC_F_LABEL", (long) 13, 0, 0, 0},
12485{ SWIG_PY_INT, (char *)"STC_F_CONTINUATION", (long) 14, 0, 0, 0},
12486{ SWIG_PY_INT, (char *)"STC_CSS_DEFAULT", (long) 0, 0, 0, 0},
12487{ SWIG_PY_INT, (char *)"STC_CSS_TAG", (long) 1, 0, 0, 0},
12488{ SWIG_PY_INT, (char *)"STC_CSS_CLASS", (long) 2, 0, 0, 0},
12489{ SWIG_PY_INT, (char *)"STC_CSS_PSEUDOCLASS", (long) 3, 0, 0, 0},
12490{ SWIG_PY_INT, (char *)"STC_CSS_UNKNOWN_PSEUDOCLASS", (long) 4, 0, 0, 0},
12491{ SWIG_PY_INT, (char *)"STC_CSS_OPERATOR", (long) 5, 0, 0, 0},
12492{ SWIG_PY_INT, (char *)"STC_CSS_IDENTIFIER", (long) 6, 0, 0, 0},
12493{ SWIG_PY_INT, (char *)"STC_CSS_UNKNOWN_IDENTIFIER", (long) 7, 0, 0, 0},
12494{ SWIG_PY_INT, (char *)"STC_CSS_VALUE", (long) 8, 0, 0, 0},
12495{ SWIG_PY_INT, (char *)"STC_CSS_COMMENT", (long) 9, 0, 0, 0},
12496{ SWIG_PY_INT, (char *)"STC_CSS_ID", (long) 10, 0, 0, 0},
12497{ SWIG_PY_INT, (char *)"STC_CSS_IMPORTANT", (long) 11, 0, 0, 0},
12498{ SWIG_PY_INT, (char *)"STC_CSS_DIRECTIVE", (long) 12, 0, 0, 0},
12499{ SWIG_PY_INT, (char *)"STC_CSS_DOUBLESTRING", (long) 13, 0, 0, 0},
12500{ SWIG_PY_INT, (char *)"STC_CSS_SINGLESTRING", (long) 14, 0, 0, 0},
12501{ SWIG_PY_INT, (char *)"STC_POV_DEFAULT", (long) 0, 0, 0, 0},
12502{ SWIG_PY_INT, (char *)"STC_POV_COMMENT", (long) 1, 0, 0, 0},
12503{ SWIG_PY_INT, (char *)"STC_POV_COMMENTLINE", (long) 2, 0, 0, 0},
12504{ SWIG_PY_INT, (char *)"STC_POV_NUMBER", (long) 3, 0, 0, 0},
12505{ SWIG_PY_INT, (char *)"STC_POV_OPERATOR", (long) 4, 0, 0, 0},
12506{ SWIG_PY_INT, (char *)"STC_POV_IDENTIFIER", (long) 5, 0, 0, 0},
12507{ SWIG_PY_INT, (char *)"STC_POV_STRING", (long) 6, 0, 0, 0},
12508{ SWIG_PY_INT, (char *)"STC_POV_STRINGEOL", (long) 7, 0, 0, 0},
12509{ SWIG_PY_INT, (char *)"STC_POV_DIRECTIVE", (long) 8, 0, 0, 0},
12510{ SWIG_PY_INT, (char *)"STC_POV_BADDIRECTIVE", (long) 9, 0, 0, 0},
12511{ SWIG_PY_INT, (char *)"STC_POV_WORD2", (long) 10, 0, 0, 0},
12512{ SWIG_PY_INT, (char *)"STC_POV_WORD3", (long) 11, 0, 0, 0},
12513{ SWIG_PY_INT, (char *)"STC_POV_WORD4", (long) 12, 0, 0, 0},
12514{ SWIG_PY_INT, (char *)"STC_POV_WORD5", (long) 13, 0, 0, 0},
12515{ SWIG_PY_INT, (char *)"STC_POV_WORD6", (long) 14, 0, 0, 0},
12516{ SWIG_PY_INT, (char *)"STC_POV_WORD7", (long) 15, 0, 0, 0},
12517{ SWIG_PY_INT, (char *)"STC_POV_WORD8", (long) 16, 0, 0, 0},
12518{ SWIG_PY_INT, (char *)"STC_LOUT_DEFAULT", (long) 0, 0, 0, 0},
12519{ SWIG_PY_INT, (char *)"STC_LOUT_COMMENT", (long) 1, 0, 0, 0},
12520{ SWIG_PY_INT, (char *)"STC_LOUT_NUMBER", (long) 2, 0, 0, 0},
12521{ SWIG_PY_INT, (char *)"STC_LOUT_WORD", (long) 3, 0, 0, 0},
12522{ SWIG_PY_INT, (char *)"STC_LOUT_WORD2", (long) 4, 0, 0, 0},
12523{ SWIG_PY_INT, (char *)"STC_LOUT_WORD3", (long) 5, 0, 0, 0},
12524{ SWIG_PY_INT, (char *)"STC_LOUT_WORD4", (long) 6, 0, 0, 0},
12525{ SWIG_PY_INT, (char *)"STC_LOUT_STRING", (long) 7, 0, 0, 0},
12526{ SWIG_PY_INT, (char *)"STC_LOUT_OPERATOR", (long) 8, 0, 0, 0},
12527{ SWIG_PY_INT, (char *)"STC_LOUT_IDENTIFIER", (long) 9, 0, 0, 0},
12528{ SWIG_PY_INT, (char *)"STC_LOUT_STRINGEOL", (long) 10, 0, 0, 0},
12529{ SWIG_PY_INT, (char *)"STC_ESCRIPT_DEFAULT", (long) 0, 0, 0, 0},
12530{ SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENT", (long) 1, 0, 0, 0},
12531{ SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENTLINE", (long) 2, 0, 0, 0},
12532{ SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENTDOC", (long) 3, 0, 0, 0},
12533{ SWIG_PY_INT, (char *)"STC_ESCRIPT_NUMBER", (long) 4, 0, 0, 0},
12534{ SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD", (long) 5, 0, 0, 0},
12535{ SWIG_PY_INT, (char *)"STC_ESCRIPT_STRING", (long) 6, 0, 0, 0},
12536{ SWIG_PY_INT, (char *)"STC_ESCRIPT_OPERATOR", (long) 7, 0, 0, 0},
12537{ SWIG_PY_INT, (char *)"STC_ESCRIPT_IDENTIFIER", (long) 8, 0, 0, 0},
12538{ SWIG_PY_INT, (char *)"STC_ESCRIPT_BRACE", (long) 9, 0, 0, 0},
12539{ SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD2", (long) 10, 0, 0, 0},
12540{ SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD3", (long) 11, 0, 0, 0},
12541{ SWIG_PY_INT, (char *)"STC_PS_DEFAULT", (long) 0, 0, 0, 0},
12542{ SWIG_PY_INT, (char *)"STC_PS_COMMENT", (long) 1, 0, 0, 0},
12543{ SWIG_PY_INT, (char *)"STC_PS_DSC_COMMENT", (long) 2, 0, 0, 0},
12544{ SWIG_PY_INT, (char *)"STC_PS_DSC_VALUE", (long) 3, 0, 0, 0},
12545{ SWIG_PY_INT, (char *)"STC_PS_NUMBER", (long) 4, 0, 0, 0},
12546{ SWIG_PY_INT, (char *)"STC_PS_NAME", (long) 5, 0, 0, 0},
12547{ SWIG_PY_INT, (char *)"STC_PS_KEYWORD", (long) 6, 0, 0, 0},
12548{ SWIG_PY_INT, (char *)"STC_PS_LITERAL", (long) 7, 0, 0, 0},
12549{ SWIG_PY_INT, (char *)"STC_PS_IMMEVAL", (long) 8, 0, 0, 0},
12550{ SWIG_PY_INT, (char *)"STC_PS_PAREN_ARRAY", (long) 9, 0, 0, 0},
12551{ SWIG_PY_INT, (char *)"STC_PS_PAREN_DICT", (long) 10, 0, 0, 0},
12552{ SWIG_PY_INT, (char *)"STC_PS_PAREN_PROC", (long) 11, 0, 0, 0},
12553{ SWIG_PY_INT, (char *)"STC_PS_TEXT", (long) 12, 0, 0, 0},
12554{ SWIG_PY_INT, (char *)"STC_PS_HEXSTRING", (long) 13, 0, 0, 0},
12555{ SWIG_PY_INT, (char *)"STC_PS_BASE85STRING", (long) 14, 0, 0, 0},
12556{ SWIG_PY_INT, (char *)"STC_PS_BADSTRINGCHAR", (long) 15, 0, 0, 0},
12557{ SWIG_PY_INT, (char *)"STC_NSIS_DEFAULT", (long) 0, 0, 0, 0},
12558{ SWIG_PY_INT, (char *)"STC_NSIS_COMMENT", (long) 1, 0, 0, 0},
12559{ SWIG_PY_INT, (char *)"STC_NSIS_STRINGDQ", (long) 2, 0, 0, 0},
12560{ SWIG_PY_INT, (char *)"STC_NSIS_STRINGLQ", (long) 3, 0, 0, 0},
12561{ SWIG_PY_INT, (char *)"STC_NSIS_STRINGRQ", (long) 4, 0, 0, 0},
12562{ SWIG_PY_INT, (char *)"STC_NSIS_FUNCTION", (long) 5, 0, 0, 0},
12563{ SWIG_PY_INT, (char *)"STC_NSIS_VARIABLE", (long) 6, 0, 0, 0},
12564{ SWIG_PY_INT, (char *)"STC_NSIS_LABEL", (long) 7, 0, 0, 0},
12565{ SWIG_PY_INT, (char *)"STC_NSIS_USERDEFINED", (long) 8, 0, 0, 0},
12566{ SWIG_PY_INT, (char *)"STC_NSIS_SECTIONDEF", (long) 9, 0, 0, 0},
12567{ SWIG_PY_INT, (char *)"STC_NSIS_SUBSECTIONDEF", (long) 10, 0, 0, 0},
12568{ SWIG_PY_INT, (char *)"STC_NSIS_IFDEFINEDEF", (long) 11, 0, 0, 0},
12569{ SWIG_PY_INT, (char *)"STC_NSIS_MACRODEF", (long) 12, 0, 0, 0},
12570{ SWIG_PY_INT, (char *)"STC_NSIS_STRINGVAR", (long) 13, 0, 0, 0},
12571{ SWIG_PY_INT, (char *)"STC_MMIXAL_LEADWS", (long) 0, 0, 0, 0},
12572{ SWIG_PY_INT, (char *)"STC_MMIXAL_COMMENT", (long) 1, 0, 0, 0},
12573{ SWIG_PY_INT, (char *)"STC_MMIXAL_LABEL", (long) 2, 0, 0, 0},
12574{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE", (long) 3, 0, 0, 0},
12575{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_PRE", (long) 4, 0, 0, 0},
12576{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_VALID", (long) 5, 0, 0, 0},
12577{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_UNKNOWN", (long) 6, 0, 0, 0},
12578{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_POST", (long) 7, 0, 0, 0},
12579{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPERANDS", (long) 8, 0, 0, 0},
12580{ SWIG_PY_INT, (char *)"STC_MMIXAL_NUMBER", (long) 9, 0, 0, 0},
12581{ SWIG_PY_INT, (char *)"STC_MMIXAL_REF", (long) 10, 0, 0, 0},
12582{ SWIG_PY_INT, (char *)"STC_MMIXAL_CHAR", (long) 11, 0, 0, 0},
12583{ SWIG_PY_INT, (char *)"STC_MMIXAL_STRING", (long) 12, 0, 0, 0},
12584{ SWIG_PY_INT, (char *)"STC_MMIXAL_REGISTER", (long) 13, 0, 0, 0},
12585{ SWIG_PY_INT, (char *)"STC_MMIXAL_HEX", (long) 14, 0, 0, 0},
12586{ SWIG_PY_INT, (char *)"STC_MMIXAL_OPERATOR", (long) 15, 0, 0, 0},
12587{ SWIG_PY_INT, (char *)"STC_MMIXAL_SYMBOL", (long) 16, 0, 0, 0},
12588{ SWIG_PY_INT, (char *)"STC_MMIXAL_INCLUDE", (long) 17, 0, 0, 0},
12589{ SWIG_PY_INT, (char *)"STC_CMD_REDO", (long) 2011, 0, 0, 0},
12590{ SWIG_PY_INT, (char *)"STC_CMD_SELECTALL", (long) 2013, 0, 0, 0},
12591{ SWIG_PY_INT, (char *)"STC_CMD_UNDO", (long) 2176, 0, 0, 0},
12592{ SWIG_PY_INT, (char *)"STC_CMD_CUT", (long) 2177, 0, 0, 0},
12593{ SWIG_PY_INT, (char *)"STC_CMD_COPY", (long) 2178, 0, 0, 0},
12594{ SWIG_PY_INT, (char *)"STC_CMD_PASTE", (long) 2179, 0, 0, 0},
12595{ SWIG_PY_INT, (char *)"STC_CMD_CLEAR", (long) 2180, 0, 0, 0},
12596{ SWIG_PY_INT, (char *)"STC_CMD_LINEDOWN", (long) 2300, 0, 0, 0},
12597{ SWIG_PY_INT, (char *)"STC_CMD_LINEDOWNEXTEND", (long) 2301, 0, 0, 0},
12598{ SWIG_PY_INT, (char *)"STC_CMD_LINEUP", (long) 2302, 0, 0, 0},
12599{ SWIG_PY_INT, (char *)"STC_CMD_LINEUPEXTEND", (long) 2303, 0, 0, 0},
12600{ SWIG_PY_INT, (char *)"STC_CMD_CHARLEFT", (long) 2304, 0, 0, 0},
12601{ SWIG_PY_INT, (char *)"STC_CMD_CHARLEFTEXTEND", (long) 2305, 0, 0, 0},
12602{ SWIG_PY_INT, (char *)"STC_CMD_CHARRIGHT", (long) 2306, 0, 0, 0},
12603{ SWIG_PY_INT, (char *)"STC_CMD_CHARRIGHTEXTEND", (long) 2307, 0, 0, 0},
12604{ SWIG_PY_INT, (char *)"STC_CMD_WORDLEFT", (long) 2308, 0, 0, 0},
12605{ SWIG_PY_INT, (char *)"STC_CMD_WORDLEFTEXTEND", (long) 2309, 0, 0, 0},
12606{ SWIG_PY_INT, (char *)"STC_CMD_WORDRIGHT", (long) 2310, 0, 0, 0},
12607{ SWIG_PY_INT, (char *)"STC_CMD_WORDRIGHTEXTEND", (long) 2311, 0, 0, 0},
12608{ SWIG_PY_INT, (char *)"STC_CMD_HOME", (long) 2312, 0, 0, 0},
12609{ SWIG_PY_INT, (char *)"STC_CMD_HOMEEXTEND", (long) 2313, 0, 0, 0},
12610{ SWIG_PY_INT, (char *)"STC_CMD_LINEEND", (long) 2314, 0, 0, 0},
12611{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDEXTEND", (long) 2315, 0, 0, 0},
12612{ SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTSTART", (long) 2316, 0, 0, 0},
12613{ SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTSTARTEXTEND", (long) 2317, 0, 0, 0},
12614{ SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTEND", (long) 2318, 0, 0, 0},
12615{ SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTENDEXTEND", (long) 2319, 0, 0, 0},
12616{ SWIG_PY_INT, (char *)"STC_CMD_PAGEUP", (long) 2320, 0, 0, 0},
12617{ SWIG_PY_INT, (char *)"STC_CMD_PAGEUPEXTEND", (long) 2321, 0, 0, 0},
12618{ SWIG_PY_INT, (char *)"STC_CMD_PAGEDOWN", (long) 2322, 0, 0, 0},
12619{ SWIG_PY_INT, (char *)"STC_CMD_PAGEDOWNEXTEND", (long) 2323, 0, 0, 0},
12620{ SWIG_PY_INT, (char *)"STC_CMD_EDITTOGGLEOVERTYPE", (long) 2324, 0, 0, 0},
12621{ SWIG_PY_INT, (char *)"STC_CMD_CANCEL", (long) 2325, 0, 0, 0},
12622{ SWIG_PY_INT, (char *)"STC_CMD_DELETEBACK", (long) 2326, 0, 0, 0},
12623{ SWIG_PY_INT, (char *)"STC_CMD_TAB", (long) 2327, 0, 0, 0},
12624{ SWIG_PY_INT, (char *)"STC_CMD_BACKTAB", (long) 2328, 0, 0, 0},
12625{ SWIG_PY_INT, (char *)"STC_CMD_NEWLINE", (long) 2329, 0, 0, 0},
12626{ SWIG_PY_INT, (char *)"STC_CMD_FORMFEED", (long) 2330, 0, 0, 0},
12627{ SWIG_PY_INT, (char *)"STC_CMD_VCHOME", (long) 2331, 0, 0, 0},
12628{ SWIG_PY_INT, (char *)"STC_CMD_VCHOMEEXTEND", (long) 2332, 0, 0, 0},
12629{ SWIG_PY_INT, (char *)"STC_CMD_ZOOMIN", (long) 2333, 0, 0, 0},
12630{ SWIG_PY_INT, (char *)"STC_CMD_ZOOMOUT", (long) 2334, 0, 0, 0},
12631{ SWIG_PY_INT, (char *)"STC_CMD_DELWORDLEFT", (long) 2335, 0, 0, 0},
12632{ SWIG_PY_INT, (char *)"STC_CMD_DELWORDRIGHT", (long) 2336, 0, 0, 0},
12633{ SWIG_PY_INT, (char *)"STC_CMD_LINECUT", (long) 2337, 0, 0, 0},
12634{ SWIG_PY_INT, (char *)"STC_CMD_LINEDELETE", (long) 2338, 0, 0, 0},
12635{ SWIG_PY_INT, (char *)"STC_CMD_LINETRANSPOSE", (long) 2339, 0, 0, 0},
12636{ SWIG_PY_INT, (char *)"STC_CMD_LINEDUPLICATE", (long) 2404, 0, 0, 0},
12637{ SWIG_PY_INT, (char *)"STC_CMD_LOWERCASE", (long) 2340, 0, 0, 0},
12638{ SWIG_PY_INT, (char *)"STC_CMD_UPPERCASE", (long) 2341, 0, 0, 0},
12639{ SWIG_PY_INT, (char *)"STC_CMD_LINESCROLLDOWN", (long) 2342, 0, 0, 0},
12640{ SWIG_PY_INT, (char *)"STC_CMD_LINESCROLLUP", (long) 2343, 0, 0, 0},
12641{ SWIG_PY_INT, (char *)"STC_CMD_DELETEBACKNOTLINE", (long) 2344, 0, 0, 0},
12642{ SWIG_PY_INT, (char *)"STC_CMD_HOMEDISPLAY", (long) 2345, 0, 0, 0},
12643{ SWIG_PY_INT, (char *)"STC_CMD_HOMEDISPLAYEXTEND", (long) 2346, 0, 0, 0},
12644{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDDISPLAY", (long) 2347, 0, 0, 0},
12645{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDDISPLAYEXTEND", (long) 2348, 0, 0, 0},
12646{ SWIG_PY_INT, (char *)"STC_CMD_HOMEWRAP", (long) 2349, 0, 0, 0},
12647{ SWIG_PY_INT, (char *)"STC_CMD_HOMEWRAPEXTEND", (long) 2450, 0, 0, 0},
12648{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDWRAP", (long) 2451, 0, 0, 0},
12649{ SWIG_PY_INT, (char *)"STC_CMD_LINEENDWRAPEXTEND", (long) 2452, 0, 0, 0},
12650{ SWIG_PY_INT, (char *)"STC_CMD_VCHOMEWRAP", (long) 2453, 0, 0, 0},
12651{ SWIG_PY_INT, (char *)"STC_CMD_VCHOMEWRAPEXTEND", (long) 2454, 0, 0, 0},
12652{ SWIG_PY_INT, (char *)"STC_CMD_WORDPARTLEFT", (long) 2390, 0, 0, 0},
12653{ SWIG_PY_INT, (char *)"STC_CMD_WORDPARTLEFTEXTEND", (long) 2391, 0, 0, 0},
12654{ SWIG_PY_INT, (char *)"STC_CMD_WORDPARTRIGHT", (long) 2392, 0, 0, 0},
12655{ SWIG_PY_INT, (char *)"STC_CMD_WORDPARTRIGHTEXTEND", (long) 2393, 0, 0, 0},
12656{ SWIG_PY_INT, (char *)"STC_CMD_DELLINELEFT", (long) 2395, 0, 0, 0},
12657{ SWIG_PY_INT, (char *)"STC_CMD_DELLINERIGHT", (long) 2396, 0, 0, 0},
12658{ SWIG_PY_INT, (char *)"STC_CMD_PARADOWN", (long) 2413, 0, 0, 0},
12659{ SWIG_PY_INT, (char *)"STC_CMD_PARADOWNEXTEND", (long) 2414, 0, 0, 0},
12660{ SWIG_PY_INT, (char *)"STC_CMD_PARAUP", (long) 2415, 0, 0, 0},
12661{ SWIG_PY_INT, (char *)"STC_CMD_PARAUPEXTEND", (long) 2416, 0, 0, 0},
12662{ SWIG_PY_INT, (char *)"wxEVT_STC_CHANGE", (long) wxEVT_STC_CHANGE, 0, 0, 0},
12663{ SWIG_PY_INT, (char *)"wxEVT_STC_STYLENEEDED", (long) wxEVT_STC_STYLENEEDED, 0, 0, 0},
12664{ SWIG_PY_INT, (char *)"wxEVT_STC_CHARADDED", (long) wxEVT_STC_CHARADDED, 0, 0, 0},
12665{ SWIG_PY_INT, (char *)"wxEVT_STC_SAVEPOINTREACHED", (long) wxEVT_STC_SAVEPOINTREACHED, 0, 0, 0},
12666{ SWIG_PY_INT, (char *)"wxEVT_STC_SAVEPOINTLEFT", (long) wxEVT_STC_SAVEPOINTLEFT, 0, 0, 0},
12667{ SWIG_PY_INT, (char *)"wxEVT_STC_ROMODIFYATTEMPT", (long) wxEVT_STC_ROMODIFYATTEMPT, 0, 0, 0},
12668{ SWIG_PY_INT, (char *)"wxEVT_STC_KEY", (long) wxEVT_STC_KEY, 0, 0, 0},
12669{ SWIG_PY_INT, (char *)"wxEVT_STC_DOUBLECLICK", (long) wxEVT_STC_DOUBLECLICK, 0, 0, 0},
12670{ SWIG_PY_INT, (char *)"wxEVT_STC_UPDATEUI", (long) wxEVT_STC_UPDATEUI, 0, 0, 0},
12671{ SWIG_PY_INT, (char *)"wxEVT_STC_MODIFIED", (long) wxEVT_STC_MODIFIED, 0, 0, 0},
12672{ SWIG_PY_INT, (char *)"wxEVT_STC_MACRORECORD", (long) wxEVT_STC_MACRORECORD, 0, 0, 0},
12673{ SWIG_PY_INT, (char *)"wxEVT_STC_MARGINCLICK", (long) wxEVT_STC_MARGINCLICK, 0, 0, 0},
12674{ SWIG_PY_INT, (char *)"wxEVT_STC_NEEDSHOWN", (long) wxEVT_STC_NEEDSHOWN, 0, 0, 0},
12675{ SWIG_PY_INT, (char *)"wxEVT_STC_POSCHANGED", (long) wxEVT_STC_POSCHANGED, 0, 0, 0},
12676{ SWIG_PY_INT, (char *)"wxEVT_STC_PAINTED", (long) wxEVT_STC_PAINTED, 0, 0, 0},
12677{ SWIG_PY_INT, (char *)"wxEVT_STC_USERLISTSELECTION", (long) wxEVT_STC_USERLISTSELECTION, 0, 0, 0},
12678{ SWIG_PY_INT, (char *)"wxEVT_STC_URIDROPPED", (long) wxEVT_STC_URIDROPPED, 0, 0, 0},
12679{ SWIG_PY_INT, (char *)"wxEVT_STC_DWELLSTART", (long) wxEVT_STC_DWELLSTART, 0, 0, 0},
12680{ SWIG_PY_INT, (char *)"wxEVT_STC_DWELLEND", (long) wxEVT_STC_DWELLEND, 0, 0, 0},
12681{ SWIG_PY_INT, (char *)"wxEVT_STC_START_DRAG", (long) wxEVT_STC_START_DRAG, 0, 0, 0},
12682{ SWIG_PY_INT, (char *)"wxEVT_STC_DRAG_OVER", (long) wxEVT_STC_DRAG_OVER, 0, 0, 0},
12683{ SWIG_PY_INT, (char *)"wxEVT_STC_DO_DROP", (long) wxEVT_STC_DO_DROP, 0, 0, 0},
12684{ SWIG_PY_INT, (char *)"wxEVT_STC_ZOOM", (long) wxEVT_STC_ZOOM, 0, 0, 0},
12685{ SWIG_PY_INT, (char *)"wxEVT_STC_HOTSPOT_CLICK", (long) wxEVT_STC_HOTSPOT_CLICK, 0, 0, 0},
12686{ SWIG_PY_INT, (char *)"wxEVT_STC_HOTSPOT_DCLICK", (long) wxEVT_STC_HOTSPOT_DCLICK, 0, 0, 0},
12687{ SWIG_PY_INT, (char *)"wxEVT_STC_CALLTIP_CLICK", (long) wxEVT_STC_CALLTIP_CLICK, 0, 0, 0},
12688{0}};
12689
12690#ifdef __cplusplus
12691}
12692#endif
12693
12694#ifdef __cplusplus
12695extern "C"
12696#endif
12697SWIGEXPORT(void) SWIG_init(void) {
12698 static PyObject *SWIG_globals = 0;
12699 static int typeinit = 0;
12700 PyObject *m, *d;
12701 int i;
12702 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
12703 m = Py_InitModule((char *) SWIG_name, SwigMethods);
12704 d = PyModule_GetDict(m);
12705
12706 if (!typeinit) {
12707 for (i = 0; swig_types_initial[i]; i++) {
12708 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
12709 }
12710 typeinit = 1;
12711 }
12712 SWIG_InstallConstants(d,swig_const_table);
12713
12714
12715
12716}
12717