1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
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 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
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
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
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
135 ************************************************************************/
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
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
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)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxRect swig_types[0]
234 #define SWIGTYPE_p_wxColour swig_types[1]
235 #define SWIGTYPE_p_wxObject swig_types[2]
236 #define SWIGTYPE_p_wxScrollBar swig_types[3]
237 #define SWIGTYPE_p_wxStyledTextEvent swig_types[4]
238 #define SWIGTYPE_p_wxWindow swig_types[5]
239 #define SWIGTYPE_p_wxCommandEvent swig_types[6]
240 #define SWIGTYPE_p_wxBitmap swig_types[7]
241 #define SWIGTYPE_p_void swig_types[8]
242 #define SWIGTYPE_p_wxPoint swig_types[9]
243 #define SWIGTYPE_p_wxDC swig_types[10]
244 #define SWIGTYPE_p_char swig_types[11]
245 #define SWIGTYPE_p_wxDragResult swig_types[12]
246 #define SWIGTYPE_p_wxEvtHandler swig_types[13]
247 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[14]
248 #define SWIGTYPE_p_wxFont swig_types[15]
249 #define SWIGTYPE_p_wxControl swig_types[16]
250 #define SWIGTYPE_p_wxEvent swig_types[17]
251 #define SWIGTYPE_p_int swig_types[18]
252 #define SWIGTYPE_p_wxMemoryBuffer swig_types[19]
253 static swig_type_info
*swig_types
[21];
255 /* -------- TYPES TABLE (END) -------- */
258 /*-----------------------------------------------
260 ------------------------------------------------*/
261 #define SWIG_init init_stc
263 #define SWIG_name "_stc"
271 #define SWIGSTATIC(a) static inline a
273 #define SWIGSTATIC(a) static a
279 #ifdef HAVE_NUMERIC_CAST
280 #define numeric_cast(type,a) numeric_cast<type>(a)
282 #define numeric_cast(type,a) static_cast<type>(a)
285 #define numeric_cast(type,a) (type)(a)
291 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
292 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
293 #define SWIG_PyObj_FromShort PyInt_FromLong
294 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
295 #define SWIG_PyObj_FromInt PyInt_FromLong
296 #define SWIG_PyObj_FromLong PyInt_FromLong
297 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
298 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
299 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
300 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
303 #include "wx/wxPython/wxPython.h"
304 #include "wx/wxPython/pyclasses.h"
305 #include <wx/stc/stc.h>
308 static const wxString
wxPySTCNameStr(wxSTCNameStr
);
311 SWIG_PyObj_AsInt(PyObject
*obj
)
313 return numeric_cast(int,
314 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
319 SWIG_PyObj_AsLong(PyObject
* obj
)
321 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
326 SWIG_PyObj_AsBool(PyObject
*obj
)
328 return PyObject_IsTrue(obj
) ? true : false;
332 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
338 } else if (target
== Py_None
) {
342 if (!PyTuple_Check(target
)) {
344 target
= PyTuple_New(1);
345 PyTuple_SetItem(target
, 0, o2
);
348 PyTuple_SetItem(o3
, 0, o
);
351 target
= PySequence_Concat(o2
, o3
);
361 static int _wrap_STCNameStr_set(PyObject
*) {
362 PyErr_SetString(PyExc_TypeError
,"Variable STCNameStr is read-only.");
367 static PyObject
*_wrap_STCNameStr_get() {
372 pyobj
= PyUnicode_FromWideChar((&wxPySTCNameStr
)->c_str(), (&wxPySTCNameStr
)->Len());
374 pyobj
= PyString_FromStringAndSize((&wxPySTCNameStr
)->c_str(), (&wxPySTCNameStr
)->Len());
381 static PyObject
*_wrap_new_StyledTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
383 wxWindow
*arg1
= (wxWindow
*) 0 ;
385 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
386 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
387 wxSize
const &arg4_defvalue
= wxDefaultSize
;
388 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
389 long arg5
= (long) 0 ;
390 wxString
const &arg6_defvalue
= wxPySTCNameStr
;
391 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
392 wxStyledTextCtrl
*result
;
396 PyObject
* obj0
= 0 ;
397 PyObject
* obj1
= 0 ;
398 PyObject
* obj2
= 0 ;
399 PyObject
* obj3
= 0 ;
400 PyObject
* obj4
= 0 ;
401 PyObject
* obj5
= 0 ;
403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StyledTextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
409 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
410 if (PyErr_Occurred()) SWIG_fail
;
415 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
421 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
426 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
427 if (PyErr_Occurred()) SWIG_fail
;
432 arg6
= wxString_in_helper(obj5
);
433 if (arg6
== NULL
) SWIG_fail
;
438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
439 result
= (wxStyledTextCtrl
*)new wxStyledTextCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
441 wxPyEndAllowThreads(__tstate
);
442 if (PyErr_Occurred()) SWIG_fail
;
444 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStyledTextCtrl
, 1);
459 static PyObject
*_wrap_new_PreStyledTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 wxStyledTextCtrl
*result
;
466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStyledTextCtrl",kwnames
)) goto fail
;
468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
469 result
= (wxStyledTextCtrl
*)new wxStyledTextCtrl();
471 wxPyEndAllowThreads(__tstate
);
472 if (PyErr_Occurred()) SWIG_fail
;
474 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStyledTextCtrl
, 1);
481 static PyObject
*_wrap_StyledTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
483 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
484 wxWindow
*arg2
= (wxWindow
*) 0 ;
486 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
487 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
488 wxSize
const &arg5_defvalue
= wxDefaultSize
;
489 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
490 long arg6
= (long) 0 ;
491 wxString
const &arg7_defvalue
= wxSTCNameStr
;
492 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
496 PyObject
* obj0
= 0 ;
497 PyObject
* obj1
= 0 ;
498 PyObject
* obj2
= 0 ;
499 PyObject
* obj3
= 0 ;
500 PyObject
* obj4
= 0 ;
501 PyObject
* obj5
= 0 ;
502 PyObject
* obj6
= 0 ;
504 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StyledTextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
509 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
511 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
512 if (PyErr_Occurred()) SWIG_fail
;
517 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
523 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
528 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
529 if (PyErr_Occurred()) SWIG_fail
;
534 arg7
= wxString_in_helper(obj6
);
535 if (arg7
== NULL
) SWIG_fail
;
540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
541 (arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
543 wxPyEndAllowThreads(__tstate
);
544 if (PyErr_Occurred()) SWIG_fail
;
546 Py_INCREF(Py_None
); resultobj
= Py_None
;
561 static PyObject
*_wrap_StyledTextCtrl_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
563 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
566 PyObject
* obj0
= 0 ;
567 PyObject
* obj1
= 0 ;
569 (char *) "self",(char *) "text", NULL
572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
575 arg2
= wxString_in_helper(obj1
);
576 if (arg2
== NULL
) SWIG_fail
;
580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
581 (arg1
)->AddText((wxString
const &)*arg2
);
583 wxPyEndAllowThreads(__tstate
);
584 if (PyErr_Occurred()) SWIG_fail
;
586 Py_INCREF(Py_None
); resultobj
= Py_None
;
601 static PyObject
*_wrap_StyledTextCtrl_AddStyledText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
603 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
604 wxMemoryBuffer
*arg2
= 0 ;
605 PyObject
* obj0
= 0 ;
606 PyObject
* obj1
= 0 ;
608 (char *) "self",(char *) "data", NULL
611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames
,&obj0
,&obj1
)) goto fail
;
612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMemoryBuffer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
615 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
619 (arg1
)->AddStyledText((wxMemoryBuffer
const &)*arg2
);
621 wxPyEndAllowThreads(__tstate
);
622 if (PyErr_Occurred()) SWIG_fail
;
624 Py_INCREF(Py_None
); resultobj
= Py_None
;
631 static PyObject
*_wrap_StyledTextCtrl_InsertText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
633 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
637 PyObject
* obj0
= 0 ;
638 PyObject
* obj1
= 0 ;
639 PyObject
* obj2
= 0 ;
641 (char *) "self",(char *) "pos",(char *) "text", NULL
644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_InsertText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
647 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
648 if (PyErr_Occurred()) SWIG_fail
;
651 arg3
= wxString_in_helper(obj2
);
652 if (arg3
== NULL
) SWIG_fail
;
656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
657 (arg1
)->InsertText(arg2
,(wxString
const &)*arg3
);
659 wxPyEndAllowThreads(__tstate
);
660 if (PyErr_Occurred()) SWIG_fail
;
662 Py_INCREF(Py_None
); resultobj
= Py_None
;
677 static PyObject
*_wrap_StyledTextCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
680 PyObject
* obj0
= 0 ;
682 (char *) "self", NULL
685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
691 wxPyEndAllowThreads(__tstate
);
692 if (PyErr_Occurred()) SWIG_fail
;
694 Py_INCREF(Py_None
); resultobj
= Py_None
;
701 static PyObject
*_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
703 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
704 PyObject
* obj0
= 0 ;
706 (char *) "self", NULL
709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames
,&obj0
)) goto fail
;
710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
713 (arg1
)->ClearDocumentStyle();
715 wxPyEndAllowThreads(__tstate
);
716 if (PyErr_Occurred()) SWIG_fail
;
718 Py_INCREF(Py_None
); resultobj
= Py_None
;
725 static PyObject
*_wrap_StyledTextCtrl_GetLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
727 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
729 PyObject
* obj0
= 0 ;
731 (char *) "self", NULL
734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetLength",kwnames
,&obj0
)) goto fail
;
735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
738 result
= (int)(arg1
)->GetLength();
740 wxPyEndAllowThreads(__tstate
);
741 if (PyErr_Occurred()) SWIG_fail
;
743 resultobj
= SWIG_PyObj_FromInt((int)result
);
750 static PyObject
*_wrap_StyledTextCtrl_GetCharAt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
755 PyObject
* obj0
= 0 ;
756 PyObject
* obj1
= 0 ;
758 (char *) "self",(char *) "pos", NULL
761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames
,&obj0
,&obj1
)) goto fail
;
762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
764 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
765 if (PyErr_Occurred()) SWIG_fail
;
768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
769 result
= (int)(arg1
)->GetCharAt(arg2
);
771 wxPyEndAllowThreads(__tstate
);
772 if (PyErr_Occurred()) SWIG_fail
;
774 resultobj
= SWIG_PyObj_FromInt((int)result
);
781 static PyObject
*_wrap_StyledTextCtrl_GetCurrentPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
783 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
785 PyObject
* obj0
= 0 ;
787 (char *) "self", NULL
790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames
,&obj0
)) goto fail
;
791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
794 result
= (int)(arg1
)->GetCurrentPos();
796 wxPyEndAllowThreads(__tstate
);
797 if (PyErr_Occurred()) SWIG_fail
;
799 resultobj
= SWIG_PyObj_FromInt((int)result
);
806 static PyObject
*_wrap_StyledTextCtrl_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
810 PyObject
* obj0
= 0 ;
812 (char *) "self", NULL
815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetAnchor",kwnames
,&obj0
)) goto fail
;
816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
819 result
= (int)(arg1
)->GetAnchor();
821 wxPyEndAllowThreads(__tstate
);
822 if (PyErr_Occurred()) SWIG_fail
;
824 resultobj
= SWIG_PyObj_FromInt((int)result
);
831 static PyObject
*_wrap_StyledTextCtrl_GetStyleAt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
833 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
836 PyObject
* obj0
= 0 ;
837 PyObject
* obj1
= 0 ;
839 (char *) "self",(char *) "pos", NULL
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames
,&obj0
,&obj1
)) goto fail
;
843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
845 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
846 if (PyErr_Occurred()) SWIG_fail
;
849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
850 result
= (int)(arg1
)->GetStyleAt(arg2
);
852 wxPyEndAllowThreads(__tstate
);
853 if (PyErr_Occurred()) SWIG_fail
;
855 resultobj
= SWIG_PyObj_FromInt((int)result
);
862 static PyObject
*_wrap_StyledTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
864 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
865 PyObject
* obj0
= 0 ;
867 (char *) "self", NULL
870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
876 wxPyEndAllowThreads(__tstate
);
877 if (PyErr_Occurred()) SWIG_fail
;
879 Py_INCREF(Py_None
); resultobj
= Py_None
;
886 static PyObject
*_wrap_StyledTextCtrl_SetUndoCollection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
888 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
890 PyObject
* obj0
= 0 ;
891 PyObject
* obj1
= 0 ;
893 (char *) "self",(char *) "collectUndo", NULL
896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames
,&obj0
,&obj1
)) goto fail
;
897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
899 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
900 if (PyErr_Occurred()) SWIG_fail
;
903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
904 (arg1
)->SetUndoCollection(arg2
);
906 wxPyEndAllowThreads(__tstate
);
907 if (PyErr_Occurred()) SWIG_fail
;
909 Py_INCREF(Py_None
); resultobj
= Py_None
;
916 static PyObject
*_wrap_StyledTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
918 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
919 PyObject
* obj0
= 0 ;
921 (char *) "self", NULL
924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
930 wxPyEndAllowThreads(__tstate
);
931 if (PyErr_Occurred()) SWIG_fail
;
933 Py_INCREF(Py_None
); resultobj
= Py_None
;
940 static PyObject
*_wrap_StyledTextCtrl_SetSavePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
942 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
943 PyObject
* obj0
= 0 ;
945 (char *) "self", NULL
948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames
,&obj0
)) goto fail
;
949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
952 (arg1
)->SetSavePoint();
954 wxPyEndAllowThreads(__tstate
);
955 if (PyErr_Occurred()) SWIG_fail
;
957 Py_INCREF(Py_None
); resultobj
= Py_None
;
964 static PyObject
*_wrap_StyledTextCtrl_GetStyledText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
966 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
969 wxMemoryBuffer result
;
970 PyObject
* obj0
= 0 ;
971 PyObject
* obj1
= 0 ;
972 PyObject
* obj2
= 0 ;
974 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
980 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
981 if (PyErr_Occurred()) SWIG_fail
;
984 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
985 if (PyErr_Occurred()) SWIG_fail
;
988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
989 result
= (arg1
)->GetStyledText(arg2
,arg3
);
991 wxPyEndAllowThreads(__tstate
);
992 if (PyErr_Occurred()) SWIG_fail
;
995 wxMemoryBuffer
* resultptr
;
996 resultptr
= new wxMemoryBuffer((wxMemoryBuffer
&) result
);
997 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxMemoryBuffer
, 1);
1005 static PyObject
*_wrap_StyledTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
*resultobj
;
1007 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1009 PyObject
* obj0
= 0 ;
1011 (char *) "self", NULL
1014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
1015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1018 result
= (bool)(arg1
)->CanRedo();
1020 wxPyEndAllowThreads(__tstate
);
1021 if (PyErr_Occurred()) SWIG_fail
;
1023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1030 static PyObject
*_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1031 PyObject
*resultobj
;
1032 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1035 PyObject
* obj0
= 0 ;
1036 PyObject
* obj1
= 0 ;
1038 (char *) "self",(char *) "handle", NULL
1041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
1042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1044 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1045 if (PyErr_Occurred()) SWIG_fail
;
1048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1049 result
= (int)(arg1
)->MarkerLineFromHandle(arg2
);
1051 wxPyEndAllowThreads(__tstate
);
1052 if (PyErr_Occurred()) SWIG_fail
;
1054 resultobj
= SWIG_PyObj_FromInt((int)result
);
1061 static PyObject
*_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
*resultobj
;
1063 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1065 PyObject
* obj0
= 0 ;
1066 PyObject
* obj1
= 0 ;
1068 (char *) "self",(char *) "handle", NULL
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
1072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1074 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1075 if (PyErr_Occurred()) SWIG_fail
;
1078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1079 (arg1
)->MarkerDeleteHandle(arg2
);
1081 wxPyEndAllowThreads(__tstate
);
1082 if (PyErr_Occurred()) SWIG_fail
;
1084 Py_INCREF(Py_None
); resultobj
= Py_None
;
1091 static PyObject
*_wrap_StyledTextCtrl_GetUndoCollection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1092 PyObject
*resultobj
;
1093 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1095 PyObject
* obj0
= 0 ;
1097 (char *) "self", NULL
1100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames
,&obj0
)) goto fail
;
1101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1104 result
= (bool)(arg1
)->GetUndoCollection();
1106 wxPyEndAllowThreads(__tstate
);
1107 if (PyErr_Occurred()) SWIG_fail
;
1109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1116 static PyObject
*_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
*resultobj
;
1118 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1120 PyObject
* obj0
= 0 ;
1122 (char *) "self", NULL
1125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames
,&obj0
)) goto fail
;
1126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1129 result
= (int)(arg1
)->GetViewWhiteSpace();
1131 wxPyEndAllowThreads(__tstate
);
1132 if (PyErr_Occurred()) SWIG_fail
;
1134 resultobj
= SWIG_PyObj_FromInt((int)result
);
1141 static PyObject
*_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
*resultobj
;
1143 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1145 PyObject
* obj0
= 0 ;
1146 PyObject
* obj1
= 0 ;
1148 (char *) "self",(char *) "viewWS", NULL
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames
,&obj0
,&obj1
)) goto fail
;
1152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1154 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1159 (arg1
)->SetViewWhiteSpace(arg2
);
1161 wxPyEndAllowThreads(__tstate
);
1162 if (PyErr_Occurred()) SWIG_fail
;
1164 Py_INCREF(Py_None
); resultobj
= Py_None
;
1171 static PyObject
*_wrap_StyledTextCtrl_PositionFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1172 PyObject
*resultobj
;
1173 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1177 PyObject
* obj0
= 0 ;
1178 PyObject
* obj1
= 0 ;
1180 (char *) "self",(char *) "pt", NULL
1183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
1184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1185 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
1188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1189 result
= (int)(arg1
)->PositionFromPoint(arg2
);
1191 wxPyEndAllowThreads(__tstate
);
1192 if (PyErr_Occurred()) SWIG_fail
;
1194 resultobj
= SWIG_PyObj_FromInt((int)result
);
1201 static PyObject
*_wrap_StyledTextCtrl_PositionFromPointClose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
*resultobj
;
1203 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1207 PyObject
* obj0
= 0 ;
1208 PyObject
* obj1
= 0 ;
1209 PyObject
* obj2
= 0 ;
1211 (char *) "self",(char *) "x",(char *) "y", NULL
1214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1217 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1221 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1222 if (PyErr_Occurred()) SWIG_fail
;
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 result
= (int)(arg1
)->PositionFromPointClose(arg2
,arg3
);
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) SWIG_fail
;
1231 resultobj
= SWIG_PyObj_FromInt((int)result
);
1238 static PyObject
*_wrap_StyledTextCtrl_GotoLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1239 PyObject
*resultobj
;
1240 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1242 PyObject
* obj0
= 0 ;
1243 PyObject
* obj1
= 0 ;
1245 (char *) "self",(char *) "line", NULL
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GotoLine",kwnames
,&obj0
,&obj1
)) goto fail
;
1249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1251 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1252 if (PyErr_Occurred()) SWIG_fail
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 (arg1
)->GotoLine(arg2
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1261 Py_INCREF(Py_None
); resultobj
= Py_None
;
1268 static PyObject
*_wrap_StyledTextCtrl_GotoPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
*resultobj
;
1270 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1272 PyObject
* obj0
= 0 ;
1273 PyObject
* obj1
= 0 ;
1275 (char *) "self",(char *) "pos", NULL
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GotoPos",kwnames
,&obj0
,&obj1
)) goto fail
;
1279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1281 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1282 if (PyErr_Occurred()) SWIG_fail
;
1285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1286 (arg1
)->GotoPos(arg2
);
1288 wxPyEndAllowThreads(__tstate
);
1289 if (PyErr_Occurred()) SWIG_fail
;
1291 Py_INCREF(Py_None
); resultobj
= Py_None
;
1298 static PyObject
*_wrap_StyledTextCtrl_SetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
*resultobj
;
1300 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1302 PyObject
* obj0
= 0 ;
1303 PyObject
* obj1
= 0 ;
1305 (char *) "self",(char *) "posAnchor", NULL
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
1309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1311 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1312 if (PyErr_Occurred()) SWIG_fail
;
1315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1316 (arg1
)->SetAnchor(arg2
);
1318 wxPyEndAllowThreads(__tstate
);
1319 if (PyErr_Occurred()) SWIG_fail
;
1321 Py_INCREF(Py_None
); resultobj
= Py_None
;
1328 static PyObject
*_wrap_StyledTextCtrl_GetCurLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1329 PyObject
*resultobj
;
1330 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1331 int *arg2
= (int *) 0 ;
1334 PyObject
* obj0
= 0 ;
1336 (char *) "self", NULL
1340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCurLine",kwnames
,&obj0
)) goto fail
;
1341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1344 result
= (arg1
)->GetCurLine(arg2
);
1346 wxPyEndAllowThreads(__tstate
);
1347 if (PyErr_Occurred()) SWIG_fail
;
1351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1357 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1358 resultobj
= t_output_helper(resultobj
,o
);
1366 static PyObject
*_wrap_StyledTextCtrl_GetEndStyled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
*resultobj
;
1368 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1370 PyObject
* obj0
= 0 ;
1372 (char *) "self", NULL
1375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames
,&obj0
)) goto fail
;
1376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1379 result
= (int)(arg1
)->GetEndStyled();
1381 wxPyEndAllowThreads(__tstate
);
1382 if (PyErr_Occurred()) SWIG_fail
;
1384 resultobj
= SWIG_PyObj_FromInt((int)result
);
1391 static PyObject
*_wrap_StyledTextCtrl_ConvertEOLs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1392 PyObject
*resultobj
;
1393 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1395 PyObject
* obj0
= 0 ;
1396 PyObject
* obj1
= 0 ;
1398 (char *) "self",(char *) "eolMode", NULL
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames
,&obj0
,&obj1
)) goto fail
;
1402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1404 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1405 if (PyErr_Occurred()) SWIG_fail
;
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 (arg1
)->ConvertEOLs(arg2
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) SWIG_fail
;
1414 Py_INCREF(Py_None
); resultobj
= Py_None
;
1421 static PyObject
*_wrap_StyledTextCtrl_GetEOLMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
*resultobj
;
1423 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1425 PyObject
* obj0
= 0 ;
1427 (char *) "self", NULL
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames
,&obj0
)) goto fail
;
1431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1434 result
= (int)(arg1
)->GetEOLMode();
1436 wxPyEndAllowThreads(__tstate
);
1437 if (PyErr_Occurred()) SWIG_fail
;
1439 resultobj
= SWIG_PyObj_FromInt((int)result
);
1446 static PyObject
*_wrap_StyledTextCtrl_SetEOLMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
*resultobj
;
1448 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1450 PyObject
* obj0
= 0 ;
1451 PyObject
* obj1
= 0 ;
1453 (char *) "self",(char *) "eolMode", NULL
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames
,&obj0
,&obj1
)) goto fail
;
1457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1459 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1460 if (PyErr_Occurred()) SWIG_fail
;
1463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1464 (arg1
)->SetEOLMode(arg2
);
1466 wxPyEndAllowThreads(__tstate
);
1467 if (PyErr_Occurred()) SWIG_fail
;
1469 Py_INCREF(Py_None
); resultobj
= Py_None
;
1476 static PyObject
*_wrap_StyledTextCtrl_StartStyling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
*resultobj
;
1478 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1481 PyObject
* obj0
= 0 ;
1482 PyObject
* obj1
= 0 ;
1483 PyObject
* obj2
= 0 ;
1485 (char *) "self",(char *) "pos",(char *) "mask", NULL
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1491 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1492 if (PyErr_Occurred()) SWIG_fail
;
1495 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1496 if (PyErr_Occurred()) SWIG_fail
;
1499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1500 (arg1
)->StartStyling(arg2
,arg3
);
1502 wxPyEndAllowThreads(__tstate
);
1503 if (PyErr_Occurred()) SWIG_fail
;
1505 Py_INCREF(Py_None
); resultobj
= Py_None
;
1512 static PyObject
*_wrap_StyledTextCtrl_SetStyling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
*resultobj
;
1514 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1517 PyObject
* obj0
= 0 ;
1518 PyObject
* obj1
= 0 ;
1519 PyObject
* obj2
= 0 ;
1521 (char *) "self",(char *) "length",(char *) "style", NULL
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1527 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1528 if (PyErr_Occurred()) SWIG_fail
;
1531 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1532 if (PyErr_Occurred()) SWIG_fail
;
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 (arg1
)->SetStyling(arg2
,arg3
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 Py_INCREF(Py_None
); resultobj
= Py_None
;
1548 static PyObject
*_wrap_StyledTextCtrl_GetBufferedDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
*resultobj
;
1550 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1552 PyObject
* obj0
= 0 ;
1554 (char *) "self", NULL
1557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames
,&obj0
)) goto fail
;
1558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1561 result
= (bool)(arg1
)->GetBufferedDraw();
1563 wxPyEndAllowThreads(__tstate
);
1564 if (PyErr_Occurred()) SWIG_fail
;
1566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1573 static PyObject
*_wrap_StyledTextCtrl_SetBufferedDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
*resultobj
;
1575 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1577 PyObject
* obj0
= 0 ;
1578 PyObject
* obj1
= 0 ;
1580 (char *) "self",(char *) "buffered", NULL
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
1584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1586 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1587 if (PyErr_Occurred()) SWIG_fail
;
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 (arg1
)->SetBufferedDraw(arg2
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1596 Py_INCREF(Py_None
); resultobj
= Py_None
;
1603 static PyObject
*_wrap_StyledTextCtrl_SetTabWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
*resultobj
;
1605 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1607 PyObject
* obj0
= 0 ;
1608 PyObject
* obj1
= 0 ;
1610 (char *) "self",(char *) "tabWidth", NULL
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1616 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1617 if (PyErr_Occurred()) SWIG_fail
;
1620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1621 (arg1
)->SetTabWidth(arg2
);
1623 wxPyEndAllowThreads(__tstate
);
1624 if (PyErr_Occurred()) SWIG_fail
;
1626 Py_INCREF(Py_None
); resultobj
= Py_None
;
1633 static PyObject
*_wrap_StyledTextCtrl_GetTabWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
*resultobj
;
1635 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1637 PyObject
* obj0
= 0 ;
1639 (char *) "self", NULL
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames
,&obj0
)) goto fail
;
1643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1646 result
= (int)(arg1
)->GetTabWidth();
1648 wxPyEndAllowThreads(__tstate
);
1649 if (PyErr_Occurred()) SWIG_fail
;
1651 resultobj
= SWIG_PyObj_FromInt((int)result
);
1658 static PyObject
*_wrap_StyledTextCtrl_SetCodePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
*resultobj
;
1660 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1662 PyObject
* obj0
= 0 ;
1663 PyObject
* obj1
= 0 ;
1665 (char *) "self",(char *) "codePage", NULL
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames
,&obj0
,&obj1
)) goto fail
;
1669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1671 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 (arg1
)->SetCodePage(arg2
);
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1681 Py_INCREF(Py_None
); resultobj
= Py_None
;
1688 static PyObject
*_wrap_StyledTextCtrl_MarkerDefine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
*resultobj
;
1690 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1693 wxColour
const &arg4_defvalue
= wxNullColour
;
1694 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
1695 wxColour
const &arg5_defvalue
= wxNullColour
;
1696 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
1699 PyObject
* obj0
= 0 ;
1700 PyObject
* obj1
= 0 ;
1701 PyObject
* obj2
= 0 ;
1702 PyObject
* obj3
= 0 ;
1703 PyObject
* obj4
= 0 ;
1705 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
1709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1711 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1712 if (PyErr_Occurred()) SWIG_fail
;
1715 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1721 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
1727 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
1731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 (arg1
)->MarkerDefine(arg2
,arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
);
1734 wxPyEndAllowThreads(__tstate
);
1735 if (PyErr_Occurred()) SWIG_fail
;
1737 Py_INCREF(Py_None
); resultobj
= Py_None
;
1744 static PyObject
*_wrap_StyledTextCtrl_MarkerSetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
*resultobj
;
1746 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1748 wxColour
*arg3
= 0 ;
1750 PyObject
* obj0
= 0 ;
1751 PyObject
* obj1
= 0 ;
1752 PyObject
* obj2
= 0 ;
1754 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1760 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1765 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 (arg1
)->MarkerSetForeground(arg2
,(wxColour
const &)*arg3
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 Py_INCREF(Py_None
); resultobj
= Py_None
;
1781 static PyObject
*_wrap_StyledTextCtrl_MarkerSetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1785 wxColour
*arg3
= 0 ;
1787 PyObject
* obj0
= 0 ;
1788 PyObject
* obj1
= 0 ;
1789 PyObject
* obj2
= 0 ;
1791 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1797 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1798 if (PyErr_Occurred()) SWIG_fail
;
1802 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 (arg1
)->MarkerSetBackground(arg2
,(wxColour
const &)*arg3
);
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) SWIG_fail
;
1811 Py_INCREF(Py_None
); resultobj
= Py_None
;
1818 static PyObject
*_wrap_StyledTextCtrl_MarkerAdd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
*resultobj
;
1820 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1824 PyObject
* obj0
= 0 ;
1825 PyObject
* obj1
= 0 ;
1826 PyObject
* obj2
= 0 ;
1828 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1834 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1835 if (PyErr_Occurred()) SWIG_fail
;
1838 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1843 result
= (int)(arg1
)->MarkerAdd(arg2
,arg3
);
1845 wxPyEndAllowThreads(__tstate
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1848 resultobj
= SWIG_PyObj_FromInt((int)result
);
1855 static PyObject
*_wrap_StyledTextCtrl_MarkerDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
*resultobj
;
1857 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1860 PyObject
* obj0
= 0 ;
1861 PyObject
* obj1
= 0 ;
1862 PyObject
* obj2
= 0 ;
1864 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1870 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1871 if (PyErr_Occurred()) SWIG_fail
;
1874 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1875 if (PyErr_Occurred()) SWIG_fail
;
1878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1879 (arg1
)->MarkerDelete(arg2
,arg3
);
1881 wxPyEndAllowThreads(__tstate
);
1882 if (PyErr_Occurred()) SWIG_fail
;
1884 Py_INCREF(Py_None
); resultobj
= Py_None
;
1891 static PyObject
*_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1892 PyObject
*resultobj
;
1893 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1895 PyObject
* obj0
= 0 ;
1896 PyObject
* obj1
= 0 ;
1898 (char *) "self",(char *) "markerNumber", NULL
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames
,&obj0
,&obj1
)) goto fail
;
1902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1904 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1909 (arg1
)->MarkerDeleteAll(arg2
);
1911 wxPyEndAllowThreads(__tstate
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1914 Py_INCREF(Py_None
); resultobj
= Py_None
;
1921 static PyObject
*_wrap_StyledTextCtrl_MarkerGet(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
*resultobj
;
1923 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1926 PyObject
* obj0
= 0 ;
1927 PyObject
* obj1
= 0 ;
1929 (char *) "self",(char *) "line", NULL
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames
,&obj0
,&obj1
)) goto fail
;
1933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1935 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 result
= (int)(arg1
)->MarkerGet(arg2
);
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1945 resultobj
= SWIG_PyObj_FromInt((int)result
);
1952 static PyObject
*_wrap_StyledTextCtrl_MarkerNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
*resultobj
;
1954 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1958 PyObject
* obj0
= 0 ;
1959 PyObject
* obj1
= 0 ;
1960 PyObject
* obj2
= 0 ;
1962 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1968 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1972 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 result
= (int)(arg1
)->MarkerNext(arg2
,arg3
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 resultobj
= SWIG_PyObj_FromInt((int)result
);
1989 static PyObject
*_wrap_StyledTextCtrl_MarkerPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1995 PyObject
* obj0
= 0 ;
1996 PyObject
* obj1
= 0 ;
1997 PyObject
* obj2
= 0 ;
1999 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2005 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2009 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 result
= (int)(arg1
)->MarkerPrevious(arg2
,arg3
);
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 resultobj
= SWIG_PyObj_FromInt((int)result
);
2026 static PyObject
*_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
*resultobj
;
2028 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2030 wxBitmap
*arg3
= 0 ;
2031 PyObject
* obj0
= 0 ;
2032 PyObject
* obj1
= 0 ;
2033 PyObject
* obj2
= 0 ;
2035 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2041 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2042 if (PyErr_Occurred()) SWIG_fail
;
2044 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2046 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 (arg1
)->MarkerDefineBitmap(arg2
,(wxBitmap
const &)*arg3
);
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 Py_INCREF(Py_None
); resultobj
= Py_None
;
2062 static PyObject
*_wrap_StyledTextCtrl_SetMarginType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2067 PyObject
* obj0
= 0 ;
2068 PyObject
* obj1
= 0 ;
2069 PyObject
* obj2
= 0 ;
2071 (char *) "self",(char *) "margin",(char *) "marginType", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2077 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2081 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2082 if (PyErr_Occurred()) SWIG_fail
;
2085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2086 (arg1
)->SetMarginType(arg2
,arg3
);
2088 wxPyEndAllowThreads(__tstate
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2091 Py_INCREF(Py_None
); resultobj
= Py_None
;
2098 static PyObject
*_wrap_StyledTextCtrl_GetMarginType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
*resultobj
;
2100 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2103 PyObject
* obj0
= 0 ;
2104 PyObject
* obj1
= 0 ;
2106 (char *) "self",(char *) "margin", NULL
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames
,&obj0
,&obj1
)) goto fail
;
2110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2112 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 result
= (int)(arg1
)->GetMarginType(arg2
);
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) SWIG_fail
;
2122 resultobj
= SWIG_PyObj_FromInt((int)result
);
2129 static PyObject
*_wrap_StyledTextCtrl_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2130 PyObject
*resultobj
;
2131 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2134 PyObject
* obj0
= 0 ;
2135 PyObject
* obj1
= 0 ;
2136 PyObject
* obj2
= 0 ;
2138 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2144 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2148 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2149 if (PyErr_Occurred()) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 (arg1
)->SetMarginWidth(arg2
,arg3
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 Py_INCREF(Py_None
); resultobj
= Py_None
;
2165 static PyObject
*_wrap_StyledTextCtrl_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2167 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2170 PyObject
* obj0
= 0 ;
2171 PyObject
* obj1
= 0 ;
2173 (char *) "self",(char *) "margin", NULL
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2179 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 result
= (int)(arg1
)->GetMarginWidth(arg2
);
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2189 resultobj
= SWIG_PyObj_FromInt((int)result
);
2196 static PyObject
*_wrap_StyledTextCtrl_SetMarginMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
*resultobj
;
2198 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2201 PyObject
* obj0
= 0 ;
2202 PyObject
* obj1
= 0 ;
2203 PyObject
* obj2
= 0 ;
2205 (char *) "self",(char *) "margin",(char *) "mask", NULL
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2211 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2215 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2216 if (PyErr_Occurred()) SWIG_fail
;
2219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2220 (arg1
)->SetMarginMask(arg2
,arg3
);
2222 wxPyEndAllowThreads(__tstate
);
2223 if (PyErr_Occurred()) SWIG_fail
;
2225 Py_INCREF(Py_None
); resultobj
= Py_None
;
2232 static PyObject
*_wrap_StyledTextCtrl_GetMarginMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2234 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2238 PyObject
* obj1
= 0 ;
2240 (char *) "self",(char *) "margin", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2246 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 result
= (int)(arg1
)->GetMarginMask(arg2
);
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) SWIG_fail
;
2256 resultobj
= SWIG_PyObj_FromInt((int)result
);
2263 static PyObject
*_wrap_StyledTextCtrl_SetMarginSensitive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
*resultobj
;
2265 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2268 PyObject
* obj0
= 0 ;
2269 PyObject
* obj1
= 0 ;
2270 PyObject
* obj2
= 0 ;
2272 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
2275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2278 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2282 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 (arg1
)->SetMarginSensitive(arg2
,arg3
);
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 Py_INCREF(Py_None
); resultobj
= Py_None
;
2299 static PyObject
*_wrap_StyledTextCtrl_GetMarginSensitive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2301 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2304 PyObject
* obj0
= 0 ;
2305 PyObject
* obj1
= 0 ;
2307 (char *) "self",(char *) "margin", NULL
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames
,&obj0
,&obj1
)) goto fail
;
2311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2313 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2318 result
= (bool)(arg1
)->GetMarginSensitive(arg2
);
2320 wxPyEndAllowThreads(__tstate
);
2321 if (PyErr_Occurred()) SWIG_fail
;
2323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2330 static PyObject
*_wrap_StyledTextCtrl_StyleClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2331 PyObject
*resultobj
;
2332 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2333 PyObject
* obj0
= 0 ;
2335 (char *) "self", NULL
2338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames
,&obj0
)) goto fail
;
2339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2342 (arg1
)->StyleClearAll();
2344 wxPyEndAllowThreads(__tstate
);
2345 if (PyErr_Occurred()) SWIG_fail
;
2347 Py_INCREF(Py_None
); resultobj
= Py_None
;
2354 static PyObject
*_wrap_StyledTextCtrl_StyleSetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2355 PyObject
*resultobj
;
2356 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2358 wxColour
*arg3
= 0 ;
2360 PyObject
* obj0
= 0 ;
2361 PyObject
* obj1
= 0 ;
2362 PyObject
* obj2
= 0 ;
2364 (char *) "self",(char *) "style",(char *) "fore", NULL
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2370 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2371 if (PyErr_Occurred()) SWIG_fail
;
2375 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 (arg1
)->StyleSetForeground(arg2
,(wxColour
const &)*arg3
);
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2384 Py_INCREF(Py_None
); resultobj
= Py_None
;
2391 static PyObject
*_wrap_StyledTextCtrl_StyleSetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2395 wxColour
*arg3
= 0 ;
2397 PyObject
* obj0
= 0 ;
2398 PyObject
* obj1
= 0 ;
2399 PyObject
* obj2
= 0 ;
2401 (char *) "self",(char *) "style",(char *) "back", NULL
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2407 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2412 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 (arg1
)->StyleSetBackground(arg2
,(wxColour
const &)*arg3
);
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2421 Py_INCREF(Py_None
); resultobj
= Py_None
;
2428 static PyObject
*_wrap_StyledTextCtrl_StyleSetBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
*resultobj
;
2430 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2433 PyObject
* obj0
= 0 ;
2434 PyObject
* obj1
= 0 ;
2435 PyObject
* obj2
= 0 ;
2437 (char *) "self",(char *) "style",(char *) "bold", NULL
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2443 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2447 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2452 (arg1
)->StyleSetBold(arg2
,arg3
);
2454 wxPyEndAllowThreads(__tstate
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2457 Py_INCREF(Py_None
); resultobj
= Py_None
;
2464 static PyObject
*_wrap_StyledTextCtrl_StyleSetItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
*resultobj
;
2466 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2469 PyObject
* obj0
= 0 ;
2470 PyObject
* obj1
= 0 ;
2471 PyObject
* obj2
= 0 ;
2473 (char *) "self",(char *) "style",(char *) "italic", NULL
2476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2479 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2483 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2488 (arg1
)->StyleSetItalic(arg2
,arg3
);
2490 wxPyEndAllowThreads(__tstate
);
2491 if (PyErr_Occurred()) SWIG_fail
;
2493 Py_INCREF(Py_None
); resultobj
= Py_None
;
2500 static PyObject
*_wrap_StyledTextCtrl_StyleSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
*resultobj
;
2502 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2505 PyObject
* obj0
= 0 ;
2506 PyObject
* obj1
= 0 ;
2507 PyObject
* obj2
= 0 ;
2509 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2515 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2519 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2524 (arg1
)->StyleSetSize(arg2
,arg3
);
2526 wxPyEndAllowThreads(__tstate
);
2527 if (PyErr_Occurred()) SWIG_fail
;
2529 Py_INCREF(Py_None
); resultobj
= Py_None
;
2536 static PyObject
*_wrap_StyledTextCtrl_StyleSetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2538 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2540 wxString
*arg3
= 0 ;
2541 bool temp3
= False
;
2542 PyObject
* obj0
= 0 ;
2543 PyObject
* obj1
= 0 ;
2544 PyObject
* obj2
= 0 ;
2546 (char *) "self",(char *) "style",(char *) "fontName", NULL
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2552 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2556 arg3
= wxString_in_helper(obj2
);
2557 if (arg3
== NULL
) SWIG_fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 (arg1
)->StyleSetFaceName(arg2
,(wxString
const &)*arg3
);
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2567 Py_INCREF(Py_None
); resultobj
= Py_None
;
2582 static PyObject
*_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2587 PyObject
* obj0
= 0 ;
2588 PyObject
* obj1
= 0 ;
2589 PyObject
* obj2
= 0 ;
2591 (char *) "self",(char *) "style",(char *) "filled", NULL
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2597 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2601 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2602 if (PyErr_Occurred()) SWIG_fail
;
2605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2606 (arg1
)->StyleSetEOLFilled(arg2
,arg3
);
2608 wxPyEndAllowThreads(__tstate
);
2609 if (PyErr_Occurred()) SWIG_fail
;
2611 Py_INCREF(Py_None
); resultobj
= Py_None
;
2618 static PyObject
*_wrap_StyledTextCtrl_StyleResetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
;
2620 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2621 PyObject
* obj0
= 0 ;
2623 (char *) "self", NULL
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames
,&obj0
)) goto fail
;
2627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 (arg1
)->StyleResetDefault();
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2635 Py_INCREF(Py_None
); resultobj
= Py_None
;
2642 static PyObject
*_wrap_StyledTextCtrl_StyleSetUnderline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
*resultobj
;
2644 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2647 PyObject
* obj0
= 0 ;
2648 PyObject
* obj1
= 0 ;
2649 PyObject
* obj2
= 0 ;
2651 (char *) "self",(char *) "style",(char *) "underline", NULL
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2657 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2661 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2662 if (PyErr_Occurred()) SWIG_fail
;
2665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2666 (arg1
)->StyleSetUnderline(arg2
,arg3
);
2668 wxPyEndAllowThreads(__tstate
);
2669 if (PyErr_Occurred()) SWIG_fail
;
2671 Py_INCREF(Py_None
); resultobj
= Py_None
;
2678 static PyObject
*_wrap_StyledTextCtrl_StyleSetCase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
*resultobj
;
2680 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2683 PyObject
* obj0
= 0 ;
2684 PyObject
* obj1
= 0 ;
2685 PyObject
* obj2
= 0 ;
2687 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2693 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2694 if (PyErr_Occurred()) SWIG_fail
;
2697 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 (arg1
)->StyleSetCase(arg2
,arg3
);
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2707 Py_INCREF(Py_None
); resultobj
= Py_None
;
2714 static PyObject
*_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
*resultobj
;
2716 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2719 PyObject
* obj0
= 0 ;
2720 PyObject
* obj1
= 0 ;
2721 PyObject
* obj2
= 0 ;
2723 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2729 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2730 if (PyErr_Occurred()) SWIG_fail
;
2733 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 (arg1
)->StyleSetCharacterSet(arg2
,arg3
);
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2743 Py_INCREF(Py_None
); resultobj
= Py_None
;
2750 static PyObject
*_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2752 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2755 PyObject
* obj0
= 0 ;
2756 PyObject
* obj1
= 0 ;
2757 PyObject
* obj2
= 0 ;
2759 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2765 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2766 if (PyErr_Occurred()) SWIG_fail
;
2769 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 (arg1
)->StyleSetHotSpot(arg2
,arg3
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2779 Py_INCREF(Py_None
); resultobj
= Py_None
;
2786 static PyObject
*_wrap_StyledTextCtrl_SetSelForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2787 PyObject
*resultobj
;
2788 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2790 wxColour
*arg3
= 0 ;
2792 PyObject
* obj0
= 0 ;
2793 PyObject
* obj1
= 0 ;
2794 PyObject
* obj2
= 0 ;
2796 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2802 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2803 if (PyErr_Occurred()) SWIG_fail
;
2807 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 (arg1
)->SetSelForeground(arg2
,(wxColour
const &)*arg3
);
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2816 Py_INCREF(Py_None
); resultobj
= Py_None
;
2823 static PyObject
*_wrap_StyledTextCtrl_SetSelBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
*resultobj
;
2825 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2827 wxColour
*arg3
= 0 ;
2829 PyObject
* obj0
= 0 ;
2830 PyObject
* obj1
= 0 ;
2831 PyObject
* obj2
= 0 ;
2833 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2839 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2844 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
2847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2848 (arg1
)->SetSelBackground(arg2
,(wxColour
const &)*arg3
);
2850 wxPyEndAllowThreads(__tstate
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2853 Py_INCREF(Py_None
); resultobj
= Py_None
;
2860 static PyObject
*_wrap_StyledTextCtrl_SetCaretForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
*resultobj
;
2862 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2863 wxColour
*arg2
= 0 ;
2865 PyObject
* obj0
= 0 ;
2866 PyObject
* obj1
= 0 ;
2868 (char *) "self",(char *) "fore", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
2872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2875 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 (arg1
)->SetCaretForeground((wxColour
const &)*arg2
);
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2884 Py_INCREF(Py_None
); resultobj
= Py_None
;
2891 static PyObject
*_wrap_StyledTextCtrl_CmdKeyAssign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
*resultobj
;
2893 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2897 PyObject
* obj0
= 0 ;
2898 PyObject
* obj1
= 0 ;
2899 PyObject
* obj2
= 0 ;
2900 PyObject
* obj3
= 0 ;
2902 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2908 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2912 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2916 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2917 if (PyErr_Occurred()) SWIG_fail
;
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 (arg1
)->CmdKeyAssign(arg2
,arg3
,arg4
);
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2926 Py_INCREF(Py_None
); resultobj
= Py_None
;
2933 static PyObject
*_wrap_StyledTextCtrl_CmdKeyClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
*resultobj
;
2935 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2938 PyObject
* obj0
= 0 ;
2939 PyObject
* obj1
= 0 ;
2940 PyObject
* obj2
= 0 ;
2942 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2948 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2949 if (PyErr_Occurred()) SWIG_fail
;
2952 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2953 if (PyErr_Occurred()) SWIG_fail
;
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2957 (arg1
)->CmdKeyClear(arg2
,arg3
);
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) SWIG_fail
;
2962 Py_INCREF(Py_None
); resultobj
= Py_None
;
2969 static PyObject
*_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
*resultobj
;
2971 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2974 (char *) "self", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames
,&obj0
)) goto fail
;
2978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 (arg1
)->CmdKeyClearAll();
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2986 Py_INCREF(Py_None
); resultobj
= Py_None
;
2993 static PyObject
*_wrap_StyledTextCtrl_SetStyleBytes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
*resultobj
;
2995 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2998 PyObject
* obj0
= 0 ;
2999 PyObject
* obj1
= 0 ;
3000 PyObject
* obj2
= 0 ;
3002 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
3005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3008 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3012 arg3
= SWIG_PyObj_AsCharPtr(obj2
, SWIGTYPE_p_char
);
3013 if (PyErr_Occurred()) SWIG_fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 (arg1
)->SetStyleBytes(arg2
,arg3
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3022 Py_INCREF(Py_None
); resultobj
= Py_None
;
3029 static PyObject
*_wrap_StyledTextCtrl_StyleSetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3030 PyObject
*resultobj
;
3031 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3034 PyObject
* obj0
= 0 ;
3035 PyObject
* obj1
= 0 ;
3036 PyObject
* obj2
= 0 ;
3038 (char *) "self",(char *) "style",(char *) "visible", NULL
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3044 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3048 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3049 if (PyErr_Occurred()) SWIG_fail
;
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 (arg1
)->StyleSetVisible(arg2
,arg3
);
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3058 Py_INCREF(Py_None
); resultobj
= Py_None
;
3065 static PyObject
*_wrap_StyledTextCtrl_GetCaretPeriod(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3066 PyObject
*resultobj
;
3067 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3069 PyObject
* obj0
= 0 ;
3071 (char *) "self", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames
,&obj0
)) goto fail
;
3075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3078 result
= (int)(arg1
)->GetCaretPeriod();
3080 wxPyEndAllowThreads(__tstate
);
3081 if (PyErr_Occurred()) SWIG_fail
;
3083 resultobj
= SWIG_PyObj_FromInt((int)result
);
3090 static PyObject
*_wrap_StyledTextCtrl_SetCaretPeriod(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3094 PyObject
* obj0
= 0 ;
3095 PyObject
* obj1
= 0 ;
3097 (char *) "self",(char *) "periodMilliseconds", NULL
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames
,&obj0
,&obj1
)) goto fail
;
3101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3103 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3104 if (PyErr_Occurred()) SWIG_fail
;
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 (arg1
)->SetCaretPeriod(arg2
);
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) SWIG_fail
;
3113 Py_INCREF(Py_None
); resultobj
= Py_None
;
3120 static PyObject
*_wrap_StyledTextCtrl_SetWordChars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3121 PyObject
*resultobj
;
3122 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3123 wxString
*arg2
= 0 ;
3124 bool temp2
= False
;
3125 PyObject
* obj0
= 0 ;
3126 PyObject
* obj1
= 0 ;
3128 (char *) "self",(char *) "characters", NULL
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames
,&obj0
,&obj1
)) goto fail
;
3132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3134 arg2
= wxString_in_helper(obj1
);
3135 if (arg2
== NULL
) SWIG_fail
;
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 (arg1
)->SetWordChars((wxString
const &)*arg2
);
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3145 Py_INCREF(Py_None
); resultobj
= Py_None
;
3160 static PyObject
*_wrap_StyledTextCtrl_BeginUndoAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
*resultobj
;
3162 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3165 (char *) "self", NULL
3168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames
,&obj0
)) goto fail
;
3169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3172 (arg1
)->BeginUndoAction();
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3177 Py_INCREF(Py_None
); resultobj
= Py_None
;
3184 static PyObject
*_wrap_StyledTextCtrl_EndUndoAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
*resultobj
;
3186 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3187 PyObject
* obj0
= 0 ;
3189 (char *) "self", NULL
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames
,&obj0
)) goto fail
;
3193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 (arg1
)->EndUndoAction();
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3201 Py_INCREF(Py_None
); resultobj
= Py_None
;
3208 static PyObject
*_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3213 PyObject
* obj0
= 0 ;
3214 PyObject
* obj1
= 0 ;
3215 PyObject
* obj2
= 0 ;
3217 (char *) "self",(char *) "indic",(char *) "style", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3223 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3224 if (PyErr_Occurred()) SWIG_fail
;
3227 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3232 (arg1
)->IndicatorSetStyle(arg2
,arg3
);
3234 wxPyEndAllowThreads(__tstate
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3237 Py_INCREF(Py_None
); resultobj
= Py_None
;
3244 static PyObject
*_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3245 PyObject
*resultobj
;
3246 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3249 PyObject
* obj0
= 0 ;
3250 PyObject
* obj1
= 0 ;
3252 (char *) "self",(char *) "indic", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3258 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3259 if (PyErr_Occurred()) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 result
= (int)(arg1
)->IndicatorGetStyle(arg2
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 resultobj
= SWIG_PyObj_FromInt((int)result
);
3275 static PyObject
*_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3279 wxColour
*arg3
= 0 ;
3281 PyObject
* obj0
= 0 ;
3282 PyObject
* obj1
= 0 ;
3283 PyObject
* obj2
= 0 ;
3285 (char *) "self",(char *) "indic",(char *) "fore", NULL
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3291 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3296 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 (arg1
)->IndicatorSetForeground(arg2
,(wxColour
const &)*arg3
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 Py_INCREF(Py_None
); resultobj
= Py_None
;
3312 static PyObject
*_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3317 PyObject
* obj0
= 0 ;
3318 PyObject
* obj1
= 0 ;
3320 (char *) "self",(char *) "indic", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
3324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3326 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 result
= (arg1
)->IndicatorGetForeground(arg2
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3337 wxColour
* resultptr
;
3338 resultptr
= new wxColour((wxColour
&) result
);
3339 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
3347 static PyObject
*_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
*resultobj
;
3349 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3351 wxColour
*arg3
= 0 ;
3353 PyObject
* obj0
= 0 ;
3354 PyObject
* obj1
= 0 ;
3355 PyObject
* obj2
= 0 ;
3357 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3363 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3364 if (PyErr_Occurred()) SWIG_fail
;
3368 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 (arg1
)->SetWhitespaceForeground(arg2
,(wxColour
const &)*arg3
);
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) SWIG_fail
;
3377 Py_INCREF(Py_None
); resultobj
= Py_None
;
3384 static PyObject
*_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3388 wxColour
*arg3
= 0 ;
3390 PyObject
* obj0
= 0 ;
3391 PyObject
* obj1
= 0 ;
3392 PyObject
* obj2
= 0 ;
3394 (char *) "self",(char *) "useSetting",(char *) "back", NULL
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3400 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3405 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
3408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3409 (arg1
)->SetWhitespaceBackground(arg2
,(wxColour
const &)*arg3
);
3411 wxPyEndAllowThreads(__tstate
);
3412 if (PyErr_Occurred()) SWIG_fail
;
3414 Py_INCREF(Py_None
); resultobj
= Py_None
;
3421 static PyObject
*_wrap_StyledTextCtrl_SetStyleBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
*resultobj
;
3423 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3425 PyObject
* obj0
= 0 ;
3426 PyObject
* obj1
= 0 ;
3428 (char *) "self",(char *) "bits", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames
,&obj0
,&obj1
)) goto fail
;
3432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3434 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3439 (arg1
)->SetStyleBits(arg2
);
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 Py_INCREF(Py_None
); resultobj
= Py_None
;
3451 static PyObject
*_wrap_StyledTextCtrl_GetStyleBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "self", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames
,&obj0
)) goto fail
;
3461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3464 result
= (int)(arg1
)->GetStyleBits();
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 resultobj
= SWIG_PyObj_FromInt((int)result
);
3476 static PyObject
*_wrap_StyledTextCtrl_SetLineState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3481 PyObject
* obj0
= 0 ;
3482 PyObject
* obj1
= 0 ;
3483 PyObject
* obj2
= 0 ;
3485 (char *) "self",(char *) "line",(char *) "state", NULL
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3491 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3495 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 (arg1
)->SetLineState(arg2
,arg3
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 Py_INCREF(Py_None
); resultobj
= Py_None
;
3512 static PyObject
*_wrap_StyledTextCtrl_GetLineState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3517 PyObject
* obj0
= 0 ;
3518 PyObject
* obj1
= 0 ;
3520 (char *) "self",(char *) "line", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineState",kwnames
,&obj0
,&obj1
)) goto fail
;
3524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3526 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 result
= (int)(arg1
)->GetLineState(arg2
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 resultobj
= SWIG_PyObj_FromInt((int)result
);
3543 static PyObject
*_wrap_StyledTextCtrl_GetMaxLineState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
;
3545 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3547 PyObject
* obj0
= 0 ;
3549 (char *) "self", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames
,&obj0
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 result
= (int)(arg1
)->GetMaxLineState();
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3561 resultobj
= SWIG_PyObj_FromInt((int)result
);
3568 static PyObject
*_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
*resultobj
;
3570 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3572 PyObject
* obj0
= 0 ;
3574 (char *) "self", NULL
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames
,&obj0
)) goto fail
;
3578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 result
= (bool)(arg1
)->GetCaretLineVisible();
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3593 static PyObject
*_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3595 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3597 PyObject
* obj0
= 0 ;
3598 PyObject
* obj1
= 0 ;
3600 (char *) "self",(char *) "show", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3606 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 (arg1
)->SetCaretLineVisible(arg2
);
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3616 Py_INCREF(Py_None
); resultobj
= Py_None
;
3623 static PyObject
*_wrap_StyledTextCtrl_GetCaretLineBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
;
3625 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3627 PyObject
* obj0
= 0 ;
3629 (char *) "self", NULL
3632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames
,&obj0
)) goto fail
;
3633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (arg1
)->GetCaretLineBack();
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 wxColour
* resultptr
;
3643 resultptr
= new wxColour((wxColour
&) result
);
3644 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
3652 static PyObject
*_wrap_StyledTextCtrl_SetCaretLineBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3655 wxColour
*arg2
= 0 ;
3657 PyObject
* obj0
= 0 ;
3658 PyObject
* obj1
= 0 ;
3660 (char *) "self",(char *) "back", NULL
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames
,&obj0
,&obj1
)) goto fail
;
3664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3667 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3671 (arg1
)->SetCaretLineBack((wxColour
const &)*arg2
);
3673 wxPyEndAllowThreads(__tstate
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3676 Py_INCREF(Py_None
); resultobj
= Py_None
;
3683 static PyObject
*_wrap_StyledTextCtrl_StyleSetChangeable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
*resultobj
;
3685 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3688 PyObject
* obj0
= 0 ;
3689 PyObject
* obj1
= 0 ;
3690 PyObject
* obj2
= 0 ;
3692 (char *) "self",(char *) "style",(char *) "changeable", NULL
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3698 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3699 if (PyErr_Occurred()) SWIG_fail
;
3702 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 (arg1
)->StyleSetChangeable(arg2
,arg3
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 Py_INCREF(Py_None
); resultobj
= Py_None
;
3719 static PyObject
*_wrap_StyledTextCtrl_AutoCompShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
*resultobj
;
3721 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3723 wxString
*arg3
= 0 ;
3724 bool temp3
= False
;
3725 PyObject
* obj0
= 0 ;
3726 PyObject
* obj1
= 0 ;
3727 PyObject
* obj2
= 0 ;
3729 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3735 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3739 arg3
= wxString_in_helper(obj2
);
3740 if (arg3
== NULL
) SWIG_fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 (arg1
)->AutoCompShow(arg2
,(wxString
const &)*arg3
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 Py_INCREF(Py_None
); resultobj
= Py_None
;
3765 static PyObject
*_wrap_StyledTextCtrl_AutoCompCancel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3768 PyObject
* obj0
= 0 ;
3770 (char *) "self", NULL
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames
,&obj0
)) goto fail
;
3774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3777 (arg1
)->AutoCompCancel();
3779 wxPyEndAllowThreads(__tstate
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3782 Py_INCREF(Py_None
); resultobj
= Py_None
;
3789 static PyObject
*_wrap_StyledTextCtrl_AutoCompActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3790 PyObject
*resultobj
;
3791 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3793 PyObject
* obj0
= 0 ;
3795 (char *) "self", NULL
3798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames
,&obj0
)) goto fail
;
3799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 result
= (bool)(arg1
)->AutoCompActive();
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3814 static PyObject
*_wrap_StyledTextCtrl_AutoCompPosStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
*resultobj
;
3816 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3818 PyObject
* obj0
= 0 ;
3820 (char *) "self", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames
,&obj0
)) goto fail
;
3824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 result
= (int)(arg1
)->AutoCompPosStart();
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 resultobj
= SWIG_PyObj_FromInt((int)result
);
3839 static PyObject
*_wrap_StyledTextCtrl_AutoCompComplete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
*resultobj
;
3841 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3842 PyObject
* obj0
= 0 ;
3844 (char *) "self", NULL
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames
,&obj0
)) goto fail
;
3848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 (arg1
)->AutoCompComplete();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 Py_INCREF(Py_None
); resultobj
= Py_None
;
3863 static PyObject
*_wrap_StyledTextCtrl_AutoCompStops(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3866 wxString
*arg2
= 0 ;
3867 bool temp2
= False
;
3868 PyObject
* obj0
= 0 ;
3869 PyObject
* obj1
= 0 ;
3871 (char *) "self",(char *) "characterSet", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames
,&obj0
,&obj1
)) goto fail
;
3875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3877 arg2
= wxString_in_helper(obj1
);
3878 if (arg2
== NULL
) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 (arg1
)->AutoCompStops((wxString
const &)*arg2
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 Py_INCREF(Py_None
); resultobj
= Py_None
;
3903 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3907 PyObject
* obj0
= 0 ;
3908 PyObject
* obj1
= 0 ;
3910 (char *) "self",(char *) "separatorCharacter", NULL
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
3914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3916 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 (arg1
)->AutoCompSetSeparator(arg2
);
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) SWIG_fail
;
3926 Py_INCREF(Py_None
); resultobj
= Py_None
;
3933 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
*resultobj
;
3935 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3937 PyObject
* obj0
= 0 ;
3939 (char *) "self", NULL
3942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames
,&obj0
)) goto fail
;
3943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 result
= (int)(arg1
)->AutoCompGetSeparator();
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3951 resultobj
= SWIG_PyObj_FromInt((int)result
);
3958 static PyObject
*_wrap_StyledTextCtrl_AutoCompSelect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3961 wxString
*arg2
= 0 ;
3962 bool temp2
= False
;
3963 PyObject
* obj0
= 0 ;
3964 PyObject
* obj1
= 0 ;
3966 (char *) "self",(char *) "text", NULL
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames
,&obj0
,&obj1
)) goto fail
;
3970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3972 arg2
= wxString_in_helper(obj1
);
3973 if (arg2
== NULL
) SWIG_fail
;
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 (arg1
)->AutoCompSelect((wxString
const &)*arg2
);
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 Py_INCREF(Py_None
); resultobj
= Py_None
;
3998 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
*resultobj
;
4000 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4002 PyObject
* obj0
= 0 ;
4003 PyObject
* obj1
= 0 ;
4005 (char *) "self",(char *) "cancel", NULL
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames
,&obj0
,&obj1
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4011 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 (arg1
)->AutoCompSetCancelAtStart(arg2
);
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4021 Py_INCREF(Py_None
); resultobj
= Py_None
;
4028 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
;
4030 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4032 PyObject
* obj0
= 0 ;
4034 (char *) "self", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames
,&obj0
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 result
= (bool)(arg1
)->AutoCompGetCancelAtStart();
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4053 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4056 wxString
*arg2
= 0 ;
4057 bool temp2
= False
;
4058 PyObject
* obj0
= 0 ;
4059 PyObject
* obj1
= 0 ;
4061 (char *) "self",(char *) "characterSet", NULL
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames
,&obj0
,&obj1
)) goto fail
;
4065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4067 arg2
= wxString_in_helper(obj1
);
4068 if (arg2
== NULL
) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 (arg1
)->AutoCompSetFillUps((wxString
const &)*arg2
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 Py_INCREF(Py_None
); resultobj
= Py_None
;
4093 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4097 PyObject
* obj0
= 0 ;
4098 PyObject
* obj1
= 0 ;
4100 (char *) "self",(char *) "chooseSingle", NULL
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames
,&obj0
,&obj1
)) goto fail
;
4104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4106 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 (arg1
)->AutoCompSetChooseSingle(arg2
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4116 Py_INCREF(Py_None
); resultobj
= Py_None
;
4123 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
*resultobj
;
4125 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4127 PyObject
* obj0
= 0 ;
4129 (char *) "self", NULL
4132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames
,&obj0
)) goto fail
;
4133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= (bool)(arg1
)->AutoCompGetChooseSingle();
4138 wxPyEndAllowThreads(__tstate
);
4139 if (PyErr_Occurred()) SWIG_fail
;
4141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4148 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4149 PyObject
*resultobj
;
4150 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4152 PyObject
* obj0
= 0 ;
4153 PyObject
* obj1
= 0 ;
4155 (char *) "self",(char *) "ignoreCase", NULL
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames
,&obj0
,&obj1
)) goto fail
;
4159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4161 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 (arg1
)->AutoCompSetIgnoreCase(arg2
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4171 Py_INCREF(Py_None
); resultobj
= Py_None
;
4178 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
;
4180 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4182 PyObject
* obj0
= 0 ;
4184 (char *) "self", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames
,&obj0
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (bool)(arg1
)->AutoCompGetIgnoreCase();
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4203 static PyObject
*_wrap_StyledTextCtrl_UserListShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4205 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4207 wxString
*arg3
= 0 ;
4208 bool temp3
= False
;
4209 PyObject
* obj0
= 0 ;
4210 PyObject
* obj1
= 0 ;
4211 PyObject
* obj2
= 0 ;
4213 (char *) "self",(char *) "listType",(char *) "itemList", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4219 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4223 arg3
= wxString_in_helper(obj2
);
4224 if (arg3
== NULL
) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 (arg1
)->UserListShow(arg2
,(wxString
const &)*arg3
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 Py_INCREF(Py_None
); resultobj
= Py_None
;
4249 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
;
4251 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4253 PyObject
* obj0
= 0 ;
4254 PyObject
* obj1
= 0 ;
4256 (char *) "self",(char *) "autoHide", NULL
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames
,&obj0
,&obj1
)) goto fail
;
4260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4262 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4267 (arg1
)->AutoCompSetAutoHide(arg2
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4272 Py_INCREF(Py_None
); resultobj
= Py_None
;
4279 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
*resultobj
;
4281 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4283 PyObject
* obj0
= 0 ;
4285 (char *) "self", NULL
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames
,&obj0
)) goto fail
;
4289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 result
= (bool)(arg1
)->AutoCompGetAutoHide();
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4304 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4308 PyObject
* obj0
= 0 ;
4309 PyObject
* obj1
= 0 ;
4311 (char *) "self",(char *) "dropRestOfWord", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames
,&obj0
,&obj1
)) goto fail
;
4315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4317 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4322 (arg1
)->AutoCompSetDropRestOfWord(arg2
);
4324 wxPyEndAllowThreads(__tstate
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 Py_INCREF(Py_None
); resultobj
= Py_None
;
4334 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4338 PyObject
* obj0
= 0 ;
4340 (char *) "self", NULL
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames
,&obj0
)) goto fail
;
4344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 result
= (bool)(arg1
)->AutoCompGetDropRestOfWord();
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4359 static PyObject
*_wrap_StyledTextCtrl_RegisterImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4363 wxBitmap
*arg3
= 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4366 PyObject
* obj2
= 0 ;
4368 (char *) "self",(char *) "type",(char *) "bmp", NULL
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4374 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4379 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 (arg1
)->RegisterImage(arg2
,(wxBitmap
const &)*arg3
);
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 Py_INCREF(Py_None
); resultobj
= Py_None
;
4395 static PyObject
*_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4398 PyObject
* obj0
= 0 ;
4400 (char *) "self", NULL
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames
,&obj0
)) goto fail
;
4404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 (arg1
)->ClearRegisteredImages();
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4412 Py_INCREF(Py_None
); resultobj
= Py_None
;
4419 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4423 PyObject
* obj0
= 0 ;
4425 (char *) "self", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames
,&obj0
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 result
= (int)(arg1
)->AutoCompGetTypeSeparator();
4434 wxPyEndAllowThreads(__tstate
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4437 resultobj
= SWIG_PyObj_FromInt((int)result
);
4444 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4446 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4448 PyObject
* obj0
= 0 ;
4449 PyObject
* obj1
= 0 ;
4451 (char *) "self",(char *) "separatorCharacter", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
4455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4457 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4458 if (PyErr_Occurred()) SWIG_fail
;
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 (arg1
)->AutoCompSetTypeSeparator(arg2
);
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4467 Py_INCREF(Py_None
); resultobj
= Py_None
;
4474 static PyObject
*_wrap_StyledTextCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4481 (char *) "self",(char *) "indentSize", NULL
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
4485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4487 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 (arg1
)->SetIndent(arg2
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4497 Py_INCREF(Py_None
); resultobj
= Py_None
;
4504 static PyObject
*_wrap_StyledTextCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4508 PyObject
* obj0
= 0 ;
4510 (char *) "self", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
4514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 result
= (int)(arg1
)->GetIndent();
4519 wxPyEndAllowThreads(__tstate
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4522 resultobj
= SWIG_PyObj_FromInt((int)result
);
4529 static PyObject
*_wrap_StyledTextCtrl_SetUseTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4533 PyObject
* obj0
= 0 ;
4534 PyObject
* obj1
= 0 ;
4536 (char *) "self",(char *) "useTabs", NULL
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
4540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4542 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 (arg1
)->SetUseTabs(arg2
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 Py_INCREF(Py_None
); resultobj
= Py_None
;
4559 static PyObject
*_wrap_StyledTextCtrl_GetUseTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4563 PyObject
* obj0
= 0 ;
4565 (char *) "self", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames
,&obj0
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4572 result
= (bool)(arg1
)->GetUseTabs();
4574 wxPyEndAllowThreads(__tstate
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4584 static PyObject
*_wrap_StyledTextCtrl_SetLineIndentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4589 PyObject
* obj0
= 0 ;
4590 PyObject
* obj1
= 0 ;
4591 PyObject
* obj2
= 0 ;
4593 (char *) "self",(char *) "line",(char *) "indentSize", NULL
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4599 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4603 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4608 (arg1
)->SetLineIndentation(arg2
,arg3
);
4610 wxPyEndAllowThreads(__tstate
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4613 Py_INCREF(Py_None
); resultobj
= Py_None
;
4620 static PyObject
*_wrap_StyledTextCtrl_GetLineIndentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
*resultobj
;
4622 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4625 PyObject
* obj0
= 0 ;
4626 PyObject
* obj1
= 0 ;
4628 (char *) "self",(char *) "line", NULL
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames
,&obj0
,&obj1
)) goto fail
;
4632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4634 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4635 if (PyErr_Occurred()) SWIG_fail
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 result
= (int)(arg1
)->GetLineIndentation(arg2
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= SWIG_PyObj_FromInt((int)result
);
4651 static PyObject
*_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4656 PyObject
* obj0
= 0 ;
4657 PyObject
* obj1
= 0 ;
4659 (char *) "self",(char *) "line", NULL
4662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4665 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= (int)(arg1
)->GetLineIndentPosition(arg2
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= SWIG_PyObj_FromInt((int)result
);
4682 static PyObject
*_wrap_StyledTextCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
;
4684 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4688 PyObject
* obj1
= 0 ;
4690 (char *) "self",(char *) "pos", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
4694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4696 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= (int)(arg1
)->GetColumn(arg2
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_PyObj_FromInt((int)result
);
4713 static PyObject
*_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
;
4715 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4717 PyObject
* obj0
= 0 ;
4718 PyObject
* obj1
= 0 ;
4720 (char *) "self",(char *) "show", NULL
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4726 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4731 (arg1
)->SetUseHorizontalScrollBar(arg2
);
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4736 Py_INCREF(Py_None
); resultobj
= Py_None
;
4743 static PyObject
*_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4744 PyObject
*resultobj
;
4745 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4747 PyObject
* obj0
= 0 ;
4749 (char *) "self", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames
,&obj0
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (bool)(arg1
)->GetUseHorizontalScrollBar();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4768 static PyObject
*_wrap_StyledTextCtrl_SetIndentationGuides(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
;
4770 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4772 PyObject
* obj0
= 0 ;
4773 PyObject
* obj1
= 0 ;
4775 (char *) "self",(char *) "show", NULL
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames
,&obj0
,&obj1
)) goto fail
;
4779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4781 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 (arg1
)->SetIndentationGuides(arg2
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4791 Py_INCREF(Py_None
); resultobj
= Py_None
;
4798 static PyObject
*_wrap_StyledTextCtrl_GetIndentationGuides(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4802 PyObject
* obj0
= 0 ;
4804 (char *) "self", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames
,&obj0
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4811 result
= (bool)(arg1
)->GetIndentationGuides();
4813 wxPyEndAllowThreads(__tstate
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4823 static PyObject
*_wrap_StyledTextCtrl_SetHighlightGuide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
*resultobj
;
4825 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4827 PyObject
* obj0
= 0 ;
4828 PyObject
* obj1
= 0 ;
4830 (char *) "self",(char *) "column", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames
,&obj0
,&obj1
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4836 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 (arg1
)->SetHighlightGuide(arg2
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4846 Py_INCREF(Py_None
); resultobj
= Py_None
;
4853 static PyObject
*_wrap_StyledTextCtrl_GetHighlightGuide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4857 PyObject
* obj0
= 0 ;
4859 (char *) "self", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames
,&obj0
)) goto fail
;
4863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (int)(arg1
)->GetHighlightGuide();
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 resultobj
= SWIG_PyObj_FromInt((int)result
);
4878 static PyObject
*_wrap_StyledTextCtrl_GetLineEndPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4880 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4883 PyObject
* obj0
= 0 ;
4884 PyObject
* obj1
= 0 ;
4886 (char *) "self",(char *) "line", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4892 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4897 result
= (int)(arg1
)->GetLineEndPosition(arg2
);
4899 wxPyEndAllowThreads(__tstate
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= SWIG_PyObj_FromInt((int)result
);
4909 static PyObject
*_wrap_StyledTextCtrl_GetCodePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
*resultobj
;
4911 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4913 PyObject
* obj0
= 0 ;
4915 (char *) "self", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCodePage",kwnames
,&obj0
)) goto fail
;
4919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (int)(arg1
)->GetCodePage();
4924 wxPyEndAllowThreads(__tstate
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4927 resultobj
= SWIG_PyObj_FromInt((int)result
);
4934 static PyObject
*_wrap_StyledTextCtrl_GetCaretForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
*resultobj
;
4936 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4940 (char *) "self", NULL
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames
,&obj0
)) goto fail
;
4944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (arg1
)->GetCaretForeground();
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4953 wxColour
* resultptr
;
4954 resultptr
= new wxColour((wxColour
&) result
);
4955 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4963 static PyObject
*_wrap_StyledTextCtrl_GetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4967 PyObject
* obj0
= 0 ;
4969 (char *) "self", NULL
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames
,&obj0
)) goto fail
;
4973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 result
= (bool)(arg1
)->GetReadOnly();
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4988 static PyObject
*_wrap_StyledTextCtrl_SetCurrentPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
;
4990 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4995 (char *) "self",(char *) "pos", NULL
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames
,&obj0
,&obj1
)) goto fail
;
4999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5001 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 (arg1
)->SetCurrentPos(arg2
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 Py_INCREF(Py_None
); resultobj
= Py_None
;
5018 static PyObject
*_wrap_StyledTextCtrl_SetSelectionStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5022 PyObject
* obj0
= 0 ;
5023 PyObject
* obj1
= 0 ;
5025 (char *) "self",(char *) "pos", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames
,&obj0
,&obj1
)) goto fail
;
5029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5031 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5032 if (PyErr_Occurred()) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 (arg1
)->SetSelectionStart(arg2
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 Py_INCREF(Py_None
); resultobj
= Py_None
;
5048 static PyObject
*_wrap_StyledTextCtrl_GetSelectionStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5052 PyObject
* obj0
= 0 ;
5054 (char *) "self", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames
,&obj0
)) goto fail
;
5058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 result
= (int)(arg1
)->GetSelectionStart();
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= SWIG_PyObj_FromInt((int)result
);
5073 static PyObject
*_wrap_StyledTextCtrl_SetSelectionEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
;
5075 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5077 PyObject
* obj0
= 0 ;
5078 PyObject
* obj1
= 0 ;
5080 (char *) "self",(char *) "pos", NULL
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
5084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5086 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 (arg1
)->SetSelectionEnd(arg2
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5096 Py_INCREF(Py_None
); resultobj
= Py_None
;
5103 static PyObject
*_wrap_StyledTextCtrl_GetSelectionEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
;
5105 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5107 PyObject
* obj0
= 0 ;
5109 (char *) "self", NULL
5112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames
,&obj0
)) goto fail
;
5113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 result
= (int)(arg1
)->GetSelectionEnd();
5118 wxPyEndAllowThreads(__tstate
);
5119 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= SWIG_PyObj_FromInt((int)result
);
5128 static PyObject
*_wrap_StyledTextCtrl_SetPrintMagnification(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
;
5130 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5132 PyObject
* obj0
= 0 ;
5133 PyObject
* obj1
= 0 ;
5135 (char *) "self",(char *) "magnification", NULL
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames
,&obj0
,&obj1
)) goto fail
;
5139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5141 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 (arg1
)->SetPrintMagnification(arg2
);
5148 wxPyEndAllowThreads(__tstate
);
5149 if (PyErr_Occurred()) SWIG_fail
;
5151 Py_INCREF(Py_None
); resultobj
= Py_None
;
5158 static PyObject
*_wrap_StyledTextCtrl_GetPrintMagnification(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5162 PyObject
* obj0
= 0 ;
5164 (char *) "self", NULL
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames
,&obj0
)) goto fail
;
5168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 result
= (int)(arg1
)->GetPrintMagnification();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_PyObj_FromInt((int)result
);
5183 static PyObject
*_wrap_StyledTextCtrl_SetPrintColourMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
;
5185 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5187 PyObject
* obj0
= 0 ;
5188 PyObject
* obj1
= 0 ;
5190 (char *) "self",(char *) "mode", NULL
5193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5196 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 (arg1
)->SetPrintColourMode(arg2
);
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 Py_INCREF(Py_None
); resultobj
= Py_None
;
5213 static PyObject
*_wrap_StyledTextCtrl_GetPrintColourMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5217 PyObject
* obj0
= 0 ;
5219 (char *) "self", NULL
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames
,&obj0
)) goto fail
;
5223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= (int)(arg1
)->GetPrintColourMode();
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5231 resultobj
= SWIG_PyObj_FromInt((int)result
);
5238 static PyObject
*_wrap_StyledTextCtrl_FindText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5240 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5243 wxString
*arg4
= 0 ;
5244 int arg5
= (int) 0 ;
5246 bool temp4
= False
;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5249 PyObject
* obj2
= 0 ;
5250 PyObject
* obj3
= 0 ;
5251 PyObject
* obj4
= 0 ;
5253 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
5256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5259 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5260 if (PyErr_Occurred()) SWIG_fail
;
5263 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5267 arg4
= wxString_in_helper(obj3
);
5268 if (arg4
== NULL
) SWIG_fail
;
5273 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= (int)(arg1
)->FindText(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5284 resultobj
= SWIG_PyObj_FromInt((int)result
);
5299 static PyObject
*_wrap_StyledTextCtrl_FormatRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
*resultobj
;
5301 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5305 wxDC
*arg5
= (wxDC
*) 0 ;
5306 wxDC
*arg6
= (wxDC
*) 0 ;
5312 PyObject
* obj0
= 0 ;
5313 PyObject
* obj1
= 0 ;
5314 PyObject
* obj2
= 0 ;
5315 PyObject
* obj3
= 0 ;
5316 PyObject
* obj4
= 0 ;
5317 PyObject
* obj5
= 0 ;
5318 PyObject
* obj6
= 0 ;
5319 PyObject
* obj7
= 0 ;
5321 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
5324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5327 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5331 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5335 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5336 if (PyErr_Occurred()) SWIG_fail
;
5338 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5339 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5340 if ((SWIG_ConvertPtr(obj6
,(void **) &argp7
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5342 if ((SWIG_ConvertPtr(obj7
,(void **) &argp8
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= (int)(arg1
)->FormatRange(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5351 resultobj
= SWIG_PyObj_FromInt((int)result
);
5358 static PyObject
*_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
*resultobj
;
5360 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5362 PyObject
* obj0
= 0 ;
5364 (char *) "self", NULL
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
5368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 result
= (int)(arg1
)->GetFirstVisibleLine();
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5376 resultobj
= SWIG_PyObj_FromInt((int)result
);
5383 static PyObject
*_wrap_StyledTextCtrl_GetLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
*resultobj
;
5385 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5388 PyObject
* obj0
= 0 ;
5389 PyObject
* obj1
= 0 ;
5391 (char *) "self",(char *) "line", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLine",kwnames
,&obj0
,&obj1
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5397 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 result
= (arg1
)->GetLine(arg2
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5420 static PyObject
*_wrap_StyledTextCtrl_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5424 PyObject
* obj0
= 0 ;
5426 (char *) "self", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetLineCount",kwnames
,&obj0
)) goto fail
;
5430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (int)(arg1
)->GetLineCount();
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_PyObj_FromInt((int)result
);
5445 static PyObject
*_wrap_StyledTextCtrl_SetMarginLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
;
5447 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5452 (char *) "self",(char *) "pixelWidth", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5458 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 (arg1
)->SetMarginLeft(arg2
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 Py_INCREF(Py_None
); resultobj
= Py_None
;
5475 static PyObject
*_wrap_StyledTextCtrl_GetMarginLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
;
5477 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5479 PyObject
* obj0
= 0 ;
5481 (char *) "self", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames
,&obj0
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5488 result
= (int)(arg1
)->GetMarginLeft();
5490 wxPyEndAllowThreads(__tstate
);
5491 if (PyErr_Occurred()) SWIG_fail
;
5493 resultobj
= SWIG_PyObj_FromInt((int)result
);
5500 static PyObject
*_wrap_StyledTextCtrl_SetMarginRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5501 PyObject
*resultobj
;
5502 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5504 PyObject
* obj0
= 0 ;
5505 PyObject
* obj1
= 0 ;
5507 (char *) "self",(char *) "pixelWidth", NULL
5510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5513 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 (arg1
)->SetMarginRight(arg2
);
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 Py_INCREF(Py_None
); resultobj
= Py_None
;
5530 static PyObject
*_wrap_StyledTextCtrl_GetMarginRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5532 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5534 PyObject
* obj0
= 0 ;
5536 (char *) "self", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames
,&obj0
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (int)(arg1
)->GetMarginRight();
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= SWIG_PyObj_FromInt((int)result
);
5555 static PyObject
*_wrap_StyledTextCtrl_GetModify(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5556 PyObject
*resultobj
;
5557 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5559 PyObject
* obj0
= 0 ;
5561 (char *) "self", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetModify",kwnames
,&obj0
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 result
= (bool)(arg1
)->GetModify();
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5580 static PyObject
*_wrap_StyledTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
*resultobj
;
5582 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5585 PyObject
* obj0
= 0 ;
5586 PyObject
* obj1
= 0 ;
5587 PyObject
* obj2
= 0 ;
5589 (char *) "self",(char *) "start",(char *) "end", NULL
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5595 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5599 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 (arg1
)->SetSelection(arg2
,arg3
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 Py_INCREF(Py_None
); resultobj
= Py_None
;
5616 static PyObject
*_wrap_StyledTextCtrl_GetSelectedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
;
5618 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5620 PyObject
* obj0
= 0 ;
5622 (char *) "self", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames
,&obj0
)) goto fail
;
5626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 result
= (arg1
)->GetSelectedText();
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5647 static PyObject
*_wrap_StyledTextCtrl_GetTextRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5654 PyObject
* obj1
= 0 ;
5655 PyObject
* obj2
= 0 ;
5657 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5663 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5667 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5668 if (PyErr_Occurred()) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 result
= (arg1
)->GetTextRange(arg2
,arg3
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5690 static PyObject
*_wrap_StyledTextCtrl_HideSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5694 PyObject
* obj0
= 0 ;
5695 PyObject
* obj1
= 0 ;
5697 (char *) "self",(char *) "normal", NULL
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_HideSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5703 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 (arg1
)->HideSelection(arg2
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5713 Py_INCREF(Py_None
); resultobj
= Py_None
;
5720 static PyObject
*_wrap_StyledTextCtrl_LineFromPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5726 PyObject
* obj1
= 0 ;
5728 (char *) "self",(char *) "pos", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5734 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 result
= (int)(arg1
)->LineFromPosition(arg2
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= SWIG_PyObj_FromInt((int)result
);
5751 static PyObject
*_wrap_StyledTextCtrl_PositionFromLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5759 (char *) "self",(char *) "line", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames
,&obj0
,&obj1
)) goto fail
;
5763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5765 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= (int)(arg1
)->PositionFromLine(arg2
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5775 resultobj
= SWIG_PyObj_FromInt((int)result
);
5782 static PyObject
*_wrap_StyledTextCtrl_LineScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5788 PyObject
* obj1
= 0 ;
5789 PyObject
* obj2
= 0 ;
5791 (char *) "self",(char *) "columns",(char *) "lines", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5797 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5801 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 (arg1
)->LineScroll(arg2
,arg3
);
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 Py_INCREF(Py_None
); resultobj
= Py_None
;
5818 static PyObject
*_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5823 (char *) "self", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames
,&obj0
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 (arg1
)->EnsureCaretVisible();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 Py_INCREF(Py_None
); resultobj
= Py_None
;
5842 static PyObject
*_wrap_StyledTextCtrl_ReplaceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5845 wxString
*arg2
= 0 ;
5846 bool temp2
= False
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5850 (char *) "self",(char *) "text", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5856 arg2
= wxString_in_helper(obj1
);
5857 if (arg2
== NULL
) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 (arg1
)->ReplaceSelection((wxString
const &)*arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 Py_INCREF(Py_None
); resultobj
= Py_None
;
5882 static PyObject
*_wrap_StyledTextCtrl_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5883 PyObject
*resultobj
;
5884 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5887 PyObject
* obj1
= 0 ;
5889 (char *) "self",(char *) "readOnly", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
5893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5895 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 (arg1
)->SetReadOnly(arg2
);
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 Py_INCREF(Py_None
); resultobj
= Py_None
;
5912 static PyObject
*_wrap_StyledTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5916 PyObject
* obj0
= 0 ;
5918 (char *) "self", NULL
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
5922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5925 result
= (bool)(arg1
)->CanPaste();
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5937 static PyObject
*_wrap_StyledTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5938 PyObject
*resultobj
;
5939 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5941 PyObject
* obj0
= 0 ;
5943 (char *) "self", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (bool)(arg1
)->CanUndo();
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5962 static PyObject
*_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5967 (char *) "self", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames
,&obj0
)) goto fail
;
5971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 (arg1
)->EmptyUndoBuffer();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 Py_INCREF(Py_None
); resultobj
= Py_None
;
5986 static PyObject
*_wrap_StyledTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
*resultobj
;
5988 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5989 PyObject
* obj0
= 0 ;
5991 (char *) "self", NULL
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
5995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 Py_INCREF(Py_None
); resultobj
= Py_None
;
6010 static PyObject
*_wrap_StyledTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6013 PyObject
* obj0
= 0 ;
6015 (char *) "self", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
6019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 Py_INCREF(Py_None
); resultobj
= Py_None
;
6034 static PyObject
*_wrap_StyledTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
*resultobj
;
6036 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 Py_INCREF(Py_None
); resultobj
= Py_None
;
6058 static PyObject
*_wrap_StyledTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6060 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6061 PyObject
* obj0
= 0 ;
6063 (char *) "self", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6072 wxPyEndAllowThreads(__tstate
);
6073 if (PyErr_Occurred()) SWIG_fail
;
6075 Py_INCREF(Py_None
); resultobj
= Py_None
;
6082 static PyObject
*_wrap_StyledTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
;
6084 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6085 PyObject
* obj0
= 0 ;
6087 (char *) "self", NULL
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
6091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 Py_INCREF(Py_None
); resultobj
= Py_None
;
6106 static PyObject
*_wrap_StyledTextCtrl_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
*resultobj
;
6108 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6109 wxString
*arg2
= 0 ;
6110 bool temp2
= False
;
6111 PyObject
* obj0
= 0 ;
6112 PyObject
* obj1
= 0 ;
6114 (char *) "self",(char *) "text", NULL
6117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
6118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6120 arg2
= wxString_in_helper(obj1
);
6121 if (arg2
== NULL
) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 (arg1
)->SetText((wxString
const &)*arg2
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 Py_INCREF(Py_None
); resultobj
= Py_None
;
6146 static PyObject
*_wrap_StyledTextCtrl_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6150 PyObject
* obj0
= 0 ;
6152 (char *) "self", NULL
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetText",kwnames
,&obj0
)) goto fail
;
6156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 result
= (arg1
)->GetText();
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6177 static PyObject
*_wrap_StyledTextCtrl_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
;
6179 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6181 PyObject
* obj0
= 0 ;
6183 (char *) "self", NULL
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetTextLength",kwnames
,&obj0
)) goto fail
;
6187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 result
= (int)(arg1
)->GetTextLength();
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6195 resultobj
= SWIG_PyObj_FromInt((int)result
);
6202 static PyObject
*_wrap_StyledTextCtrl_SetOvertype(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6207 PyObject
* obj1
= 0 ;
6209 (char *) "self",(char *) "overtype", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames
,&obj0
,&obj1
)) goto fail
;
6213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6215 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 (arg1
)->SetOvertype(arg2
);
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 Py_INCREF(Py_None
); resultobj
= Py_None
;
6232 static PyObject
*_wrap_StyledTextCtrl_GetOvertype(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
;
6234 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6236 PyObject
* obj0
= 0 ;
6238 (char *) "self", NULL
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetOvertype",kwnames
,&obj0
)) goto fail
;
6242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6245 result
= (bool)(arg1
)->GetOvertype();
6247 wxPyEndAllowThreads(__tstate
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6257 static PyObject
*_wrap_StyledTextCtrl_SetCaretWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
;
6259 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6264 (char *) "self",(char *) "pixelWidth", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6270 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 (arg1
)->SetCaretWidth(arg2
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 Py_INCREF(Py_None
); resultobj
= Py_None
;
6287 static PyObject
*_wrap_StyledTextCtrl_GetCaretWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6291 PyObject
* obj0
= 0 ;
6293 (char *) "self", NULL
6296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames
,&obj0
)) goto fail
;
6297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 result
= (int)(arg1
)->GetCaretWidth();
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6305 resultobj
= SWIG_PyObj_FromInt((int)result
);
6312 static PyObject
*_wrap_StyledTextCtrl_SetTargetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
;
6314 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6316 PyObject
* obj0
= 0 ;
6317 PyObject
* obj1
= 0 ;
6319 (char *) "self",(char *) "pos", NULL
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames
,&obj0
,&obj1
)) goto fail
;
6323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6325 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 (arg1
)->SetTargetStart(arg2
);
6332 wxPyEndAllowThreads(__tstate
);
6333 if (PyErr_Occurred()) SWIG_fail
;
6335 Py_INCREF(Py_None
); resultobj
= Py_None
;
6342 static PyObject
*_wrap_StyledTextCtrl_GetTargetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
;
6344 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6346 PyObject
* obj0
= 0 ;
6348 (char *) "self", NULL
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames
,&obj0
)) goto fail
;
6352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 result
= (int)(arg1
)->GetTargetStart();
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= SWIG_PyObj_FromInt((int)result
);
6367 static PyObject
*_wrap_StyledTextCtrl_SetTargetEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6371 PyObject
* obj0
= 0 ;
6372 PyObject
* obj1
= 0 ;
6374 (char *) "self",(char *) "pos", NULL
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
6378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6380 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 (arg1
)->SetTargetEnd(arg2
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 Py_INCREF(Py_None
); resultobj
= Py_None
;
6397 static PyObject
*_wrap_StyledTextCtrl_GetTargetEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6399 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6401 PyObject
* obj0
= 0 ;
6403 (char *) "self", NULL
6406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames
,&obj0
)) goto fail
;
6407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 result
= (int)(arg1
)->GetTargetEnd();
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 resultobj
= SWIG_PyObj_FromInt((int)result
);
6422 static PyObject
*_wrap_StyledTextCtrl_ReplaceTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6424 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6425 wxString
*arg2
= 0 ;
6427 bool temp2
= False
;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6431 (char *) "self",(char *) "text", NULL
6434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
6435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6437 arg2
= wxString_in_helper(obj1
);
6438 if (arg2
== NULL
) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (int)(arg1
)->ReplaceTarget((wxString
const &)*arg2
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= SWIG_PyObj_FromInt((int)result
);
6463 static PyObject
*_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6465 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6466 wxString
*arg2
= 0 ;
6468 bool temp2
= False
;
6469 PyObject
* obj0
= 0 ;
6470 PyObject
* obj1
= 0 ;
6472 (char *) "self",(char *) "text", NULL
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames
,&obj0
,&obj1
)) goto fail
;
6476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6478 arg2
= wxString_in_helper(obj1
);
6479 if (arg2
== NULL
) SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 result
= (int)(arg1
)->ReplaceTargetRE((wxString
const &)*arg2
);
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 resultobj
= SWIG_PyObj_FromInt((int)result
);
6504 static PyObject
*_wrap_StyledTextCtrl_SearchInTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
*resultobj
;
6506 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6507 wxString
*arg2
= 0 ;
6509 bool temp2
= False
;
6510 PyObject
* obj0
= 0 ;
6511 PyObject
* obj1
= 0 ;
6513 (char *) "self",(char *) "text", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
6517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6519 arg2
= wxString_in_helper(obj1
);
6520 if (arg2
== NULL
) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= (int)(arg1
)->SearchInTarget((wxString
const &)*arg2
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6530 resultobj
= SWIG_PyObj_FromInt((int)result
);
6545 static PyObject
*_wrap_StyledTextCtrl_SetSearchFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6549 PyObject
* obj0
= 0 ;
6550 PyObject
* obj1
= 0 ;
6552 (char *) "self",(char *) "flags", NULL
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6558 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 (arg1
)->SetSearchFlags(arg2
);
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6568 Py_INCREF(Py_None
); resultobj
= Py_None
;
6575 static PyObject
*_wrap_StyledTextCtrl_GetSearchFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
*resultobj
;
6577 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6579 PyObject
* obj0
= 0 ;
6581 (char *) "self", NULL
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames
,&obj0
)) goto fail
;
6585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (int)(arg1
)->GetSearchFlags();
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= SWIG_PyObj_FromInt((int)result
);
6600 static PyObject
*_wrap_StyledTextCtrl_CallTipShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6604 wxString
*arg3
= 0 ;
6605 bool temp3
= False
;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6608 PyObject
* obj2
= 0 ;
6610 (char *) "self",(char *) "pos",(char *) "definition", NULL
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6616 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6617 if (PyErr_Occurred()) SWIG_fail
;
6620 arg3
= wxString_in_helper(obj2
);
6621 if (arg3
== NULL
) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 (arg1
)->CallTipShow(arg2
,(wxString
const &)*arg3
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 Py_INCREF(Py_None
); resultobj
= Py_None
;
6646 static PyObject
*_wrap_StyledTextCtrl_CallTipCancel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
;
6648 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6649 PyObject
* obj0
= 0 ;
6651 (char *) "self", NULL
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames
,&obj0
)) goto fail
;
6655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 (arg1
)->CallTipCancel();
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6663 Py_INCREF(Py_None
); resultobj
= Py_None
;
6670 static PyObject
*_wrap_StyledTextCtrl_CallTipActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6674 PyObject
* obj0
= 0 ;
6676 (char *) "self", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CallTipActive",kwnames
,&obj0
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (bool)(arg1
)->CallTipActive();
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6695 static PyObject
*_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
*resultobj
;
6697 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6701 (char *) "self", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames
,&obj0
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= (int)(arg1
)->CallTipPosAtStart();
6710 wxPyEndAllowThreads(__tstate
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= SWIG_PyObj_FromInt((int)result
);
6720 static PyObject
*_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
;
6722 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6725 PyObject
* obj0
= 0 ;
6726 PyObject
* obj1
= 0 ;
6727 PyObject
* obj2
= 0 ;
6729 (char *) "self",(char *) "start",(char *) "end", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6735 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6739 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 (arg1
)->CallTipSetHighlight(arg2
,arg3
);
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6749 Py_INCREF(Py_None
); resultobj
= Py_None
;
6756 static PyObject
*_wrap_StyledTextCtrl_CallTipSetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6759 wxColour
*arg2
= 0 ;
6761 PyObject
* obj0
= 0 ;
6762 PyObject
* obj1
= 0 ;
6764 (char *) "self",(char *) "back", NULL
6767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
6768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6771 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 (arg1
)->CallTipSetBackground((wxColour
const &)*arg2
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 Py_INCREF(Py_None
); resultobj
= Py_None
;
6787 static PyObject
*_wrap_StyledTextCtrl_CallTipSetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
;
6789 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6790 wxColour
*arg2
= 0 ;
6792 PyObject
* obj0
= 0 ;
6793 PyObject
* obj1
= 0 ;
6795 (char *) "self",(char *) "fore", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
6799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6802 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6806 (arg1
)->CallTipSetForeground((wxColour
const &)*arg2
);
6808 wxPyEndAllowThreads(__tstate
);
6809 if (PyErr_Occurred()) SWIG_fail
;
6811 Py_INCREF(Py_None
); resultobj
= Py_None
;
6818 static PyObject
*_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6821 wxColour
*arg2
= 0 ;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6826 (char *) "self",(char *) "fore", NULL
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
6830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6833 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 (arg1
)->CallTipSetForegroundHighlight((wxColour
const &)*arg2
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 Py_INCREF(Py_None
); resultobj
= Py_None
;
6849 static PyObject
*_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6854 PyObject
* obj0
= 0 ;
6855 PyObject
* obj1
= 0 ;
6857 (char *) "self",(char *) "line", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames
,&obj0
,&obj1
)) goto fail
;
6861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6863 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (int)(arg1
)->VisibleFromDocLine(arg2
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= SWIG_PyObj_FromInt((int)result
);
6880 static PyObject
*_wrap_StyledTextCtrl_DocLineFromVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6888 (char *) "self",(char *) "lineDisplay", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6894 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (int)(arg1
)->DocLineFromVisible(arg2
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= SWIG_PyObj_FromInt((int)result
);
6911 static PyObject
*_wrap_StyledTextCtrl_SetFoldLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6916 PyObject
* obj0
= 0 ;
6917 PyObject
* obj1
= 0 ;
6918 PyObject
* obj2
= 0 ;
6920 (char *) "self",(char *) "line",(char *) "level", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6926 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6930 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 (arg1
)->SetFoldLevel(arg2
,arg3
);
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 Py_INCREF(Py_None
); resultobj
= Py_None
;
6947 static PyObject
*_wrap_StyledTextCtrl_GetFoldLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6952 PyObject
* obj0
= 0 ;
6953 PyObject
* obj1
= 0 ;
6955 (char *) "self",(char *) "line", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames
,&obj0
,&obj1
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6961 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 result
= (int)(arg1
)->GetFoldLevel(arg2
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_PyObj_FromInt((int)result
);
6978 static PyObject
*_wrap_StyledTextCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6980 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6984 PyObject
* obj0
= 0 ;
6985 PyObject
* obj1
= 0 ;
6986 PyObject
* obj2
= 0 ;
6988 (char *) "self",(char *) "line",(char *) "level", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6994 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6998 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 result
= (int)(arg1
)->GetLastChild(arg2
,arg3
);
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= SWIG_PyObj_FromInt((int)result
);
7015 static PyObject
*_wrap_StyledTextCtrl_GetFoldParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7020 PyObject
* obj0
= 0 ;
7021 PyObject
* obj1
= 0 ;
7023 (char *) "self",(char *) "line", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7029 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7030 if (PyErr_Occurred()) SWIG_fail
;
7033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7034 result
= (int)(arg1
)->GetFoldParent(arg2
);
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_PyObj_FromInt((int)result
);
7046 static PyObject
*_wrap_StyledTextCtrl_ShowLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7048 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7052 PyObject
* obj1
= 0 ;
7053 PyObject
* obj2
= 0 ;
7055 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7061 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7062 if (PyErr_Occurred()) SWIG_fail
;
7065 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 (arg1
)->ShowLines(arg2
,arg3
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 Py_INCREF(Py_None
); resultobj
= Py_None
;
7082 static PyObject
*_wrap_StyledTextCtrl_HideLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
;
7084 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7087 PyObject
* obj0
= 0 ;
7088 PyObject
* obj1
= 0 ;
7089 PyObject
* obj2
= 0 ;
7091 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_HideLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7097 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7101 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 (arg1
)->HideLines(arg2
,arg3
);
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7111 Py_INCREF(Py_None
); resultobj
= Py_None
;
7118 static PyObject
*_wrap_StyledTextCtrl_GetLineVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7119 PyObject
*resultobj
;
7120 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7123 PyObject
* obj0
= 0 ;
7124 PyObject
* obj1
= 0 ;
7126 (char *) "self",(char *) "line", NULL
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7132 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7137 result
= (bool)(arg1
)->GetLineVisible(arg2
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7149 static PyObject
*_wrap_StyledTextCtrl_SetFoldExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
;
7151 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7154 PyObject
* obj0
= 0 ;
7155 PyObject
* obj1
= 0 ;
7156 PyObject
* obj2
= 0 ;
7158 (char *) "self",(char *) "line",(char *) "expanded", NULL
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7164 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7168 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 (arg1
)->SetFoldExpanded(arg2
,arg3
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7178 Py_INCREF(Py_None
); resultobj
= Py_None
;
7185 static PyObject
*_wrap_StyledTextCtrl_GetFoldExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7187 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7193 (char *) "self",(char *) "line", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
7197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7199 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7204 result
= (bool)(arg1
)->GetFoldExpanded(arg2
);
7206 wxPyEndAllowThreads(__tstate
);
7207 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7216 static PyObject
*_wrap_StyledTextCtrl_ToggleFold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
*resultobj
;
7218 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7220 PyObject
* obj0
= 0 ;
7221 PyObject
* obj1
= 0 ;
7223 (char *) "self",(char *) "line", NULL
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames
,&obj0
,&obj1
)) goto fail
;
7227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7229 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 (arg1
)->ToggleFold(arg2
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 Py_INCREF(Py_None
); resultobj
= Py_None
;
7246 static PyObject
*_wrap_StyledTextCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7250 PyObject
* obj0
= 0 ;
7251 PyObject
* obj1
= 0 ;
7253 (char *) "self",(char *) "line", NULL
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7259 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 (arg1
)->EnsureVisible(arg2
);
7266 wxPyEndAllowThreads(__tstate
);
7267 if (PyErr_Occurred()) SWIG_fail
;
7269 Py_INCREF(Py_None
); resultobj
= Py_None
;
7276 static PyObject
*_wrap_StyledTextCtrl_SetFoldFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7277 PyObject
*resultobj
;
7278 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7280 PyObject
* obj0
= 0 ;
7281 PyObject
* obj1
= 0 ;
7283 (char *) "self",(char *) "flags", NULL
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7289 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7294 (arg1
)->SetFoldFlags(arg2
);
7296 wxPyEndAllowThreads(__tstate
);
7297 if (PyErr_Occurred()) SWIG_fail
;
7299 Py_INCREF(Py_None
); resultobj
= Py_None
;
7306 static PyObject
*_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
*resultobj
;
7308 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7310 PyObject
* obj0
= 0 ;
7311 PyObject
* obj1
= 0 ;
7313 (char *) "self",(char *) "line", NULL
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames
,&obj0
,&obj1
)) goto fail
;
7317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7319 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 (arg1
)->EnsureVisibleEnforcePolicy(arg2
);
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 Py_INCREF(Py_None
); resultobj
= Py_None
;
7336 static PyObject
*_wrap_StyledTextCtrl_SetTabIndents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
*resultobj
;
7338 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7340 PyObject
* obj0
= 0 ;
7341 PyObject
* obj1
= 0 ;
7343 (char *) "self",(char *) "tabIndents", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames
,&obj0
,&obj1
)) goto fail
;
7347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7349 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 (arg1
)->SetTabIndents(arg2
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7359 Py_INCREF(Py_None
); resultobj
= Py_None
;
7366 static PyObject
*_wrap_StyledTextCtrl_GetTabIndents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
;
7368 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7370 PyObject
* obj0
= 0 ;
7372 (char *) "self", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames
,&obj0
)) goto fail
;
7376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7379 result
= (bool)(arg1
)->GetTabIndents();
7381 wxPyEndAllowThreads(__tstate
);
7382 if (PyErr_Occurred()) SWIG_fail
;
7384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7391 static PyObject
*_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7392 PyObject
*resultobj
;
7393 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7395 PyObject
* obj0
= 0 ;
7396 PyObject
* obj1
= 0 ;
7398 (char *) "self",(char *) "bsUnIndents", NULL
7401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames
,&obj0
,&obj1
)) goto fail
;
7402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7404 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 (arg1
)->SetBackSpaceUnIndents(arg2
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 Py_INCREF(Py_None
); resultobj
= Py_None
;
7421 static PyObject
*_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7425 PyObject
* obj0
= 0 ;
7427 (char *) "self", NULL
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames
,&obj0
)) goto fail
;
7431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7434 result
= (bool)(arg1
)->GetBackSpaceUnIndents();
7436 wxPyEndAllowThreads(__tstate
);
7437 if (PyErr_Occurred()) SWIG_fail
;
7439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7446 static PyObject
*_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
*resultobj
;
7448 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7450 PyObject
* obj0
= 0 ;
7451 PyObject
* obj1
= 0 ;
7453 (char *) "self",(char *) "periodMilliseconds", NULL
7456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames
,&obj0
,&obj1
)) goto fail
;
7457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7459 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 (arg1
)->SetMouseDwellTime(arg2
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 Py_INCREF(Py_None
); resultobj
= Py_None
;
7476 static PyObject
*_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7477 PyObject
*resultobj
;
7478 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7480 PyObject
* obj0
= 0 ;
7482 (char *) "self", NULL
7485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames
,&obj0
)) goto fail
;
7486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 result
= (int)(arg1
)->GetMouseDwellTime();
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 resultobj
= SWIG_PyObj_FromInt((int)result
);
7501 static PyObject
*_wrap_StyledTextCtrl_WordStartPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7507 PyObject
* obj0
= 0 ;
7508 PyObject
* obj1
= 0 ;
7509 PyObject
* obj2
= 0 ;
7511 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7517 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7521 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7522 if (PyErr_Occurred()) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (int)(arg1
)->WordStartPosition(arg2
,arg3
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= SWIG_PyObj_FromInt((int)result
);
7538 static PyObject
*_wrap_StyledTextCtrl_WordEndPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7544 PyObject
* obj0
= 0 ;
7545 PyObject
* obj1
= 0 ;
7546 PyObject
* obj2
= 0 ;
7548 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7554 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7558 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (int)(arg1
)->WordEndPosition(arg2
,arg3
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= SWIG_PyObj_FromInt((int)result
);
7575 static PyObject
*_wrap_StyledTextCtrl_SetWrapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7580 PyObject
* obj1
= 0 ;
7582 (char *) "self",(char *) "mode", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7588 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 (arg1
)->SetWrapMode(arg2
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 Py_INCREF(Py_None
); resultobj
= Py_None
;
7605 static PyObject
*_wrap_StyledTextCtrl_GetWrapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7609 PyObject
* obj0
= 0 ;
7611 (char *) "self", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames
,&obj0
)) goto fail
;
7615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (int)(arg1
)->GetWrapMode();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 resultobj
= SWIG_PyObj_FromInt((int)result
);
7630 static PyObject
*_wrap_StyledTextCtrl_SetLayoutCache(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
;
7632 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7634 PyObject
* obj0
= 0 ;
7635 PyObject
* obj1
= 0 ;
7637 (char *) "self",(char *) "mode", NULL
7640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames
,&obj0
,&obj1
)) goto fail
;
7641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7643 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 (arg1
)->SetLayoutCache(arg2
);
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 Py_INCREF(Py_None
); resultobj
= Py_None
;
7660 static PyObject
*_wrap_StyledTextCtrl_GetLayoutCache(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7664 PyObject
* obj0
= 0 ;
7666 (char *) "self", NULL
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames
,&obj0
)) goto fail
;
7670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= (int)(arg1
)->GetLayoutCache();
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 resultobj
= SWIG_PyObj_FromInt((int)result
);
7685 static PyObject
*_wrap_StyledTextCtrl_SetScrollWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7689 PyObject
* obj0
= 0 ;
7690 PyObject
* obj1
= 0 ;
7692 (char *) "self",(char *) "pixelWidth", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
7696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7698 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 (arg1
)->SetScrollWidth(arg2
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 Py_INCREF(Py_None
); resultobj
= Py_None
;
7715 static PyObject
*_wrap_StyledTextCtrl_GetScrollWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7719 PyObject
* obj0
= 0 ;
7721 (char *) "self", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames
,&obj0
)) goto fail
;
7725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7728 result
= (int)(arg1
)->GetScrollWidth();
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= SWIG_PyObj_FromInt((int)result
);
7740 static PyObject
*_wrap_StyledTextCtrl_TextWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7741 PyObject
*resultobj
;
7742 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7744 wxString
*arg3
= 0 ;
7746 bool temp3
= False
;
7747 PyObject
* obj0
= 0 ;
7748 PyObject
* obj1
= 0 ;
7749 PyObject
* obj2
= 0 ;
7751 (char *) "self",(char *) "style",(char *) "text", NULL
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7757 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7758 if (PyErr_Occurred()) SWIG_fail
;
7761 arg3
= wxString_in_helper(obj2
);
7762 if (arg3
== NULL
) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (int)(arg1
)->TextWidth(arg2
,(wxString
const &)*arg3
);
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= SWIG_PyObj_FromInt((int)result
);
7787 static PyObject
*_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7789 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7791 PyObject
* obj0
= 0 ;
7792 PyObject
* obj1
= 0 ;
7794 (char *) "self",(char *) "endAtLastLine", NULL
7797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7800 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 (arg1
)->SetEndAtLastLine(arg2
);
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 Py_INCREF(Py_None
); resultobj
= Py_None
;
7817 static PyObject
*_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7821 PyObject
* obj0
= 0 ;
7823 (char *) "self", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames
,&obj0
)) goto fail
;
7827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (int)(arg1
)->GetEndAtLastLine();
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_PyObj_FromInt((int)result
);
7842 static PyObject
*_wrap_StyledTextCtrl_TextHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7847 PyObject
* obj0
= 0 ;
7848 PyObject
* obj1
= 0 ;
7850 (char *) "self",(char *) "line", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_TextHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7856 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7861 result
= (int)(arg1
)->TextHeight(arg2
);
7863 wxPyEndAllowThreads(__tstate
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 resultobj
= SWIG_PyObj_FromInt((int)result
);
7873 static PyObject
*_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7874 PyObject
*resultobj
;
7875 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7877 PyObject
* obj0
= 0 ;
7878 PyObject
* obj1
= 0 ;
7880 (char *) "self",(char *) "show", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames
,&obj0
,&obj1
)) goto fail
;
7884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7886 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 (arg1
)->SetUseVerticalScrollBar(arg2
);
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7896 Py_INCREF(Py_None
); resultobj
= Py_None
;
7903 static PyObject
*_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7907 PyObject
* obj0
= 0 ;
7909 (char *) "self", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames
,&obj0
)) goto fail
;
7913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (bool)(arg1
)->GetUseVerticalScrollBar();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7928 static PyObject
*_wrap_StyledTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7932 wxString
*arg3
= 0 ;
7933 bool temp3
= False
;
7934 PyObject
* obj0
= 0 ;
7935 PyObject
* obj1
= 0 ;
7936 PyObject
* obj2
= 0 ;
7938 (char *) "self",(char *) "length",(char *) "text", NULL
7941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_AppendText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7944 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7948 arg3
= wxString_in_helper(obj2
);
7949 if (arg3
== NULL
) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 (arg1
)->AppendText(arg2
,(wxString
const &)*arg3
);
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 Py_INCREF(Py_None
); resultobj
= Py_None
;
7974 static PyObject
*_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
;
7976 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7978 PyObject
* obj0
= 0 ;
7980 (char *) "self", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames
,&obj0
)) goto fail
;
7984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (bool)(arg1
)->GetTwoPhaseDraw();
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7999 static PyObject
*_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8001 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8006 (char *) "self",(char *) "twoPhase", NULL
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
8010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8012 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 (arg1
)->SetTwoPhaseDraw(arg2
);
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 Py_INCREF(Py_None
); resultobj
= Py_None
;
8029 static PyObject
*_wrap_StyledTextCtrl_TargetFromSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
*resultobj
;
8031 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8032 PyObject
* obj0
= 0 ;
8034 (char *) "self", NULL
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames
,&obj0
)) goto fail
;
8038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 (arg1
)->TargetFromSelection();
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 Py_INCREF(Py_None
); resultobj
= Py_None
;
8053 static PyObject
*_wrap_StyledTextCtrl_LinesJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8056 PyObject
* obj0
= 0 ;
8058 (char *) "self", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_LinesJoin",kwnames
,&obj0
)) goto fail
;
8062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 (arg1
)->LinesJoin();
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 Py_INCREF(Py_None
); resultobj
= Py_None
;
8077 static PyObject
*_wrap_StyledTextCtrl_LinesSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8082 PyObject
* obj1
= 0 ;
8084 (char *) "self",(char *) "pixelWidth", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames
,&obj0
,&obj1
)) goto fail
;
8088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8090 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 (arg1
)->LinesSplit(arg2
);
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 Py_INCREF(Py_None
); resultobj
= Py_None
;
8107 static PyObject
*_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8111 wxColour
*arg3
= 0 ;
8113 PyObject
* obj0
= 0 ;
8114 PyObject
* obj1
= 0 ;
8115 PyObject
* obj2
= 0 ;
8117 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8123 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8128 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8132 (arg1
)->SetFoldMarginColour(arg2
,(wxColour
const &)*arg3
);
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 Py_INCREF(Py_None
); resultobj
= Py_None
;
8144 static PyObject
*_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8145 PyObject
*resultobj
;
8146 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8148 wxColour
*arg3
= 0 ;
8150 PyObject
* obj0
= 0 ;
8151 PyObject
* obj1
= 0 ;
8152 PyObject
* obj2
= 0 ;
8154 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8160 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8165 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 (arg1
)->SetFoldMarginHiColour(arg2
,(wxColour
const &)*arg3
);
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 Py_INCREF(Py_None
); resultobj
= Py_None
;
8181 static PyObject
*_wrap_StyledTextCtrl_LineDuplicate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
*resultobj
;
8183 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8186 (char *) "self", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames
,&obj0
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 (arg1
)->LineDuplicate();
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 Py_INCREF(Py_None
); resultobj
= Py_None
;
8205 static PyObject
*_wrap_StyledTextCtrl_HomeDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
;
8207 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8208 PyObject
* obj0
= 0 ;
8210 (char *) "self", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames
,&obj0
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 (arg1
)->HomeDisplay();
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 Py_INCREF(Py_None
); resultobj
= Py_None
;
8229 static PyObject
*_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8232 PyObject
* obj0
= 0 ;
8234 (char *) "self", NULL
8237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames
,&obj0
)) goto fail
;
8238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 (arg1
)->HomeDisplayExtend();
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8246 Py_INCREF(Py_None
); resultobj
= Py_None
;
8253 static PyObject
*_wrap_StyledTextCtrl_LineEndDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8255 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8256 PyObject
* obj0
= 0 ;
8258 (char *) "self", NULL
8261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames
,&obj0
)) goto fail
;
8262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8265 (arg1
)->LineEndDisplay();
8267 wxPyEndAllowThreads(__tstate
);
8268 if (PyErr_Occurred()) SWIG_fail
;
8270 Py_INCREF(Py_None
); resultobj
= Py_None
;
8277 static PyObject
*_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8278 PyObject
*resultobj
;
8279 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8280 PyObject
* obj0
= 0 ;
8282 (char *) "self", NULL
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames
,&obj0
)) goto fail
;
8286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 (arg1
)->LineEndDisplayExtend();
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8294 Py_INCREF(Py_None
); resultobj
= Py_None
;
8301 static PyObject
*_wrap_StyledTextCtrl_LineCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8302 PyObject
*resultobj
;
8303 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8304 PyObject
* obj0
= 0 ;
8306 (char *) "self", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_LineCopy",kwnames
,&obj0
)) goto fail
;
8310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 Py_INCREF(Py_None
); resultobj
= Py_None
;
8325 static PyObject
*_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
;
8327 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8328 PyObject
* obj0
= 0 ;
8330 (char *) "self", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames
,&obj0
)) goto fail
;
8334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 (arg1
)->MoveCaretInsideView();
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 Py_INCREF(Py_None
); resultobj
= Py_None
;
8349 static PyObject
*_wrap_StyledTextCtrl_LineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8354 PyObject
* obj0
= 0 ;
8355 PyObject
* obj1
= 0 ;
8357 (char *) "self",(char *) "line", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_LineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8363 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 result
= (int)(arg1
)->LineLength(arg2
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 resultobj
= SWIG_PyObj_FromInt((int)result
);
8380 static PyObject
*_wrap_StyledTextCtrl_BraceHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8381 PyObject
*resultobj
;
8382 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8385 PyObject
* obj0
= 0 ;
8386 PyObject
* obj1
= 0 ;
8387 PyObject
* obj2
= 0 ;
8389 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
8392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8395 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8399 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 (arg1
)->BraceHighlight(arg2
,arg3
);
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 Py_INCREF(Py_None
); resultobj
= Py_None
;
8416 static PyObject
*_wrap_StyledTextCtrl_BraceBadLight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8420 PyObject
* obj0
= 0 ;
8421 PyObject
* obj1
= 0 ;
8423 (char *) "self",(char *) "pos", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames
,&obj0
,&obj1
)) goto fail
;
8427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8429 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 (arg1
)->BraceBadLight(arg2
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 Py_INCREF(Py_None
); resultobj
= Py_None
;
8446 static PyObject
*_wrap_StyledTextCtrl_BraceMatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8451 PyObject
* obj0
= 0 ;
8452 PyObject
* obj1
= 0 ;
8454 (char *) "self",(char *) "pos", NULL
8457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames
,&obj0
,&obj1
)) goto fail
;
8458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8460 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= (int)(arg1
)->BraceMatch(arg2
);
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= SWIG_PyObj_FromInt((int)result
);
8477 static PyObject
*_wrap_StyledTextCtrl_GetViewEOL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8481 PyObject
* obj0
= 0 ;
8483 (char *) "self", NULL
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames
,&obj0
)) goto fail
;
8487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8490 result
= (bool)(arg1
)->GetViewEOL();
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8502 static PyObject
*_wrap_StyledTextCtrl_SetViewEOL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
;
8504 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8506 PyObject
* obj0
= 0 ;
8507 PyObject
* obj1
= 0 ;
8509 (char *) "self",(char *) "visible", NULL
8512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames
,&obj0
,&obj1
)) goto fail
;
8513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8515 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8520 (arg1
)->SetViewEOL(arg2
);
8522 wxPyEndAllowThreads(__tstate
);
8523 if (PyErr_Occurred()) SWIG_fail
;
8525 Py_INCREF(Py_None
); resultobj
= Py_None
;
8532 static PyObject
*_wrap_StyledTextCtrl_GetDocPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8533 PyObject
*resultobj
;
8534 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8536 PyObject
* obj0
= 0 ;
8538 (char *) "self", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames
,&obj0
)) goto fail
;
8542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8545 result
= (void *)(arg1
)->GetDocPointer();
8547 wxPyEndAllowThreads(__tstate
);
8548 if (PyErr_Occurred()) SWIG_fail
;
8550 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
8557 static PyObject
*_wrap_StyledTextCtrl_SetDocPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
;
8559 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8560 void *arg2
= (void *) 0 ;
8561 PyObject
* obj0
= 0 ;
8562 PyObject
* obj1
= 0 ;
8564 (char *) "self",(char *) "docPointer", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames
,&obj0
,&obj1
)) goto fail
;
8568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8569 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 (arg1
)->SetDocPointer(arg2
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 Py_INCREF(Py_None
); resultobj
= Py_None
;
8584 static PyObject
*_wrap_StyledTextCtrl_SetModEventMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
*resultobj
;
8586 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8588 PyObject
* obj0
= 0 ;
8589 PyObject
* obj1
= 0 ;
8591 (char *) "self",(char *) "mask", NULL
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames
,&obj0
,&obj1
)) goto fail
;
8595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8597 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8602 (arg1
)->SetModEventMask(arg2
);
8604 wxPyEndAllowThreads(__tstate
);
8605 if (PyErr_Occurred()) SWIG_fail
;
8607 Py_INCREF(Py_None
); resultobj
= Py_None
;
8614 static PyObject
*_wrap_StyledTextCtrl_GetEdgeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8615 PyObject
*resultobj
;
8616 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8618 PyObject
* obj0
= 0 ;
8620 (char *) "self", NULL
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames
,&obj0
)) goto fail
;
8624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 result
= (int)(arg1
)->GetEdgeColumn();
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_PyObj_FromInt((int)result
);
8639 static PyObject
*_wrap_StyledTextCtrl_SetEdgeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8643 PyObject
* obj0
= 0 ;
8644 PyObject
* obj1
= 0 ;
8646 (char *) "self",(char *) "column", NULL
8649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
8650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8652 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 (arg1
)->SetEdgeColumn(arg2
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 Py_INCREF(Py_None
); resultobj
= Py_None
;
8669 static PyObject
*_wrap_StyledTextCtrl_GetEdgeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8675 (char *) "self", NULL
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames
,&obj0
)) goto fail
;
8679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= (int)(arg1
)->GetEdgeMode();
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8687 resultobj
= SWIG_PyObj_FromInt((int)result
);
8694 static PyObject
*_wrap_StyledTextCtrl_SetEdgeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8698 PyObject
* obj0
= 0 ;
8699 PyObject
* obj1
= 0 ;
8701 (char *) "self",(char *) "mode", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
8705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8707 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 (arg1
)->SetEdgeMode(arg2
);
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 Py_INCREF(Py_None
); resultobj
= Py_None
;
8724 static PyObject
*_wrap_StyledTextCtrl_GetEdgeColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8728 PyObject
* obj0
= 0 ;
8730 (char *) "self", NULL
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames
,&obj0
)) goto fail
;
8734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 result
= (arg1
)->GetEdgeColour();
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8743 wxColour
* resultptr
;
8744 resultptr
= new wxColour((wxColour
&) result
);
8745 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
8753 static PyObject
*_wrap_StyledTextCtrl_SetEdgeColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8756 wxColour
*arg2
= 0 ;
8758 PyObject
* obj0
= 0 ;
8759 PyObject
* obj1
= 0 ;
8761 (char *) "self",(char *) "edgeColour", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8768 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 (arg1
)->SetEdgeColour((wxColour
const &)*arg2
);
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 Py_INCREF(Py_None
); resultobj
= Py_None
;
8784 static PyObject
*_wrap_StyledTextCtrl_SearchAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8785 PyObject
*resultobj
;
8786 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8787 PyObject
* obj0
= 0 ;
8789 (char *) "self", NULL
8792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames
,&obj0
)) goto fail
;
8793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 (arg1
)->SearchAnchor();
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 Py_INCREF(Py_None
); resultobj
= Py_None
;
8808 static PyObject
*_wrap_StyledTextCtrl_SearchNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
;
8810 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8812 wxString
*arg3
= 0 ;
8814 bool temp3
= False
;
8815 PyObject
* obj0
= 0 ;
8816 PyObject
* obj1
= 0 ;
8817 PyObject
* obj2
= 0 ;
8819 (char *) "self",(char *) "flags",(char *) "text", NULL
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8825 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8829 arg3
= wxString_in_helper(obj2
);
8830 if (arg3
== NULL
) SWIG_fail
;
8834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8835 result
= (int)(arg1
)->SearchNext(arg2
,(wxString
const &)*arg3
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_PyObj_FromInt((int)result
);
8855 static PyObject
*_wrap_StyledTextCtrl_SearchPrev(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8859 wxString
*arg3
= 0 ;
8861 bool temp3
= False
;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8864 PyObject
* obj2
= 0 ;
8866 (char *) "self",(char *) "flags",(char *) "text", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8872 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8876 arg3
= wxString_in_helper(obj2
);
8877 if (arg3
== NULL
) SWIG_fail
;
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 result
= (int)(arg1
)->SearchPrev(arg2
,(wxString
const &)*arg3
);
8884 wxPyEndAllowThreads(__tstate
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8887 resultobj
= SWIG_PyObj_FromInt((int)result
);
8902 static PyObject
*_wrap_StyledTextCtrl_LinesOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
*resultobj
;
8904 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8906 PyObject
* obj0
= 0 ;
8908 (char *) "self", NULL
8911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames
,&obj0
)) goto fail
;
8912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8915 result
= (int)(arg1
)->LinesOnScreen();
8917 wxPyEndAllowThreads(__tstate
);
8918 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= SWIG_PyObj_FromInt((int)result
);
8927 static PyObject
*_wrap_StyledTextCtrl_UsePopUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8928 PyObject
*resultobj
;
8929 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8934 (char *) "self",(char *) "allowPopUp", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames
,&obj0
,&obj1
)) goto fail
;
8938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8940 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 (arg1
)->UsePopUp(arg2
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 Py_INCREF(Py_None
); resultobj
= Py_None
;
8957 static PyObject
*_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8961 PyObject
* obj0
= 0 ;
8963 (char *) "self", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames
,&obj0
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (bool)(arg1
)->SelectionIsRectangle();
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8982 static PyObject
*_wrap_StyledTextCtrl_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8987 PyObject
* obj1
= 0 ;
8989 (char *) "self",(char *) "zoom", NULL
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
8993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8995 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 (arg1
)->SetZoom(arg2
);
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 Py_INCREF(Py_None
); resultobj
= Py_None
;
9012 static PyObject
*_wrap_StyledTextCtrl_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9016 PyObject
* obj0
= 0 ;
9018 (char *) "self", NULL
9021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetZoom",kwnames
,&obj0
)) goto fail
;
9022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (int)(arg1
)->GetZoom();
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 resultobj
= SWIG_PyObj_FromInt((int)result
);
9037 static PyObject
*_wrap_StyledTextCtrl_CreateDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9041 PyObject
* obj0
= 0 ;
9043 (char *) "self", NULL
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CreateDocument",kwnames
,&obj0
)) goto fail
;
9047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= (void *)(arg1
)->CreateDocument();
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
9062 static PyObject
*_wrap_StyledTextCtrl_AddRefDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
;
9064 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9065 void *arg2
= (void *) 0 ;
9066 PyObject
* obj0
= 0 ;
9067 PyObject
* obj1
= 0 ;
9069 (char *) "self",(char *) "docPointer", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames
,&obj0
,&obj1
)) goto fail
;
9073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9074 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 (arg1
)->AddRefDocument(arg2
);
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9082 Py_INCREF(Py_None
); resultobj
= Py_None
;
9089 static PyObject
*_wrap_StyledTextCtrl_ReleaseDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9092 void *arg2
= (void *) 0 ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9096 (char *) "self",(char *) "docPointer", NULL
9099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames
,&obj0
,&obj1
)) goto fail
;
9100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9101 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 (arg1
)->ReleaseDocument(arg2
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 Py_INCREF(Py_None
); resultobj
= Py_None
;
9116 static PyObject
*_wrap_StyledTextCtrl_GetModEventMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9120 PyObject
* obj0
= 0 ;
9122 (char *) "self", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames
,&obj0
)) goto fail
;
9126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 result
= (int)(arg1
)->GetModEventMask();
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_PyObj_FromInt((int)result
);
9141 static PyObject
*_wrap_StyledTextCtrl_SetSTCFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
;
9143 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9145 PyObject
* obj0
= 0 ;
9146 PyObject
* obj1
= 0 ;
9148 (char *) "self",(char *) "focus", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
9152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9154 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9159 (arg1
)->SetSTCFocus(arg2
);
9161 wxPyEndAllowThreads(__tstate
);
9162 if (PyErr_Occurred()) SWIG_fail
;
9164 Py_INCREF(Py_None
); resultobj
= Py_None
;
9171 static PyObject
*_wrap_StyledTextCtrl_GetSTCFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9175 PyObject
* obj0
= 0 ;
9177 (char *) "self", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames
,&obj0
)) goto fail
;
9181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (bool)(arg1
)->GetSTCFocus();
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9196 static PyObject
*_wrap_StyledTextCtrl_SetStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
*resultobj
;
9198 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9200 PyObject
* obj0
= 0 ;
9201 PyObject
* obj1
= 0 ;
9203 (char *) "self",(char *) "statusCode", NULL
9206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9209 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9210 if (PyErr_Occurred()) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 (arg1
)->SetStatus(arg2
);
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 Py_INCREF(Py_None
); resultobj
= Py_None
;
9226 static PyObject
*_wrap_StyledTextCtrl_GetStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
;
9228 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9230 PyObject
* obj0
= 0 ;
9232 (char *) "self", NULL
9235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetStatus",kwnames
,&obj0
)) goto fail
;
9236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= (int)(arg1
)->GetStatus();
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= SWIG_PyObj_FromInt((int)result
);
9251 static PyObject
*_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
;
9253 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9255 PyObject
* obj0
= 0 ;
9256 PyObject
* obj1
= 0 ;
9258 (char *) "self",(char *) "captures", NULL
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames
,&obj0
,&obj1
)) goto fail
;
9262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9264 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9265 if (PyErr_Occurred()) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 (arg1
)->SetMouseDownCaptures(arg2
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 Py_INCREF(Py_None
); resultobj
= Py_None
;
9281 static PyObject
*_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9287 (char *) "self", NULL
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames
,&obj0
)) goto fail
;
9291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 result
= (bool)(arg1
)->GetMouseDownCaptures();
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9306 static PyObject
*_wrap_StyledTextCtrl_SetSTCCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9310 PyObject
* obj0
= 0 ;
9311 PyObject
* obj1
= 0 ;
9313 (char *) "self",(char *) "cursorType", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9319 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 (arg1
)->SetSTCCursor(arg2
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 Py_INCREF(Py_None
); resultobj
= Py_None
;
9336 static PyObject
*_wrap_StyledTextCtrl_GetSTCCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9340 PyObject
* obj0
= 0 ;
9342 (char *) "self", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames
,&obj0
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (int)(arg1
)->GetSTCCursor();
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= SWIG_PyObj_FromInt((int)result
);
9361 static PyObject
*_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9363 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9368 (char *) "self",(char *) "symbol", NULL
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames
,&obj0
,&obj1
)) goto fail
;
9372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9374 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 (arg1
)->SetControlCharSymbol(arg2
);
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 Py_INCREF(Py_None
); resultobj
= Py_None
;
9391 static PyObject
*_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9395 PyObject
* obj0
= 0 ;
9397 (char *) "self", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames
,&obj0
)) goto fail
;
9401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 result
= (int)(arg1
)->GetControlCharSymbol();
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_PyObj_FromInt((int)result
);
9416 static PyObject
*_wrap_StyledTextCtrl_WordPartLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9421 (char *) "self", NULL
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames
,&obj0
)) goto fail
;
9425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 (arg1
)->WordPartLeft();
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) SWIG_fail
;
9433 Py_INCREF(Py_None
); resultobj
= Py_None
;
9440 static PyObject
*_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9445 (char *) "self", NULL
9448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames
,&obj0
)) goto fail
;
9449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 (arg1
)->WordPartLeftExtend();
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9457 Py_INCREF(Py_None
); resultobj
= Py_None
;
9464 static PyObject
*_wrap_StyledTextCtrl_WordPartRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9465 PyObject
*resultobj
;
9466 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9469 (char *) "self", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_WordPartRight",kwnames
,&obj0
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 (arg1
)->WordPartRight();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 Py_INCREF(Py_None
); resultobj
= Py_None
;
9488 static PyObject
*_wrap_StyledTextCtrl_WordPartRightExtend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9491 PyObject
* obj0
= 0 ;
9493 (char *) "self", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames
,&obj0
)) goto fail
;
9497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 (arg1
)->WordPartRightExtend();
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 Py_INCREF(Py_None
); resultobj
= Py_None
;
9512 static PyObject
*_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9517 PyObject
* obj0
= 0 ;
9518 PyObject
* obj1
= 0 ;
9519 PyObject
* obj2
= 0 ;
9521 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
9524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9527 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9531 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 (arg1
)->SetVisiblePolicy(arg2
,arg3
);
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 Py_INCREF(Py_None
); resultobj
= Py_None
;
9548 static PyObject
*_wrap_StyledTextCtrl_DelLineLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9549 PyObject
*resultobj
;
9550 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9553 (char *) "self", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames
,&obj0
)) goto fail
;
9557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9560 (arg1
)->DelLineLeft();
9562 wxPyEndAllowThreads(__tstate
);
9563 if (PyErr_Occurred()) SWIG_fail
;
9565 Py_INCREF(Py_None
); resultobj
= Py_None
;
9572 static PyObject
*_wrap_StyledTextCtrl_DelLineRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
;
9574 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9575 PyObject
* obj0
= 0 ;
9577 (char *) "self", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_DelLineRight",kwnames
,&obj0
)) goto fail
;
9581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 (arg1
)->DelLineRight();
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 Py_INCREF(Py_None
); resultobj
= Py_None
;
9596 static PyObject
*_wrap_StyledTextCtrl_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9600 PyObject
* obj0
= 0 ;
9601 PyObject
* obj1
= 0 ;
9603 (char *) "self",(char *) "newOffset", NULL
9606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
9607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9609 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 (arg1
)->SetXOffset(arg2
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 Py_INCREF(Py_None
); resultobj
= Py_None
;
9626 static PyObject
*_wrap_StyledTextCtrl_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9632 (char *) "self", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetXOffset",kwnames
,&obj0
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 result
= (int)(arg1
)->GetXOffset();
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9644 resultobj
= SWIG_PyObj_FromInt((int)result
);
9651 static PyObject
*_wrap_StyledTextCtrl_ChooseCaretX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
;
9653 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9654 PyObject
* obj0
= 0 ;
9656 (char *) "self", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames
,&obj0
)) goto fail
;
9660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 (arg1
)->ChooseCaretX();
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 Py_INCREF(Py_None
); resultobj
= Py_None
;
9675 static PyObject
*_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
*resultobj
;
9677 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9680 PyObject
* obj0
= 0 ;
9681 PyObject
* obj1
= 0 ;
9682 PyObject
* obj2
= 0 ;
9684 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9690 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9694 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 (arg1
)->SetXCaretPolicy(arg2
,arg3
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 Py_INCREF(Py_None
); resultobj
= Py_None
;
9711 static PyObject
*_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9718 PyObject
* obj2
= 0 ;
9720 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9726 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9730 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 (arg1
)->SetYCaretPolicy(arg2
,arg3
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 Py_INCREF(Py_None
); resultobj
= Py_None
;
9747 static PyObject
*_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9751 PyObject
* obj0
= 0 ;
9752 PyObject
* obj1
= 0 ;
9754 (char *) "self",(char *) "mode", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
9758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9760 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 (arg1
)->SetPrintWrapMode(arg2
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 Py_INCREF(Py_None
); resultobj
= Py_None
;
9777 static PyObject
*_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9783 (char *) "self", NULL
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames
,&obj0
)) goto fail
;
9787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (int)(arg1
)->GetPrintWrapMode();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_PyObj_FromInt((int)result
);
9802 static PyObject
*_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9806 wxColour
*arg3
= 0 ;
9808 PyObject
* obj0
= 0 ;
9809 PyObject
* obj1
= 0 ;
9810 PyObject
* obj2
= 0 ;
9812 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9818 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9823 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9827 (arg1
)->SetHotspotActiveForeground(arg2
,(wxColour
const &)*arg3
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 Py_INCREF(Py_None
); resultobj
= Py_None
;
9839 static PyObject
*_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9843 wxColour
*arg3
= 0 ;
9845 PyObject
* obj0
= 0 ;
9846 PyObject
* obj1
= 0 ;
9847 PyObject
* obj2
= 0 ;
9849 (char *) "self",(char *) "useSetting",(char *) "back", NULL
9852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9855 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9860 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 (arg1
)->SetHotspotActiveBackground(arg2
,(wxColour
const &)*arg3
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 Py_INCREF(Py_None
); resultobj
= Py_None
;
9876 static PyObject
*_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9880 PyObject
* obj0
= 0 ;
9881 PyObject
* obj1
= 0 ;
9883 (char *) "self",(char *) "underline", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames
,&obj0
,&obj1
)) goto fail
;
9887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9889 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 (arg1
)->SetHotspotActiveUnderline(arg2
);
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 Py_INCREF(Py_None
); resultobj
= Py_None
;
9906 static PyObject
*_wrap_StyledTextCtrl_PositionBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9911 PyObject
* obj0
= 0 ;
9912 PyObject
* obj1
= 0 ;
9914 (char *) "self",(char *) "pos", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames
,&obj0
,&obj1
)) goto fail
;
9918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9920 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (int)(arg1
)->PositionBefore(arg2
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= SWIG_PyObj_FromInt((int)result
);
9937 static PyObject
*_wrap_StyledTextCtrl_PositionAfter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9942 PyObject
* obj0
= 0 ;
9943 PyObject
* obj1
= 0 ;
9945 (char *) "self",(char *) "pos", NULL
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames
,&obj0
,&obj1
)) goto fail
;
9949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9951 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (int)(arg1
)->PositionAfter(arg2
);
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_PyObj_FromInt((int)result
);
9968 static PyObject
*_wrap_StyledTextCtrl_CopyRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9969 PyObject
*resultobj
;
9970 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9973 PyObject
* obj0
= 0 ;
9974 PyObject
* obj1
= 0 ;
9975 PyObject
* obj2
= 0 ;
9977 (char *) "self",(char *) "start",(char *) "end", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9983 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9987 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 (arg1
)->CopyRange(arg2
,arg3
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 Py_INCREF(Py_None
); resultobj
= Py_None
;
10004 static PyObject
*_wrap_StyledTextCtrl_CopyText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10008 wxString
*arg3
= 0 ;
10009 bool temp3
= False
;
10010 PyObject
* obj0
= 0 ;
10011 PyObject
* obj1
= 0 ;
10012 PyObject
* obj2
= 0 ;
10013 char *kwnames
[] = {
10014 (char *) "self",(char *) "length",(char *) "text", NULL
10017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CopyText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10020 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10024 arg3
= wxString_in_helper(obj2
);
10025 if (arg3
== NULL
) SWIG_fail
;
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 (arg1
)->CopyText(arg2
,(wxString
const &)*arg3
);
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10035 Py_INCREF(Py_None
); resultobj
= Py_None
;
10050 static PyObject
*_wrap_StyledTextCtrl_StartRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10051 PyObject
*resultobj
;
10052 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10053 PyObject
* obj0
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "self", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_StartRecord",kwnames
,&obj0
)) goto fail
;
10059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 (arg1
)->StartRecord();
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 Py_INCREF(Py_None
); resultobj
= Py_None
;
10074 static PyObject
*_wrap_StyledTextCtrl_StopRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10077 PyObject
* obj0
= 0 ;
10078 char *kwnames
[] = {
10079 (char *) "self", NULL
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_StopRecord",kwnames
,&obj0
)) goto fail
;
10083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 (arg1
)->StopRecord();
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 Py_INCREF(Py_None
); resultobj
= Py_None
;
10098 static PyObject
*_wrap_StyledTextCtrl_SetLexer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10102 PyObject
* obj0
= 0 ;
10103 PyObject
* obj1
= 0 ;
10104 char *kwnames
[] = {
10105 (char *) "self",(char *) "lexer", NULL
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetLexer",kwnames
,&obj0
,&obj1
)) goto fail
;
10109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10111 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10116 (arg1
)->SetLexer(arg2
);
10118 wxPyEndAllowThreads(__tstate
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10121 Py_INCREF(Py_None
); resultobj
= Py_None
;
10128 static PyObject
*_wrap_StyledTextCtrl_GetLexer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10129 PyObject
*resultobj
;
10130 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10132 PyObject
* obj0
= 0 ;
10133 char *kwnames
[] = {
10134 (char *) "self", NULL
10137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetLexer",kwnames
,&obj0
)) goto fail
;
10138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (int)(arg1
)->GetLexer();
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= SWIG_PyObj_FromInt((int)result
);
10153 static PyObject
*_wrap_StyledTextCtrl_Colourise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10158 PyObject
* obj0
= 0 ;
10159 PyObject
* obj1
= 0 ;
10160 PyObject
* obj2
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self",(char *) "start",(char *) "end", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_Colourise",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10168 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10172 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 (arg1
)->Colourise(arg2
,arg3
);
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 Py_INCREF(Py_None
); resultobj
= Py_None
;
10189 static PyObject
*_wrap_StyledTextCtrl_SetProperty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10192 wxString
*arg2
= 0 ;
10193 wxString
*arg3
= 0 ;
10194 bool temp2
= False
;
10195 bool temp3
= False
;
10196 PyObject
* obj0
= 0 ;
10197 PyObject
* obj1
= 0 ;
10198 PyObject
* obj2
= 0 ;
10199 char *kwnames
[] = {
10200 (char *) "self",(char *) "key",(char *) "value", NULL
10203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10206 arg2
= wxString_in_helper(obj1
);
10207 if (arg2
== NULL
) SWIG_fail
;
10211 arg3
= wxString_in_helper(obj2
);
10212 if (arg3
== NULL
) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 (arg1
)->SetProperty((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 Py_INCREF(Py_None
); resultobj
= Py_None
;
10245 static PyObject
*_wrap_StyledTextCtrl_SetKeyWords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10249 wxString
*arg3
= 0 ;
10250 bool temp3
= False
;
10251 PyObject
* obj0
= 0 ;
10252 PyObject
* obj1
= 0 ;
10253 PyObject
* obj2
= 0 ;
10254 char *kwnames
[] = {
10255 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10261 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10265 arg3
= wxString_in_helper(obj2
);
10266 if (arg3
== NULL
) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 (arg1
)->SetKeyWords(arg2
,(wxString
const &)*arg3
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 Py_INCREF(Py_None
); resultobj
= Py_None
;
10291 static PyObject
*_wrap_StyledTextCtrl_SetLexerLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10294 wxString
*arg2
= 0 ;
10295 bool temp2
= False
;
10296 PyObject
* obj0
= 0 ;
10297 PyObject
* obj1
= 0 ;
10298 char *kwnames
[] = {
10299 (char *) "self",(char *) "language", NULL
10302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames
,&obj0
,&obj1
)) goto fail
;
10303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10305 arg2
= wxString_in_helper(obj1
);
10306 if (arg2
== NULL
) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 (arg1
)->SetLexerLanguage((wxString
const &)*arg2
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 Py_INCREF(Py_None
); resultobj
= Py_None
;
10331 static PyObject
*_wrap_StyledTextCtrl_GetCurrentLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
;
10333 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10335 PyObject
* obj0
= 0 ;
10336 char *kwnames
[] = {
10337 (char *) "self", NULL
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames
,&obj0
)) goto fail
;
10341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (int)(arg1
)->GetCurrentLine();
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 resultobj
= SWIG_PyObj_FromInt((int)result
);
10356 static PyObject
*_wrap_StyledTextCtrl_StyleSetSpec(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10360 wxString
*arg3
= 0 ;
10361 bool temp3
= False
;
10362 PyObject
* obj0
= 0 ;
10363 PyObject
* obj1
= 0 ;
10364 PyObject
* obj2
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10372 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10376 arg3
= wxString_in_helper(obj2
);
10377 if (arg3
== NULL
) SWIG_fail
;
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 (arg1
)->StyleSetSpec(arg2
,(wxString
const &)*arg3
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 Py_INCREF(Py_None
); resultobj
= Py_None
;
10402 static PyObject
*_wrap_StyledTextCtrl_StyleSetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
;
10404 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10407 PyObject
* obj0
= 0 ;
10408 PyObject
* obj1
= 0 ;
10409 PyObject
* obj2
= 0 ;
10410 char *kwnames
[] = {
10411 (char *) "self",(char *) "styleNum",(char *) "font", NULL
10414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10417 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10421 if (arg3
== NULL
) {
10422 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 (arg1
)->StyleSetFont(arg2
,*arg3
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 Py_INCREF(Py_None
); resultobj
= Py_None
;
10438 static PyObject
*_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10443 wxString
*arg4
= 0 ;
10447 bool temp4
= False
;
10448 PyObject
* obj0
= 0 ;
10449 PyObject
* obj1
= 0 ;
10450 PyObject
* obj2
= 0 ;
10451 PyObject
* obj3
= 0 ;
10452 PyObject
* obj4
= 0 ;
10453 PyObject
* obj5
= 0 ;
10454 PyObject
* obj6
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10462 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10470 arg4
= wxString_in_helper(obj3
);
10471 if (arg4
== NULL
) SWIG_fail
;
10475 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10479 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10483 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 (arg1
)->StyleSetFontAttr(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 Py_INCREF(Py_None
); resultobj
= Py_None
;
10508 static PyObject
*_wrap_StyledTextCtrl_CmdKeyExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 PyObject
* obj1
= 0 ;
10514 char *kwnames
[] = {
10515 (char *) "self",(char *) "cmd", NULL
10518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames
,&obj0
,&obj1
)) goto fail
;
10519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10521 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10526 (arg1
)->CmdKeyExecute(arg2
);
10528 wxPyEndAllowThreads(__tstate
);
10529 if (PyErr_Occurred()) SWIG_fail
;
10531 Py_INCREF(Py_None
); resultobj
= Py_None
;
10538 static PyObject
*_wrap_StyledTextCtrl_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10543 PyObject
* obj0
= 0 ;
10544 PyObject
* obj1
= 0 ;
10545 PyObject
* obj2
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self",(char *) "left",(char *) "right", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10553 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10557 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 (arg1
)->SetMargins(arg2
,arg3
);
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 Py_INCREF(Py_None
); resultobj
= Py_None
;
10574 static PyObject
*_wrap_StyledTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10577 int *arg2
= (int *) 0 ;
10578 int *arg3
= (int *) 0 ;
10581 PyObject
* obj0
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "self", NULL
10588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 (arg1
)->GetSelection(arg2
,arg3
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 Py_INCREF(Py_None
); resultobj
= Py_None
;
10599 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10600 resultobj
= t_output_helper(resultobj
,o
);
10603 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10604 resultobj
= t_output_helper(resultobj
,o
);
10612 static PyObject
*_wrap_StyledTextCtrl_PointFromPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
;
10614 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10617 PyObject
* obj0
= 0 ;
10618 PyObject
* obj1
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "self",(char *) "pos", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10626 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (arg1
)->PointFromPosition(arg2
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10637 wxPoint
* resultptr
;
10638 resultptr
= new wxPoint((wxPoint
&) result
);
10639 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
10647 static PyObject
*_wrap_StyledTextCtrl_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10649 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self",(char *) "line", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
10658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10660 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 (arg1
)->ScrollToLine(arg2
);
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 Py_INCREF(Py_None
); resultobj
= Py_None
;
10677 static PyObject
*_wrap_StyledTextCtrl_ScrollToColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10679 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "self",(char *) "column", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
10688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10690 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 (arg1
)->ScrollToColumn(arg2
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 Py_INCREF(Py_None
); resultobj
= Py_None
;
10707 static PyObject
*_wrap_StyledTextCtrl_SendMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10711 long arg3
= (long) 0 ;
10712 long arg4
= (long) 0 ;
10714 PyObject
* obj0
= 0 ;
10715 PyObject
* obj1
= 0 ;
10716 PyObject
* obj2
= 0 ;
10717 PyObject
* obj3
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10725 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10730 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10731 if (PyErr_Occurred()) SWIG_fail
;
10736 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 result
= (long)(arg1
)->SendMsg(arg2
,arg3
,arg4
);
10744 wxPyEndAllowThreads(__tstate
);
10745 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= SWIG_PyObj_FromLong((long)result
);
10754 static PyObject
*_wrap_StyledTextCtrl_SetVScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
;
10756 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10757 wxScrollBar
*arg2
= (wxScrollBar
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self",(char *) "bar", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames
,&obj0
,&obj1
)) goto fail
;
10765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10769 (arg1
)->SetVScrollBar(arg2
);
10771 wxPyEndAllowThreads(__tstate
);
10772 if (PyErr_Occurred()) SWIG_fail
;
10774 Py_INCREF(Py_None
); resultobj
= Py_None
;
10781 static PyObject
*_wrap_StyledTextCtrl_SetHScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
;
10783 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10784 wxScrollBar
*arg2
= (wxScrollBar
*) 0 ;
10785 PyObject
* obj0
= 0 ;
10786 PyObject
* obj1
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "self",(char *) "bar", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames
,&obj0
,&obj1
)) goto fail
;
10792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10793 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10796 (arg1
)->SetHScrollBar(arg2
);
10798 wxPyEndAllowThreads(__tstate
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10801 Py_INCREF(Py_None
); resultobj
= Py_None
;
10808 static PyObject
*_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames
,&obj0
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (bool)(arg1
)->GetLastKeydownProcessed();
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10833 static PyObject
*_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10837 PyObject
* obj0
= 0 ;
10838 PyObject
* obj1
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "self",(char *) "val", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames
,&obj0
,&obj1
)) goto fail
;
10844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10846 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 (arg1
)->SetLastKeydownProcessed(arg2
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10856 Py_INCREF(Py_None
); resultobj
= Py_None
;
10863 static PyObject
*_wrap_StyledTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10864 PyObject
*resultobj
;
10865 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10866 wxString
*arg2
= 0 ;
10868 bool temp2
= False
;
10869 PyObject
* obj0
= 0 ;
10870 PyObject
* obj1
= 0 ;
10871 char *kwnames
[] = {
10872 (char *) "self",(char *) "filename", NULL
10875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10878 arg2
= wxString_in_helper(obj1
);
10879 if (arg2
== NULL
) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10904 static PyObject
*_wrap_StyledTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10905 PyObject
*resultobj
;
10906 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10907 wxString
*arg2
= 0 ;
10909 bool temp2
= False
;
10910 PyObject
* obj0
= 0 ;
10911 PyObject
* obj1
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self",(char *) "filename", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10919 arg2
= wxString_in_helper(obj1
);
10920 if (arg2
== NULL
) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10925 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10945 static PyObject
*_wrap_StyledTextCtrl_DoDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
;
10947 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10950 wxDragResult arg4
;
10951 wxDragResult result
;
10952 wxDragResult
*argp4
;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 PyObject
* obj2
= 0 ;
10956 PyObject
* obj3
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10964 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10968 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 if ((SWIG_ConvertPtr(obj3
,(void **) &argp4
, SWIGTYPE_p_wxDragResult
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
10974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10975 result
= (arg1
)->DoDragOver(arg2
,arg3
,arg4
);
10977 wxPyEndAllowThreads(__tstate
);
10978 if (PyErr_Occurred()) SWIG_fail
;
10981 wxDragResult
* resultptr
;
10982 resultptr
= new wxDragResult((wxDragResult
&) result
);
10983 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDragResult
, 1);
10991 static PyObject
*_wrap_StyledTextCtrl_DoDropText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10996 wxString
*arg4
= 0 ;
10998 bool temp4
= False
;
10999 PyObject
* obj0
= 0 ;
11000 PyObject
* obj1
= 0 ;
11001 PyObject
* obj2
= 0 ;
11002 PyObject
* obj3
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11010 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11014 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11018 arg4
= wxString_in_helper(obj3
);
11019 if (arg4
== NULL
) SWIG_fail
;
11023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11024 result
= (bool)(arg1
)->DoDropText(arg2
,arg3
,(wxString
const &)*arg4
);
11026 wxPyEndAllowThreads(__tstate
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11044 static PyObject
* StyledTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11047 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl
, obj
);
11049 return Py_BuildValue((char *)"");
11051 static PyObject
*_wrap_new_StyledTextEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
*resultobj
;
11053 wxEventType arg1
= (wxEventType
) 0 ;
11054 int arg2
= (int) 0 ;
11055 wxStyledTextEvent
*result
;
11056 PyObject
* obj0
= 0 ;
11057 PyObject
* obj1
= 0 ;
11058 char *kwnames
[] = {
11059 (char *) "commandType",(char *) "id", NULL
11062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_StyledTextEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11065 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11071 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (wxStyledTextEvent
*)new wxStyledTextEvent(arg1
,arg2
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStyledTextEvent
, 1);
11089 static PyObject
*_wrap_delete_StyledTextEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
;
11091 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11092 PyObject
* obj0
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_StyledTextEvent",kwnames
,&obj0
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 Py_INCREF(Py_None
); resultobj
= Py_None
;
11113 static PyObject
*_wrap_StyledTextEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11117 PyObject
* obj0
= 0 ;
11118 PyObject
* obj1
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self",(char *) "pos", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11126 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 (arg1
)->SetPosition(arg2
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 Py_INCREF(Py_None
); resultobj
= Py_None
;
11143 static PyObject
*_wrap_StyledTextEvent_SetKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
;
11145 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11147 PyObject
* obj0
= 0 ;
11148 PyObject
* obj1
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self",(char *) "k", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetKey",kwnames
,&obj0
,&obj1
)) goto fail
;
11154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11156 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 (arg1
)->SetKey(arg2
);
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 Py_INCREF(Py_None
); resultobj
= Py_None
;
11173 static PyObject
*_wrap_StyledTextEvent_SetModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11174 PyObject
*resultobj
;
11175 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 PyObject
* obj1
= 0 ;
11179 char *kwnames
[] = {
11180 (char *) "self",(char *) "m", NULL
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetModifiers",kwnames
,&obj0
,&obj1
)) goto fail
;
11184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11186 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 (arg1
)->SetModifiers(arg2
);
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11196 Py_INCREF(Py_None
); resultobj
= Py_None
;
11203 static PyObject
*_wrap_StyledTextEvent_SetModificationType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 PyObject
* obj1
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self",(char *) "t", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetModificationType",kwnames
,&obj0
,&obj1
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11216 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 (arg1
)->SetModificationType(arg2
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 Py_INCREF(Py_None
); resultobj
= Py_None
;
11233 static PyObject
*_wrap_StyledTextEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
;
11235 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11236 wxString
*arg2
= 0 ;
11237 bool temp2
= False
;
11238 PyObject
* obj0
= 0 ;
11239 PyObject
* obj1
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self",(char *) "t", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11247 arg2
= wxString_in_helper(obj1
);
11248 if (arg2
== NULL
) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 (arg1
)->SetText((wxString
const &)*arg2
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11258 Py_INCREF(Py_None
); resultobj
= Py_None
;
11273 static PyObject
*_wrap_StyledTextEvent_SetLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11277 PyObject
* obj0
= 0 ;
11278 PyObject
* obj1
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self",(char *) "len", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetLength",kwnames
,&obj0
,&obj1
)) goto fail
;
11284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11286 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 (arg1
)->SetLength(arg2
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 Py_INCREF(Py_None
); resultobj
= Py_None
;
11303 static PyObject
*_wrap_StyledTextEvent_SetLinesAdded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11305 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self",(char *) "num", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames
,&obj0
,&obj1
)) goto fail
;
11314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11316 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11321 (arg1
)->SetLinesAdded(arg2
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 Py_INCREF(Py_None
); resultobj
= Py_None
;
11333 static PyObject
*_wrap_StyledTextEvent_SetLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11334 PyObject
*resultobj
;
11335 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11337 PyObject
* obj0
= 0 ;
11338 PyObject
* obj1
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self",(char *) "val", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11346 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 (arg1
)->SetLine(arg2
);
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 Py_INCREF(Py_None
); resultobj
= Py_None
;
11363 static PyObject
*_wrap_StyledTextEvent_SetFoldLevelNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 PyObject
* obj1
= 0 ;
11369 char *kwnames
[] = {
11370 (char *) "self",(char *) "val", NULL
11373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames
,&obj0
,&obj1
)) goto fail
;
11374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11376 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11381 (arg1
)->SetFoldLevelNow(arg2
);
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 Py_INCREF(Py_None
); resultobj
= Py_None
;
11393 static PyObject
*_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11394 PyObject
*resultobj
;
11395 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11397 PyObject
* obj0
= 0 ;
11398 PyObject
* obj1
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self",(char *) "val", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames
,&obj0
,&obj1
)) goto fail
;
11404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11406 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 (arg1
)->SetFoldLevelPrev(arg2
);
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11416 Py_INCREF(Py_None
); resultobj
= Py_None
;
11423 static PyObject
*_wrap_StyledTextEvent_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
*resultobj
;
11425 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self",(char *) "val", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
11434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11436 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11437 if (PyErr_Occurred()) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 (arg1
)->SetMargin(arg2
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 Py_INCREF(Py_None
); resultobj
= Py_None
;
11453 static PyObject
*_wrap_StyledTextEvent_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj1
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self",(char *) "val", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11466 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11467 if (PyErr_Occurred()) SWIG_fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 (arg1
)->SetMessage(arg2
);
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 Py_INCREF(Py_None
); resultobj
= Py_None
;
11483 static PyObject
*_wrap_StyledTextEvent_SetWParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11487 PyObject
* obj0
= 0 ;
11488 PyObject
* obj1
= 0 ;
11489 char *kwnames
[] = {
11490 (char *) "self",(char *) "val", NULL
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetWParam",kwnames
,&obj0
,&obj1
)) goto fail
;
11494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11496 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 (arg1
)->SetWParam(arg2
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 Py_INCREF(Py_None
); resultobj
= Py_None
;
11513 static PyObject
*_wrap_StyledTextEvent_SetLParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
;
11515 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11517 PyObject
* obj0
= 0 ;
11518 PyObject
* obj1
= 0 ;
11519 char *kwnames
[] = {
11520 (char *) "self",(char *) "val", NULL
11523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetLParam",kwnames
,&obj0
,&obj1
)) goto fail
;
11524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11526 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 (arg1
)->SetLParam(arg2
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 Py_INCREF(Py_None
); resultobj
= Py_None
;
11543 static PyObject
*_wrap_StyledTextEvent_SetListType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11547 PyObject
* obj0
= 0 ;
11548 PyObject
* obj1
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "self",(char *) "val", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetListType",kwnames
,&obj0
,&obj1
)) goto fail
;
11554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11556 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 (arg1
)->SetListType(arg2
);
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 Py_INCREF(Py_None
); resultobj
= Py_None
;
11573 static PyObject
*_wrap_StyledTextEvent_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11575 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 PyObject
* obj1
= 0 ;
11579 char *kwnames
[] = {
11580 (char *) "self",(char *) "val", NULL
11583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
11584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11586 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 (arg1
)->SetX(arg2
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 Py_INCREF(Py_None
); resultobj
= Py_None
;
11603 static PyObject
*_wrap_StyledTextEvent_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
;
11605 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11607 PyObject
* obj0
= 0 ;
11608 PyObject
* obj1
= 0 ;
11609 char *kwnames
[] = {
11610 (char *) "self",(char *) "val", NULL
11613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
11614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11616 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 (arg1
)->SetY(arg2
);
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11626 Py_INCREF(Py_None
); resultobj
= Py_None
;
11633 static PyObject
*_wrap_StyledTextEvent_SetDragText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11636 wxString
*arg2
= 0 ;
11637 bool temp2
= False
;
11638 PyObject
* obj0
= 0 ;
11639 PyObject
* obj1
= 0 ;
11640 char *kwnames
[] = {
11641 (char *) "self",(char *) "val", NULL
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetDragText",kwnames
,&obj0
,&obj1
)) goto fail
;
11645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11647 arg2
= wxString_in_helper(obj1
);
11648 if (arg2
== NULL
) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 (arg1
)->SetDragText((wxString
const &)*arg2
);
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 Py_INCREF(Py_None
); resultobj
= Py_None
;
11673 static PyObject
*_wrap_StyledTextEvent_SetDragAllowMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11677 PyObject
* obj0
= 0 ;
11678 PyObject
* obj1
= 0 ;
11679 char *kwnames
[] = {
11680 (char *) "self",(char *) "val", NULL
11683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames
,&obj0
,&obj1
)) goto fail
;
11684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11686 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11687 if (PyErr_Occurred()) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 (arg1
)->SetDragAllowMove(arg2
);
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 Py_INCREF(Py_None
); resultobj
= Py_None
;
11703 static PyObject
*_wrap_StyledTextEvent_SetDragResult(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11706 wxDragResult arg2
;
11707 wxDragResult
*argp2
;
11708 PyObject
* obj0
= 0 ;
11709 PyObject
* obj1
= 0 ;
11710 char *kwnames
[] = {
11711 (char *) "self",(char *) "val", NULL
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetDragResult",kwnames
,&obj0
,&obj1
)) goto fail
;
11715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11716 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxDragResult
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
11719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11720 (arg1
)->SetDragResult(arg2
);
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11725 Py_INCREF(Py_None
); resultobj
= Py_None
;
11732 static PyObject
*_wrap_StyledTextEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11736 PyObject
* obj0
= 0 ;
11737 char *kwnames
[] = {
11738 (char *) "self", NULL
11741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetPosition();
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= SWIG_PyObj_FromInt((int)result
);
11757 static PyObject
*_wrap_StyledTextEvent_GetKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
;
11759 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11761 PyObject
* obj0
= 0 ;
11762 char *kwnames
[] = {
11763 (char *) "self", NULL
11766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetKey",kwnames
,&obj0
)) goto fail
;
11767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetKey();
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= SWIG_PyObj_FromInt((int)result
);
11782 static PyObject
*_wrap_StyledTextEvent_GetModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11786 PyObject
* obj0
= 0 ;
11787 char *kwnames
[] = {
11788 (char *) "self", NULL
11791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetModifiers",kwnames
,&obj0
)) goto fail
;
11792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetModifiers();
11797 wxPyEndAllowThreads(__tstate
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11800 resultobj
= SWIG_PyObj_FromInt((int)result
);
11807 static PyObject
*_wrap_StyledTextEvent_GetModificationType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11808 PyObject
*resultobj
;
11809 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11811 PyObject
* obj0
= 0 ;
11812 char *kwnames
[] = {
11813 (char *) "self", NULL
11816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetModificationType",kwnames
,&obj0
)) goto fail
;
11817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11820 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetModificationType();
11822 wxPyEndAllowThreads(__tstate
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 resultobj
= SWIG_PyObj_FromInt((int)result
);
11832 static PyObject
*_wrap_StyledTextEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11833 PyObject
*resultobj
;
11834 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11836 PyObject
* obj0
= 0 ;
11837 char *kwnames
[] = {
11838 (char *) "self", NULL
11841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetText",kwnames
,&obj0
)) goto fail
;
11842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= ((wxStyledTextEvent
const *)arg1
)->GetText();
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11863 static PyObject
*_wrap_StyledTextEvent_GetLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11867 PyObject
* obj0
= 0 ;
11868 char *kwnames
[] = {
11869 (char *) "self", NULL
11872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetLength",kwnames
,&obj0
)) goto fail
;
11873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetLength();
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= SWIG_PyObj_FromInt((int)result
);
11888 static PyObject
*_wrap_StyledTextEvent_GetLinesAdded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11889 PyObject
*resultobj
;
11890 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11892 PyObject
* obj0
= 0 ;
11893 char *kwnames
[] = {
11894 (char *) "self", NULL
11897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames
,&obj0
)) goto fail
;
11898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetLinesAdded();
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11906 resultobj
= SWIG_PyObj_FromInt((int)result
);
11913 static PyObject
*_wrap_StyledTextEvent_GetLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
;
11915 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11917 PyObject
* obj0
= 0 ;
11918 char *kwnames
[] = {
11919 (char *) "self", NULL
11922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetLine",kwnames
,&obj0
)) goto fail
;
11923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetLine();
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= SWIG_PyObj_FromInt((int)result
);
11938 static PyObject
*_wrap_StyledTextEvent_GetFoldLevelNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11942 PyObject
* obj0
= 0 ;
11943 char *kwnames
[] = {
11944 (char *) "self", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames
,&obj0
)) goto fail
;
11948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11951 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetFoldLevelNow();
11953 wxPyEndAllowThreads(__tstate
);
11954 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= SWIG_PyObj_FromInt((int)result
);
11963 static PyObject
*_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames
,&obj0
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetFoldLevelPrev();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= SWIG_PyObj_FromInt((int)result
);
11988 static PyObject
*_wrap_StyledTextEvent_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11992 PyObject
* obj0
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "self", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetMargin",kwnames
,&obj0
)) goto fail
;
11998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12001 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetMargin();
12003 wxPyEndAllowThreads(__tstate
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12006 resultobj
= SWIG_PyObj_FromInt((int)result
);
12013 static PyObject
*_wrap_StyledTextEvent_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
;
12015 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12017 PyObject
* obj0
= 0 ;
12018 char *kwnames
[] = {
12019 (char *) "self", NULL
12022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetMessage",kwnames
,&obj0
)) goto fail
;
12023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetMessage();
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= SWIG_PyObj_FromInt((int)result
);
12038 static PyObject
*_wrap_StyledTextEvent_GetWParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
;
12040 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12042 PyObject
* obj0
= 0 ;
12043 char *kwnames
[] = {
12044 (char *) "self", NULL
12047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetWParam",kwnames
,&obj0
)) goto fail
;
12048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetWParam();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 resultobj
= SWIG_PyObj_FromInt((int)result
);
12063 static PyObject
*_wrap_StyledTextEvent_GetLParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 char *kwnames
[] = {
12069 (char *) "self", NULL
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetLParam",kwnames
,&obj0
)) goto fail
;
12073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetLParam();
12078 wxPyEndAllowThreads(__tstate
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12081 resultobj
= SWIG_PyObj_FromInt((int)result
);
12088 static PyObject
*_wrap_StyledTextEvent_GetListType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12092 PyObject
* obj0
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "self", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetListType",kwnames
,&obj0
)) goto fail
;
12098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetListType();
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12106 resultobj
= SWIG_PyObj_FromInt((int)result
);
12113 static PyObject
*_wrap_StyledTextEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12114 PyObject
*resultobj
;
12115 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12117 PyObject
* obj0
= 0 ;
12118 char *kwnames
[] = {
12119 (char *) "self", NULL
12122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetX",kwnames
,&obj0
)) goto fail
;
12123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetX();
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12131 resultobj
= SWIG_PyObj_FromInt((int)result
);
12138 static PyObject
*_wrap_StyledTextEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12139 PyObject
*resultobj
;
12140 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12142 PyObject
* obj0
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "self", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetY",kwnames
,&obj0
)) goto fail
;
12148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetY();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= SWIG_PyObj_FromInt((int)result
);
12163 static PyObject
*_wrap_StyledTextEvent_GetDragText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetDragText",kwnames
,&obj0
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12176 result
= (arg1
)->GetDragText();
12178 wxPyEndAllowThreads(__tstate
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12194 static PyObject
*_wrap_StyledTextEvent_GetDragAllowMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
;
12196 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12198 PyObject
* obj0
= 0 ;
12199 char *kwnames
[] = {
12200 (char *) "self", NULL
12203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames
,&obj0
)) goto fail
;
12204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12207 result
= (bool)(arg1
)->GetDragAllowMove();
12209 wxPyEndAllowThreads(__tstate
);
12210 if (PyErr_Occurred()) SWIG_fail
;
12212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12219 static PyObject
*_wrap_StyledTextEvent_GetDragResult(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12222 wxDragResult result
;
12223 PyObject
* obj0
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetDragResult",kwnames
,&obj0
)) goto fail
;
12229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12232 result
= (arg1
)->GetDragResult();
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 wxDragResult
* resultptr
;
12239 resultptr
= new wxDragResult((wxDragResult
&) result
);
12240 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDragResult
, 1);
12248 static PyObject
*_wrap_StyledTextEvent_GetShift(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
;
12250 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12252 PyObject
* obj0
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "self", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetShift",kwnames
,&obj0
)) goto fail
;
12258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (bool)((wxStyledTextEvent
const *)arg1
)->GetShift();
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12273 static PyObject
*_wrap_StyledTextEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12277 PyObject
* obj0
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetControl",kwnames
,&obj0
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (bool)((wxStyledTextEvent
const *)arg1
)->GetControl();
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12298 static PyObject
*_wrap_StyledTextEvent_GetAlt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetAlt",kwnames
,&obj0
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12311 result
= (bool)((wxStyledTextEvent
const *)arg1
)->GetAlt();
12313 wxPyEndAllowThreads(__tstate
);
12314 if (PyErr_Occurred()) SWIG_fail
;
12316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12323 static PyObject
*_wrap_StyledTextEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12327 PyObject
* obj0
= 0 ;
12328 char *kwnames
[] = {
12329 (char *) "self", NULL
12332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_Clone",kwnames
,&obj0
)) goto fail
;
12333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12336 result
= (wxEvent
*)((wxStyledTextEvent
const *)arg1
)->Clone();
12338 wxPyEndAllowThreads(__tstate
);
12339 if (PyErr_Occurred()) SWIG_fail
;
12341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12348 static PyObject
* StyledTextEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12351 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent
, obj
);
12353 return Py_BuildValue((char *)"");
12355 static PyMethodDef SwigMethods
[] = {
12356 { (char *)"new_StyledTextCtrl", (PyCFunction
) _wrap_new_StyledTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
12357 { (char *)"new_PreStyledTextCtrl", (PyCFunction
) _wrap_new_PreStyledTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
12358 { (char *)"StyledTextCtrl_Create", (PyCFunction
) _wrap_StyledTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
12359 { (char *)"StyledTextCtrl_AddText", (PyCFunction
) _wrap_StyledTextCtrl_AddText
, METH_VARARGS
| METH_KEYWORDS
},
12360 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction
) _wrap_StyledTextCtrl_AddStyledText
, METH_VARARGS
| METH_KEYWORDS
},
12361 { (char *)"StyledTextCtrl_InsertText", (PyCFunction
) _wrap_StyledTextCtrl_InsertText
, METH_VARARGS
| METH_KEYWORDS
},
12362 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction
) _wrap_StyledTextCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
12363 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction
) _wrap_StyledTextCtrl_ClearDocumentStyle
, METH_VARARGS
| METH_KEYWORDS
},
12364 { (char *)"StyledTextCtrl_GetLength", (PyCFunction
) _wrap_StyledTextCtrl_GetLength
, METH_VARARGS
| METH_KEYWORDS
},
12365 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction
) _wrap_StyledTextCtrl_GetCharAt
, METH_VARARGS
| METH_KEYWORDS
},
12366 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction
) _wrap_StyledTextCtrl_GetCurrentPos
, METH_VARARGS
| METH_KEYWORDS
},
12367 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction
) _wrap_StyledTextCtrl_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
12368 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction
) _wrap_StyledTextCtrl_GetStyleAt
, METH_VARARGS
| METH_KEYWORDS
},
12369 { (char *)"StyledTextCtrl_Redo", (PyCFunction
) _wrap_StyledTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
12370 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction
) _wrap_StyledTextCtrl_SetUndoCollection
, METH_VARARGS
| METH_KEYWORDS
},
12371 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction
) _wrap_StyledTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
12372 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction
) _wrap_StyledTextCtrl_SetSavePoint
, METH_VARARGS
| METH_KEYWORDS
},
12373 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction
) _wrap_StyledTextCtrl_GetStyledText
, METH_VARARGS
| METH_KEYWORDS
},
12374 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction
) _wrap_StyledTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
12375 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction
) _wrap_StyledTextCtrl_MarkerLineFromHandle
, METH_VARARGS
| METH_KEYWORDS
},
12376 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDeleteHandle
, METH_VARARGS
| METH_KEYWORDS
},
12377 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction
) _wrap_StyledTextCtrl_GetUndoCollection
, METH_VARARGS
| METH_KEYWORDS
},
12378 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction
) _wrap_StyledTextCtrl_GetViewWhiteSpace
, METH_VARARGS
| METH_KEYWORDS
},
12379 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction
) _wrap_StyledTextCtrl_SetViewWhiteSpace
, METH_VARARGS
| METH_KEYWORDS
},
12380 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction
) _wrap_StyledTextCtrl_PositionFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
12381 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction
) _wrap_StyledTextCtrl_PositionFromPointClose
, METH_VARARGS
| METH_KEYWORDS
},
12382 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction
) _wrap_StyledTextCtrl_GotoLine
, METH_VARARGS
| METH_KEYWORDS
},
12383 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction
) _wrap_StyledTextCtrl_GotoPos
, METH_VARARGS
| METH_KEYWORDS
},
12384 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction
) _wrap_StyledTextCtrl_SetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
12385 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction
) _wrap_StyledTextCtrl_GetCurLine
, METH_VARARGS
| METH_KEYWORDS
},
12386 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction
) _wrap_StyledTextCtrl_GetEndStyled
, METH_VARARGS
| METH_KEYWORDS
},
12387 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction
) _wrap_StyledTextCtrl_ConvertEOLs
, METH_VARARGS
| METH_KEYWORDS
},
12388 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction
) _wrap_StyledTextCtrl_GetEOLMode
, METH_VARARGS
| METH_KEYWORDS
},
12389 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction
) _wrap_StyledTextCtrl_SetEOLMode
, METH_VARARGS
| METH_KEYWORDS
},
12390 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction
) _wrap_StyledTextCtrl_StartStyling
, METH_VARARGS
| METH_KEYWORDS
},
12391 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction
) _wrap_StyledTextCtrl_SetStyling
, METH_VARARGS
| METH_KEYWORDS
},
12392 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction
) _wrap_StyledTextCtrl_GetBufferedDraw
, METH_VARARGS
| METH_KEYWORDS
},
12393 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction
) _wrap_StyledTextCtrl_SetBufferedDraw
, METH_VARARGS
| METH_KEYWORDS
},
12394 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction
) _wrap_StyledTextCtrl_SetTabWidth
, METH_VARARGS
| METH_KEYWORDS
},
12395 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction
) _wrap_StyledTextCtrl_GetTabWidth
, METH_VARARGS
| METH_KEYWORDS
},
12396 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction
) _wrap_StyledTextCtrl_SetCodePage
, METH_VARARGS
| METH_KEYWORDS
},
12397 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDefine
, METH_VARARGS
| METH_KEYWORDS
},
12398 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction
) _wrap_StyledTextCtrl_MarkerSetForeground
, METH_VARARGS
| METH_KEYWORDS
},
12399 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction
) _wrap_StyledTextCtrl_MarkerSetBackground
, METH_VARARGS
| METH_KEYWORDS
},
12400 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction
) _wrap_StyledTextCtrl_MarkerAdd
, METH_VARARGS
| METH_KEYWORDS
},
12401 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDelete
, METH_VARARGS
| METH_KEYWORDS
},
12402 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
12403 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction
) _wrap_StyledTextCtrl_MarkerGet
, METH_VARARGS
| METH_KEYWORDS
},
12404 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction
) _wrap_StyledTextCtrl_MarkerNext
, METH_VARARGS
| METH_KEYWORDS
},
12405 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction
) _wrap_StyledTextCtrl_MarkerPrevious
, METH_VARARGS
| METH_KEYWORDS
},
12406 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDefineBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12407 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginType
, METH_VARARGS
| METH_KEYWORDS
},
12408 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginType
, METH_VARARGS
| METH_KEYWORDS
},
12409 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
12410 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
12411 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginMask
, METH_VARARGS
| METH_KEYWORDS
},
12412 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginMask
, METH_VARARGS
| METH_KEYWORDS
},
12413 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginSensitive
, METH_VARARGS
| METH_KEYWORDS
},
12414 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginSensitive
, METH_VARARGS
| METH_KEYWORDS
},
12415 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction
) _wrap_StyledTextCtrl_StyleClearAll
, METH_VARARGS
| METH_KEYWORDS
},
12416 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetForeground
, METH_VARARGS
| METH_KEYWORDS
},
12417 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetBackground
, METH_VARARGS
| METH_KEYWORDS
},
12418 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetBold
, METH_VARARGS
| METH_KEYWORDS
},
12419 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetItalic
, METH_VARARGS
| METH_KEYWORDS
},
12420 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetSize
, METH_VARARGS
| METH_KEYWORDS
},
12421 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
12422 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetEOLFilled
, METH_VARARGS
| METH_KEYWORDS
},
12423 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction
) _wrap_StyledTextCtrl_StyleResetDefault
, METH_VARARGS
| METH_KEYWORDS
},
12424 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetUnderline
, METH_VARARGS
| METH_KEYWORDS
},
12425 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetCase
, METH_VARARGS
| METH_KEYWORDS
},
12426 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetCharacterSet
, METH_VARARGS
| METH_KEYWORDS
},
12427 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetHotSpot
, METH_VARARGS
| METH_KEYWORDS
},
12428 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction
) _wrap_StyledTextCtrl_SetSelForeground
, METH_VARARGS
| METH_KEYWORDS
},
12429 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction
) _wrap_StyledTextCtrl_SetSelBackground
, METH_VARARGS
| METH_KEYWORDS
},
12430 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretForeground
, METH_VARARGS
| METH_KEYWORDS
},
12431 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction
) _wrap_StyledTextCtrl_CmdKeyAssign
, METH_VARARGS
| METH_KEYWORDS
},
12432 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction
) _wrap_StyledTextCtrl_CmdKeyClear
, METH_VARARGS
| METH_KEYWORDS
},
12433 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction
) _wrap_StyledTextCtrl_CmdKeyClearAll
, METH_VARARGS
| METH_KEYWORDS
},
12434 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction
) _wrap_StyledTextCtrl_SetStyleBytes
, METH_VARARGS
| METH_KEYWORDS
},
12435 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetVisible
, METH_VARARGS
| METH_KEYWORDS
},
12436 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction
) _wrap_StyledTextCtrl_GetCaretPeriod
, METH_VARARGS
| METH_KEYWORDS
},
12437 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretPeriod
, METH_VARARGS
| METH_KEYWORDS
},
12438 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction
) _wrap_StyledTextCtrl_SetWordChars
, METH_VARARGS
| METH_KEYWORDS
},
12439 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction
) _wrap_StyledTextCtrl_BeginUndoAction
, METH_VARARGS
| METH_KEYWORDS
},
12440 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction
) _wrap_StyledTextCtrl_EndUndoAction
, METH_VARARGS
| METH_KEYWORDS
},
12441 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction
) _wrap_StyledTextCtrl_IndicatorSetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12442 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction
) _wrap_StyledTextCtrl_IndicatorGetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12443 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction
) _wrap_StyledTextCtrl_IndicatorSetForeground
, METH_VARARGS
| METH_KEYWORDS
},
12444 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction
) _wrap_StyledTextCtrl_IndicatorGetForeground
, METH_VARARGS
| METH_KEYWORDS
},
12445 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction
) _wrap_StyledTextCtrl_SetWhitespaceForeground
, METH_VARARGS
| METH_KEYWORDS
},
12446 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction
) _wrap_StyledTextCtrl_SetWhitespaceBackground
, METH_VARARGS
| METH_KEYWORDS
},
12447 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction
) _wrap_StyledTextCtrl_SetStyleBits
, METH_VARARGS
| METH_KEYWORDS
},
12448 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction
) _wrap_StyledTextCtrl_GetStyleBits
, METH_VARARGS
| METH_KEYWORDS
},
12449 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction
) _wrap_StyledTextCtrl_SetLineState
, METH_VARARGS
| METH_KEYWORDS
},
12450 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction
) _wrap_StyledTextCtrl_GetLineState
, METH_VARARGS
| METH_KEYWORDS
},
12451 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction
) _wrap_StyledTextCtrl_GetMaxLineState
, METH_VARARGS
| METH_KEYWORDS
},
12452 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction
) _wrap_StyledTextCtrl_GetCaretLineVisible
, METH_VARARGS
| METH_KEYWORDS
},
12453 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretLineVisible
, METH_VARARGS
| METH_KEYWORDS
},
12454 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction
) _wrap_StyledTextCtrl_GetCaretLineBack
, METH_VARARGS
| METH_KEYWORDS
},
12455 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretLineBack
, METH_VARARGS
| METH_KEYWORDS
},
12456 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetChangeable
, METH_VARARGS
| METH_KEYWORDS
},
12457 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompShow
, METH_VARARGS
| METH_KEYWORDS
},
12458 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompCancel
, METH_VARARGS
| METH_KEYWORDS
},
12459 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompActive
, METH_VARARGS
| METH_KEYWORDS
},
12460 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompPosStart
, METH_VARARGS
| METH_KEYWORDS
},
12461 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompComplete
, METH_VARARGS
| METH_KEYWORDS
},
12462 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompStops
, METH_VARARGS
| METH_KEYWORDS
},
12463 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetSeparator
, METH_VARARGS
| METH_KEYWORDS
},
12464 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetSeparator
, METH_VARARGS
| METH_KEYWORDS
},
12465 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSelect
, METH_VARARGS
| METH_KEYWORDS
},
12466 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart
, METH_VARARGS
| METH_KEYWORDS
},
12467 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart
, METH_VARARGS
| METH_KEYWORDS
},
12468 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetFillUps
, METH_VARARGS
| METH_KEYWORDS
},
12469 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetChooseSingle
, METH_VARARGS
| METH_KEYWORDS
},
12470 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetChooseSingle
, METH_VARARGS
| METH_KEYWORDS
},
12471 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase
, METH_VARARGS
| METH_KEYWORDS
},
12472 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase
, METH_VARARGS
| METH_KEYWORDS
},
12473 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction
) _wrap_StyledTextCtrl_UserListShow
, METH_VARARGS
| METH_KEYWORDS
},
12474 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetAutoHide
, METH_VARARGS
| METH_KEYWORDS
},
12475 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetAutoHide
, METH_VARARGS
| METH_KEYWORDS
},
12476 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord
, METH_VARARGS
| METH_KEYWORDS
},
12477 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord
, METH_VARARGS
| METH_KEYWORDS
},
12478 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction
) _wrap_StyledTextCtrl_RegisterImage
, METH_VARARGS
| METH_KEYWORDS
},
12479 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction
) _wrap_StyledTextCtrl_ClearRegisteredImages
, METH_VARARGS
| METH_KEYWORDS
},
12480 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator
, METH_VARARGS
| METH_KEYWORDS
},
12481 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator
, METH_VARARGS
| METH_KEYWORDS
},
12482 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction
) _wrap_StyledTextCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
12483 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction
) _wrap_StyledTextCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
12484 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction
) _wrap_StyledTextCtrl_SetUseTabs
, METH_VARARGS
| METH_KEYWORDS
},
12485 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction
) _wrap_StyledTextCtrl_GetUseTabs
, METH_VARARGS
| METH_KEYWORDS
},
12486 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction
) _wrap_StyledTextCtrl_SetLineIndentation
, METH_VARARGS
| METH_KEYWORDS
},
12487 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction
) _wrap_StyledTextCtrl_GetLineIndentation
, METH_VARARGS
| METH_KEYWORDS
},
12488 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction
) _wrap_StyledTextCtrl_GetLineIndentPosition
, METH_VARARGS
| METH_KEYWORDS
},
12489 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction
) _wrap_StyledTextCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
12490 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12491 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12492 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction
) _wrap_StyledTextCtrl_SetIndentationGuides
, METH_VARARGS
| METH_KEYWORDS
},
12493 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction
) _wrap_StyledTextCtrl_GetIndentationGuides
, METH_VARARGS
| METH_KEYWORDS
},
12494 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction
) _wrap_StyledTextCtrl_SetHighlightGuide
, METH_VARARGS
| METH_KEYWORDS
},
12495 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction
) _wrap_StyledTextCtrl_GetHighlightGuide
, METH_VARARGS
| METH_KEYWORDS
},
12496 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction
) _wrap_StyledTextCtrl_GetLineEndPosition
, METH_VARARGS
| METH_KEYWORDS
},
12497 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction
) _wrap_StyledTextCtrl_GetCodePage
, METH_VARARGS
| METH_KEYWORDS
},
12498 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction
) _wrap_StyledTextCtrl_GetCaretForeground
, METH_VARARGS
| METH_KEYWORDS
},
12499 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction
) _wrap_StyledTextCtrl_GetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12500 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction
) _wrap_StyledTextCtrl_SetCurrentPos
, METH_VARARGS
| METH_KEYWORDS
},
12501 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction
) _wrap_StyledTextCtrl_SetSelectionStart
, METH_VARARGS
| METH_KEYWORDS
},
12502 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction
) _wrap_StyledTextCtrl_GetSelectionStart
, METH_VARARGS
| METH_KEYWORDS
},
12503 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction
) _wrap_StyledTextCtrl_SetSelectionEnd
, METH_VARARGS
| METH_KEYWORDS
},
12504 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction
) _wrap_StyledTextCtrl_GetSelectionEnd
, METH_VARARGS
| METH_KEYWORDS
},
12505 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction
) _wrap_StyledTextCtrl_SetPrintMagnification
, METH_VARARGS
| METH_KEYWORDS
},
12506 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction
) _wrap_StyledTextCtrl_GetPrintMagnification
, METH_VARARGS
| METH_KEYWORDS
},
12507 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction
) _wrap_StyledTextCtrl_SetPrintColourMode
, METH_VARARGS
| METH_KEYWORDS
},
12508 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction
) _wrap_StyledTextCtrl_GetPrintColourMode
, METH_VARARGS
| METH_KEYWORDS
},
12509 { (char *)"StyledTextCtrl_FindText", (PyCFunction
) _wrap_StyledTextCtrl_FindText
, METH_VARARGS
| METH_KEYWORDS
},
12510 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction
) _wrap_StyledTextCtrl_FormatRange
, METH_VARARGS
| METH_KEYWORDS
},
12511 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction
) _wrap_StyledTextCtrl_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
12512 { (char *)"StyledTextCtrl_GetLine", (PyCFunction
) _wrap_StyledTextCtrl_GetLine
, METH_VARARGS
| METH_KEYWORDS
},
12513 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction
) _wrap_StyledTextCtrl_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
12514 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginLeft
, METH_VARARGS
| METH_KEYWORDS
},
12515 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginLeft
, METH_VARARGS
| METH_KEYWORDS
},
12516 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginRight
, METH_VARARGS
| METH_KEYWORDS
},
12517 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginRight
, METH_VARARGS
| METH_KEYWORDS
},
12518 { (char *)"StyledTextCtrl_GetModify", (PyCFunction
) _wrap_StyledTextCtrl_GetModify
, METH_VARARGS
| METH_KEYWORDS
},
12519 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction
) _wrap_StyledTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12520 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction
) _wrap_StyledTextCtrl_GetSelectedText
, METH_VARARGS
| METH_KEYWORDS
},
12521 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction
) _wrap_StyledTextCtrl_GetTextRange
, METH_VARARGS
| METH_KEYWORDS
},
12522 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction
) _wrap_StyledTextCtrl_HideSelection
, METH_VARARGS
| METH_KEYWORDS
},
12523 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction
) _wrap_StyledTextCtrl_LineFromPosition
, METH_VARARGS
| METH_KEYWORDS
},
12524 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction
) _wrap_StyledTextCtrl_PositionFromLine
, METH_VARARGS
| METH_KEYWORDS
},
12525 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction
) _wrap_StyledTextCtrl_LineScroll
, METH_VARARGS
| METH_KEYWORDS
},
12526 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction
) _wrap_StyledTextCtrl_EnsureCaretVisible
, METH_VARARGS
| METH_KEYWORDS
},
12527 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction
) _wrap_StyledTextCtrl_ReplaceSelection
, METH_VARARGS
| METH_KEYWORDS
},
12528 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction
) _wrap_StyledTextCtrl_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12529 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction
) _wrap_StyledTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
12530 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction
) _wrap_StyledTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
12531 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction
) _wrap_StyledTextCtrl_EmptyUndoBuffer
, METH_VARARGS
| METH_KEYWORDS
},
12532 { (char *)"StyledTextCtrl_Undo", (PyCFunction
) _wrap_StyledTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
12533 { (char *)"StyledTextCtrl_Cut", (PyCFunction
) _wrap_StyledTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
12534 { (char *)"StyledTextCtrl_Copy", (PyCFunction
) _wrap_StyledTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
12535 { (char *)"StyledTextCtrl_Paste", (PyCFunction
) _wrap_StyledTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
12536 { (char *)"StyledTextCtrl_Clear", (PyCFunction
) _wrap_StyledTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12537 { (char *)"StyledTextCtrl_SetText", (PyCFunction
) _wrap_StyledTextCtrl_SetText
, METH_VARARGS
| METH_KEYWORDS
},
12538 { (char *)"StyledTextCtrl_GetText", (PyCFunction
) _wrap_StyledTextCtrl_GetText
, METH_VARARGS
| METH_KEYWORDS
},
12539 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction
) _wrap_StyledTextCtrl_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
12540 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction
) _wrap_StyledTextCtrl_SetOvertype
, METH_VARARGS
| METH_KEYWORDS
},
12541 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction
) _wrap_StyledTextCtrl_GetOvertype
, METH_VARARGS
| METH_KEYWORDS
},
12542 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretWidth
, METH_VARARGS
| METH_KEYWORDS
},
12543 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction
) _wrap_StyledTextCtrl_GetCaretWidth
, METH_VARARGS
| METH_KEYWORDS
},
12544 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction
) _wrap_StyledTextCtrl_SetTargetStart
, METH_VARARGS
| METH_KEYWORDS
},
12545 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction
) _wrap_StyledTextCtrl_GetTargetStart
, METH_VARARGS
| METH_KEYWORDS
},
12546 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction
) _wrap_StyledTextCtrl_SetTargetEnd
, METH_VARARGS
| METH_KEYWORDS
},
12547 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction
) _wrap_StyledTextCtrl_GetTargetEnd
, METH_VARARGS
| METH_KEYWORDS
},
12548 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction
) _wrap_StyledTextCtrl_ReplaceTarget
, METH_VARARGS
| METH_KEYWORDS
},
12549 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction
) _wrap_StyledTextCtrl_ReplaceTargetRE
, METH_VARARGS
| METH_KEYWORDS
},
12550 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction
) _wrap_StyledTextCtrl_SearchInTarget
, METH_VARARGS
| METH_KEYWORDS
},
12551 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction
) _wrap_StyledTextCtrl_SetSearchFlags
, METH_VARARGS
| METH_KEYWORDS
},
12552 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction
) _wrap_StyledTextCtrl_GetSearchFlags
, METH_VARARGS
| METH_KEYWORDS
},
12553 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction
) _wrap_StyledTextCtrl_CallTipShow
, METH_VARARGS
| METH_KEYWORDS
},
12554 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction
) _wrap_StyledTextCtrl_CallTipCancel
, METH_VARARGS
| METH_KEYWORDS
},
12555 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction
) _wrap_StyledTextCtrl_CallTipActive
, METH_VARARGS
| METH_KEYWORDS
},
12556 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction
) _wrap_StyledTextCtrl_CallTipPosAtStart
, METH_VARARGS
| METH_KEYWORDS
},
12557 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction
) _wrap_StyledTextCtrl_CallTipSetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
12558 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction
) _wrap_StyledTextCtrl_CallTipSetBackground
, METH_VARARGS
| METH_KEYWORDS
},
12559 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction
) _wrap_StyledTextCtrl_CallTipSetForeground
, METH_VARARGS
| METH_KEYWORDS
},
12560 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction
) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight
, METH_VARARGS
| METH_KEYWORDS
},
12561 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction
) _wrap_StyledTextCtrl_VisibleFromDocLine
, METH_VARARGS
| METH_KEYWORDS
},
12562 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction
) _wrap_StyledTextCtrl_DocLineFromVisible
, METH_VARARGS
| METH_KEYWORDS
},
12563 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldLevel
, METH_VARARGS
| METH_KEYWORDS
},
12564 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction
) _wrap_StyledTextCtrl_GetFoldLevel
, METH_VARARGS
| METH_KEYWORDS
},
12565 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction
) _wrap_StyledTextCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
12566 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction
) _wrap_StyledTextCtrl_GetFoldParent
, METH_VARARGS
| METH_KEYWORDS
},
12567 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction
) _wrap_StyledTextCtrl_ShowLines
, METH_VARARGS
| METH_KEYWORDS
},
12568 { (char *)"StyledTextCtrl_HideLines", (PyCFunction
) _wrap_StyledTextCtrl_HideLines
, METH_VARARGS
| METH_KEYWORDS
},
12569 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction
) _wrap_StyledTextCtrl_GetLineVisible
, METH_VARARGS
| METH_KEYWORDS
},
12570 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldExpanded
, METH_VARARGS
| METH_KEYWORDS
},
12571 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction
) _wrap_StyledTextCtrl_GetFoldExpanded
, METH_VARARGS
| METH_KEYWORDS
},
12572 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction
) _wrap_StyledTextCtrl_ToggleFold
, METH_VARARGS
| METH_KEYWORDS
},
12573 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction
) _wrap_StyledTextCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
12574 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldFlags
, METH_VARARGS
| METH_KEYWORDS
},
12575 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction
) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy
, METH_VARARGS
| METH_KEYWORDS
},
12576 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction
) _wrap_StyledTextCtrl_SetTabIndents
, METH_VARARGS
| METH_KEYWORDS
},
12577 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction
) _wrap_StyledTextCtrl_GetTabIndents
, METH_VARARGS
| METH_KEYWORDS
},
12578 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction
) _wrap_StyledTextCtrl_SetBackSpaceUnIndents
, METH_VARARGS
| METH_KEYWORDS
},
12579 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction
) _wrap_StyledTextCtrl_GetBackSpaceUnIndents
, METH_VARARGS
| METH_KEYWORDS
},
12580 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction
) _wrap_StyledTextCtrl_SetMouseDwellTime
, METH_VARARGS
| METH_KEYWORDS
},
12581 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction
) _wrap_StyledTextCtrl_GetMouseDwellTime
, METH_VARARGS
| METH_KEYWORDS
},
12582 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction
) _wrap_StyledTextCtrl_WordStartPosition
, METH_VARARGS
| METH_KEYWORDS
},
12583 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction
) _wrap_StyledTextCtrl_WordEndPosition
, METH_VARARGS
| METH_KEYWORDS
},
12584 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction
) _wrap_StyledTextCtrl_SetWrapMode
, METH_VARARGS
| METH_KEYWORDS
},
12585 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction
) _wrap_StyledTextCtrl_GetWrapMode
, METH_VARARGS
| METH_KEYWORDS
},
12586 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction
) _wrap_StyledTextCtrl_SetLayoutCache
, METH_VARARGS
| METH_KEYWORDS
},
12587 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction
) _wrap_StyledTextCtrl_GetLayoutCache
, METH_VARARGS
| METH_KEYWORDS
},
12588 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction
) _wrap_StyledTextCtrl_SetScrollWidth
, METH_VARARGS
| METH_KEYWORDS
},
12589 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction
) _wrap_StyledTextCtrl_GetScrollWidth
, METH_VARARGS
| METH_KEYWORDS
},
12590 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction
) _wrap_StyledTextCtrl_TextWidth
, METH_VARARGS
| METH_KEYWORDS
},
12591 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction
) _wrap_StyledTextCtrl_SetEndAtLastLine
, METH_VARARGS
| METH_KEYWORDS
},
12592 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction
) _wrap_StyledTextCtrl_GetEndAtLastLine
, METH_VARARGS
| METH_KEYWORDS
},
12593 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction
) _wrap_StyledTextCtrl_TextHeight
, METH_VARARGS
| METH_KEYWORDS
},
12594 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_SetUseVerticalScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12595 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_GetUseVerticalScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12596 { (char *)"StyledTextCtrl_AppendText", (PyCFunction
) _wrap_StyledTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
12597 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction
) _wrap_StyledTextCtrl_GetTwoPhaseDraw
, METH_VARARGS
| METH_KEYWORDS
},
12598 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction
) _wrap_StyledTextCtrl_SetTwoPhaseDraw
, METH_VARARGS
| METH_KEYWORDS
},
12599 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction
) _wrap_StyledTextCtrl_TargetFromSelection
, METH_VARARGS
| METH_KEYWORDS
},
12600 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction
) _wrap_StyledTextCtrl_LinesJoin
, METH_VARARGS
| METH_KEYWORDS
},
12601 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction
) _wrap_StyledTextCtrl_LinesSplit
, METH_VARARGS
| METH_KEYWORDS
},
12602 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldMarginColour
, METH_VARARGS
| METH_KEYWORDS
},
12603 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldMarginHiColour
, METH_VARARGS
| METH_KEYWORDS
},
12604 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction
) _wrap_StyledTextCtrl_LineDuplicate
, METH_VARARGS
| METH_KEYWORDS
},
12605 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction
) _wrap_StyledTextCtrl_HomeDisplay
, METH_VARARGS
| METH_KEYWORDS
},
12606 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction
) _wrap_StyledTextCtrl_HomeDisplayExtend
, METH_VARARGS
| METH_KEYWORDS
},
12607 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction
) _wrap_StyledTextCtrl_LineEndDisplay
, METH_VARARGS
| METH_KEYWORDS
},
12608 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction
) _wrap_StyledTextCtrl_LineEndDisplayExtend
, METH_VARARGS
| METH_KEYWORDS
},
12609 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction
) _wrap_StyledTextCtrl_LineCopy
, METH_VARARGS
| METH_KEYWORDS
},
12610 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction
) _wrap_StyledTextCtrl_MoveCaretInsideView
, METH_VARARGS
| METH_KEYWORDS
},
12611 { (char *)"StyledTextCtrl_LineLength", (PyCFunction
) _wrap_StyledTextCtrl_LineLength
, METH_VARARGS
| METH_KEYWORDS
},
12612 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction
) _wrap_StyledTextCtrl_BraceHighlight
, METH_VARARGS
| METH_KEYWORDS
},
12613 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction
) _wrap_StyledTextCtrl_BraceBadLight
, METH_VARARGS
| METH_KEYWORDS
},
12614 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction
) _wrap_StyledTextCtrl_BraceMatch
, METH_VARARGS
| METH_KEYWORDS
},
12615 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction
) _wrap_StyledTextCtrl_GetViewEOL
, METH_VARARGS
| METH_KEYWORDS
},
12616 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction
) _wrap_StyledTextCtrl_SetViewEOL
, METH_VARARGS
| METH_KEYWORDS
},
12617 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction
) _wrap_StyledTextCtrl_GetDocPointer
, METH_VARARGS
| METH_KEYWORDS
},
12618 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction
) _wrap_StyledTextCtrl_SetDocPointer
, METH_VARARGS
| METH_KEYWORDS
},
12619 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction
) _wrap_StyledTextCtrl_SetModEventMask
, METH_VARARGS
| METH_KEYWORDS
},
12620 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction
) _wrap_StyledTextCtrl_GetEdgeColumn
, METH_VARARGS
| METH_KEYWORDS
},
12621 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction
) _wrap_StyledTextCtrl_SetEdgeColumn
, METH_VARARGS
| METH_KEYWORDS
},
12622 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction
) _wrap_StyledTextCtrl_GetEdgeMode
, METH_VARARGS
| METH_KEYWORDS
},
12623 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction
) _wrap_StyledTextCtrl_SetEdgeMode
, METH_VARARGS
| METH_KEYWORDS
},
12624 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction
) _wrap_StyledTextCtrl_GetEdgeColour
, METH_VARARGS
| METH_KEYWORDS
},
12625 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction
) _wrap_StyledTextCtrl_SetEdgeColour
, METH_VARARGS
| METH_KEYWORDS
},
12626 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction
) _wrap_StyledTextCtrl_SearchAnchor
, METH_VARARGS
| METH_KEYWORDS
},
12627 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction
) _wrap_StyledTextCtrl_SearchNext
, METH_VARARGS
| METH_KEYWORDS
},
12628 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction
) _wrap_StyledTextCtrl_SearchPrev
, METH_VARARGS
| METH_KEYWORDS
},
12629 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction
) _wrap_StyledTextCtrl_LinesOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
12630 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction
) _wrap_StyledTextCtrl_UsePopUp
, METH_VARARGS
| METH_KEYWORDS
},
12631 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction
) _wrap_StyledTextCtrl_SelectionIsRectangle
, METH_VARARGS
| METH_KEYWORDS
},
12632 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction
) _wrap_StyledTextCtrl_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
12633 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction
) _wrap_StyledTextCtrl_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
12634 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction
) _wrap_StyledTextCtrl_CreateDocument
, METH_VARARGS
| METH_KEYWORDS
},
12635 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction
) _wrap_StyledTextCtrl_AddRefDocument
, METH_VARARGS
| METH_KEYWORDS
},
12636 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction
) _wrap_StyledTextCtrl_ReleaseDocument
, METH_VARARGS
| METH_KEYWORDS
},
12637 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction
) _wrap_StyledTextCtrl_GetModEventMask
, METH_VARARGS
| METH_KEYWORDS
},
12638 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction
) _wrap_StyledTextCtrl_SetSTCFocus
, METH_VARARGS
| METH_KEYWORDS
},
12639 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction
) _wrap_StyledTextCtrl_GetSTCFocus
, METH_VARARGS
| METH_KEYWORDS
},
12640 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction
) _wrap_StyledTextCtrl_SetStatus
, METH_VARARGS
| METH_KEYWORDS
},
12641 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction
) _wrap_StyledTextCtrl_GetStatus
, METH_VARARGS
| METH_KEYWORDS
},
12642 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction
) _wrap_StyledTextCtrl_SetMouseDownCaptures
, METH_VARARGS
| METH_KEYWORDS
},
12643 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction
) _wrap_StyledTextCtrl_GetMouseDownCaptures
, METH_VARARGS
| METH_KEYWORDS
},
12644 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction
) _wrap_StyledTextCtrl_SetSTCCursor
, METH_VARARGS
| METH_KEYWORDS
},
12645 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction
) _wrap_StyledTextCtrl_GetSTCCursor
, METH_VARARGS
| METH_KEYWORDS
},
12646 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction
) _wrap_StyledTextCtrl_SetControlCharSymbol
, METH_VARARGS
| METH_KEYWORDS
},
12647 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction
) _wrap_StyledTextCtrl_GetControlCharSymbol
, METH_VARARGS
| METH_KEYWORDS
},
12648 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction
) _wrap_StyledTextCtrl_WordPartLeft
, METH_VARARGS
| METH_KEYWORDS
},
12649 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction
) _wrap_StyledTextCtrl_WordPartLeftExtend
, METH_VARARGS
| METH_KEYWORDS
},
12650 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction
) _wrap_StyledTextCtrl_WordPartRight
, METH_VARARGS
| METH_KEYWORDS
},
12651 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction
) _wrap_StyledTextCtrl_WordPartRightExtend
, METH_VARARGS
| METH_KEYWORDS
},
12652 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction
) _wrap_StyledTextCtrl_SetVisiblePolicy
, METH_VARARGS
| METH_KEYWORDS
},
12653 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction
) _wrap_StyledTextCtrl_DelLineLeft
, METH_VARARGS
| METH_KEYWORDS
},
12654 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction
) _wrap_StyledTextCtrl_DelLineRight
, METH_VARARGS
| METH_KEYWORDS
},
12655 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction
) _wrap_StyledTextCtrl_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
12656 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction
) _wrap_StyledTextCtrl_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
12657 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction
) _wrap_StyledTextCtrl_ChooseCaretX
, METH_VARARGS
| METH_KEYWORDS
},
12658 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction
) _wrap_StyledTextCtrl_SetXCaretPolicy
, METH_VARARGS
| METH_KEYWORDS
},
12659 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction
) _wrap_StyledTextCtrl_SetYCaretPolicy
, METH_VARARGS
| METH_KEYWORDS
},
12660 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction
) _wrap_StyledTextCtrl_SetPrintWrapMode
, METH_VARARGS
| METH_KEYWORDS
},
12661 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction
) _wrap_StyledTextCtrl_GetPrintWrapMode
, METH_VARARGS
| METH_KEYWORDS
},
12662 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction
) _wrap_StyledTextCtrl_SetHotspotActiveForeground
, METH_VARARGS
| METH_KEYWORDS
},
12663 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction
) _wrap_StyledTextCtrl_SetHotspotActiveBackground
, METH_VARARGS
| METH_KEYWORDS
},
12664 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction
) _wrap_StyledTextCtrl_SetHotspotActiveUnderline
, METH_VARARGS
| METH_KEYWORDS
},
12665 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction
) _wrap_StyledTextCtrl_PositionBefore
, METH_VARARGS
| METH_KEYWORDS
},
12666 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction
) _wrap_StyledTextCtrl_PositionAfter
, METH_VARARGS
| METH_KEYWORDS
},
12667 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction
) _wrap_StyledTextCtrl_CopyRange
, METH_VARARGS
| METH_KEYWORDS
},
12668 { (char *)"StyledTextCtrl_CopyText", (PyCFunction
) _wrap_StyledTextCtrl_CopyText
, METH_VARARGS
| METH_KEYWORDS
},
12669 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction
) _wrap_StyledTextCtrl_StartRecord
, METH_VARARGS
| METH_KEYWORDS
},
12670 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction
) _wrap_StyledTextCtrl_StopRecord
, METH_VARARGS
| METH_KEYWORDS
},
12671 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction
) _wrap_StyledTextCtrl_SetLexer
, METH_VARARGS
| METH_KEYWORDS
},
12672 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction
) _wrap_StyledTextCtrl_GetLexer
, METH_VARARGS
| METH_KEYWORDS
},
12673 { (char *)"StyledTextCtrl_Colourise", (PyCFunction
) _wrap_StyledTextCtrl_Colourise
, METH_VARARGS
| METH_KEYWORDS
},
12674 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction
) _wrap_StyledTextCtrl_SetProperty
, METH_VARARGS
| METH_KEYWORDS
},
12675 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction
) _wrap_StyledTextCtrl_SetKeyWords
, METH_VARARGS
| METH_KEYWORDS
},
12676 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction
) _wrap_StyledTextCtrl_SetLexerLanguage
, METH_VARARGS
| METH_KEYWORDS
},
12677 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction
) _wrap_StyledTextCtrl_GetCurrentLine
, METH_VARARGS
| METH_KEYWORDS
},
12678 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetSpec
, METH_VARARGS
| METH_KEYWORDS
},
12679 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetFont
, METH_VARARGS
| METH_KEYWORDS
},
12680 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetFontAttr
, METH_VARARGS
| METH_KEYWORDS
},
12681 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction
) _wrap_StyledTextCtrl_CmdKeyExecute
, METH_VARARGS
| METH_KEYWORDS
},
12682 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction
) _wrap_StyledTextCtrl_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
12683 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction
) _wrap_StyledTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12684 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction
) _wrap_StyledTextCtrl_PointFromPosition
, METH_VARARGS
| METH_KEYWORDS
},
12685 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction
) _wrap_StyledTextCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
12686 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction
) _wrap_StyledTextCtrl_ScrollToColumn
, METH_VARARGS
| METH_KEYWORDS
},
12687 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction
) _wrap_StyledTextCtrl_SendMsg
, METH_VARARGS
| METH_KEYWORDS
},
12688 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_SetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12689 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_SetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12690 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction
) _wrap_StyledTextCtrl_GetLastKeydownProcessed
, METH_VARARGS
| METH_KEYWORDS
},
12691 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction
) _wrap_StyledTextCtrl_SetLastKeydownProcessed
, METH_VARARGS
| METH_KEYWORDS
},
12692 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction
) _wrap_StyledTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
12693 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction
) _wrap_StyledTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
12694 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction
) _wrap_StyledTextCtrl_DoDragOver
, METH_VARARGS
| METH_KEYWORDS
},
12695 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction
) _wrap_StyledTextCtrl_DoDropText
, METH_VARARGS
| METH_KEYWORDS
},
12696 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister
, METH_VARARGS
},
12697 { (char *)"new_StyledTextEvent", (PyCFunction
) _wrap_new_StyledTextEvent
, METH_VARARGS
| METH_KEYWORDS
},
12698 { (char *)"delete_StyledTextEvent", (PyCFunction
) _wrap_delete_StyledTextEvent
, METH_VARARGS
| METH_KEYWORDS
},
12699 { (char *)"StyledTextEvent_SetPosition", (PyCFunction
) _wrap_StyledTextEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12700 { (char *)"StyledTextEvent_SetKey", (PyCFunction
) _wrap_StyledTextEvent_SetKey
, METH_VARARGS
| METH_KEYWORDS
},
12701 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction
) _wrap_StyledTextEvent_SetModifiers
, METH_VARARGS
| METH_KEYWORDS
},
12702 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction
) _wrap_StyledTextEvent_SetModificationType
, METH_VARARGS
| METH_KEYWORDS
},
12703 { (char *)"StyledTextEvent_SetText", (PyCFunction
) _wrap_StyledTextEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
12704 { (char *)"StyledTextEvent_SetLength", (PyCFunction
) _wrap_StyledTextEvent_SetLength
, METH_VARARGS
| METH_KEYWORDS
},
12705 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction
) _wrap_StyledTextEvent_SetLinesAdded
, METH_VARARGS
| METH_KEYWORDS
},
12706 { (char *)"StyledTextEvent_SetLine", (PyCFunction
) _wrap_StyledTextEvent_SetLine
, METH_VARARGS
| METH_KEYWORDS
},
12707 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction
) _wrap_StyledTextEvent_SetFoldLevelNow
, METH_VARARGS
| METH_KEYWORDS
},
12708 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction
) _wrap_StyledTextEvent_SetFoldLevelPrev
, METH_VARARGS
| METH_KEYWORDS
},
12709 { (char *)"StyledTextEvent_SetMargin", (PyCFunction
) _wrap_StyledTextEvent_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
12710 { (char *)"StyledTextEvent_SetMessage", (PyCFunction
) _wrap_StyledTextEvent_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
12711 { (char *)"StyledTextEvent_SetWParam", (PyCFunction
) _wrap_StyledTextEvent_SetWParam
, METH_VARARGS
| METH_KEYWORDS
},
12712 { (char *)"StyledTextEvent_SetLParam", (PyCFunction
) _wrap_StyledTextEvent_SetLParam
, METH_VARARGS
| METH_KEYWORDS
},
12713 { (char *)"StyledTextEvent_SetListType", (PyCFunction
) _wrap_StyledTextEvent_SetListType
, METH_VARARGS
| METH_KEYWORDS
},
12714 { (char *)"StyledTextEvent_SetX", (PyCFunction
) _wrap_StyledTextEvent_SetX
, METH_VARARGS
| METH_KEYWORDS
},
12715 { (char *)"StyledTextEvent_SetY", (PyCFunction
) _wrap_StyledTextEvent_SetY
, METH_VARARGS
| METH_KEYWORDS
},
12716 { (char *)"StyledTextEvent_SetDragText", (PyCFunction
) _wrap_StyledTextEvent_SetDragText
, METH_VARARGS
| METH_KEYWORDS
},
12717 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction
) _wrap_StyledTextEvent_SetDragAllowMove
, METH_VARARGS
| METH_KEYWORDS
},
12718 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction
) _wrap_StyledTextEvent_SetDragResult
, METH_VARARGS
| METH_KEYWORDS
},
12719 { (char *)"StyledTextEvent_GetPosition", (PyCFunction
) _wrap_StyledTextEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12720 { (char *)"StyledTextEvent_GetKey", (PyCFunction
) _wrap_StyledTextEvent_GetKey
, METH_VARARGS
| METH_KEYWORDS
},
12721 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction
) _wrap_StyledTextEvent_GetModifiers
, METH_VARARGS
| METH_KEYWORDS
},
12722 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction
) _wrap_StyledTextEvent_GetModificationType
, METH_VARARGS
| METH_KEYWORDS
},
12723 { (char *)"StyledTextEvent_GetText", (PyCFunction
) _wrap_StyledTextEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
12724 { (char *)"StyledTextEvent_GetLength", (PyCFunction
) _wrap_StyledTextEvent_GetLength
, METH_VARARGS
| METH_KEYWORDS
},
12725 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction
) _wrap_StyledTextEvent_GetLinesAdded
, METH_VARARGS
| METH_KEYWORDS
},
12726 { (char *)"StyledTextEvent_GetLine", (PyCFunction
) _wrap_StyledTextEvent_GetLine
, METH_VARARGS
| METH_KEYWORDS
},
12727 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction
) _wrap_StyledTextEvent_GetFoldLevelNow
, METH_VARARGS
| METH_KEYWORDS
},
12728 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction
) _wrap_StyledTextEvent_GetFoldLevelPrev
, METH_VARARGS
| METH_KEYWORDS
},
12729 { (char *)"StyledTextEvent_GetMargin", (PyCFunction
) _wrap_StyledTextEvent_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
12730 { (char *)"StyledTextEvent_GetMessage", (PyCFunction
) _wrap_StyledTextEvent_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
12731 { (char *)"StyledTextEvent_GetWParam", (PyCFunction
) _wrap_StyledTextEvent_GetWParam
, METH_VARARGS
| METH_KEYWORDS
},
12732 { (char *)"StyledTextEvent_GetLParam", (PyCFunction
) _wrap_StyledTextEvent_GetLParam
, METH_VARARGS
| METH_KEYWORDS
},
12733 { (char *)"StyledTextEvent_GetListType", (PyCFunction
) _wrap_StyledTextEvent_GetListType
, METH_VARARGS
| METH_KEYWORDS
},
12734 { (char *)"StyledTextEvent_GetX", (PyCFunction
) _wrap_StyledTextEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
12735 { (char *)"StyledTextEvent_GetY", (PyCFunction
) _wrap_StyledTextEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
12736 { (char *)"StyledTextEvent_GetDragText", (PyCFunction
) _wrap_StyledTextEvent_GetDragText
, METH_VARARGS
| METH_KEYWORDS
},
12737 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction
) _wrap_StyledTextEvent_GetDragAllowMove
, METH_VARARGS
| METH_KEYWORDS
},
12738 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction
) _wrap_StyledTextEvent_GetDragResult
, METH_VARARGS
| METH_KEYWORDS
},
12739 { (char *)"StyledTextEvent_GetShift", (PyCFunction
) _wrap_StyledTextEvent_GetShift
, METH_VARARGS
| METH_KEYWORDS
},
12740 { (char *)"StyledTextEvent_GetControl", (PyCFunction
) _wrap_StyledTextEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
12741 { (char *)"StyledTextEvent_GetAlt", (PyCFunction
) _wrap_StyledTextEvent_GetAlt
, METH_VARARGS
| METH_KEYWORDS
},
12742 { (char *)"StyledTextEvent_Clone", (PyCFunction
) _wrap_StyledTextEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
12743 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister
, METH_VARARGS
},
12748 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12750 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
12751 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
12753 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
12754 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
12756 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
12757 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
12759 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
12760 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
12762 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
12763 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
12765 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
12766 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
12768 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
12769 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
12771 static void *_p_wxSizerTo_p_wxObject(void *x
) {
12772 return (void *)((wxObject
*) ((wxSizer
*) x
));
12774 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
12775 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
12777 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
12778 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12780 static void *_p_wxEventTo_p_wxObject(void *x
) {
12781 return (void *)((wxObject
*) ((wxEvent
*) x
));
12783 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
12784 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
12786 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
12787 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
12789 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
12790 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
12792 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
12793 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
12795 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
12796 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
12798 static void *_p_wxStyledTextEventTo_p_wxObject(void *x
) {
12799 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxStyledTextEvent
*) x
));
12801 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
12802 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12804 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
12805 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12807 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
12808 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12810 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
12811 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12813 static void *_p_wxControlTo_p_wxObject(void *x
) {
12814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
12816 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
12817 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
12819 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
12820 return (void *)((wxObject
*) ((wxFSFile
*) x
));
12822 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
12823 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
12825 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x
) {
12826 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStyledTextCtrl
*) x
));
12828 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
12829 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
12831 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
12832 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12834 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
12835 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
12837 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
12838 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
12840 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
12841 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
12843 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
12844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12846 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
12847 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
12849 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
12850 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
12852 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
12853 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
12855 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
12856 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
12858 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
12859 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
12861 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
12862 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
12864 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
12865 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
12867 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
12868 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
12870 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
12871 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
12873 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
12874 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
12876 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
12877 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
12879 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
12880 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
12882 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
12883 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
12885 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
12886 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
12888 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
12889 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
12891 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
12892 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
12894 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
12895 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
12897 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
12898 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
12900 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
12901 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
12903 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
12904 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
12906 static void *_p_wxImageTo_p_wxObject(void *x
) {
12907 return (void *)((wxObject
*) ((wxImage
*) x
));
12909 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
12910 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
12912 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
12913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12915 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
12916 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12918 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
12919 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
12921 static void *_p_wxWindowTo_p_wxObject(void *x
) {
12922 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
12924 static void *_p_wxMenuTo_p_wxObject(void *x
) {
12925 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
12927 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
12928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
12930 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
12931 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
12933 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
12934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12936 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
12937 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
12939 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
12940 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
12942 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
12943 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
12945 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
12946 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
12948 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
12949 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
12951 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
12952 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12954 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
12955 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
12957 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
12958 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
12960 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
12961 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
12963 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
12964 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12966 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
12967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12969 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
12970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
12972 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
12973 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
12975 static void *_p_wxControlTo_p_wxWindow(void *x
) {
12976 return (void *)((wxWindow
*) ((wxControl
*) x
));
12978 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
12979 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
12981 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x
) {
12982 return (void *)((wxWindow
*) (wxControl
*) ((wxStyledTextCtrl
*) x
));
12984 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
12985 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
12987 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
12988 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12990 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
12991 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
12993 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
12994 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12996 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
12997 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12999 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x
) {
13000 return (void *)((wxCommandEvent
*) ((wxStyledTextEvent
*) x
));
13002 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
13003 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
13005 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
13006 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
13008 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
13009 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
13011 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
13012 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
13014 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
13015 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
13017 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
13018 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
13020 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
13021 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
13023 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
13024 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
13026 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x
) {
13027 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStyledTextCtrl
*) x
));
13029 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
13030 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
13032 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
13033 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
13035 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
13036 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
13038 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
13039 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
13041 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
13042 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
13044 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x
) {
13045 return (void *)((wxControl
*) ((wxStyledTextCtrl
*) x
));
13047 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
13048 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
13050 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
13051 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
13053 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
13054 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
13056 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
13057 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
13059 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
13060 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
13062 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
13063 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
13065 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
13066 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
13068 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
13069 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
13071 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
13072 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
13074 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
13075 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
13077 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
13078 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
13080 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
13081 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
13083 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
13084 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
13086 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
13087 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
13089 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
13090 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
13092 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
13093 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
13095 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
13096 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
13098 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
13099 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
13101 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
13102 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
13104 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
13105 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
13107 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x
) {
13108 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxStyledTextEvent
*) x
));
13110 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
13111 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
13113 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
13114 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
13116 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
13117 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
13119 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
13120 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
13122 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
13123 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
13125 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
13126 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
13128 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
13129 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
13131 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
13132 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
13134 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
13135 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
13137 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
13138 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
13140 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
13141 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
13143 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
13144 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
13146 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
13147 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
13149 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
13150 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
13152 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
13153 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
13155 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
13156 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
13157 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{0}};
13158 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
13159 static swig_type_info _swigt__p_wxStyledTextEvent
[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0},{"_p_wxStyledTextEvent"},{0}};
13160 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{0}};
13161 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
},{0}};
13162 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
13163 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
13164 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
13165 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
13166 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
13167 static swig_type_info _swigt__p_wxDragResult
[] = {{"_p_wxDragResult", 0, "wxDragResult *", 0},{"_p_wxDragResult"},{0}};
13168 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{0}};
13169 static swig_type_info _swigt__p_wxStyledTextCtrl
[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0},{"_p_wxStyledTextCtrl"},{0}};
13170 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
13171 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxControl
},{0}};
13172 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{0}};
13173 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13174 static swig_type_info _swigt__p_wxMemoryBuffer
[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0},{"_p_wxMemoryBuffer"},{0}};
13176 static swig_type_info
*swig_types_initial
[] = {
13178 _swigt__p_wxColour
,
13179 _swigt__p_wxObject
,
13180 _swigt__p_wxScrollBar
,
13181 _swigt__p_wxStyledTextEvent
,
13182 _swigt__p_wxWindow
,
13183 _swigt__p_wxCommandEvent
,
13184 _swigt__p_wxBitmap
,
13189 _swigt__p_wxDragResult
,
13190 _swigt__p_wxEvtHandler
,
13191 _swigt__p_wxStyledTextCtrl
,
13193 _swigt__p_wxControl
,
13196 _swigt__p_wxMemoryBuffer
,
13201 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13203 static swig_const_info swig_const_table
[] = {
13213 SWIGEXPORT(void) SWIG_init(void) {
13214 static PyObject
*SWIG_globals
= 0;
13215 static int typeinit
= 0;
13218 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
13219 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
13220 d
= PyModule_GetDict(m
);
13223 for (i
= 0; swig_types_initial
[i
]; i
++) {
13224 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
13228 SWIG_InstallConstants(d
,swig_const_table
);
13230 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
13231 SWIG_addvarlink(SWIG_globals
,(char*)"STCNameStr",_wrap_STCNameStr_get
, _wrap_STCNameStr_set
);
13232 PyDict_SetItemString(d
,"STC_USE_DND", SWIG_PyObj_FromInt((int)1));
13233 PyDict_SetItemString(d
,"STC_USE_POPUP", SWIG_PyObj_FromInt((int)1));
13234 PyDict_SetItemString(d
,"STC_INVALID_POSITION", SWIG_PyObj_FromInt((int)-1));
13235 PyDict_SetItemString(d
,"STC_START", SWIG_PyObj_FromInt((int)2000));
13236 PyDict_SetItemString(d
,"STC_OPTIONAL_START", SWIG_PyObj_FromInt((int)3000));
13237 PyDict_SetItemString(d
,"STC_LEXER_START", SWIG_PyObj_FromInt((int)4000));
13238 PyDict_SetItemString(d
,"STC_WS_INVISIBLE", SWIG_PyObj_FromInt((int)0));
13239 PyDict_SetItemString(d
,"STC_WS_VISIBLEALWAYS", SWIG_PyObj_FromInt((int)1));
13240 PyDict_SetItemString(d
,"STC_WS_VISIBLEAFTERINDENT", SWIG_PyObj_FromInt((int)2));
13241 PyDict_SetItemString(d
,"STC_EOL_CRLF", SWIG_PyObj_FromInt((int)0));
13242 PyDict_SetItemString(d
,"STC_EOL_CR", SWIG_PyObj_FromInt((int)1));
13243 PyDict_SetItemString(d
,"STC_EOL_LF", SWIG_PyObj_FromInt((int)2));
13244 PyDict_SetItemString(d
,"STC_CP_UTF8", SWIG_PyObj_FromInt((int)65001));
13245 PyDict_SetItemString(d
,"STC_CP_DBCS", SWIG_PyObj_FromInt((int)1));
13246 PyDict_SetItemString(d
,"STC_MARKER_MAX", SWIG_PyObj_FromInt((int)31));
13247 PyDict_SetItemString(d
,"STC_MARK_CIRCLE", SWIG_PyObj_FromInt((int)0));
13248 PyDict_SetItemString(d
,"STC_MARK_ROUNDRECT", SWIG_PyObj_FromInt((int)1));
13249 PyDict_SetItemString(d
,"STC_MARK_ARROW", SWIG_PyObj_FromInt((int)2));
13250 PyDict_SetItemString(d
,"STC_MARK_SMALLRECT", SWIG_PyObj_FromInt((int)3));
13251 PyDict_SetItemString(d
,"STC_MARK_SHORTARROW", SWIG_PyObj_FromInt((int)4));
13252 PyDict_SetItemString(d
,"STC_MARK_EMPTY", SWIG_PyObj_FromInt((int)5));
13253 PyDict_SetItemString(d
,"STC_MARK_ARROWDOWN", SWIG_PyObj_FromInt((int)6));
13254 PyDict_SetItemString(d
,"STC_MARK_MINUS", SWIG_PyObj_FromInt((int)7));
13255 PyDict_SetItemString(d
,"STC_MARK_PLUS", SWIG_PyObj_FromInt((int)8));
13256 PyDict_SetItemString(d
,"STC_MARK_VLINE", SWIG_PyObj_FromInt((int)9));
13257 PyDict_SetItemString(d
,"STC_MARK_LCORNER", SWIG_PyObj_FromInt((int)10));
13258 PyDict_SetItemString(d
,"STC_MARK_TCORNER", SWIG_PyObj_FromInt((int)11));
13259 PyDict_SetItemString(d
,"STC_MARK_BOXPLUS", SWIG_PyObj_FromInt((int)12));
13260 PyDict_SetItemString(d
,"STC_MARK_BOXPLUSCONNECTED", SWIG_PyObj_FromInt((int)13));
13261 PyDict_SetItemString(d
,"STC_MARK_BOXMINUS", SWIG_PyObj_FromInt((int)14));
13262 PyDict_SetItemString(d
,"STC_MARK_BOXMINUSCONNECTED", SWIG_PyObj_FromInt((int)15));
13263 PyDict_SetItemString(d
,"STC_MARK_LCORNERCURVE", SWIG_PyObj_FromInt((int)16));
13264 PyDict_SetItemString(d
,"STC_MARK_TCORNERCURVE", SWIG_PyObj_FromInt((int)17));
13265 PyDict_SetItemString(d
,"STC_MARK_CIRCLEPLUS", SWIG_PyObj_FromInt((int)18));
13266 PyDict_SetItemString(d
,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_PyObj_FromInt((int)19));
13267 PyDict_SetItemString(d
,"STC_MARK_CIRCLEMINUS", SWIG_PyObj_FromInt((int)20));
13268 PyDict_SetItemString(d
,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_PyObj_FromInt((int)21));
13269 PyDict_SetItemString(d
,"STC_MARK_BACKGROUND", SWIG_PyObj_FromInt((int)22));
13270 PyDict_SetItemString(d
,"STC_MARK_DOTDOTDOT", SWIG_PyObj_FromInt((int)23));
13271 PyDict_SetItemString(d
,"STC_MARK_ARROWS", SWIG_PyObj_FromInt((int)24));
13272 PyDict_SetItemString(d
,"STC_MARK_PIXMAP", SWIG_PyObj_FromInt((int)25));
13273 PyDict_SetItemString(d
,"STC_MARK_CHARACTER", SWIG_PyObj_FromInt((int)10000));
13274 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDEREND", SWIG_PyObj_FromInt((int)25));
13275 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDEROPENMID", SWIG_PyObj_FromInt((int)26));
13276 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_PyObj_FromInt((int)27));
13277 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDERTAIL", SWIG_PyObj_FromInt((int)28));
13278 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDERSUB", SWIG_PyObj_FromInt((int)29));
13279 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDER", SWIG_PyObj_FromInt((int)30));
13280 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDEROPEN", SWIG_PyObj_FromInt((int)31));
13281 PyDict_SetItemString(d
,"STC_MASK_FOLDERS", SWIG_PyObj_FromInt((int)0xFE000000));
13282 PyDict_SetItemString(d
,"STC_MARGIN_SYMBOL", SWIG_PyObj_FromInt((int)0));
13283 PyDict_SetItemString(d
,"STC_MARGIN_NUMBER", SWIG_PyObj_FromInt((int)1));
13284 PyDict_SetItemString(d
,"STC_STYLE_DEFAULT", SWIG_PyObj_FromInt((int)32));
13285 PyDict_SetItemString(d
,"STC_STYLE_LINENUMBER", SWIG_PyObj_FromInt((int)33));
13286 PyDict_SetItemString(d
,"STC_STYLE_BRACELIGHT", SWIG_PyObj_FromInt((int)34));
13287 PyDict_SetItemString(d
,"STC_STYLE_BRACEBAD", SWIG_PyObj_FromInt((int)35));
13288 PyDict_SetItemString(d
,"STC_STYLE_CONTROLCHAR", SWIG_PyObj_FromInt((int)36));
13289 PyDict_SetItemString(d
,"STC_STYLE_INDENTGUIDE", SWIG_PyObj_FromInt((int)37));
13290 PyDict_SetItemString(d
,"STC_STYLE_LASTPREDEFINED", SWIG_PyObj_FromInt((int)39));
13291 PyDict_SetItemString(d
,"STC_STYLE_MAX", SWIG_PyObj_FromInt((int)127));
13292 PyDict_SetItemString(d
,"STC_CHARSET_ANSI", SWIG_PyObj_FromInt((int)0));
13293 PyDict_SetItemString(d
,"STC_CHARSET_DEFAULT", SWIG_PyObj_FromInt((int)1));
13294 PyDict_SetItemString(d
,"STC_CHARSET_BALTIC", SWIG_PyObj_FromInt((int)186));
13295 PyDict_SetItemString(d
,"STC_CHARSET_CHINESEBIG5", SWIG_PyObj_FromInt((int)136));
13296 PyDict_SetItemString(d
,"STC_CHARSET_EASTEUROPE", SWIG_PyObj_FromInt((int)238));
13297 PyDict_SetItemString(d
,"STC_CHARSET_GB2312", SWIG_PyObj_FromInt((int)134));
13298 PyDict_SetItemString(d
,"STC_CHARSET_GREEK", SWIG_PyObj_FromInt((int)161));
13299 PyDict_SetItemString(d
,"STC_CHARSET_HANGUL", SWIG_PyObj_FromInt((int)129));
13300 PyDict_SetItemString(d
,"STC_CHARSET_MAC", SWIG_PyObj_FromInt((int)77));
13301 PyDict_SetItemString(d
,"STC_CHARSET_OEM", SWIG_PyObj_FromInt((int)255));
13302 PyDict_SetItemString(d
,"STC_CHARSET_RUSSIAN", SWIG_PyObj_FromInt((int)204));
13303 PyDict_SetItemString(d
,"STC_CHARSET_SHIFTJIS", SWIG_PyObj_FromInt((int)128));
13304 PyDict_SetItemString(d
,"STC_CHARSET_SYMBOL", SWIG_PyObj_FromInt((int)2));
13305 PyDict_SetItemString(d
,"STC_CHARSET_TURKISH", SWIG_PyObj_FromInt((int)162));
13306 PyDict_SetItemString(d
,"STC_CHARSET_JOHAB", SWIG_PyObj_FromInt((int)130));
13307 PyDict_SetItemString(d
,"STC_CHARSET_HEBREW", SWIG_PyObj_FromInt((int)177));
13308 PyDict_SetItemString(d
,"STC_CHARSET_ARABIC", SWIG_PyObj_FromInt((int)178));
13309 PyDict_SetItemString(d
,"STC_CHARSET_VIETNAMESE", SWIG_PyObj_FromInt((int)163));
13310 PyDict_SetItemString(d
,"STC_CHARSET_THAI", SWIG_PyObj_FromInt((int)222));
13311 PyDict_SetItemString(d
,"STC_CASE_MIXED", SWIG_PyObj_FromInt((int)0));
13312 PyDict_SetItemString(d
,"STC_CASE_UPPER", SWIG_PyObj_FromInt((int)1));
13313 PyDict_SetItemString(d
,"STC_CASE_LOWER", SWIG_PyObj_FromInt((int)2));
13314 PyDict_SetItemString(d
,"STC_INDIC_MAX", SWIG_PyObj_FromInt((int)7));
13315 PyDict_SetItemString(d
,"STC_INDIC_PLAIN", SWIG_PyObj_FromInt((int)0));
13316 PyDict_SetItemString(d
,"STC_INDIC_SQUIGGLE", SWIG_PyObj_FromInt((int)1));
13317 PyDict_SetItemString(d
,"STC_INDIC_TT", SWIG_PyObj_FromInt((int)2));
13318 PyDict_SetItemString(d
,"STC_INDIC_DIAGONAL", SWIG_PyObj_FromInt((int)3));
13319 PyDict_SetItemString(d
,"STC_INDIC_STRIKE", SWIG_PyObj_FromInt((int)4));
13320 PyDict_SetItemString(d
,"STC_INDIC_HIDDEN", SWIG_PyObj_FromInt((int)5));
13321 PyDict_SetItemString(d
,"STC_INDIC0_MASK", SWIG_PyObj_FromInt((int)0x20));
13322 PyDict_SetItemString(d
,"STC_INDIC1_MASK", SWIG_PyObj_FromInt((int)0x40));
13323 PyDict_SetItemString(d
,"STC_INDIC2_MASK", SWIG_PyObj_FromInt((int)0x80));
13324 PyDict_SetItemString(d
,"STC_INDICS_MASK", SWIG_PyObj_FromInt((int)0xE0));
13325 PyDict_SetItemString(d
,"STC_PRINT_NORMAL", SWIG_PyObj_FromInt((int)0));
13326 PyDict_SetItemString(d
,"STC_PRINT_INVERTLIGHT", SWIG_PyObj_FromInt((int)1));
13327 PyDict_SetItemString(d
,"STC_PRINT_BLACKONWHITE", SWIG_PyObj_FromInt((int)2));
13328 PyDict_SetItemString(d
,"STC_PRINT_COLOURONWHITE", SWIG_PyObj_FromInt((int)3));
13329 PyDict_SetItemString(d
,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_PyObj_FromInt((int)4));
13330 PyDict_SetItemString(d
,"STC_FIND_WHOLEWORD", SWIG_PyObj_FromInt((int)2));
13331 PyDict_SetItemString(d
,"STC_FIND_MATCHCASE", SWIG_PyObj_FromInt((int)4));
13332 PyDict_SetItemString(d
,"STC_FIND_WORDSTART", SWIG_PyObj_FromInt((int)0x00100000));
13333 PyDict_SetItemString(d
,"STC_FIND_REGEXP", SWIG_PyObj_FromInt((int)0x00200000));
13334 PyDict_SetItemString(d
,"STC_FIND_POSIX", SWIG_PyObj_FromInt((int)0x00400000));
13335 PyDict_SetItemString(d
,"STC_FOLDLEVELBASE", SWIG_PyObj_FromInt((int)0x400));
13336 PyDict_SetItemString(d
,"STC_FOLDLEVELWHITEFLAG", SWIG_PyObj_FromInt((int)0x1000));
13337 PyDict_SetItemString(d
,"STC_FOLDLEVELHEADERFLAG", SWIG_PyObj_FromInt((int)0x2000));
13338 PyDict_SetItemString(d
,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_PyObj_FromInt((int)0x4000));
13339 PyDict_SetItemString(d
,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_PyObj_FromInt((int)0x8000));
13340 PyDict_SetItemString(d
,"STC_FOLDLEVELCONTRACTED", SWIG_PyObj_FromInt((int)0x10000));
13341 PyDict_SetItemString(d
,"STC_FOLDLEVELUNINDENT", SWIG_PyObj_FromInt((int)0x20000));
13342 PyDict_SetItemString(d
,"STC_FOLDLEVELNUMBERMASK", SWIG_PyObj_FromInt((int)0x0FFF));
13343 PyDict_SetItemString(d
,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_PyObj_FromInt((int)0x0002));
13344 PyDict_SetItemString(d
,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_PyObj_FromInt((int)0x0004));
13345 PyDict_SetItemString(d
,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_PyObj_FromInt((int)0x0008));
13346 PyDict_SetItemString(d
,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_PyObj_FromInt((int)0x0010));
13347 PyDict_SetItemString(d
,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_PyObj_FromInt((int)0x0040));
13348 PyDict_SetItemString(d
,"STC_FOLDFLAG_BOX", SWIG_PyObj_FromInt((int)0x0001));
13349 PyDict_SetItemString(d
,"STC_TIME_FOREVER", SWIG_PyObj_FromInt((int)10000000));
13350 PyDict_SetItemString(d
,"STC_WRAP_NONE", SWIG_PyObj_FromInt((int)0));
13351 PyDict_SetItemString(d
,"STC_WRAP_WORD", SWIG_PyObj_FromInt((int)1));
13352 PyDict_SetItemString(d
,"STC_CACHE_NONE", SWIG_PyObj_FromInt((int)0));
13353 PyDict_SetItemString(d
,"STC_CACHE_CARET", SWIG_PyObj_FromInt((int)1));
13354 PyDict_SetItemString(d
,"STC_CACHE_PAGE", SWIG_PyObj_FromInt((int)2));
13355 PyDict_SetItemString(d
,"STC_CACHE_DOCUMENT", SWIG_PyObj_FromInt((int)3));
13356 PyDict_SetItemString(d
,"STC_EDGE_NONE", SWIG_PyObj_FromInt((int)0));
13357 PyDict_SetItemString(d
,"STC_EDGE_LINE", SWIG_PyObj_FromInt((int)1));
13358 PyDict_SetItemString(d
,"STC_EDGE_BACKGROUND", SWIG_PyObj_FromInt((int)2));
13359 PyDict_SetItemString(d
,"STC_CURSORNORMAL", SWIG_PyObj_FromInt((int)-1));
13360 PyDict_SetItemString(d
,"STC_CURSORWAIT", SWIG_PyObj_FromInt((int)4));
13361 PyDict_SetItemString(d
,"STC_VISIBLE_SLOP", SWIG_PyObj_FromInt((int)0x01));
13362 PyDict_SetItemString(d
,"STC_VISIBLE_STRICT", SWIG_PyObj_FromInt((int)0x04));
13363 PyDict_SetItemString(d
,"STC_CARET_SLOP", SWIG_PyObj_FromInt((int)0x01));
13364 PyDict_SetItemString(d
,"STC_CARET_STRICT", SWIG_PyObj_FromInt((int)0x04));
13365 PyDict_SetItemString(d
,"STC_CARET_JUMPS", SWIG_PyObj_FromInt((int)0x10));
13366 PyDict_SetItemString(d
,"STC_CARET_EVEN", SWIG_PyObj_FromInt((int)0x08));
13367 PyDict_SetItemString(d
,"STC_KEYWORDSET_MAX", SWIG_PyObj_FromInt((int)8));
13368 PyDict_SetItemString(d
,"STC_MOD_INSERTTEXT", SWIG_PyObj_FromInt((int)0x1));
13369 PyDict_SetItemString(d
,"STC_MOD_DELETETEXT", SWIG_PyObj_FromInt((int)0x2));
13370 PyDict_SetItemString(d
,"STC_MOD_CHANGESTYLE", SWIG_PyObj_FromInt((int)0x4));
13371 PyDict_SetItemString(d
,"STC_MOD_CHANGEFOLD", SWIG_PyObj_FromInt((int)0x8));
13372 PyDict_SetItemString(d
,"STC_PERFORMED_USER", SWIG_PyObj_FromInt((int)0x10));
13373 PyDict_SetItemString(d
,"STC_PERFORMED_UNDO", SWIG_PyObj_FromInt((int)0x20));
13374 PyDict_SetItemString(d
,"STC_PERFORMED_REDO", SWIG_PyObj_FromInt((int)0x40));
13375 PyDict_SetItemString(d
,"STC_LASTSTEPINUNDOREDO", SWIG_PyObj_FromInt((int)0x100));
13376 PyDict_SetItemString(d
,"STC_MOD_CHANGEMARKER", SWIG_PyObj_FromInt((int)0x200));
13377 PyDict_SetItemString(d
,"STC_MOD_BEFOREINSERT", SWIG_PyObj_FromInt((int)0x400));
13378 PyDict_SetItemString(d
,"STC_MOD_BEFOREDELETE", SWIG_PyObj_FromInt((int)0x800));
13379 PyDict_SetItemString(d
,"STC_MODEVENTMASKALL", SWIG_PyObj_FromInt((int)0xF77));
13380 PyDict_SetItemString(d
,"STC_KEY_DOWN", SWIG_PyObj_FromInt((int)300));
13381 PyDict_SetItemString(d
,"STC_KEY_UP", SWIG_PyObj_FromInt((int)301));
13382 PyDict_SetItemString(d
,"STC_KEY_LEFT", SWIG_PyObj_FromInt((int)302));
13383 PyDict_SetItemString(d
,"STC_KEY_RIGHT", SWIG_PyObj_FromInt((int)303));
13384 PyDict_SetItemString(d
,"STC_KEY_HOME", SWIG_PyObj_FromInt((int)304));
13385 PyDict_SetItemString(d
,"STC_KEY_END", SWIG_PyObj_FromInt((int)305));
13386 PyDict_SetItemString(d
,"STC_KEY_PRIOR", SWIG_PyObj_FromInt((int)306));
13387 PyDict_SetItemString(d
,"STC_KEY_NEXT", SWIG_PyObj_FromInt((int)307));
13388 PyDict_SetItemString(d
,"STC_KEY_DELETE", SWIG_PyObj_FromInt((int)308));
13389 PyDict_SetItemString(d
,"STC_KEY_INSERT", SWIG_PyObj_FromInt((int)309));
13390 PyDict_SetItemString(d
,"STC_KEY_ESCAPE", SWIG_PyObj_FromInt((int)7));
13391 PyDict_SetItemString(d
,"STC_KEY_BACK", SWIG_PyObj_FromInt((int)8));
13392 PyDict_SetItemString(d
,"STC_KEY_TAB", SWIG_PyObj_FromInt((int)9));
13393 PyDict_SetItemString(d
,"STC_KEY_RETURN", SWIG_PyObj_FromInt((int)13));
13394 PyDict_SetItemString(d
,"STC_KEY_ADD", SWIG_PyObj_FromInt((int)310));
13395 PyDict_SetItemString(d
,"STC_KEY_SUBTRACT", SWIG_PyObj_FromInt((int)311));
13396 PyDict_SetItemString(d
,"STC_KEY_DIVIDE", SWIG_PyObj_FromInt((int)312));
13397 PyDict_SetItemString(d
,"STC_SCMOD_SHIFT", SWIG_PyObj_FromInt((int)1));
13398 PyDict_SetItemString(d
,"STC_SCMOD_CTRL", SWIG_PyObj_FromInt((int)2));
13399 PyDict_SetItemString(d
,"STC_SCMOD_ALT", SWIG_PyObj_FromInt((int)4));
13400 PyDict_SetItemString(d
,"STC_LEX_CONTAINER", SWIG_PyObj_FromInt((int)0));
13401 PyDict_SetItemString(d
,"STC_LEX_NULL", SWIG_PyObj_FromInt((int)1));
13402 PyDict_SetItemString(d
,"STC_LEX_PYTHON", SWIG_PyObj_FromInt((int)2));
13403 PyDict_SetItemString(d
,"STC_LEX_CPP", SWIG_PyObj_FromInt((int)3));
13404 PyDict_SetItemString(d
,"STC_LEX_HTML", SWIG_PyObj_FromInt((int)4));
13405 PyDict_SetItemString(d
,"STC_LEX_XML", SWIG_PyObj_FromInt((int)5));
13406 PyDict_SetItemString(d
,"STC_LEX_PERL", SWIG_PyObj_FromInt((int)6));
13407 PyDict_SetItemString(d
,"STC_LEX_SQL", SWIG_PyObj_FromInt((int)7));
13408 PyDict_SetItemString(d
,"STC_LEX_VB", SWIG_PyObj_FromInt((int)8));
13409 PyDict_SetItemString(d
,"STC_LEX_PROPERTIES", SWIG_PyObj_FromInt((int)9));
13410 PyDict_SetItemString(d
,"STC_LEX_ERRORLIST", SWIG_PyObj_FromInt((int)10));
13411 PyDict_SetItemString(d
,"STC_LEX_MAKEFILE", SWIG_PyObj_FromInt((int)11));
13412 PyDict_SetItemString(d
,"STC_LEX_BATCH", SWIG_PyObj_FromInt((int)12));
13413 PyDict_SetItemString(d
,"STC_LEX_XCODE", SWIG_PyObj_FromInt((int)13));
13414 PyDict_SetItemString(d
,"STC_LEX_LATEX", SWIG_PyObj_FromInt((int)14));
13415 PyDict_SetItemString(d
,"STC_LEX_LUA", SWIG_PyObj_FromInt((int)15));
13416 PyDict_SetItemString(d
,"STC_LEX_DIFF", SWIG_PyObj_FromInt((int)16));
13417 PyDict_SetItemString(d
,"STC_LEX_CONF", SWIG_PyObj_FromInt((int)17));
13418 PyDict_SetItemString(d
,"STC_LEX_PASCAL", SWIG_PyObj_FromInt((int)18));
13419 PyDict_SetItemString(d
,"STC_LEX_AVE", SWIG_PyObj_FromInt((int)19));
13420 PyDict_SetItemString(d
,"STC_LEX_ADA", SWIG_PyObj_FromInt((int)20));
13421 PyDict_SetItemString(d
,"STC_LEX_LISP", SWIG_PyObj_FromInt((int)21));
13422 PyDict_SetItemString(d
,"STC_LEX_RUBY", SWIG_PyObj_FromInt((int)22));
13423 PyDict_SetItemString(d
,"STC_LEX_EIFFEL", SWIG_PyObj_FromInt((int)23));
13424 PyDict_SetItemString(d
,"STC_LEX_EIFFELKW", SWIG_PyObj_FromInt((int)24));
13425 PyDict_SetItemString(d
,"STC_LEX_TCL", SWIG_PyObj_FromInt((int)25));
13426 PyDict_SetItemString(d
,"STC_LEX_NNCRONTAB", SWIG_PyObj_FromInt((int)26));
13427 PyDict_SetItemString(d
,"STC_LEX_BULLANT", SWIG_PyObj_FromInt((int)27));
13428 PyDict_SetItemString(d
,"STC_LEX_VBSCRIPT", SWIG_PyObj_FromInt((int)28));
13429 PyDict_SetItemString(d
,"STC_LEX_ASP", SWIG_PyObj_FromInt((int)29));
13430 PyDict_SetItemString(d
,"STC_LEX_PHP", SWIG_PyObj_FromInt((int)30));
13431 PyDict_SetItemString(d
,"STC_LEX_BAAN", SWIG_PyObj_FromInt((int)31));
13432 PyDict_SetItemString(d
,"STC_LEX_MATLAB", SWIG_PyObj_FromInt((int)32));
13433 PyDict_SetItemString(d
,"STC_LEX_SCRIPTOL", SWIG_PyObj_FromInt((int)33));
13434 PyDict_SetItemString(d
,"STC_LEX_ASM", SWIG_PyObj_FromInt((int)34));
13435 PyDict_SetItemString(d
,"STC_LEX_CPPNOCASE", SWIG_PyObj_FromInt((int)35));
13436 PyDict_SetItemString(d
,"STC_LEX_FORTRAN", SWIG_PyObj_FromInt((int)36));
13437 PyDict_SetItemString(d
,"STC_LEX_F77", SWIG_PyObj_FromInt((int)37));
13438 PyDict_SetItemString(d
,"STC_LEX_CSS", SWIG_PyObj_FromInt((int)38));
13439 PyDict_SetItemString(d
,"STC_LEX_POV", SWIG_PyObj_FromInt((int)39));
13440 PyDict_SetItemString(d
,"STC_LEX_LOUT", SWIG_PyObj_FromInt((int)40));
13441 PyDict_SetItemString(d
,"STC_LEX_ESCRIPT", SWIG_PyObj_FromInt((int)41));
13442 PyDict_SetItemString(d
,"STC_LEX_PS", SWIG_PyObj_FromInt((int)42));
13443 PyDict_SetItemString(d
,"STC_LEX_NSIS", SWIG_PyObj_FromInt((int)43));
13444 PyDict_SetItemString(d
,"STC_LEX_MMIXAL", SWIG_PyObj_FromInt((int)44));
13445 PyDict_SetItemString(d
,"STC_LEX_AUTOMATIC", SWIG_PyObj_FromInt((int)1000));
13446 PyDict_SetItemString(d
,"STC_P_DEFAULT", SWIG_PyObj_FromInt((int)0));
13447 PyDict_SetItemString(d
,"STC_P_COMMENTLINE", SWIG_PyObj_FromInt((int)1));
13448 PyDict_SetItemString(d
,"STC_P_NUMBER", SWIG_PyObj_FromInt((int)2));
13449 PyDict_SetItemString(d
,"STC_P_STRING", SWIG_PyObj_FromInt((int)3));
13450 PyDict_SetItemString(d
,"STC_P_CHARACTER", SWIG_PyObj_FromInt((int)4));
13451 PyDict_SetItemString(d
,"STC_P_WORD", SWIG_PyObj_FromInt((int)5));
13452 PyDict_SetItemString(d
,"STC_P_TRIPLE", SWIG_PyObj_FromInt((int)6));
13453 PyDict_SetItemString(d
,"STC_P_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)7));
13454 PyDict_SetItemString(d
,"STC_P_CLASSNAME", SWIG_PyObj_FromInt((int)8));
13455 PyDict_SetItemString(d
,"STC_P_DEFNAME", SWIG_PyObj_FromInt((int)9));
13456 PyDict_SetItemString(d
,"STC_P_OPERATOR", SWIG_PyObj_FromInt((int)10));
13457 PyDict_SetItemString(d
,"STC_P_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13458 PyDict_SetItemString(d
,"STC_P_COMMENTBLOCK", SWIG_PyObj_FromInt((int)12));
13459 PyDict_SetItemString(d
,"STC_P_STRINGEOL", SWIG_PyObj_FromInt((int)13));
13460 PyDict_SetItemString(d
,"STC_C_DEFAULT", SWIG_PyObj_FromInt((int)0));
13461 PyDict_SetItemString(d
,"STC_C_COMMENT", SWIG_PyObj_FromInt((int)1));
13462 PyDict_SetItemString(d
,"STC_C_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13463 PyDict_SetItemString(d
,"STC_C_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13464 PyDict_SetItemString(d
,"STC_C_NUMBER", SWIG_PyObj_FromInt((int)4));
13465 PyDict_SetItemString(d
,"STC_C_WORD", SWIG_PyObj_FromInt((int)5));
13466 PyDict_SetItemString(d
,"STC_C_STRING", SWIG_PyObj_FromInt((int)6));
13467 PyDict_SetItemString(d
,"STC_C_CHARACTER", SWIG_PyObj_FromInt((int)7));
13468 PyDict_SetItemString(d
,"STC_C_UUID", SWIG_PyObj_FromInt((int)8));
13469 PyDict_SetItemString(d
,"STC_C_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13470 PyDict_SetItemString(d
,"STC_C_OPERATOR", SWIG_PyObj_FromInt((int)10));
13471 PyDict_SetItemString(d
,"STC_C_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13472 PyDict_SetItemString(d
,"STC_C_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13473 PyDict_SetItemString(d
,"STC_C_VERBATIM", SWIG_PyObj_FromInt((int)13));
13474 PyDict_SetItemString(d
,"STC_C_REGEX", SWIG_PyObj_FromInt((int)14));
13475 PyDict_SetItemString(d
,"STC_C_COMMENTLINEDOC", SWIG_PyObj_FromInt((int)15));
13476 PyDict_SetItemString(d
,"STC_C_WORD2", SWIG_PyObj_FromInt((int)16));
13477 PyDict_SetItemString(d
,"STC_C_COMMENTDOCKEYWORD", SWIG_PyObj_FromInt((int)17));
13478 PyDict_SetItemString(d
,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_PyObj_FromInt((int)18));
13479 PyDict_SetItemString(d
,"STC_C_GLOBALCLASS", SWIG_PyObj_FromInt((int)19));
13480 PyDict_SetItemString(d
,"STC_H_DEFAULT", SWIG_PyObj_FromInt((int)0));
13481 PyDict_SetItemString(d
,"STC_H_TAG", SWIG_PyObj_FromInt((int)1));
13482 PyDict_SetItemString(d
,"STC_H_TAGUNKNOWN", SWIG_PyObj_FromInt((int)2));
13483 PyDict_SetItemString(d
,"STC_H_ATTRIBUTE", SWIG_PyObj_FromInt((int)3));
13484 PyDict_SetItemString(d
,"STC_H_ATTRIBUTEUNKNOWN", SWIG_PyObj_FromInt((int)4));
13485 PyDict_SetItemString(d
,"STC_H_NUMBER", SWIG_PyObj_FromInt((int)5));
13486 PyDict_SetItemString(d
,"STC_H_DOUBLESTRING", SWIG_PyObj_FromInt((int)6));
13487 PyDict_SetItemString(d
,"STC_H_SINGLESTRING", SWIG_PyObj_FromInt((int)7));
13488 PyDict_SetItemString(d
,"STC_H_OTHER", SWIG_PyObj_FromInt((int)8));
13489 PyDict_SetItemString(d
,"STC_H_COMMENT", SWIG_PyObj_FromInt((int)9));
13490 PyDict_SetItemString(d
,"STC_H_ENTITY", SWIG_PyObj_FromInt((int)10));
13491 PyDict_SetItemString(d
,"STC_H_TAGEND", SWIG_PyObj_FromInt((int)11));
13492 PyDict_SetItemString(d
,"STC_H_XMLSTART", SWIG_PyObj_FromInt((int)12));
13493 PyDict_SetItemString(d
,"STC_H_XMLEND", SWIG_PyObj_FromInt((int)13));
13494 PyDict_SetItemString(d
,"STC_H_SCRIPT", SWIG_PyObj_FromInt((int)14));
13495 PyDict_SetItemString(d
,"STC_H_ASP", SWIG_PyObj_FromInt((int)15));
13496 PyDict_SetItemString(d
,"STC_H_ASPAT", SWIG_PyObj_FromInt((int)16));
13497 PyDict_SetItemString(d
,"STC_H_CDATA", SWIG_PyObj_FromInt((int)17));
13498 PyDict_SetItemString(d
,"STC_H_QUESTION", SWIG_PyObj_FromInt((int)18));
13499 PyDict_SetItemString(d
,"STC_H_VALUE", SWIG_PyObj_FromInt((int)19));
13500 PyDict_SetItemString(d
,"STC_H_XCCOMMENT", SWIG_PyObj_FromInt((int)20));
13501 PyDict_SetItemString(d
,"STC_H_SGML_DEFAULT", SWIG_PyObj_FromInt((int)21));
13502 PyDict_SetItemString(d
,"STC_H_SGML_COMMAND", SWIG_PyObj_FromInt((int)22));
13503 PyDict_SetItemString(d
,"STC_H_SGML_1ST_PARAM", SWIG_PyObj_FromInt((int)23));
13504 PyDict_SetItemString(d
,"STC_H_SGML_DOUBLESTRING", SWIG_PyObj_FromInt((int)24));
13505 PyDict_SetItemString(d
,"STC_H_SGML_SIMPLESTRING", SWIG_PyObj_FromInt((int)25));
13506 PyDict_SetItemString(d
,"STC_H_SGML_ERROR", SWIG_PyObj_FromInt((int)26));
13507 PyDict_SetItemString(d
,"STC_H_SGML_SPECIAL", SWIG_PyObj_FromInt((int)27));
13508 PyDict_SetItemString(d
,"STC_H_SGML_ENTITY", SWIG_PyObj_FromInt((int)28));
13509 PyDict_SetItemString(d
,"STC_H_SGML_COMMENT", SWIG_PyObj_FromInt((int)29));
13510 PyDict_SetItemString(d
,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_PyObj_FromInt((int)30));
13511 PyDict_SetItemString(d
,"STC_H_SGML_BLOCK_DEFAULT", SWIG_PyObj_FromInt((int)31));
13512 PyDict_SetItemString(d
,"STC_HJ_START", SWIG_PyObj_FromInt((int)40));
13513 PyDict_SetItemString(d
,"STC_HJ_DEFAULT", SWIG_PyObj_FromInt((int)41));
13514 PyDict_SetItemString(d
,"STC_HJ_COMMENT", SWIG_PyObj_FromInt((int)42));
13515 PyDict_SetItemString(d
,"STC_HJ_COMMENTLINE", SWIG_PyObj_FromInt((int)43));
13516 PyDict_SetItemString(d
,"STC_HJ_COMMENTDOC", SWIG_PyObj_FromInt((int)44));
13517 PyDict_SetItemString(d
,"STC_HJ_NUMBER", SWIG_PyObj_FromInt((int)45));
13518 PyDict_SetItemString(d
,"STC_HJ_WORD", SWIG_PyObj_FromInt((int)46));
13519 PyDict_SetItemString(d
,"STC_HJ_KEYWORD", SWIG_PyObj_FromInt((int)47));
13520 PyDict_SetItemString(d
,"STC_HJ_DOUBLESTRING", SWIG_PyObj_FromInt((int)48));
13521 PyDict_SetItemString(d
,"STC_HJ_SINGLESTRING", SWIG_PyObj_FromInt((int)49));
13522 PyDict_SetItemString(d
,"STC_HJ_SYMBOLS", SWIG_PyObj_FromInt((int)50));
13523 PyDict_SetItemString(d
,"STC_HJ_STRINGEOL", SWIG_PyObj_FromInt((int)51));
13524 PyDict_SetItemString(d
,"STC_HJ_REGEX", SWIG_PyObj_FromInt((int)52));
13525 PyDict_SetItemString(d
,"STC_HJA_START", SWIG_PyObj_FromInt((int)55));
13526 PyDict_SetItemString(d
,"STC_HJA_DEFAULT", SWIG_PyObj_FromInt((int)56));
13527 PyDict_SetItemString(d
,"STC_HJA_COMMENT", SWIG_PyObj_FromInt((int)57));
13528 PyDict_SetItemString(d
,"STC_HJA_COMMENTLINE", SWIG_PyObj_FromInt((int)58));
13529 PyDict_SetItemString(d
,"STC_HJA_COMMENTDOC", SWIG_PyObj_FromInt((int)59));
13530 PyDict_SetItemString(d
,"STC_HJA_NUMBER", SWIG_PyObj_FromInt((int)60));
13531 PyDict_SetItemString(d
,"STC_HJA_WORD", SWIG_PyObj_FromInt((int)61));
13532 PyDict_SetItemString(d
,"STC_HJA_KEYWORD", SWIG_PyObj_FromInt((int)62));
13533 PyDict_SetItemString(d
,"STC_HJA_DOUBLESTRING", SWIG_PyObj_FromInt((int)63));
13534 PyDict_SetItemString(d
,"STC_HJA_SINGLESTRING", SWIG_PyObj_FromInt((int)64));
13535 PyDict_SetItemString(d
,"STC_HJA_SYMBOLS", SWIG_PyObj_FromInt((int)65));
13536 PyDict_SetItemString(d
,"STC_HJA_STRINGEOL", SWIG_PyObj_FromInt((int)66));
13537 PyDict_SetItemString(d
,"STC_HJA_REGEX", SWIG_PyObj_FromInt((int)67));
13538 PyDict_SetItemString(d
,"STC_HB_START", SWIG_PyObj_FromInt((int)70));
13539 PyDict_SetItemString(d
,"STC_HB_DEFAULT", SWIG_PyObj_FromInt((int)71));
13540 PyDict_SetItemString(d
,"STC_HB_COMMENTLINE", SWIG_PyObj_FromInt((int)72));
13541 PyDict_SetItemString(d
,"STC_HB_NUMBER", SWIG_PyObj_FromInt((int)73));
13542 PyDict_SetItemString(d
,"STC_HB_WORD", SWIG_PyObj_FromInt((int)74));
13543 PyDict_SetItemString(d
,"STC_HB_STRING", SWIG_PyObj_FromInt((int)75));
13544 PyDict_SetItemString(d
,"STC_HB_IDENTIFIER", SWIG_PyObj_FromInt((int)76));
13545 PyDict_SetItemString(d
,"STC_HB_STRINGEOL", SWIG_PyObj_FromInt((int)77));
13546 PyDict_SetItemString(d
,"STC_HBA_START", SWIG_PyObj_FromInt((int)80));
13547 PyDict_SetItemString(d
,"STC_HBA_DEFAULT", SWIG_PyObj_FromInt((int)81));
13548 PyDict_SetItemString(d
,"STC_HBA_COMMENTLINE", SWIG_PyObj_FromInt((int)82));
13549 PyDict_SetItemString(d
,"STC_HBA_NUMBER", SWIG_PyObj_FromInt((int)83));
13550 PyDict_SetItemString(d
,"STC_HBA_WORD", SWIG_PyObj_FromInt((int)84));
13551 PyDict_SetItemString(d
,"STC_HBA_STRING", SWIG_PyObj_FromInt((int)85));
13552 PyDict_SetItemString(d
,"STC_HBA_IDENTIFIER", SWIG_PyObj_FromInt((int)86));
13553 PyDict_SetItemString(d
,"STC_HBA_STRINGEOL", SWIG_PyObj_FromInt((int)87));
13554 PyDict_SetItemString(d
,"STC_HP_START", SWIG_PyObj_FromInt((int)90));
13555 PyDict_SetItemString(d
,"STC_HP_DEFAULT", SWIG_PyObj_FromInt((int)91));
13556 PyDict_SetItemString(d
,"STC_HP_COMMENTLINE", SWIG_PyObj_FromInt((int)92));
13557 PyDict_SetItemString(d
,"STC_HP_NUMBER", SWIG_PyObj_FromInt((int)93));
13558 PyDict_SetItemString(d
,"STC_HP_STRING", SWIG_PyObj_FromInt((int)94));
13559 PyDict_SetItemString(d
,"STC_HP_CHARACTER", SWIG_PyObj_FromInt((int)95));
13560 PyDict_SetItemString(d
,"STC_HP_WORD", SWIG_PyObj_FromInt((int)96));
13561 PyDict_SetItemString(d
,"STC_HP_TRIPLE", SWIG_PyObj_FromInt((int)97));
13562 PyDict_SetItemString(d
,"STC_HP_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)98));
13563 PyDict_SetItemString(d
,"STC_HP_CLASSNAME", SWIG_PyObj_FromInt((int)99));
13564 PyDict_SetItemString(d
,"STC_HP_DEFNAME", SWIG_PyObj_FromInt((int)100));
13565 PyDict_SetItemString(d
,"STC_HP_OPERATOR", SWIG_PyObj_FromInt((int)101));
13566 PyDict_SetItemString(d
,"STC_HP_IDENTIFIER", SWIG_PyObj_FromInt((int)102));
13567 PyDict_SetItemString(d
,"STC_HPA_START", SWIG_PyObj_FromInt((int)105));
13568 PyDict_SetItemString(d
,"STC_HPA_DEFAULT", SWIG_PyObj_FromInt((int)106));
13569 PyDict_SetItemString(d
,"STC_HPA_COMMENTLINE", SWIG_PyObj_FromInt((int)107));
13570 PyDict_SetItemString(d
,"STC_HPA_NUMBER", SWIG_PyObj_FromInt((int)108));
13571 PyDict_SetItemString(d
,"STC_HPA_STRING", SWIG_PyObj_FromInt((int)109));
13572 PyDict_SetItemString(d
,"STC_HPA_CHARACTER", SWIG_PyObj_FromInt((int)110));
13573 PyDict_SetItemString(d
,"STC_HPA_WORD", SWIG_PyObj_FromInt((int)111));
13574 PyDict_SetItemString(d
,"STC_HPA_TRIPLE", SWIG_PyObj_FromInt((int)112));
13575 PyDict_SetItemString(d
,"STC_HPA_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)113));
13576 PyDict_SetItemString(d
,"STC_HPA_CLASSNAME", SWIG_PyObj_FromInt((int)114));
13577 PyDict_SetItemString(d
,"STC_HPA_DEFNAME", SWIG_PyObj_FromInt((int)115));
13578 PyDict_SetItemString(d
,"STC_HPA_OPERATOR", SWIG_PyObj_FromInt((int)116));
13579 PyDict_SetItemString(d
,"STC_HPA_IDENTIFIER", SWIG_PyObj_FromInt((int)117));
13580 PyDict_SetItemString(d
,"STC_HPHP_DEFAULT", SWIG_PyObj_FromInt((int)118));
13581 PyDict_SetItemString(d
,"STC_HPHP_HSTRING", SWIG_PyObj_FromInt((int)119));
13582 PyDict_SetItemString(d
,"STC_HPHP_SIMPLESTRING", SWIG_PyObj_FromInt((int)120));
13583 PyDict_SetItemString(d
,"STC_HPHP_WORD", SWIG_PyObj_FromInt((int)121));
13584 PyDict_SetItemString(d
,"STC_HPHP_NUMBER", SWIG_PyObj_FromInt((int)122));
13585 PyDict_SetItemString(d
,"STC_HPHP_VARIABLE", SWIG_PyObj_FromInt((int)123));
13586 PyDict_SetItemString(d
,"STC_HPHP_COMMENT", SWIG_PyObj_FromInt((int)124));
13587 PyDict_SetItemString(d
,"STC_HPHP_COMMENTLINE", SWIG_PyObj_FromInt((int)125));
13588 PyDict_SetItemString(d
,"STC_HPHP_HSTRING_VARIABLE", SWIG_PyObj_FromInt((int)126));
13589 PyDict_SetItemString(d
,"STC_HPHP_OPERATOR", SWIG_PyObj_FromInt((int)127));
13590 PyDict_SetItemString(d
,"STC_PL_DEFAULT", SWIG_PyObj_FromInt((int)0));
13591 PyDict_SetItemString(d
,"STC_PL_ERROR", SWIG_PyObj_FromInt((int)1));
13592 PyDict_SetItemString(d
,"STC_PL_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13593 PyDict_SetItemString(d
,"STC_PL_POD", SWIG_PyObj_FromInt((int)3));
13594 PyDict_SetItemString(d
,"STC_PL_NUMBER", SWIG_PyObj_FromInt((int)4));
13595 PyDict_SetItemString(d
,"STC_PL_WORD", SWIG_PyObj_FromInt((int)5));
13596 PyDict_SetItemString(d
,"STC_PL_STRING", SWIG_PyObj_FromInt((int)6));
13597 PyDict_SetItemString(d
,"STC_PL_CHARACTER", SWIG_PyObj_FromInt((int)7));
13598 PyDict_SetItemString(d
,"STC_PL_PUNCTUATION", SWIG_PyObj_FromInt((int)8));
13599 PyDict_SetItemString(d
,"STC_PL_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13600 PyDict_SetItemString(d
,"STC_PL_OPERATOR", SWIG_PyObj_FromInt((int)10));
13601 PyDict_SetItemString(d
,"STC_PL_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13602 PyDict_SetItemString(d
,"STC_PL_SCALAR", SWIG_PyObj_FromInt((int)12));
13603 PyDict_SetItemString(d
,"STC_PL_ARRAY", SWIG_PyObj_FromInt((int)13));
13604 PyDict_SetItemString(d
,"STC_PL_HASH", SWIG_PyObj_FromInt((int)14));
13605 PyDict_SetItemString(d
,"STC_PL_SYMBOLTABLE", SWIG_PyObj_FromInt((int)15));
13606 PyDict_SetItemString(d
,"STC_PL_REGEX", SWIG_PyObj_FromInt((int)17));
13607 PyDict_SetItemString(d
,"STC_PL_REGSUBST", SWIG_PyObj_FromInt((int)18));
13608 PyDict_SetItemString(d
,"STC_PL_LONGQUOTE", SWIG_PyObj_FromInt((int)19));
13609 PyDict_SetItemString(d
,"STC_PL_BACKTICKS", SWIG_PyObj_FromInt((int)20));
13610 PyDict_SetItemString(d
,"STC_PL_DATASECTION", SWIG_PyObj_FromInt((int)21));
13611 PyDict_SetItemString(d
,"STC_PL_HERE_DELIM", SWIG_PyObj_FromInt((int)22));
13612 PyDict_SetItemString(d
,"STC_PL_HERE_Q", SWIG_PyObj_FromInt((int)23));
13613 PyDict_SetItemString(d
,"STC_PL_HERE_QQ", SWIG_PyObj_FromInt((int)24));
13614 PyDict_SetItemString(d
,"STC_PL_HERE_QX", SWIG_PyObj_FromInt((int)25));
13615 PyDict_SetItemString(d
,"STC_PL_STRING_Q", SWIG_PyObj_FromInt((int)26));
13616 PyDict_SetItemString(d
,"STC_PL_STRING_QQ", SWIG_PyObj_FromInt((int)27));
13617 PyDict_SetItemString(d
,"STC_PL_STRING_QX", SWIG_PyObj_FromInt((int)28));
13618 PyDict_SetItemString(d
,"STC_PL_STRING_QR", SWIG_PyObj_FromInt((int)29));
13619 PyDict_SetItemString(d
,"STC_PL_STRING_QW", SWIG_PyObj_FromInt((int)30));
13620 PyDict_SetItemString(d
,"STC_B_DEFAULT", SWIG_PyObj_FromInt((int)0));
13621 PyDict_SetItemString(d
,"STC_B_COMMENT", SWIG_PyObj_FromInt((int)1));
13622 PyDict_SetItemString(d
,"STC_B_NUMBER", SWIG_PyObj_FromInt((int)2));
13623 PyDict_SetItemString(d
,"STC_B_KEYWORD", SWIG_PyObj_FromInt((int)3));
13624 PyDict_SetItemString(d
,"STC_B_STRING", SWIG_PyObj_FromInt((int)4));
13625 PyDict_SetItemString(d
,"STC_B_PREPROCESSOR", SWIG_PyObj_FromInt((int)5));
13626 PyDict_SetItemString(d
,"STC_B_OPERATOR", SWIG_PyObj_FromInt((int)6));
13627 PyDict_SetItemString(d
,"STC_B_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13628 PyDict_SetItemString(d
,"STC_B_DATE", SWIG_PyObj_FromInt((int)8));
13629 PyDict_SetItemString(d
,"STC_PROPS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13630 PyDict_SetItemString(d
,"STC_PROPS_COMMENT", SWIG_PyObj_FromInt((int)1));
13631 PyDict_SetItemString(d
,"STC_PROPS_SECTION", SWIG_PyObj_FromInt((int)2));
13632 PyDict_SetItemString(d
,"STC_PROPS_ASSIGNMENT", SWIG_PyObj_FromInt((int)3));
13633 PyDict_SetItemString(d
,"STC_PROPS_DEFVAL", SWIG_PyObj_FromInt((int)4));
13634 PyDict_SetItemString(d
,"STC_L_DEFAULT", SWIG_PyObj_FromInt((int)0));
13635 PyDict_SetItemString(d
,"STC_L_COMMAND", SWIG_PyObj_FromInt((int)1));
13636 PyDict_SetItemString(d
,"STC_L_TAG", SWIG_PyObj_FromInt((int)2));
13637 PyDict_SetItemString(d
,"STC_L_MATH", SWIG_PyObj_FromInt((int)3));
13638 PyDict_SetItemString(d
,"STC_L_COMMENT", SWIG_PyObj_FromInt((int)4));
13639 PyDict_SetItemString(d
,"STC_LUA_DEFAULT", SWIG_PyObj_FromInt((int)0));
13640 PyDict_SetItemString(d
,"STC_LUA_COMMENT", SWIG_PyObj_FromInt((int)1));
13641 PyDict_SetItemString(d
,"STC_LUA_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13642 PyDict_SetItemString(d
,"STC_LUA_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13643 PyDict_SetItemString(d
,"STC_LUA_NUMBER", SWIG_PyObj_FromInt((int)4));
13644 PyDict_SetItemString(d
,"STC_LUA_WORD", SWIG_PyObj_FromInt((int)5));
13645 PyDict_SetItemString(d
,"STC_LUA_STRING", SWIG_PyObj_FromInt((int)6));
13646 PyDict_SetItemString(d
,"STC_LUA_CHARACTER", SWIG_PyObj_FromInt((int)7));
13647 PyDict_SetItemString(d
,"STC_LUA_LITERALSTRING", SWIG_PyObj_FromInt((int)8));
13648 PyDict_SetItemString(d
,"STC_LUA_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13649 PyDict_SetItemString(d
,"STC_LUA_OPERATOR", SWIG_PyObj_FromInt((int)10));
13650 PyDict_SetItemString(d
,"STC_LUA_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13651 PyDict_SetItemString(d
,"STC_LUA_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13652 PyDict_SetItemString(d
,"STC_LUA_WORD2", SWIG_PyObj_FromInt((int)13));
13653 PyDict_SetItemString(d
,"STC_LUA_WORD3", SWIG_PyObj_FromInt((int)14));
13654 PyDict_SetItemString(d
,"STC_LUA_WORD4", SWIG_PyObj_FromInt((int)15));
13655 PyDict_SetItemString(d
,"STC_LUA_WORD5", SWIG_PyObj_FromInt((int)16));
13656 PyDict_SetItemString(d
,"STC_LUA_WORD6", SWIG_PyObj_FromInt((int)17));
13657 PyDict_SetItemString(d
,"STC_LUA_WORD7", SWIG_PyObj_FromInt((int)18));
13658 PyDict_SetItemString(d
,"STC_LUA_WORD8", SWIG_PyObj_FromInt((int)19));
13659 PyDict_SetItemString(d
,"STC_ERR_DEFAULT", SWIG_PyObj_FromInt((int)0));
13660 PyDict_SetItemString(d
,"STC_ERR_PYTHON", SWIG_PyObj_FromInt((int)1));
13661 PyDict_SetItemString(d
,"STC_ERR_GCC", SWIG_PyObj_FromInt((int)2));
13662 PyDict_SetItemString(d
,"STC_ERR_MS", SWIG_PyObj_FromInt((int)3));
13663 PyDict_SetItemString(d
,"STC_ERR_CMD", SWIG_PyObj_FromInt((int)4));
13664 PyDict_SetItemString(d
,"STC_ERR_BORLAND", SWIG_PyObj_FromInt((int)5));
13665 PyDict_SetItemString(d
,"STC_ERR_PERL", SWIG_PyObj_FromInt((int)6));
13666 PyDict_SetItemString(d
,"STC_ERR_NET", SWIG_PyObj_FromInt((int)7));
13667 PyDict_SetItemString(d
,"STC_ERR_LUA", SWIG_PyObj_FromInt((int)8));
13668 PyDict_SetItemString(d
,"STC_ERR_CTAG", SWIG_PyObj_FromInt((int)9));
13669 PyDict_SetItemString(d
,"STC_ERR_DIFF_CHANGED", SWIG_PyObj_FromInt((int)10));
13670 PyDict_SetItemString(d
,"STC_ERR_DIFF_ADDITION", SWIG_PyObj_FromInt((int)11));
13671 PyDict_SetItemString(d
,"STC_ERR_DIFF_DELETION", SWIG_PyObj_FromInt((int)12));
13672 PyDict_SetItemString(d
,"STC_ERR_DIFF_MESSAGE", SWIG_PyObj_FromInt((int)13));
13673 PyDict_SetItemString(d
,"STC_ERR_PHP", SWIG_PyObj_FromInt((int)14));
13674 PyDict_SetItemString(d
,"STC_ERR_ELF", SWIG_PyObj_FromInt((int)15));
13675 PyDict_SetItemString(d
,"STC_ERR_IFC", SWIG_PyObj_FromInt((int)16));
13676 PyDict_SetItemString(d
,"STC_BAT_DEFAULT", SWIG_PyObj_FromInt((int)0));
13677 PyDict_SetItemString(d
,"STC_BAT_COMMENT", SWIG_PyObj_FromInt((int)1));
13678 PyDict_SetItemString(d
,"STC_BAT_WORD", SWIG_PyObj_FromInt((int)2));
13679 PyDict_SetItemString(d
,"STC_BAT_LABEL", SWIG_PyObj_FromInt((int)3));
13680 PyDict_SetItemString(d
,"STC_BAT_HIDE", SWIG_PyObj_FromInt((int)4));
13681 PyDict_SetItemString(d
,"STC_BAT_COMMAND", SWIG_PyObj_FromInt((int)5));
13682 PyDict_SetItemString(d
,"STC_BAT_IDENTIFIER", SWIG_PyObj_FromInt((int)6));
13683 PyDict_SetItemString(d
,"STC_BAT_OPERATOR", SWIG_PyObj_FromInt((int)7));
13684 PyDict_SetItemString(d
,"STC_MAKE_DEFAULT", SWIG_PyObj_FromInt((int)0));
13685 PyDict_SetItemString(d
,"STC_MAKE_COMMENT", SWIG_PyObj_FromInt((int)1));
13686 PyDict_SetItemString(d
,"STC_MAKE_PREPROCESSOR", SWIG_PyObj_FromInt((int)2));
13687 PyDict_SetItemString(d
,"STC_MAKE_IDENTIFIER", SWIG_PyObj_FromInt((int)3));
13688 PyDict_SetItemString(d
,"STC_MAKE_OPERATOR", SWIG_PyObj_FromInt((int)4));
13689 PyDict_SetItemString(d
,"STC_MAKE_TARGET", SWIG_PyObj_FromInt((int)5));
13690 PyDict_SetItemString(d
,"STC_MAKE_IDEOL", SWIG_PyObj_FromInt((int)9));
13691 PyDict_SetItemString(d
,"STC_DIFF_DEFAULT", SWIG_PyObj_FromInt((int)0));
13692 PyDict_SetItemString(d
,"STC_DIFF_COMMENT", SWIG_PyObj_FromInt((int)1));
13693 PyDict_SetItemString(d
,"STC_DIFF_COMMAND", SWIG_PyObj_FromInt((int)2));
13694 PyDict_SetItemString(d
,"STC_DIFF_HEADER", SWIG_PyObj_FromInt((int)3));
13695 PyDict_SetItemString(d
,"STC_DIFF_POSITION", SWIG_PyObj_FromInt((int)4));
13696 PyDict_SetItemString(d
,"STC_DIFF_DELETED", SWIG_PyObj_FromInt((int)5));
13697 PyDict_SetItemString(d
,"STC_DIFF_ADDED", SWIG_PyObj_FromInt((int)6));
13698 PyDict_SetItemString(d
,"STC_CONF_DEFAULT", SWIG_PyObj_FromInt((int)0));
13699 PyDict_SetItemString(d
,"STC_CONF_COMMENT", SWIG_PyObj_FromInt((int)1));
13700 PyDict_SetItemString(d
,"STC_CONF_NUMBER", SWIG_PyObj_FromInt((int)2));
13701 PyDict_SetItemString(d
,"STC_CONF_IDENTIFIER", SWIG_PyObj_FromInt((int)3));
13702 PyDict_SetItemString(d
,"STC_CONF_EXTENSION", SWIG_PyObj_FromInt((int)4));
13703 PyDict_SetItemString(d
,"STC_CONF_PARAMETER", SWIG_PyObj_FromInt((int)5));
13704 PyDict_SetItemString(d
,"STC_CONF_STRING", SWIG_PyObj_FromInt((int)6));
13705 PyDict_SetItemString(d
,"STC_CONF_OPERATOR", SWIG_PyObj_FromInt((int)7));
13706 PyDict_SetItemString(d
,"STC_CONF_IP", SWIG_PyObj_FromInt((int)8));
13707 PyDict_SetItemString(d
,"STC_CONF_DIRECTIVE", SWIG_PyObj_FromInt((int)9));
13708 PyDict_SetItemString(d
,"STC_AVE_DEFAULT", SWIG_PyObj_FromInt((int)0));
13709 PyDict_SetItemString(d
,"STC_AVE_COMMENT", SWIG_PyObj_FromInt((int)1));
13710 PyDict_SetItemString(d
,"STC_AVE_NUMBER", SWIG_PyObj_FromInt((int)2));
13711 PyDict_SetItemString(d
,"STC_AVE_WORD", SWIG_PyObj_FromInt((int)3));
13712 PyDict_SetItemString(d
,"STC_AVE_STRING", SWIG_PyObj_FromInt((int)6));
13713 PyDict_SetItemString(d
,"STC_AVE_ENUM", SWIG_PyObj_FromInt((int)7));
13714 PyDict_SetItemString(d
,"STC_AVE_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13715 PyDict_SetItemString(d
,"STC_AVE_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
13716 PyDict_SetItemString(d
,"STC_AVE_OPERATOR", SWIG_PyObj_FromInt((int)10));
13717 PyDict_SetItemString(d
,"STC_AVE_WORD1", SWIG_PyObj_FromInt((int)11));
13718 PyDict_SetItemString(d
,"STC_AVE_WORD2", SWIG_PyObj_FromInt((int)12));
13719 PyDict_SetItemString(d
,"STC_AVE_WORD3", SWIG_PyObj_FromInt((int)13));
13720 PyDict_SetItemString(d
,"STC_AVE_WORD4", SWIG_PyObj_FromInt((int)14));
13721 PyDict_SetItemString(d
,"STC_AVE_WORD5", SWIG_PyObj_FromInt((int)15));
13722 PyDict_SetItemString(d
,"STC_AVE_WORD6", SWIG_PyObj_FromInt((int)16));
13723 PyDict_SetItemString(d
,"STC_ADA_DEFAULT", SWIG_PyObj_FromInt((int)0));
13724 PyDict_SetItemString(d
,"STC_ADA_WORD", SWIG_PyObj_FromInt((int)1));
13725 PyDict_SetItemString(d
,"STC_ADA_IDENTIFIER", SWIG_PyObj_FromInt((int)2));
13726 PyDict_SetItemString(d
,"STC_ADA_NUMBER", SWIG_PyObj_FromInt((int)3));
13727 PyDict_SetItemString(d
,"STC_ADA_DELIMITER", SWIG_PyObj_FromInt((int)4));
13728 PyDict_SetItemString(d
,"STC_ADA_CHARACTER", SWIG_PyObj_FromInt((int)5));
13729 PyDict_SetItemString(d
,"STC_ADA_CHARACTEREOL", SWIG_PyObj_FromInt((int)6));
13730 PyDict_SetItemString(d
,"STC_ADA_STRING", SWIG_PyObj_FromInt((int)7));
13731 PyDict_SetItemString(d
,"STC_ADA_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13732 PyDict_SetItemString(d
,"STC_ADA_LABEL", SWIG_PyObj_FromInt((int)9));
13733 PyDict_SetItemString(d
,"STC_ADA_COMMENTLINE", SWIG_PyObj_FromInt((int)10));
13734 PyDict_SetItemString(d
,"STC_ADA_ILLEGAL", SWIG_PyObj_FromInt((int)11));
13735 PyDict_SetItemString(d
,"STC_BAAN_DEFAULT", SWIG_PyObj_FromInt((int)0));
13736 PyDict_SetItemString(d
,"STC_BAAN_COMMENT", SWIG_PyObj_FromInt((int)1));
13737 PyDict_SetItemString(d
,"STC_BAAN_COMMENTDOC", SWIG_PyObj_FromInt((int)2));
13738 PyDict_SetItemString(d
,"STC_BAAN_NUMBER", SWIG_PyObj_FromInt((int)3));
13739 PyDict_SetItemString(d
,"STC_BAAN_WORD", SWIG_PyObj_FromInt((int)4));
13740 PyDict_SetItemString(d
,"STC_BAAN_STRING", SWIG_PyObj_FromInt((int)5));
13741 PyDict_SetItemString(d
,"STC_BAAN_PREPROCESSOR", SWIG_PyObj_FromInt((int)6));
13742 PyDict_SetItemString(d
,"STC_BAAN_OPERATOR", SWIG_PyObj_FromInt((int)7));
13743 PyDict_SetItemString(d
,"STC_BAAN_IDENTIFIER", SWIG_PyObj_FromInt((int)8));
13744 PyDict_SetItemString(d
,"STC_BAAN_STRINGEOL", SWIG_PyObj_FromInt((int)9));
13745 PyDict_SetItemString(d
,"STC_BAAN_WORD2", SWIG_PyObj_FromInt((int)10));
13746 PyDict_SetItemString(d
,"STC_LISP_DEFAULT", SWIG_PyObj_FromInt((int)0));
13747 PyDict_SetItemString(d
,"STC_LISP_COMMENT", SWIG_PyObj_FromInt((int)1));
13748 PyDict_SetItemString(d
,"STC_LISP_NUMBER", SWIG_PyObj_FromInt((int)2));
13749 PyDict_SetItemString(d
,"STC_LISP_KEYWORD", SWIG_PyObj_FromInt((int)3));
13750 PyDict_SetItemString(d
,"STC_LISP_STRING", SWIG_PyObj_FromInt((int)6));
13751 PyDict_SetItemString(d
,"STC_LISP_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13752 PyDict_SetItemString(d
,"STC_LISP_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
13753 PyDict_SetItemString(d
,"STC_LISP_OPERATOR", SWIG_PyObj_FromInt((int)10));
13754 PyDict_SetItemString(d
,"STC_EIFFEL_DEFAULT", SWIG_PyObj_FromInt((int)0));
13755 PyDict_SetItemString(d
,"STC_EIFFEL_COMMENTLINE", SWIG_PyObj_FromInt((int)1));
13756 PyDict_SetItemString(d
,"STC_EIFFEL_NUMBER", SWIG_PyObj_FromInt((int)2));
13757 PyDict_SetItemString(d
,"STC_EIFFEL_WORD", SWIG_PyObj_FromInt((int)3));
13758 PyDict_SetItemString(d
,"STC_EIFFEL_STRING", SWIG_PyObj_FromInt((int)4));
13759 PyDict_SetItemString(d
,"STC_EIFFEL_CHARACTER", SWIG_PyObj_FromInt((int)5));
13760 PyDict_SetItemString(d
,"STC_EIFFEL_OPERATOR", SWIG_PyObj_FromInt((int)6));
13761 PyDict_SetItemString(d
,"STC_EIFFEL_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13762 PyDict_SetItemString(d
,"STC_EIFFEL_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13763 PyDict_SetItemString(d
,"STC_NNCRONTAB_DEFAULT", SWIG_PyObj_FromInt((int)0));
13764 PyDict_SetItemString(d
,"STC_NNCRONTAB_COMMENT", SWIG_PyObj_FromInt((int)1));
13765 PyDict_SetItemString(d
,"STC_NNCRONTAB_TASK", SWIG_PyObj_FromInt((int)2));
13766 PyDict_SetItemString(d
,"STC_NNCRONTAB_SECTION", SWIG_PyObj_FromInt((int)3));
13767 PyDict_SetItemString(d
,"STC_NNCRONTAB_KEYWORD", SWIG_PyObj_FromInt((int)4));
13768 PyDict_SetItemString(d
,"STC_NNCRONTAB_MODIFIER", SWIG_PyObj_FromInt((int)5));
13769 PyDict_SetItemString(d
,"STC_NNCRONTAB_ASTERISK", SWIG_PyObj_FromInt((int)6));
13770 PyDict_SetItemString(d
,"STC_NNCRONTAB_NUMBER", SWIG_PyObj_FromInt((int)7));
13771 PyDict_SetItemString(d
,"STC_NNCRONTAB_STRING", SWIG_PyObj_FromInt((int)8));
13772 PyDict_SetItemString(d
,"STC_NNCRONTAB_ENVIRONMENT", SWIG_PyObj_FromInt((int)9));
13773 PyDict_SetItemString(d
,"STC_NNCRONTAB_IDENTIFIER", SWIG_PyObj_FromInt((int)10));
13774 PyDict_SetItemString(d
,"STC_MATLAB_DEFAULT", SWIG_PyObj_FromInt((int)0));
13775 PyDict_SetItemString(d
,"STC_MATLAB_COMMENT", SWIG_PyObj_FromInt((int)1));
13776 PyDict_SetItemString(d
,"STC_MATLAB_COMMAND", SWIG_PyObj_FromInt((int)2));
13777 PyDict_SetItemString(d
,"STC_MATLAB_NUMBER", SWIG_PyObj_FromInt((int)3));
13778 PyDict_SetItemString(d
,"STC_MATLAB_KEYWORD", SWIG_PyObj_FromInt((int)4));
13779 PyDict_SetItemString(d
,"STC_MATLAB_STRING", SWIG_PyObj_FromInt((int)5));
13780 PyDict_SetItemString(d
,"STC_MATLAB_OPERATOR", SWIG_PyObj_FromInt((int)6));
13781 PyDict_SetItemString(d
,"STC_MATLAB_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13782 PyDict_SetItemString(d
,"STC_SCRIPTOL_DEFAULT", SWIG_PyObj_FromInt((int)0));
13783 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENT", SWIG_PyObj_FromInt((int)1));
13784 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13785 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13786 PyDict_SetItemString(d
,"STC_SCRIPTOL_NUMBER", SWIG_PyObj_FromInt((int)4));
13787 PyDict_SetItemString(d
,"STC_SCRIPTOL_WORD", SWIG_PyObj_FromInt((int)5));
13788 PyDict_SetItemString(d
,"STC_SCRIPTOL_STRING", SWIG_PyObj_FromInt((int)6));
13789 PyDict_SetItemString(d
,"STC_SCRIPTOL_CHARACTER", SWIG_PyObj_FromInt((int)7));
13790 PyDict_SetItemString(d
,"STC_SCRIPTOL_UUID", SWIG_PyObj_FromInt((int)8));
13791 PyDict_SetItemString(d
,"STC_SCRIPTOL_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13792 PyDict_SetItemString(d
,"STC_SCRIPTOL_OPERATOR", SWIG_PyObj_FromInt((int)10));
13793 PyDict_SetItemString(d
,"STC_SCRIPTOL_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13794 PyDict_SetItemString(d
,"STC_SCRIPTOL_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13795 PyDict_SetItemString(d
,"STC_SCRIPTOL_VERBATIM", SWIG_PyObj_FromInt((int)13));
13796 PyDict_SetItemString(d
,"STC_SCRIPTOL_REGEX", SWIG_PyObj_FromInt((int)14));
13797 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENTLINEDOC", SWIG_PyObj_FromInt((int)15));
13798 PyDict_SetItemString(d
,"STC_SCRIPTOL_WORD2", SWIG_PyObj_FromInt((int)16));
13799 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENTDOCKEYWORD", SWIG_PyObj_FromInt((int)17));
13800 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENTDOCKEYWORDERROR", SWIG_PyObj_FromInt((int)18));
13801 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENTBASIC", SWIG_PyObj_FromInt((int)19));
13802 PyDict_SetItemString(d
,"STC_ASM_DEFAULT", SWIG_PyObj_FromInt((int)0));
13803 PyDict_SetItemString(d
,"STC_ASM_COMMENT", SWIG_PyObj_FromInt((int)1));
13804 PyDict_SetItemString(d
,"STC_ASM_NUMBER", SWIG_PyObj_FromInt((int)2));
13805 PyDict_SetItemString(d
,"STC_ASM_STRING", SWIG_PyObj_FromInt((int)3));
13806 PyDict_SetItemString(d
,"STC_ASM_OPERATOR", SWIG_PyObj_FromInt((int)4));
13807 PyDict_SetItemString(d
,"STC_ASM_IDENTIFIER", SWIG_PyObj_FromInt((int)5));
13808 PyDict_SetItemString(d
,"STC_ASM_CPUINSTRUCTION", SWIG_PyObj_FromInt((int)6));
13809 PyDict_SetItemString(d
,"STC_ASM_MATHINSTRUCTION", SWIG_PyObj_FromInt((int)7));
13810 PyDict_SetItemString(d
,"STC_ASM_REGISTER", SWIG_PyObj_FromInt((int)8));
13811 PyDict_SetItemString(d
,"STC_ASM_DIRECTIVE", SWIG_PyObj_FromInt((int)9));
13812 PyDict_SetItemString(d
,"STC_ASM_DIRECTIVEOPERAND", SWIG_PyObj_FromInt((int)10));
13813 PyDict_SetItemString(d
,"STC_F_DEFAULT", SWIG_PyObj_FromInt((int)0));
13814 PyDict_SetItemString(d
,"STC_F_COMMENT", SWIG_PyObj_FromInt((int)1));
13815 PyDict_SetItemString(d
,"STC_F_NUMBER", SWIG_PyObj_FromInt((int)2));
13816 PyDict_SetItemString(d
,"STC_F_STRING1", SWIG_PyObj_FromInt((int)3));
13817 PyDict_SetItemString(d
,"STC_F_STRING2", SWIG_PyObj_FromInt((int)4));
13818 PyDict_SetItemString(d
,"STC_F_STRINGEOL", SWIG_PyObj_FromInt((int)5));
13819 PyDict_SetItemString(d
,"STC_F_OPERATOR", SWIG_PyObj_FromInt((int)6));
13820 PyDict_SetItemString(d
,"STC_F_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13821 PyDict_SetItemString(d
,"STC_F_WORD", SWIG_PyObj_FromInt((int)8));
13822 PyDict_SetItemString(d
,"STC_F_WORD2", SWIG_PyObj_FromInt((int)9));
13823 PyDict_SetItemString(d
,"STC_F_WORD3", SWIG_PyObj_FromInt((int)10));
13824 PyDict_SetItemString(d
,"STC_F_PREPROCESSOR", SWIG_PyObj_FromInt((int)11));
13825 PyDict_SetItemString(d
,"STC_F_OPERATOR2", SWIG_PyObj_FromInt((int)12));
13826 PyDict_SetItemString(d
,"STC_F_LABEL", SWIG_PyObj_FromInt((int)13));
13827 PyDict_SetItemString(d
,"STC_F_CONTINUATION", SWIG_PyObj_FromInt((int)14));
13828 PyDict_SetItemString(d
,"STC_CSS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13829 PyDict_SetItemString(d
,"STC_CSS_TAG", SWIG_PyObj_FromInt((int)1));
13830 PyDict_SetItemString(d
,"STC_CSS_CLASS", SWIG_PyObj_FromInt((int)2));
13831 PyDict_SetItemString(d
,"STC_CSS_PSEUDOCLASS", SWIG_PyObj_FromInt((int)3));
13832 PyDict_SetItemString(d
,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_PyObj_FromInt((int)4));
13833 PyDict_SetItemString(d
,"STC_CSS_OPERATOR", SWIG_PyObj_FromInt((int)5));
13834 PyDict_SetItemString(d
,"STC_CSS_IDENTIFIER", SWIG_PyObj_FromInt((int)6));
13835 PyDict_SetItemString(d
,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13836 PyDict_SetItemString(d
,"STC_CSS_VALUE", SWIG_PyObj_FromInt((int)8));
13837 PyDict_SetItemString(d
,"STC_CSS_COMMENT", SWIG_PyObj_FromInt((int)9));
13838 PyDict_SetItemString(d
,"STC_CSS_ID", SWIG_PyObj_FromInt((int)10));
13839 PyDict_SetItemString(d
,"STC_CSS_IMPORTANT", SWIG_PyObj_FromInt((int)11));
13840 PyDict_SetItemString(d
,"STC_CSS_DIRECTIVE", SWIG_PyObj_FromInt((int)12));
13841 PyDict_SetItemString(d
,"STC_CSS_DOUBLESTRING", SWIG_PyObj_FromInt((int)13));
13842 PyDict_SetItemString(d
,"STC_CSS_SINGLESTRING", SWIG_PyObj_FromInt((int)14));
13843 PyDict_SetItemString(d
,"STC_POV_DEFAULT", SWIG_PyObj_FromInt((int)0));
13844 PyDict_SetItemString(d
,"STC_POV_COMMENT", SWIG_PyObj_FromInt((int)1));
13845 PyDict_SetItemString(d
,"STC_POV_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13846 PyDict_SetItemString(d
,"STC_POV_NUMBER", SWIG_PyObj_FromInt((int)3));
13847 PyDict_SetItemString(d
,"STC_POV_OPERATOR", SWIG_PyObj_FromInt((int)4));
13848 PyDict_SetItemString(d
,"STC_POV_IDENTIFIER", SWIG_PyObj_FromInt((int)5));
13849 PyDict_SetItemString(d
,"STC_POV_STRING", SWIG_PyObj_FromInt((int)6));
13850 PyDict_SetItemString(d
,"STC_POV_STRINGEOL", SWIG_PyObj_FromInt((int)7));
13851 PyDict_SetItemString(d
,"STC_POV_DIRECTIVE", SWIG_PyObj_FromInt((int)8));
13852 PyDict_SetItemString(d
,"STC_POV_BADDIRECTIVE", SWIG_PyObj_FromInt((int)9));
13853 PyDict_SetItemString(d
,"STC_POV_WORD2", SWIG_PyObj_FromInt((int)10));
13854 PyDict_SetItemString(d
,"STC_POV_WORD3", SWIG_PyObj_FromInt((int)11));
13855 PyDict_SetItemString(d
,"STC_POV_WORD4", SWIG_PyObj_FromInt((int)12));
13856 PyDict_SetItemString(d
,"STC_POV_WORD5", SWIG_PyObj_FromInt((int)13));
13857 PyDict_SetItemString(d
,"STC_POV_WORD6", SWIG_PyObj_FromInt((int)14));
13858 PyDict_SetItemString(d
,"STC_POV_WORD7", SWIG_PyObj_FromInt((int)15));
13859 PyDict_SetItemString(d
,"STC_POV_WORD8", SWIG_PyObj_FromInt((int)16));
13860 PyDict_SetItemString(d
,"STC_LOUT_DEFAULT", SWIG_PyObj_FromInt((int)0));
13861 PyDict_SetItemString(d
,"STC_LOUT_COMMENT", SWIG_PyObj_FromInt((int)1));
13862 PyDict_SetItemString(d
,"STC_LOUT_NUMBER", SWIG_PyObj_FromInt((int)2));
13863 PyDict_SetItemString(d
,"STC_LOUT_WORD", SWIG_PyObj_FromInt((int)3));
13864 PyDict_SetItemString(d
,"STC_LOUT_WORD2", SWIG_PyObj_FromInt((int)4));
13865 PyDict_SetItemString(d
,"STC_LOUT_WORD3", SWIG_PyObj_FromInt((int)5));
13866 PyDict_SetItemString(d
,"STC_LOUT_WORD4", SWIG_PyObj_FromInt((int)6));
13867 PyDict_SetItemString(d
,"STC_LOUT_STRING", SWIG_PyObj_FromInt((int)7));
13868 PyDict_SetItemString(d
,"STC_LOUT_OPERATOR", SWIG_PyObj_FromInt((int)8));
13869 PyDict_SetItemString(d
,"STC_LOUT_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
13870 PyDict_SetItemString(d
,"STC_LOUT_STRINGEOL", SWIG_PyObj_FromInt((int)10));
13871 PyDict_SetItemString(d
,"STC_ESCRIPT_DEFAULT", SWIG_PyObj_FromInt((int)0));
13872 PyDict_SetItemString(d
,"STC_ESCRIPT_COMMENT", SWIG_PyObj_FromInt((int)1));
13873 PyDict_SetItemString(d
,"STC_ESCRIPT_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13874 PyDict_SetItemString(d
,"STC_ESCRIPT_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13875 PyDict_SetItemString(d
,"STC_ESCRIPT_NUMBER", SWIG_PyObj_FromInt((int)4));
13876 PyDict_SetItemString(d
,"STC_ESCRIPT_WORD", SWIG_PyObj_FromInt((int)5));
13877 PyDict_SetItemString(d
,"STC_ESCRIPT_STRING", SWIG_PyObj_FromInt((int)6));
13878 PyDict_SetItemString(d
,"STC_ESCRIPT_OPERATOR", SWIG_PyObj_FromInt((int)7));
13879 PyDict_SetItemString(d
,"STC_ESCRIPT_IDENTIFIER", SWIG_PyObj_FromInt((int)8));
13880 PyDict_SetItemString(d
,"STC_ESCRIPT_BRACE", SWIG_PyObj_FromInt((int)9));
13881 PyDict_SetItemString(d
,"STC_ESCRIPT_WORD2", SWIG_PyObj_FromInt((int)10));
13882 PyDict_SetItemString(d
,"STC_ESCRIPT_WORD3", SWIG_PyObj_FromInt((int)11));
13883 PyDict_SetItemString(d
,"STC_PS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13884 PyDict_SetItemString(d
,"STC_PS_COMMENT", SWIG_PyObj_FromInt((int)1));
13885 PyDict_SetItemString(d
,"STC_PS_DSC_COMMENT", SWIG_PyObj_FromInt((int)2));
13886 PyDict_SetItemString(d
,"STC_PS_DSC_VALUE", SWIG_PyObj_FromInt((int)3));
13887 PyDict_SetItemString(d
,"STC_PS_NUMBER", SWIG_PyObj_FromInt((int)4));
13888 PyDict_SetItemString(d
,"STC_PS_NAME", SWIG_PyObj_FromInt((int)5));
13889 PyDict_SetItemString(d
,"STC_PS_KEYWORD", SWIG_PyObj_FromInt((int)6));
13890 PyDict_SetItemString(d
,"STC_PS_LITERAL", SWIG_PyObj_FromInt((int)7));
13891 PyDict_SetItemString(d
,"STC_PS_IMMEVAL", SWIG_PyObj_FromInt((int)8));
13892 PyDict_SetItemString(d
,"STC_PS_PAREN_ARRAY", SWIG_PyObj_FromInt((int)9));
13893 PyDict_SetItemString(d
,"STC_PS_PAREN_DICT", SWIG_PyObj_FromInt((int)10));
13894 PyDict_SetItemString(d
,"STC_PS_PAREN_PROC", SWIG_PyObj_FromInt((int)11));
13895 PyDict_SetItemString(d
,"STC_PS_TEXT", SWIG_PyObj_FromInt((int)12));
13896 PyDict_SetItemString(d
,"STC_PS_HEXSTRING", SWIG_PyObj_FromInt((int)13));
13897 PyDict_SetItemString(d
,"STC_PS_BASE85STRING", SWIG_PyObj_FromInt((int)14));
13898 PyDict_SetItemString(d
,"STC_PS_BADSTRINGCHAR", SWIG_PyObj_FromInt((int)15));
13899 PyDict_SetItemString(d
,"STC_NSIS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13900 PyDict_SetItemString(d
,"STC_NSIS_COMMENT", SWIG_PyObj_FromInt((int)1));
13901 PyDict_SetItemString(d
,"STC_NSIS_STRINGDQ", SWIG_PyObj_FromInt((int)2));
13902 PyDict_SetItemString(d
,"STC_NSIS_STRINGLQ", SWIG_PyObj_FromInt((int)3));
13903 PyDict_SetItemString(d
,"STC_NSIS_STRINGRQ", SWIG_PyObj_FromInt((int)4));
13904 PyDict_SetItemString(d
,"STC_NSIS_FUNCTION", SWIG_PyObj_FromInt((int)5));
13905 PyDict_SetItemString(d
,"STC_NSIS_VARIABLE", SWIG_PyObj_FromInt((int)6));
13906 PyDict_SetItemString(d
,"STC_NSIS_LABEL", SWIG_PyObj_FromInt((int)7));
13907 PyDict_SetItemString(d
,"STC_NSIS_USERDEFINED", SWIG_PyObj_FromInt((int)8));
13908 PyDict_SetItemString(d
,"STC_NSIS_SECTIONDEF", SWIG_PyObj_FromInt((int)9));
13909 PyDict_SetItemString(d
,"STC_NSIS_SUBSECTIONDEF", SWIG_PyObj_FromInt((int)10));
13910 PyDict_SetItemString(d
,"STC_NSIS_IFDEFINEDEF", SWIG_PyObj_FromInt((int)11));
13911 PyDict_SetItemString(d
,"STC_NSIS_MACRODEF", SWIG_PyObj_FromInt((int)12));
13912 PyDict_SetItemString(d
,"STC_NSIS_STRINGVAR", SWIG_PyObj_FromInt((int)13));
13913 PyDict_SetItemString(d
,"STC_MMIXAL_LEADWS", SWIG_PyObj_FromInt((int)0));
13914 PyDict_SetItemString(d
,"STC_MMIXAL_COMMENT", SWIG_PyObj_FromInt((int)1));
13915 PyDict_SetItemString(d
,"STC_MMIXAL_LABEL", SWIG_PyObj_FromInt((int)2));
13916 PyDict_SetItemString(d
,"STC_MMIXAL_OPCODE", SWIG_PyObj_FromInt((int)3));
13917 PyDict_SetItemString(d
,"STC_MMIXAL_OPCODE_PRE", SWIG_PyObj_FromInt((int)4));
13918 PyDict_SetItemString(d
,"STC_MMIXAL_OPCODE_VALID", SWIG_PyObj_FromInt((int)5));
13919 PyDict_SetItemString(d
,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_PyObj_FromInt((int)6));
13920 PyDict_SetItemString(d
,"STC_MMIXAL_OPCODE_POST", SWIG_PyObj_FromInt((int)7));
13921 PyDict_SetItemString(d
,"STC_MMIXAL_OPERANDS", SWIG_PyObj_FromInt((int)8));
13922 PyDict_SetItemString(d
,"STC_MMIXAL_NUMBER", SWIG_PyObj_FromInt((int)9));
13923 PyDict_SetItemString(d
,"STC_MMIXAL_REF", SWIG_PyObj_FromInt((int)10));
13924 PyDict_SetItemString(d
,"STC_MMIXAL_CHAR", SWIG_PyObj_FromInt((int)11));
13925 PyDict_SetItemString(d
,"STC_MMIXAL_STRING", SWIG_PyObj_FromInt((int)12));
13926 PyDict_SetItemString(d
,"STC_MMIXAL_REGISTER", SWIG_PyObj_FromInt((int)13));
13927 PyDict_SetItemString(d
,"STC_MMIXAL_HEX", SWIG_PyObj_FromInt((int)14));
13928 PyDict_SetItemString(d
,"STC_MMIXAL_OPERATOR", SWIG_PyObj_FromInt((int)15));
13929 PyDict_SetItemString(d
,"STC_MMIXAL_SYMBOL", SWIG_PyObj_FromInt((int)16));
13930 PyDict_SetItemString(d
,"STC_MMIXAL_INCLUDE", SWIG_PyObj_FromInt((int)17));
13931 PyDict_SetItemString(d
,"STC_CMD_REDO", SWIG_PyObj_FromInt((int)2011));
13932 PyDict_SetItemString(d
,"STC_CMD_SELECTALL", SWIG_PyObj_FromInt((int)2013));
13933 PyDict_SetItemString(d
,"STC_CMD_UNDO", SWIG_PyObj_FromInt((int)2176));
13934 PyDict_SetItemString(d
,"STC_CMD_CUT", SWIG_PyObj_FromInt((int)2177));
13935 PyDict_SetItemString(d
,"STC_CMD_COPY", SWIG_PyObj_FromInt((int)2178));
13936 PyDict_SetItemString(d
,"STC_CMD_PASTE", SWIG_PyObj_FromInt((int)2179));
13937 PyDict_SetItemString(d
,"STC_CMD_CLEAR", SWIG_PyObj_FromInt((int)2180));
13938 PyDict_SetItemString(d
,"STC_CMD_LINEDOWN", SWIG_PyObj_FromInt((int)2300));
13939 PyDict_SetItemString(d
,"STC_CMD_LINEDOWNEXTEND", SWIG_PyObj_FromInt((int)2301));
13940 PyDict_SetItemString(d
,"STC_CMD_LINEUP", SWIG_PyObj_FromInt((int)2302));
13941 PyDict_SetItemString(d
,"STC_CMD_LINEUPEXTEND", SWIG_PyObj_FromInt((int)2303));
13942 PyDict_SetItemString(d
,"STC_CMD_CHARLEFT", SWIG_PyObj_FromInt((int)2304));
13943 PyDict_SetItemString(d
,"STC_CMD_CHARLEFTEXTEND", SWIG_PyObj_FromInt((int)2305));
13944 PyDict_SetItemString(d
,"STC_CMD_CHARRIGHT", SWIG_PyObj_FromInt((int)2306));
13945 PyDict_SetItemString(d
,"STC_CMD_CHARRIGHTEXTEND", SWIG_PyObj_FromInt((int)2307));
13946 PyDict_SetItemString(d
,"STC_CMD_WORDLEFT", SWIG_PyObj_FromInt((int)2308));
13947 PyDict_SetItemString(d
,"STC_CMD_WORDLEFTEXTEND", SWIG_PyObj_FromInt((int)2309));
13948 PyDict_SetItemString(d
,"STC_CMD_WORDRIGHT", SWIG_PyObj_FromInt((int)2310));
13949 PyDict_SetItemString(d
,"STC_CMD_WORDRIGHTEXTEND", SWIG_PyObj_FromInt((int)2311));
13950 PyDict_SetItemString(d
,"STC_CMD_HOME", SWIG_PyObj_FromInt((int)2312));
13951 PyDict_SetItemString(d
,"STC_CMD_HOMEEXTEND", SWIG_PyObj_FromInt((int)2313));
13952 PyDict_SetItemString(d
,"STC_CMD_LINEEND", SWIG_PyObj_FromInt((int)2314));
13953 PyDict_SetItemString(d
,"STC_CMD_LINEENDEXTEND", SWIG_PyObj_FromInt((int)2315));
13954 PyDict_SetItemString(d
,"STC_CMD_DOCUMENTSTART", SWIG_PyObj_FromInt((int)2316));
13955 PyDict_SetItemString(d
,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_PyObj_FromInt((int)2317));
13956 PyDict_SetItemString(d
,"STC_CMD_DOCUMENTEND", SWIG_PyObj_FromInt((int)2318));
13957 PyDict_SetItemString(d
,"STC_CMD_DOCUMENTENDEXTEND", SWIG_PyObj_FromInt((int)2319));
13958 PyDict_SetItemString(d
,"STC_CMD_PAGEUP", SWIG_PyObj_FromInt((int)2320));
13959 PyDict_SetItemString(d
,"STC_CMD_PAGEUPEXTEND", SWIG_PyObj_FromInt((int)2321));
13960 PyDict_SetItemString(d
,"STC_CMD_PAGEDOWN", SWIG_PyObj_FromInt((int)2322));
13961 PyDict_SetItemString(d
,"STC_CMD_PAGEDOWNEXTEND", SWIG_PyObj_FromInt((int)2323));
13962 PyDict_SetItemString(d
,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_PyObj_FromInt((int)2324));
13963 PyDict_SetItemString(d
,"STC_CMD_CANCEL", SWIG_PyObj_FromInt((int)2325));
13964 PyDict_SetItemString(d
,"STC_CMD_DELETEBACK", SWIG_PyObj_FromInt((int)2326));
13965 PyDict_SetItemString(d
,"STC_CMD_TAB", SWIG_PyObj_FromInt((int)2327));
13966 PyDict_SetItemString(d
,"STC_CMD_BACKTAB", SWIG_PyObj_FromInt((int)2328));
13967 PyDict_SetItemString(d
,"STC_CMD_NEWLINE", SWIG_PyObj_FromInt((int)2329));
13968 PyDict_SetItemString(d
,"STC_CMD_FORMFEED", SWIG_PyObj_FromInt((int)2330));
13969 PyDict_SetItemString(d
,"STC_CMD_VCHOME", SWIG_PyObj_FromInt((int)2331));
13970 PyDict_SetItemString(d
,"STC_CMD_VCHOMEEXTEND", SWIG_PyObj_FromInt((int)2332));
13971 PyDict_SetItemString(d
,"STC_CMD_ZOOMIN", SWIG_PyObj_FromInt((int)2333));
13972 PyDict_SetItemString(d
,"STC_CMD_ZOOMOUT", SWIG_PyObj_FromInt((int)2334));
13973 PyDict_SetItemString(d
,"STC_CMD_DELWORDLEFT", SWIG_PyObj_FromInt((int)2335));
13974 PyDict_SetItemString(d
,"STC_CMD_DELWORDRIGHT", SWIG_PyObj_FromInt((int)2336));
13975 PyDict_SetItemString(d
,"STC_CMD_LINECUT", SWIG_PyObj_FromInt((int)2337));
13976 PyDict_SetItemString(d
,"STC_CMD_LINEDELETE", SWIG_PyObj_FromInt((int)2338));
13977 PyDict_SetItemString(d
,"STC_CMD_LINETRANSPOSE", SWIG_PyObj_FromInt((int)2339));
13978 PyDict_SetItemString(d
,"STC_CMD_LINEDUPLICATE", SWIG_PyObj_FromInt((int)2404));
13979 PyDict_SetItemString(d
,"STC_CMD_LOWERCASE", SWIG_PyObj_FromInt((int)2340));
13980 PyDict_SetItemString(d
,"STC_CMD_UPPERCASE", SWIG_PyObj_FromInt((int)2341));
13981 PyDict_SetItemString(d
,"STC_CMD_LINESCROLLDOWN", SWIG_PyObj_FromInt((int)2342));
13982 PyDict_SetItemString(d
,"STC_CMD_LINESCROLLUP", SWIG_PyObj_FromInt((int)2343));
13983 PyDict_SetItemString(d
,"STC_CMD_DELETEBACKNOTLINE", SWIG_PyObj_FromInt((int)2344));
13984 PyDict_SetItemString(d
,"STC_CMD_HOMEDISPLAY", SWIG_PyObj_FromInt((int)2345));
13985 PyDict_SetItemString(d
,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_PyObj_FromInt((int)2346));
13986 PyDict_SetItemString(d
,"STC_CMD_LINEENDDISPLAY", SWIG_PyObj_FromInt((int)2347));
13987 PyDict_SetItemString(d
,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_PyObj_FromInt((int)2348));
13988 PyDict_SetItemString(d
,"STC_CMD_HOMEWRAP", SWIG_PyObj_FromInt((int)2349));
13989 PyDict_SetItemString(d
,"STC_CMD_HOMEWRAPEXTEND", SWIG_PyObj_FromInt((int)2450));
13990 PyDict_SetItemString(d
,"STC_CMD_LINEENDWRAP", SWIG_PyObj_FromInt((int)2451));
13991 PyDict_SetItemString(d
,"STC_CMD_LINEENDWRAPEXTEND", SWIG_PyObj_FromInt((int)2452));
13992 PyDict_SetItemString(d
,"STC_CMD_VCHOMEWRAP", SWIG_PyObj_FromInt((int)2453));
13993 PyDict_SetItemString(d
,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_PyObj_FromInt((int)2454));
13994 PyDict_SetItemString(d
,"STC_CMD_WORDPARTLEFT", SWIG_PyObj_FromInt((int)2390));
13995 PyDict_SetItemString(d
,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_PyObj_FromInt((int)2391));
13996 PyDict_SetItemString(d
,"STC_CMD_WORDPARTRIGHT", SWIG_PyObj_FromInt((int)2392));
13997 PyDict_SetItemString(d
,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_PyObj_FromInt((int)2393));
13998 PyDict_SetItemString(d
,"STC_CMD_DELLINELEFT", SWIG_PyObj_FromInt((int)2395));
13999 PyDict_SetItemString(d
,"STC_CMD_DELLINERIGHT", SWIG_PyObj_FromInt((int)2396));
14000 PyDict_SetItemString(d
,"STC_CMD_PARADOWN", SWIG_PyObj_FromInt((int)2413));
14001 PyDict_SetItemString(d
,"STC_CMD_PARADOWNEXTEND", SWIG_PyObj_FromInt((int)2414));
14002 PyDict_SetItemString(d
,"STC_CMD_PARAUP", SWIG_PyObj_FromInt((int)2415));
14003 PyDict_SetItemString(d
,"STC_CMD_PARAUPEXTEND", SWIG_PyObj_FromInt((int)2416));
14004 PyDict_SetItemString(d
,"wxEVT_STC_CHANGE", SWIG_PyObj_FromInt((int)wxEVT_STC_CHANGE
));
14005 PyDict_SetItemString(d
,"wxEVT_STC_STYLENEEDED", SWIG_PyObj_FromInt((int)wxEVT_STC_STYLENEEDED
));
14006 PyDict_SetItemString(d
,"wxEVT_STC_CHARADDED", SWIG_PyObj_FromInt((int)wxEVT_STC_CHARADDED
));
14007 PyDict_SetItemString(d
,"wxEVT_STC_SAVEPOINTREACHED", SWIG_PyObj_FromInt((int)wxEVT_STC_SAVEPOINTREACHED
));
14008 PyDict_SetItemString(d
,"wxEVT_STC_SAVEPOINTLEFT", SWIG_PyObj_FromInt((int)wxEVT_STC_SAVEPOINTLEFT
));
14009 PyDict_SetItemString(d
,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_PyObj_FromInt((int)wxEVT_STC_ROMODIFYATTEMPT
));
14010 PyDict_SetItemString(d
,"wxEVT_STC_KEY", SWIG_PyObj_FromInt((int)wxEVT_STC_KEY
));
14011 PyDict_SetItemString(d
,"wxEVT_STC_DOUBLECLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_DOUBLECLICK
));
14012 PyDict_SetItemString(d
,"wxEVT_STC_UPDATEUI", SWIG_PyObj_FromInt((int)wxEVT_STC_UPDATEUI
));
14013 PyDict_SetItemString(d
,"wxEVT_STC_MODIFIED", SWIG_PyObj_FromInt((int)wxEVT_STC_MODIFIED
));
14014 PyDict_SetItemString(d
,"wxEVT_STC_MACRORECORD", SWIG_PyObj_FromInt((int)wxEVT_STC_MACRORECORD
));
14015 PyDict_SetItemString(d
,"wxEVT_STC_MARGINCLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_MARGINCLICK
));
14016 PyDict_SetItemString(d
,"wxEVT_STC_NEEDSHOWN", SWIG_PyObj_FromInt((int)wxEVT_STC_NEEDSHOWN
));
14017 PyDict_SetItemString(d
,"wxEVT_STC_POSCHANGED", SWIG_PyObj_FromInt((int)wxEVT_STC_POSCHANGED
));
14018 PyDict_SetItemString(d
,"wxEVT_STC_PAINTED", SWIG_PyObj_FromInt((int)wxEVT_STC_PAINTED
));
14019 PyDict_SetItemString(d
,"wxEVT_STC_USERLISTSELECTION", SWIG_PyObj_FromInt((int)wxEVT_STC_USERLISTSELECTION
));
14020 PyDict_SetItemString(d
,"wxEVT_STC_URIDROPPED", SWIG_PyObj_FromInt((int)wxEVT_STC_URIDROPPED
));
14021 PyDict_SetItemString(d
,"wxEVT_STC_DWELLSTART", SWIG_PyObj_FromInt((int)wxEVT_STC_DWELLSTART
));
14022 PyDict_SetItemString(d
,"wxEVT_STC_DWELLEND", SWIG_PyObj_FromInt((int)wxEVT_STC_DWELLEND
));
14023 PyDict_SetItemString(d
,"wxEVT_STC_START_DRAG", SWIG_PyObj_FromInt((int)wxEVT_STC_START_DRAG
));
14024 PyDict_SetItemString(d
,"wxEVT_STC_DRAG_OVER", SWIG_PyObj_FromInt((int)wxEVT_STC_DRAG_OVER
));
14025 PyDict_SetItemString(d
,"wxEVT_STC_DO_DROP", SWIG_PyObj_FromInt((int)wxEVT_STC_DO_DROP
));
14026 PyDict_SetItemString(d
,"wxEVT_STC_ZOOM", SWIG_PyObj_FromInt((int)wxEVT_STC_ZOOM
));
14027 PyDict_SetItemString(d
,"wxEVT_STC_HOTSPOT_CLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_HOTSPOT_CLICK
));
14028 PyDict_SetItemString(d
,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_HOTSPOT_DCLICK
));
14029 PyDict_SetItemString(d
,"wxEVT_STC_CALLTIP_CLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_CALLTIP_CLICK
));