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_char swig_types[10]
244 #define SWIGTYPE_p_wxDC swig_types[11]
245 #define SWIGTYPE_p_wxDragResult swig_types[12]
246 #define SWIGTYPE_p_wxString swig_types[13]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[14]
248 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[15]
249 #define SWIGTYPE_p_wxFont swig_types[16]
250 #define SWIGTYPE_p_wxControl swig_types[17]
251 #define SWIGTYPE_p_wxEvent swig_types[18]
252 #define SWIGTYPE_p_int swig_types[19]
253 #define SWIGTYPE_p_wxMemoryBuffer swig_types[20]
254 static swig_type_info
*swig_types
[22];
256 /* -------- TYPES TABLE (END) -------- */
259 /*-----------------------------------------------
261 ------------------------------------------------*/
262 #define SWIG_init init_stc
264 #define SWIG_name "_stc"
272 #define SWIGSTATIC(a) static inline a
274 #define SWIGSTATIC(a) static a
280 #ifdef HAVE_NUMERIC_CAST
281 #define numeric_cast(type,a) numeric_cast<type>(a)
283 #define numeric_cast(type,a) static_cast<type>(a)
286 #define numeric_cast(type,a) (type)(a)
292 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
293 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
294 #define SWIG_PyObj_FromShort PyInt_FromLong
295 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
296 #define SWIG_PyObj_FromInt PyInt_FromLong
297 #define SWIG_PyObj_FromLong PyInt_FromLong
298 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
299 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
300 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
301 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
304 #include "wx/wxPython/wxPython.h"
305 #include "wx/wxPython/pyclasses.h"
306 #include <wx/stc/stc.h>
309 static const wxString
wxPySTCNameStr(wxSTCNameStr
);
312 SWIG_PyObj_AsInt(PyObject
*obj
)
314 return numeric_cast(int,
315 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
320 SWIG_PyObj_AsLong(PyObject
* obj
)
322 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
327 SWIG_PyObj_AsBool(PyObject
*obj
)
329 return PyObject_IsTrue(obj
) ? true : false;
333 SWIGSTATIC(PyObject
*)
334 SWIG_PyObj_FromBool(bool value
)
336 PyObject
*obj
= value
? Py_True
: Py_False
;
342 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
348 } else if (target
== Py_None
) {
352 if (!PyTuple_Check(target
)) {
354 target
= PyTuple_New(1);
355 PyTuple_SetItem(target
, 0, o2
);
358 PyTuple_SetItem(o3
, 0, o
);
361 target
= PySequence_Concat(o2
, o3
);
371 static int _wrap_STCNameStr_set(PyObject
*) {
372 PyErr_SetString(PyExc_TypeError
,"Variable STCNameStr is read-only.");
377 static PyObject
*_wrap_STCNameStr_get() {
382 pyobj
= PyUnicode_FromWideChar((&wxPySTCNameStr
)->c_str(), (&wxPySTCNameStr
)->Len());
384 pyobj
= PyString_FromStringAndSize((&wxPySTCNameStr
)->c_str(), (&wxPySTCNameStr
)->Len());
391 static PyObject
*_wrap_new_StyledTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
393 wxWindow
*arg1
= (wxWindow
*) 0 ;
395 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
396 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
397 wxSize
const &arg4_defvalue
= wxDefaultSize
;
398 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
399 long arg5
= (long) 0 ;
400 wxString
const &arg6_defvalue
= wxPySTCNameStr
;
401 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
402 wxStyledTextCtrl
*result
;
406 PyObject
* obj0
= 0 ;
407 PyObject
* obj1
= 0 ;
408 PyObject
* obj2
= 0 ;
409 PyObject
* obj3
= 0 ;
410 PyObject
* obj4
= 0 ;
411 PyObject
* obj5
= 0 ;
413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StyledTextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
419 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
420 if (PyErr_Occurred()) SWIG_fail
;
425 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
431 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
436 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
437 if (PyErr_Occurred()) SWIG_fail
;
442 arg6
= wxString_in_helper(obj5
);
443 if (arg6
== NULL
) SWIG_fail
;
448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
449 result
= (wxStyledTextCtrl
*)new wxStyledTextCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
451 wxPyEndAllowThreads(__tstate
);
452 if (PyErr_Occurred()) SWIG_fail
;
454 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStyledTextCtrl
, 1);
469 static PyObject
*_wrap_new_PreStyledTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
471 wxStyledTextCtrl
*result
;
476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStyledTextCtrl",kwnames
)) goto fail
;
478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
479 result
= (wxStyledTextCtrl
*)new wxStyledTextCtrl();
481 wxPyEndAllowThreads(__tstate
);
482 if (PyErr_Occurred()) SWIG_fail
;
484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStyledTextCtrl
, 1);
491 static PyObject
*_wrap_StyledTextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
493 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
494 wxWindow
*arg2
= (wxWindow
*) 0 ;
496 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
497 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
498 wxSize
const &arg5_defvalue
= wxDefaultSize
;
499 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
500 long arg6
= (long) 0 ;
501 wxString
const &arg7_defvalue
= wxSTCNameStr
;
502 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
506 PyObject
* obj0
= 0 ;
507 PyObject
* obj1
= 0 ;
508 PyObject
* obj2
= 0 ;
509 PyObject
* obj3
= 0 ;
510 PyObject
* obj4
= 0 ;
511 PyObject
* obj5
= 0 ;
512 PyObject
* obj6
= 0 ;
514 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StyledTextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
519 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
521 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
522 if (PyErr_Occurred()) SWIG_fail
;
527 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
533 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
538 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
539 if (PyErr_Occurred()) SWIG_fail
;
544 arg7
= wxString_in_helper(obj6
);
545 if (arg7
== NULL
) SWIG_fail
;
550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
551 (arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
553 wxPyEndAllowThreads(__tstate
);
554 if (PyErr_Occurred()) SWIG_fail
;
556 Py_INCREF(Py_None
); resultobj
= Py_None
;
571 static PyObject
*_wrap_StyledTextCtrl_AddText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
573 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
576 PyObject
* obj0
= 0 ;
577 PyObject
* obj1
= 0 ;
579 (char *) "self",(char *) "text", NULL
582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AddText",kwnames
,&obj0
,&obj1
)) goto fail
;
583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
585 arg2
= wxString_in_helper(obj1
);
586 if (arg2
== NULL
) SWIG_fail
;
590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
591 (arg1
)->AddText((wxString
const &)*arg2
);
593 wxPyEndAllowThreads(__tstate
);
594 if (PyErr_Occurred()) SWIG_fail
;
596 Py_INCREF(Py_None
); resultobj
= Py_None
;
611 static PyObject
*_wrap_StyledTextCtrl_AddStyledText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
613 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
614 wxMemoryBuffer
*arg2
= 0 ;
615 PyObject
* obj0
= 0 ;
616 PyObject
* obj1
= 0 ;
618 (char *) "self",(char *) "data", NULL
621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames
,&obj0
,&obj1
)) goto fail
;
622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMemoryBuffer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
629 (arg1
)->AddStyledText((wxMemoryBuffer
const &)*arg2
);
631 wxPyEndAllowThreads(__tstate
);
632 if (PyErr_Occurred()) SWIG_fail
;
634 Py_INCREF(Py_None
); resultobj
= Py_None
;
641 static PyObject
*_wrap_StyledTextCtrl_InsertText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
643 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
647 PyObject
* obj0
= 0 ;
648 PyObject
* obj1
= 0 ;
649 PyObject
* obj2
= 0 ;
651 (char *) "self",(char *) "pos",(char *) "text", NULL
654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_InsertText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
657 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
658 if (PyErr_Occurred()) SWIG_fail
;
661 arg3
= wxString_in_helper(obj2
);
662 if (arg3
== NULL
) SWIG_fail
;
666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
667 (arg1
)->InsertText(arg2
,(wxString
const &)*arg3
);
669 wxPyEndAllowThreads(__tstate
);
670 if (PyErr_Occurred()) SWIG_fail
;
672 Py_INCREF(Py_None
); resultobj
= Py_None
;
687 static PyObject
*_wrap_StyledTextCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
690 PyObject
* obj0
= 0 ;
692 (char *) "self", NULL
695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
701 wxPyEndAllowThreads(__tstate
);
702 if (PyErr_Occurred()) SWIG_fail
;
704 Py_INCREF(Py_None
); resultobj
= Py_None
;
711 static PyObject
*_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
713 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
714 PyObject
* obj0
= 0 ;
716 (char *) "self", NULL
719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames
,&obj0
)) goto fail
;
720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
723 (arg1
)->ClearDocumentStyle();
725 wxPyEndAllowThreads(__tstate
);
726 if (PyErr_Occurred()) SWIG_fail
;
728 Py_INCREF(Py_None
); resultobj
= Py_None
;
735 static PyObject
*_wrap_StyledTextCtrl_GetLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
737 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
739 PyObject
* obj0
= 0 ;
741 (char *) "self", NULL
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetLength",kwnames
,&obj0
)) goto fail
;
745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
748 result
= (int)(arg1
)->GetLength();
750 wxPyEndAllowThreads(__tstate
);
751 if (PyErr_Occurred()) SWIG_fail
;
753 resultobj
= SWIG_PyObj_FromInt((int)result
);
760 static PyObject
*_wrap_StyledTextCtrl_GetCharAt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
762 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
765 PyObject
* obj0
= 0 ;
766 PyObject
* obj1
= 0 ;
768 (char *) "self",(char *) "pos", NULL
771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames
,&obj0
,&obj1
)) goto fail
;
772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
774 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
775 if (PyErr_Occurred()) SWIG_fail
;
778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
779 result
= (int)(arg1
)->GetCharAt(arg2
);
781 wxPyEndAllowThreads(__tstate
);
782 if (PyErr_Occurred()) SWIG_fail
;
784 resultobj
= SWIG_PyObj_FromInt((int)result
);
791 static PyObject
*_wrap_StyledTextCtrl_GetCurrentPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
793 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
795 PyObject
* obj0
= 0 ;
797 (char *) "self", NULL
800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames
,&obj0
)) goto fail
;
801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
804 result
= (int)(arg1
)->GetCurrentPos();
806 wxPyEndAllowThreads(__tstate
);
807 if (PyErr_Occurred()) SWIG_fail
;
809 resultobj
= SWIG_PyObj_FromInt((int)result
);
816 static PyObject
*_wrap_StyledTextCtrl_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
818 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
820 PyObject
* obj0
= 0 ;
822 (char *) "self", NULL
825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetAnchor",kwnames
,&obj0
)) goto fail
;
826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
829 result
= (int)(arg1
)->GetAnchor();
831 wxPyEndAllowThreads(__tstate
);
832 if (PyErr_Occurred()) SWIG_fail
;
834 resultobj
= SWIG_PyObj_FromInt((int)result
);
841 static PyObject
*_wrap_StyledTextCtrl_GetStyleAt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
843 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
846 PyObject
* obj0
= 0 ;
847 PyObject
* obj1
= 0 ;
849 (char *) "self",(char *) "pos", NULL
852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames
,&obj0
,&obj1
)) goto fail
;
853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
855 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
856 if (PyErr_Occurred()) SWIG_fail
;
859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
860 result
= (int)(arg1
)->GetStyleAt(arg2
);
862 wxPyEndAllowThreads(__tstate
);
863 if (PyErr_Occurred()) SWIG_fail
;
865 resultobj
= SWIG_PyObj_FromInt((int)result
);
872 static PyObject
*_wrap_StyledTextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
874 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
875 PyObject
* obj0
= 0 ;
877 (char *) "self", NULL
880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
886 wxPyEndAllowThreads(__tstate
);
887 if (PyErr_Occurred()) SWIG_fail
;
889 Py_INCREF(Py_None
); resultobj
= Py_None
;
896 static PyObject
*_wrap_StyledTextCtrl_SetUndoCollection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
898 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
900 PyObject
* obj0
= 0 ;
901 PyObject
* obj1
= 0 ;
903 (char *) "self",(char *) "collectUndo", NULL
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames
,&obj0
,&obj1
)) goto fail
;
907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
909 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
910 if (PyErr_Occurred()) SWIG_fail
;
913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
914 (arg1
)->SetUndoCollection(arg2
);
916 wxPyEndAllowThreads(__tstate
);
917 if (PyErr_Occurred()) SWIG_fail
;
919 Py_INCREF(Py_None
); resultobj
= Py_None
;
926 static PyObject
*_wrap_StyledTextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
928 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
929 PyObject
* obj0
= 0 ;
931 (char *) "self", NULL
934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
940 wxPyEndAllowThreads(__tstate
);
941 if (PyErr_Occurred()) SWIG_fail
;
943 Py_INCREF(Py_None
); resultobj
= Py_None
;
950 static PyObject
*_wrap_StyledTextCtrl_SetSavePoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
953 PyObject
* obj0
= 0 ;
955 (char *) "self", NULL
958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames
,&obj0
)) goto fail
;
959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
962 (arg1
)->SetSavePoint();
964 wxPyEndAllowThreads(__tstate
);
965 if (PyErr_Occurred()) SWIG_fail
;
967 Py_INCREF(Py_None
); resultobj
= Py_None
;
974 static PyObject
*_wrap_StyledTextCtrl_GetStyledText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
976 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
979 wxMemoryBuffer result
;
980 PyObject
* obj0
= 0 ;
981 PyObject
* obj1
= 0 ;
982 PyObject
* obj2
= 0 ;
984 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
990 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
991 if (PyErr_Occurred()) SWIG_fail
;
994 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
995 if (PyErr_Occurred()) SWIG_fail
;
998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
999 result
= (arg1
)->GetStyledText(arg2
,arg3
);
1001 wxPyEndAllowThreads(__tstate
);
1002 if (PyErr_Occurred()) SWIG_fail
;
1005 wxMemoryBuffer
* resultptr
;
1006 resultptr
= new wxMemoryBuffer((wxMemoryBuffer
&) result
);
1007 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxMemoryBuffer
, 1);
1015 static PyObject
*_wrap_StyledTextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1016 PyObject
*resultobj
;
1017 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1019 PyObject
* obj0
= 0 ;
1021 (char *) "self", NULL
1024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
1025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1028 result
= (bool)(arg1
)->CanRedo();
1030 wxPyEndAllowThreads(__tstate
);
1031 if (PyErr_Occurred()) SWIG_fail
;
1033 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1040 static PyObject
*_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1045 PyObject
* obj0
= 0 ;
1046 PyObject
* obj1
= 0 ;
1048 (char *) "self",(char *) "handle", NULL
1051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
1052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1054 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1055 if (PyErr_Occurred()) SWIG_fail
;
1058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1059 result
= (int)(arg1
)->MarkerLineFromHandle(arg2
);
1061 wxPyEndAllowThreads(__tstate
);
1062 if (PyErr_Occurred()) SWIG_fail
;
1064 resultobj
= SWIG_PyObj_FromInt((int)result
);
1071 static PyObject
*_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1072 PyObject
*resultobj
;
1073 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1075 PyObject
* obj0
= 0 ;
1076 PyObject
* obj1
= 0 ;
1078 (char *) "self",(char *) "handle", NULL
1081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames
,&obj0
,&obj1
)) goto fail
;
1082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1084 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1085 if (PyErr_Occurred()) SWIG_fail
;
1088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1089 (arg1
)->MarkerDeleteHandle(arg2
);
1091 wxPyEndAllowThreads(__tstate
);
1092 if (PyErr_Occurred()) SWIG_fail
;
1094 Py_INCREF(Py_None
); resultobj
= Py_None
;
1101 static PyObject
*_wrap_StyledTextCtrl_GetUndoCollection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1102 PyObject
*resultobj
;
1103 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1105 PyObject
* obj0
= 0 ;
1107 (char *) "self", NULL
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames
,&obj0
)) goto fail
;
1111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1114 result
= (bool)(arg1
)->GetUndoCollection();
1116 wxPyEndAllowThreads(__tstate
);
1117 if (PyErr_Occurred()) SWIG_fail
;
1119 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1126 static PyObject
*_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1127 PyObject
*resultobj
;
1128 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1130 PyObject
* obj0
= 0 ;
1132 (char *) "self", NULL
1135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames
,&obj0
)) goto fail
;
1136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1139 result
= (int)(arg1
)->GetViewWhiteSpace();
1141 wxPyEndAllowThreads(__tstate
);
1142 if (PyErr_Occurred()) SWIG_fail
;
1144 resultobj
= SWIG_PyObj_FromInt((int)result
);
1151 static PyObject
*_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
*resultobj
;
1153 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1155 PyObject
* obj0
= 0 ;
1156 PyObject
* obj1
= 0 ;
1158 (char *) "self",(char *) "viewWS", NULL
1161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames
,&obj0
,&obj1
)) goto fail
;
1162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1164 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1165 if (PyErr_Occurred()) SWIG_fail
;
1168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1169 (arg1
)->SetViewWhiteSpace(arg2
);
1171 wxPyEndAllowThreads(__tstate
);
1172 if (PyErr_Occurred()) SWIG_fail
;
1174 Py_INCREF(Py_None
); resultobj
= Py_None
;
1181 static PyObject
*_wrap_StyledTextCtrl_PositionFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
*resultobj
;
1183 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1187 PyObject
* obj0
= 0 ;
1188 PyObject
* obj1
= 0 ;
1190 (char *) "self",(char *) "pt", NULL
1193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
1194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1195 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
1198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1199 result
= (int)(arg1
)->PositionFromPoint(arg2
);
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) SWIG_fail
;
1204 resultobj
= SWIG_PyObj_FromInt((int)result
);
1211 static PyObject
*_wrap_StyledTextCtrl_PositionFromPointClose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
*resultobj
;
1213 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1217 PyObject
* obj0
= 0 ;
1218 PyObject
* obj1
= 0 ;
1219 PyObject
* obj2
= 0 ;
1221 (char *) "self",(char *) "x",(char *) "y", NULL
1224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1227 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1228 if (PyErr_Occurred()) SWIG_fail
;
1231 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1236 result
= (int)(arg1
)->PositionFromPointClose(arg2
,arg3
);
1238 wxPyEndAllowThreads(__tstate
);
1239 if (PyErr_Occurred()) SWIG_fail
;
1241 resultobj
= SWIG_PyObj_FromInt((int)result
);
1248 static PyObject
*_wrap_StyledTextCtrl_GotoLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1249 PyObject
*resultobj
;
1250 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1252 PyObject
* obj0
= 0 ;
1253 PyObject
* obj1
= 0 ;
1255 (char *) "self",(char *) "line", NULL
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GotoLine",kwnames
,&obj0
,&obj1
)) goto fail
;
1259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1261 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1262 if (PyErr_Occurred()) SWIG_fail
;
1265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1266 (arg1
)->GotoLine(arg2
);
1268 wxPyEndAllowThreads(__tstate
);
1269 if (PyErr_Occurred()) SWIG_fail
;
1271 Py_INCREF(Py_None
); resultobj
= Py_None
;
1278 static PyObject
*_wrap_StyledTextCtrl_GotoPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
*resultobj
;
1280 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1282 PyObject
* obj0
= 0 ;
1283 PyObject
* obj1
= 0 ;
1285 (char *) "self",(char *) "pos", NULL
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GotoPos",kwnames
,&obj0
,&obj1
)) goto fail
;
1289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1291 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1292 if (PyErr_Occurred()) SWIG_fail
;
1295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1296 (arg1
)->GotoPos(arg2
);
1298 wxPyEndAllowThreads(__tstate
);
1299 if (PyErr_Occurred()) SWIG_fail
;
1301 Py_INCREF(Py_None
); resultobj
= Py_None
;
1308 static PyObject
*_wrap_StyledTextCtrl_SetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
*resultobj
;
1310 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1312 PyObject
* obj0
= 0 ;
1313 PyObject
* obj1
= 0 ;
1315 (char *) "self",(char *) "posAnchor", NULL
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
1319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1321 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1322 if (PyErr_Occurred()) SWIG_fail
;
1325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1326 (arg1
)->SetAnchor(arg2
);
1328 wxPyEndAllowThreads(__tstate
);
1329 if (PyErr_Occurred()) SWIG_fail
;
1331 Py_INCREF(Py_None
); resultobj
= Py_None
;
1338 static PyObject
*_wrap_StyledTextCtrl_GetCurLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
*resultobj
;
1340 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1341 int *arg2
= (int *) 0 ;
1344 PyObject
* obj0
= 0 ;
1346 (char *) "self", NULL
1350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCurLine",kwnames
,&obj0
)) goto fail
;
1351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1354 result
= (arg1
)->GetCurLine(arg2
);
1356 wxPyEndAllowThreads(__tstate
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1367 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1368 resultobj
= t_output_helper(resultobj
,o
);
1376 static PyObject
*_wrap_StyledTextCtrl_GetEndStyled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1377 PyObject
*resultobj
;
1378 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1380 PyObject
* obj0
= 0 ;
1382 (char *) "self", NULL
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames
,&obj0
)) goto fail
;
1386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1389 result
= (int)(arg1
)->GetEndStyled();
1391 wxPyEndAllowThreads(__tstate
);
1392 if (PyErr_Occurred()) SWIG_fail
;
1394 resultobj
= SWIG_PyObj_FromInt((int)result
);
1401 static PyObject
*_wrap_StyledTextCtrl_ConvertEOLs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
*resultobj
;
1403 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1405 PyObject
* obj0
= 0 ;
1406 PyObject
* obj1
= 0 ;
1408 (char *) "self",(char *) "eolMode", NULL
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames
,&obj0
,&obj1
)) goto fail
;
1412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1414 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1415 if (PyErr_Occurred()) SWIG_fail
;
1418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1419 (arg1
)->ConvertEOLs(arg2
);
1421 wxPyEndAllowThreads(__tstate
);
1422 if (PyErr_Occurred()) SWIG_fail
;
1424 Py_INCREF(Py_None
); resultobj
= Py_None
;
1431 static PyObject
*_wrap_StyledTextCtrl_GetEOLMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
*resultobj
;
1433 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1435 PyObject
* obj0
= 0 ;
1437 (char *) "self", NULL
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames
,&obj0
)) goto fail
;
1441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 result
= (int)(arg1
)->GetEOLMode();
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1449 resultobj
= SWIG_PyObj_FromInt((int)result
);
1456 static PyObject
*_wrap_StyledTextCtrl_SetEOLMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
*resultobj
;
1458 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1460 PyObject
* obj0
= 0 ;
1461 PyObject
* obj1
= 0 ;
1463 (char *) "self",(char *) "eolMode", NULL
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames
,&obj0
,&obj1
)) goto fail
;
1467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1469 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1474 (arg1
)->SetEOLMode(arg2
);
1476 wxPyEndAllowThreads(__tstate
);
1477 if (PyErr_Occurred()) SWIG_fail
;
1479 Py_INCREF(Py_None
); resultobj
= Py_None
;
1486 static PyObject
*_wrap_StyledTextCtrl_StartStyling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
*resultobj
;
1488 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1491 PyObject
* obj0
= 0 ;
1492 PyObject
* obj1
= 0 ;
1493 PyObject
* obj2
= 0 ;
1495 (char *) "self",(char *) "pos",(char *) "mask", NULL
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1501 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1502 if (PyErr_Occurred()) SWIG_fail
;
1505 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1506 if (PyErr_Occurred()) SWIG_fail
;
1509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1510 (arg1
)->StartStyling(arg2
,arg3
);
1512 wxPyEndAllowThreads(__tstate
);
1513 if (PyErr_Occurred()) SWIG_fail
;
1515 Py_INCREF(Py_None
); resultobj
= Py_None
;
1522 static PyObject
*_wrap_StyledTextCtrl_SetStyling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
*resultobj
;
1524 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1527 PyObject
* obj0
= 0 ;
1528 PyObject
* obj1
= 0 ;
1529 PyObject
* obj2
= 0 ;
1531 (char *) "self",(char *) "length",(char *) "style", NULL
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1537 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1541 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1546 (arg1
)->SetStyling(arg2
,arg3
);
1548 wxPyEndAllowThreads(__tstate
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1551 Py_INCREF(Py_None
); resultobj
= Py_None
;
1558 static PyObject
*_wrap_StyledTextCtrl_GetBufferedDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
*resultobj
;
1560 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1562 PyObject
* obj0
= 0 ;
1564 (char *) "self", NULL
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames
,&obj0
)) goto fail
;
1568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 result
= (bool)(arg1
)->GetBufferedDraw();
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1576 resultobj
= SWIG_PyObj_FromBool((bool)result
);
1583 static PyObject
*_wrap_StyledTextCtrl_SetBufferedDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
*resultobj
;
1585 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1587 PyObject
* obj0
= 0 ;
1588 PyObject
* obj1
= 0 ;
1590 (char *) "self",(char *) "buffered", NULL
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
1594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1596 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
1597 if (PyErr_Occurred()) SWIG_fail
;
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 (arg1
)->SetBufferedDraw(arg2
);
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1606 Py_INCREF(Py_None
); resultobj
= Py_None
;
1613 static PyObject
*_wrap_StyledTextCtrl_SetTabWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
*resultobj
;
1615 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1617 PyObject
* obj0
= 0 ;
1618 PyObject
* obj1
= 0 ;
1620 (char *) "self",(char *) "tabWidth", NULL
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
1624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1626 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1627 if (PyErr_Occurred()) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 (arg1
)->SetTabWidth(arg2
);
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1636 Py_INCREF(Py_None
); resultobj
= Py_None
;
1643 static PyObject
*_wrap_StyledTextCtrl_GetTabWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
*resultobj
;
1645 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1647 PyObject
* obj0
= 0 ;
1649 (char *) "self", NULL
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames
,&obj0
)) goto fail
;
1653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 result
= (int)(arg1
)->GetTabWidth();
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1661 resultobj
= SWIG_PyObj_FromInt((int)result
);
1668 static PyObject
*_wrap_StyledTextCtrl_SetCodePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
*resultobj
;
1670 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1672 PyObject
* obj0
= 0 ;
1673 PyObject
* obj1
= 0 ;
1675 (char *) "self",(char *) "codePage", NULL
1678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames
,&obj0
,&obj1
)) goto fail
;
1679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1681 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1686 (arg1
)->SetCodePage(arg2
);
1688 wxPyEndAllowThreads(__tstate
);
1689 if (PyErr_Occurred()) SWIG_fail
;
1691 Py_INCREF(Py_None
); resultobj
= Py_None
;
1698 static PyObject
*_wrap_StyledTextCtrl_MarkerDefine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1699 PyObject
*resultobj
;
1700 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1703 wxColour
const &arg4_defvalue
= wxNullColour
;
1704 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
1705 wxColour
const &arg5_defvalue
= wxNullColour
;
1706 wxColour
*arg5
= (wxColour
*) &arg5_defvalue
;
1709 PyObject
* obj0
= 0 ;
1710 PyObject
* obj1
= 0 ;
1711 PyObject
* obj2
= 0 ;
1712 PyObject
* obj3
= 0 ;
1713 PyObject
* obj4
= 0 ;
1715 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
1719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1721 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1722 if (PyErr_Occurred()) SWIG_fail
;
1725 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1731 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
1737 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 (arg1
)->MarkerDefine(arg2
,arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
);
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1747 Py_INCREF(Py_None
); resultobj
= Py_None
;
1754 static PyObject
*_wrap_StyledTextCtrl_MarkerSetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
*resultobj
;
1756 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1758 wxColour
*arg3
= 0 ;
1760 PyObject
* obj0
= 0 ;
1761 PyObject
* obj1
= 0 ;
1762 PyObject
* obj2
= 0 ;
1764 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1770 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1771 if (PyErr_Occurred()) SWIG_fail
;
1775 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1779 (arg1
)->MarkerSetForeground(arg2
,(wxColour
const &)*arg3
);
1781 wxPyEndAllowThreads(__tstate
);
1782 if (PyErr_Occurred()) SWIG_fail
;
1784 Py_INCREF(Py_None
); resultobj
= Py_None
;
1791 static PyObject
*_wrap_StyledTextCtrl_MarkerSetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1792 PyObject
*resultobj
;
1793 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1795 wxColour
*arg3
= 0 ;
1797 PyObject
* obj0
= 0 ;
1798 PyObject
* obj1
= 0 ;
1799 PyObject
* obj2
= 0 ;
1801 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1807 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1808 if (PyErr_Occurred()) SWIG_fail
;
1812 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
1815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1816 (arg1
)->MarkerSetBackground(arg2
,(wxColour
const &)*arg3
);
1818 wxPyEndAllowThreads(__tstate
);
1819 if (PyErr_Occurred()) SWIG_fail
;
1821 Py_INCREF(Py_None
); resultobj
= Py_None
;
1828 static PyObject
*_wrap_StyledTextCtrl_MarkerAdd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
*resultobj
;
1830 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1834 PyObject
* obj0
= 0 ;
1835 PyObject
* obj1
= 0 ;
1836 PyObject
* obj2
= 0 ;
1838 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1844 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1845 if (PyErr_Occurred()) SWIG_fail
;
1848 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 result
= (int)(arg1
)->MarkerAdd(arg2
,arg3
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1858 resultobj
= SWIG_PyObj_FromInt((int)result
);
1865 static PyObject
*_wrap_StyledTextCtrl_MarkerDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1870 PyObject
* obj0
= 0 ;
1871 PyObject
* obj1
= 0 ;
1872 PyObject
* obj2
= 0 ;
1874 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1880 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1884 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1885 if (PyErr_Occurred()) SWIG_fail
;
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 (arg1
)->MarkerDelete(arg2
,arg3
);
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1894 Py_INCREF(Py_None
); resultobj
= Py_None
;
1901 static PyObject
*_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1905 PyObject
* obj0
= 0 ;
1906 PyObject
* obj1
= 0 ;
1908 (char *) "self",(char *) "markerNumber", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames
,&obj0
,&obj1
)) goto fail
;
1912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1914 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1919 (arg1
)->MarkerDeleteAll(arg2
);
1921 wxPyEndAllowThreads(__tstate
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1924 Py_INCREF(Py_None
); resultobj
= Py_None
;
1931 static PyObject
*_wrap_StyledTextCtrl_MarkerGet(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
*resultobj
;
1933 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1937 PyObject
* obj1
= 0 ;
1939 (char *) "self",(char *) "line", NULL
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames
,&obj0
,&obj1
)) goto fail
;
1943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1945 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1946 if (PyErr_Occurred()) SWIG_fail
;
1949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1950 result
= (int)(arg1
)->MarkerGet(arg2
);
1952 wxPyEndAllowThreads(__tstate
);
1953 if (PyErr_Occurred()) SWIG_fail
;
1955 resultobj
= SWIG_PyObj_FromInt((int)result
);
1962 static PyObject
*_wrap_StyledTextCtrl_MarkerNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1963 PyObject
*resultobj
;
1964 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
1968 PyObject
* obj0
= 0 ;
1969 PyObject
* obj1
= 0 ;
1970 PyObject
* obj2
= 0 ;
1972 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1978 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1979 if (PyErr_Occurred()) SWIG_fail
;
1982 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1983 if (PyErr_Occurred()) SWIG_fail
;
1986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1987 result
= (int)(arg1
)->MarkerNext(arg2
,arg3
);
1989 wxPyEndAllowThreads(__tstate
);
1990 if (PyErr_Occurred()) SWIG_fail
;
1992 resultobj
= SWIG_PyObj_FromInt((int)result
);
1999 static PyObject
*_wrap_StyledTextCtrl_MarkerPrevious(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2000 PyObject
*resultobj
;
2001 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2005 PyObject
* obj0
= 0 ;
2006 PyObject
* obj1
= 0 ;
2007 PyObject
* obj2
= 0 ;
2009 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2015 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2019 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2020 if (PyErr_Occurred()) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 result
= (int)(arg1
)->MarkerPrevious(arg2
,arg3
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 resultobj
= SWIG_PyObj_FromInt((int)result
);
2036 static PyObject
*_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
*resultobj
;
2038 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2040 wxBitmap
*arg3
= 0 ;
2041 PyObject
* obj0
= 0 ;
2042 PyObject
* obj1
= 0 ;
2043 PyObject
* obj2
= 0 ;
2045 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2051 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2052 if (PyErr_Occurred()) SWIG_fail
;
2054 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2056 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 (arg1
)->MarkerDefineBitmap(arg2
,(wxBitmap
const &)*arg3
);
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2065 Py_INCREF(Py_None
); resultobj
= Py_None
;
2072 static PyObject
*_wrap_StyledTextCtrl_SetMarginType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
*resultobj
;
2074 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2077 PyObject
* obj0
= 0 ;
2078 PyObject
* obj1
= 0 ;
2079 PyObject
* obj2
= 0 ;
2081 (char *) "self",(char *) "margin",(char *) "marginType", NULL
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2087 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2091 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 (arg1
)->SetMarginType(arg2
,arg3
);
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) SWIG_fail
;
2101 Py_INCREF(Py_None
); resultobj
= Py_None
;
2108 static PyObject
*_wrap_StyledTextCtrl_GetMarginType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
*resultobj
;
2110 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2113 PyObject
* obj0
= 0 ;
2114 PyObject
* obj1
= 0 ;
2116 (char *) "self",(char *) "margin", NULL
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames
,&obj0
,&obj1
)) goto fail
;
2120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2122 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 result
= (int)(arg1
)->GetMarginType(arg2
);
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2132 resultobj
= SWIG_PyObj_FromInt((int)result
);
2139 static PyObject
*_wrap_StyledTextCtrl_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2141 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2144 PyObject
* obj0
= 0 ;
2145 PyObject
* obj1
= 0 ;
2146 PyObject
* obj2
= 0 ;
2148 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2154 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2158 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 (arg1
)->SetMarginWidth(arg2
,arg3
);
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2168 Py_INCREF(Py_None
); resultobj
= Py_None
;
2175 static PyObject
*_wrap_StyledTextCtrl_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2177 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2180 PyObject
* obj0
= 0 ;
2181 PyObject
* obj1
= 0 ;
2183 (char *) "self",(char *) "margin", NULL
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2189 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2190 if (PyErr_Occurred()) SWIG_fail
;
2193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2194 result
= (int)(arg1
)->GetMarginWidth(arg2
);
2196 wxPyEndAllowThreads(__tstate
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2199 resultobj
= SWIG_PyObj_FromInt((int)result
);
2206 static PyObject
*_wrap_StyledTextCtrl_SetMarginMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
*resultobj
;
2208 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2211 PyObject
* obj0
= 0 ;
2212 PyObject
* obj1
= 0 ;
2213 PyObject
* obj2
= 0 ;
2215 (char *) "self",(char *) "margin",(char *) "mask", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2221 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2225 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2226 if (PyErr_Occurred()) SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 (arg1
)->SetMarginMask(arg2
,arg3
);
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2235 Py_INCREF(Py_None
); resultobj
= Py_None
;
2242 static PyObject
*_wrap_StyledTextCtrl_GetMarginMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
*resultobj
;
2244 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2247 PyObject
* obj0
= 0 ;
2248 PyObject
* obj1
= 0 ;
2250 (char *) "self",(char *) "margin", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames
,&obj0
,&obj1
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2256 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2257 if (PyErr_Occurred()) SWIG_fail
;
2260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2261 result
= (int)(arg1
)->GetMarginMask(arg2
);
2263 wxPyEndAllowThreads(__tstate
);
2264 if (PyErr_Occurred()) SWIG_fail
;
2266 resultobj
= SWIG_PyObj_FromInt((int)result
);
2273 static PyObject
*_wrap_StyledTextCtrl_SetMarginSensitive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2274 PyObject
*resultobj
;
2275 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2278 PyObject
* obj0
= 0 ;
2279 PyObject
* obj1
= 0 ;
2280 PyObject
* obj2
= 0 ;
2282 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
2285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2288 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2292 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2293 if (PyErr_Occurred()) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 (arg1
)->SetMarginSensitive(arg2
,arg3
);
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2302 Py_INCREF(Py_None
); resultobj
= Py_None
;
2309 static PyObject
*_wrap_StyledTextCtrl_GetMarginSensitive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
*resultobj
;
2311 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2314 PyObject
* obj0
= 0 ;
2315 PyObject
* obj1
= 0 ;
2317 (char *) "self",(char *) "margin", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames
,&obj0
,&obj1
)) goto fail
;
2321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2323 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 result
= (bool)(arg1
)->GetMarginSensitive(arg2
);
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2333 resultobj
= SWIG_PyObj_FromBool((bool)result
);
2340 static PyObject
*_wrap_StyledTextCtrl_StyleClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
*resultobj
;
2342 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2343 PyObject
* obj0
= 0 ;
2345 (char *) "self", NULL
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames
,&obj0
)) goto fail
;
2349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 (arg1
)->StyleClearAll();
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2357 Py_INCREF(Py_None
); resultobj
= Py_None
;
2364 static PyObject
*_wrap_StyledTextCtrl_StyleSetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
*resultobj
;
2366 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2368 wxColour
*arg3
= 0 ;
2370 PyObject
* obj0
= 0 ;
2371 PyObject
* obj1
= 0 ;
2372 PyObject
* obj2
= 0 ;
2374 (char *) "self",(char *) "style",(char *) "fore", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2380 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2385 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 (arg1
)->StyleSetForeground(arg2
,(wxColour
const &)*arg3
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) SWIG_fail
;
2394 Py_INCREF(Py_None
); resultobj
= Py_None
;
2401 static PyObject
*_wrap_StyledTextCtrl_StyleSetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
*resultobj
;
2403 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2405 wxColour
*arg3
= 0 ;
2407 PyObject
* obj0
= 0 ;
2408 PyObject
* obj1
= 0 ;
2409 PyObject
* obj2
= 0 ;
2411 (char *) "self",(char *) "style",(char *) "back", NULL
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2417 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2422 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 (arg1
)->StyleSetBackground(arg2
,(wxColour
const &)*arg3
);
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2431 Py_INCREF(Py_None
); resultobj
= Py_None
;
2438 static PyObject
*_wrap_StyledTextCtrl_StyleSetBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2439 PyObject
*resultobj
;
2440 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2443 PyObject
* obj0
= 0 ;
2444 PyObject
* obj1
= 0 ;
2445 PyObject
* obj2
= 0 ;
2447 (char *) "self",(char *) "style",(char *) "bold", NULL
2450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2453 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2454 if (PyErr_Occurred()) SWIG_fail
;
2457 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 (arg1
)->StyleSetBold(arg2
,arg3
);
2464 wxPyEndAllowThreads(__tstate
);
2465 if (PyErr_Occurred()) SWIG_fail
;
2467 Py_INCREF(Py_None
); resultobj
= Py_None
;
2474 static PyObject
*_wrap_StyledTextCtrl_StyleSetItalic(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2475 PyObject
*resultobj
;
2476 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2479 PyObject
* obj0
= 0 ;
2480 PyObject
* obj1
= 0 ;
2481 PyObject
* obj2
= 0 ;
2483 (char *) "self",(char *) "style",(char *) "italic", NULL
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2489 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2490 if (PyErr_Occurred()) SWIG_fail
;
2493 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 (arg1
)->StyleSetItalic(arg2
,arg3
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) SWIG_fail
;
2503 Py_INCREF(Py_None
); resultobj
= Py_None
;
2510 static PyObject
*_wrap_StyledTextCtrl_StyleSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
*resultobj
;
2512 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2515 PyObject
* obj0
= 0 ;
2516 PyObject
* obj1
= 0 ;
2517 PyObject
* obj2
= 0 ;
2519 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2525 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2526 if (PyErr_Occurred()) SWIG_fail
;
2529 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2530 if (PyErr_Occurred()) SWIG_fail
;
2533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2534 (arg1
)->StyleSetSize(arg2
,arg3
);
2536 wxPyEndAllowThreads(__tstate
);
2537 if (PyErr_Occurred()) SWIG_fail
;
2539 Py_INCREF(Py_None
); resultobj
= Py_None
;
2546 static PyObject
*_wrap_StyledTextCtrl_StyleSetFaceName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2547 PyObject
*resultobj
;
2548 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2550 wxString
*arg3
= 0 ;
2551 bool temp3
= False
;
2552 PyObject
* obj0
= 0 ;
2553 PyObject
* obj1
= 0 ;
2554 PyObject
* obj2
= 0 ;
2556 (char *) "self",(char *) "style",(char *) "fontName", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2562 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2566 arg3
= wxString_in_helper(obj2
);
2567 if (arg3
== NULL
) SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 (arg1
)->StyleSetFaceName(arg2
,(wxString
const &)*arg3
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 Py_INCREF(Py_None
); resultobj
= Py_None
;
2592 static PyObject
*_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
*resultobj
;
2594 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2597 PyObject
* obj0
= 0 ;
2598 PyObject
* obj1
= 0 ;
2599 PyObject
* obj2
= 0 ;
2601 (char *) "self",(char *) "style",(char *) "filled", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2607 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2611 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2616 (arg1
)->StyleSetEOLFilled(arg2
,arg3
);
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2621 Py_INCREF(Py_None
); resultobj
= Py_None
;
2628 static PyObject
*_wrap_StyledTextCtrl_StyleResetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2629 PyObject
*resultobj
;
2630 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2631 PyObject
* obj0
= 0 ;
2633 (char *) "self", NULL
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames
,&obj0
)) goto fail
;
2637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2640 (arg1
)->StyleResetDefault();
2642 wxPyEndAllowThreads(__tstate
);
2643 if (PyErr_Occurred()) SWIG_fail
;
2645 Py_INCREF(Py_None
); resultobj
= Py_None
;
2652 static PyObject
*_wrap_StyledTextCtrl_StyleSetUnderline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2653 PyObject
*resultobj
;
2654 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2657 PyObject
* obj0
= 0 ;
2658 PyObject
* obj1
= 0 ;
2659 PyObject
* obj2
= 0 ;
2661 (char *) "self",(char *) "style",(char *) "underline", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2667 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2668 if (PyErr_Occurred()) SWIG_fail
;
2671 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 (arg1
)->StyleSetUnderline(arg2
,arg3
);
2678 wxPyEndAllowThreads(__tstate
);
2679 if (PyErr_Occurred()) SWIG_fail
;
2681 Py_INCREF(Py_None
); resultobj
= Py_None
;
2688 static PyObject
*_wrap_StyledTextCtrl_StyleSetCase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2689 PyObject
*resultobj
;
2690 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2693 PyObject
* obj0
= 0 ;
2694 PyObject
* obj1
= 0 ;
2695 PyObject
* obj2
= 0 ;
2697 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2703 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2704 if (PyErr_Occurred()) SWIG_fail
;
2707 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 (arg1
)->StyleSetCase(arg2
,arg3
);
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 Py_INCREF(Py_None
); resultobj
= Py_None
;
2724 static PyObject
*_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2729 PyObject
* obj0
= 0 ;
2730 PyObject
* obj1
= 0 ;
2731 PyObject
* obj2
= 0 ;
2733 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2739 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2743 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 (arg1
)->StyleSetCharacterSet(arg2
,arg3
);
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2753 Py_INCREF(Py_None
); resultobj
= Py_None
;
2760 static PyObject
*_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2765 PyObject
* obj0
= 0 ;
2766 PyObject
* obj1
= 0 ;
2767 PyObject
* obj2
= 0 ;
2769 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2775 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2779 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
2780 if (PyErr_Occurred()) SWIG_fail
;
2783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2784 (arg1
)->StyleSetHotSpot(arg2
,arg3
);
2786 wxPyEndAllowThreads(__tstate
);
2787 if (PyErr_Occurred()) SWIG_fail
;
2789 Py_INCREF(Py_None
); resultobj
= Py_None
;
2796 static PyObject
*_wrap_StyledTextCtrl_SetSelForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
*resultobj
;
2798 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2800 wxColour
*arg3
= 0 ;
2802 PyObject
* obj0
= 0 ;
2803 PyObject
* obj1
= 0 ;
2804 PyObject
* obj2
= 0 ;
2806 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2812 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2813 if (PyErr_Occurred()) SWIG_fail
;
2817 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 (arg1
)->SetSelForeground(arg2
,(wxColour
const &)*arg3
);
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2826 Py_INCREF(Py_None
); resultobj
= Py_None
;
2833 static PyObject
*_wrap_StyledTextCtrl_SetSelBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
*resultobj
;
2835 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2837 wxColour
*arg3
= 0 ;
2839 PyObject
* obj0
= 0 ;
2840 PyObject
* obj1
= 0 ;
2841 PyObject
* obj2
= 0 ;
2843 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2849 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2854 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
2857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2858 (arg1
)->SetSelBackground(arg2
,(wxColour
const &)*arg3
);
2860 wxPyEndAllowThreads(__tstate
);
2861 if (PyErr_Occurred()) SWIG_fail
;
2863 Py_INCREF(Py_None
); resultobj
= Py_None
;
2870 static PyObject
*_wrap_StyledTextCtrl_SetCaretForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
*resultobj
;
2872 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2873 wxColour
*arg2
= 0 ;
2875 PyObject
* obj0
= 0 ;
2876 PyObject
* obj1
= 0 ;
2878 (char *) "self",(char *) "fore", NULL
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
2882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2885 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
2888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2889 (arg1
)->SetCaretForeground((wxColour
const &)*arg2
);
2891 wxPyEndAllowThreads(__tstate
);
2892 if (PyErr_Occurred()) SWIG_fail
;
2894 Py_INCREF(Py_None
); resultobj
= Py_None
;
2901 static PyObject
*_wrap_StyledTextCtrl_CmdKeyAssign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
*resultobj
;
2903 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2907 PyObject
* obj0
= 0 ;
2908 PyObject
* obj1
= 0 ;
2909 PyObject
* obj2
= 0 ;
2910 PyObject
* obj3
= 0 ;
2912 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2918 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2919 if (PyErr_Occurred()) SWIG_fail
;
2922 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2926 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
2927 if (PyErr_Occurred()) SWIG_fail
;
2930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2931 (arg1
)->CmdKeyAssign(arg2
,arg3
,arg4
);
2933 wxPyEndAllowThreads(__tstate
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2936 Py_INCREF(Py_None
); resultobj
= Py_None
;
2943 static PyObject
*_wrap_StyledTextCtrl_CmdKeyClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2945 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2948 PyObject
* obj0
= 0 ;
2949 PyObject
* obj1
= 0 ;
2950 PyObject
* obj2
= 0 ;
2952 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2958 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2962 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2967 (arg1
)->CmdKeyClear(arg2
,arg3
);
2969 wxPyEndAllowThreads(__tstate
);
2970 if (PyErr_Occurred()) SWIG_fail
;
2972 Py_INCREF(Py_None
); resultobj
= Py_None
;
2979 static PyObject
*_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2980 PyObject
*resultobj
;
2981 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
2982 PyObject
* obj0
= 0 ;
2984 (char *) "self", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames
,&obj0
)) goto fail
;
2988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 (arg1
)->CmdKeyClearAll();
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) SWIG_fail
;
2996 Py_INCREF(Py_None
); resultobj
= Py_None
;
3003 static PyObject
*_wrap_StyledTextCtrl_SetStyleBytes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3008 PyObject
* obj0
= 0 ;
3009 PyObject
* obj1
= 0 ;
3010 PyObject
* obj2
= 0 ;
3012 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3018 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3022 arg3
= SWIG_PyObj_AsCharPtr(obj2
, SWIGTYPE_p_char
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 (arg1
)->SetStyleBytes(arg2
,arg3
);
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3032 Py_INCREF(Py_None
); resultobj
= Py_None
;
3039 static PyObject
*_wrap_StyledTextCtrl_StyleSetVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3041 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3044 PyObject
* obj0
= 0 ;
3045 PyObject
* obj1
= 0 ;
3046 PyObject
* obj2
= 0 ;
3048 (char *) "self",(char *) "style",(char *) "visible", NULL
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3054 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3055 if (PyErr_Occurred()) SWIG_fail
;
3058 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 (arg1
)->StyleSetVisible(arg2
,arg3
);
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3068 Py_INCREF(Py_None
); resultobj
= Py_None
;
3075 static PyObject
*_wrap_StyledTextCtrl_GetCaretPeriod(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
;
3077 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3079 PyObject
* obj0
= 0 ;
3081 (char *) "self", NULL
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames
,&obj0
)) goto fail
;
3085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= (int)(arg1
)->GetCaretPeriod();
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3093 resultobj
= SWIG_PyObj_FromInt((int)result
);
3100 static PyObject
*_wrap_StyledTextCtrl_SetCaretPeriod(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
*resultobj
;
3102 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3104 PyObject
* obj0
= 0 ;
3105 PyObject
* obj1
= 0 ;
3107 (char *) "self",(char *) "periodMilliseconds", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames
,&obj0
,&obj1
)) goto fail
;
3111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3113 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 (arg1
)->SetCaretPeriod(arg2
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 Py_INCREF(Py_None
); resultobj
= Py_None
;
3130 static PyObject
*_wrap_StyledTextCtrl_SetWordChars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3133 wxString
*arg2
= 0 ;
3134 bool temp2
= False
;
3135 PyObject
* obj0
= 0 ;
3136 PyObject
* obj1
= 0 ;
3138 (char *) "self",(char *) "characters", NULL
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames
,&obj0
,&obj1
)) goto fail
;
3142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3144 arg2
= wxString_in_helper(obj1
);
3145 if (arg2
== NULL
) SWIG_fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 (arg1
)->SetWordChars((wxString
const &)*arg2
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3155 Py_INCREF(Py_None
); resultobj
= Py_None
;
3170 static PyObject
*_wrap_StyledTextCtrl_BeginUndoAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
*resultobj
;
3172 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3173 PyObject
* obj0
= 0 ;
3175 (char *) "self", NULL
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames
,&obj0
)) goto fail
;
3179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 (arg1
)->BeginUndoAction();
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3187 Py_INCREF(Py_None
); resultobj
= Py_None
;
3194 static PyObject
*_wrap_StyledTextCtrl_EndUndoAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
*resultobj
;
3196 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3197 PyObject
* obj0
= 0 ;
3199 (char *) "self", NULL
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames
,&obj0
)) goto fail
;
3203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 (arg1
)->EndUndoAction();
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3211 Py_INCREF(Py_None
); resultobj
= Py_None
;
3218 static PyObject
*_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
*resultobj
;
3220 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3223 PyObject
* obj0
= 0 ;
3224 PyObject
* obj1
= 0 ;
3225 PyObject
* obj2
= 0 ;
3227 (char *) "self",(char *) "indic",(char *) "style", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3233 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3237 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3238 if (PyErr_Occurred()) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 (arg1
)->IndicatorSetStyle(arg2
,arg3
);
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 Py_INCREF(Py_None
); resultobj
= Py_None
;
3254 static PyObject
*_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3259 PyObject
* obj0
= 0 ;
3260 PyObject
* obj1
= 0 ;
3262 (char *) "self",(char *) "indic", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
3266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3268 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3269 if (PyErr_Occurred()) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3273 result
= (int)(arg1
)->IndicatorGetStyle(arg2
);
3275 wxPyEndAllowThreads(__tstate
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3278 resultobj
= SWIG_PyObj_FromInt((int)result
);
3285 static PyObject
*_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
*resultobj
;
3287 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3289 wxColour
*arg3
= 0 ;
3291 PyObject
* obj0
= 0 ;
3292 PyObject
* obj1
= 0 ;
3293 PyObject
* obj2
= 0 ;
3295 (char *) "self",(char *) "indic",(char *) "fore", NULL
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3301 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3306 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3310 (arg1
)->IndicatorSetForeground(arg2
,(wxColour
const &)*arg3
);
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3315 Py_INCREF(Py_None
); resultobj
= Py_None
;
3322 static PyObject
*_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3323 PyObject
*resultobj
;
3324 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3327 PyObject
* obj0
= 0 ;
3328 PyObject
* obj1
= 0 ;
3330 (char *) "self",(char *) "indic", NULL
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
3334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3336 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3337 if (PyErr_Occurred()) SWIG_fail
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 result
= (arg1
)->IndicatorGetForeground(arg2
);
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3347 wxColour
* resultptr
;
3348 resultptr
= new wxColour((wxColour
&) result
);
3349 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
3357 static PyObject
*_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
*resultobj
;
3359 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3361 wxColour
*arg3
= 0 ;
3363 PyObject
* obj0
= 0 ;
3364 PyObject
* obj1
= 0 ;
3365 PyObject
* obj2
= 0 ;
3367 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3373 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3378 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 (arg1
)->SetWhitespaceForeground(arg2
,(wxColour
const &)*arg3
);
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3387 Py_INCREF(Py_None
); resultobj
= Py_None
;
3394 static PyObject
*_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3398 wxColour
*arg3
= 0 ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3402 PyObject
* obj2
= 0 ;
3404 (char *) "self",(char *) "useSetting",(char *) "back", NULL
3407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3410 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3415 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
3418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3419 (arg1
)->SetWhitespaceBackground(arg2
,(wxColour
const &)*arg3
);
3421 wxPyEndAllowThreads(__tstate
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 Py_INCREF(Py_None
); resultobj
= Py_None
;
3431 static PyObject
*_wrap_StyledTextCtrl_SetStyleBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
;
3433 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3435 PyObject
* obj0
= 0 ;
3436 PyObject
* obj1
= 0 ;
3438 (char *) "self",(char *) "bits", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames
,&obj0
,&obj1
)) goto fail
;
3442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3444 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 (arg1
)->SetStyleBits(arg2
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 Py_INCREF(Py_None
); resultobj
= Py_None
;
3461 static PyObject
*_wrap_StyledTextCtrl_GetStyleBits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3465 PyObject
* obj0
= 0 ;
3467 (char *) "self", NULL
3470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames
,&obj0
)) goto fail
;
3471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 result
= (int)(arg1
)->GetStyleBits();
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 resultobj
= SWIG_PyObj_FromInt((int)result
);
3486 static PyObject
*_wrap_StyledTextCtrl_SetLineState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3491 PyObject
* obj0
= 0 ;
3492 PyObject
* obj1
= 0 ;
3493 PyObject
* obj2
= 0 ;
3495 (char *) "self",(char *) "line",(char *) "state", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3501 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3505 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3510 (arg1
)->SetLineState(arg2
,arg3
);
3512 wxPyEndAllowThreads(__tstate
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3515 Py_INCREF(Py_None
); resultobj
= Py_None
;
3522 static PyObject
*_wrap_StyledTextCtrl_GetLineState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3524 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3527 PyObject
* obj0
= 0 ;
3528 PyObject
* obj1
= 0 ;
3530 (char *) "self",(char *) "line", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineState",kwnames
,&obj0
,&obj1
)) goto fail
;
3534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3536 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3541 result
= (int)(arg1
)->GetLineState(arg2
);
3543 wxPyEndAllowThreads(__tstate
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3546 resultobj
= SWIG_PyObj_FromInt((int)result
);
3553 static PyObject
*_wrap_StyledTextCtrl_GetMaxLineState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
*resultobj
;
3555 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3557 PyObject
* obj0
= 0 ;
3559 (char *) "self", NULL
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames
,&obj0
)) goto fail
;
3563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 result
= (int)(arg1
)->GetMaxLineState();
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3571 resultobj
= SWIG_PyObj_FromInt((int)result
);
3578 static PyObject
*_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
*resultobj
;
3580 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3582 PyObject
* obj0
= 0 ;
3584 (char *) "self", NULL
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames
,&obj0
)) goto fail
;
3588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 result
= (bool)(arg1
)->GetCaretLineVisible();
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3596 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3603 static PyObject
*_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3604 PyObject
*resultobj
;
3605 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3607 PyObject
* obj0
= 0 ;
3608 PyObject
* obj1
= 0 ;
3610 (char *) "self",(char *) "show", NULL
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
3614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3616 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 (arg1
)->SetCaretLineVisible(arg2
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) SWIG_fail
;
3626 Py_INCREF(Py_None
); resultobj
= Py_None
;
3633 static PyObject
*_wrap_StyledTextCtrl_GetCaretLineBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3634 PyObject
*resultobj
;
3635 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3637 PyObject
* obj0
= 0 ;
3639 (char *) "self", NULL
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames
,&obj0
)) goto fail
;
3643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 result
= (arg1
)->GetCaretLineBack();
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3652 wxColour
* resultptr
;
3653 resultptr
= new wxColour((wxColour
&) result
);
3654 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
3662 static PyObject
*_wrap_StyledTextCtrl_SetCaretLineBack(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3664 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3665 wxColour
*arg2
= 0 ;
3667 PyObject
* obj0
= 0 ;
3668 PyObject
* obj1
= 0 ;
3670 (char *) "self",(char *) "back", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames
,&obj0
,&obj1
)) goto fail
;
3674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3677 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
3680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3681 (arg1
)->SetCaretLineBack((wxColour
const &)*arg2
);
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3686 Py_INCREF(Py_None
); resultobj
= Py_None
;
3693 static PyObject
*_wrap_StyledTextCtrl_StyleSetChangeable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
;
3695 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3698 PyObject
* obj0
= 0 ;
3699 PyObject
* obj1
= 0 ;
3700 PyObject
* obj2
= 0 ;
3702 (char *) "self",(char *) "style",(char *) "changeable", NULL
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3708 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3712 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 (arg1
)->StyleSetChangeable(arg2
,arg3
);
3719 wxPyEndAllowThreads(__tstate
);
3720 if (PyErr_Occurred()) SWIG_fail
;
3722 Py_INCREF(Py_None
); resultobj
= Py_None
;
3729 static PyObject
*_wrap_StyledTextCtrl_AutoCompShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3730 PyObject
*resultobj
;
3731 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3733 wxString
*arg3
= 0 ;
3734 bool temp3
= False
;
3735 PyObject
* obj0
= 0 ;
3736 PyObject
* obj1
= 0 ;
3737 PyObject
* obj2
= 0 ;
3739 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3745 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3749 arg3
= wxString_in_helper(obj2
);
3750 if (arg3
== NULL
) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 (arg1
)->AutoCompShow(arg2
,(wxString
const &)*arg3
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3760 Py_INCREF(Py_None
); resultobj
= Py_None
;
3775 static PyObject
*_wrap_StyledTextCtrl_AutoCompCancel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3777 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3780 (char *) "self", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames
,&obj0
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 (arg1
)->AutoCompCancel();
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 Py_INCREF(Py_None
); resultobj
= Py_None
;
3799 static PyObject
*_wrap_StyledTextCtrl_AutoCompActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3801 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3803 PyObject
* obj0
= 0 ;
3805 (char *) "self", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames
,&obj0
)) goto fail
;
3809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 result
= (bool)(arg1
)->AutoCompActive();
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 resultobj
= SWIG_PyObj_FromBool((bool)result
);
3824 static PyObject
*_wrap_StyledTextCtrl_AutoCompPosStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3828 PyObject
* obj0
= 0 ;
3830 (char *) "self", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames
,&obj0
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 result
= (int)(arg1
)->AutoCompPosStart();
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 resultobj
= SWIG_PyObj_FromInt((int)result
);
3849 static PyObject
*_wrap_StyledTextCtrl_AutoCompComplete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
*resultobj
;
3851 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3852 PyObject
* obj0
= 0 ;
3854 (char *) "self", NULL
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames
,&obj0
)) goto fail
;
3858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 (arg1
)->AutoCompComplete();
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 Py_INCREF(Py_None
); resultobj
= Py_None
;
3873 static PyObject
*_wrap_StyledTextCtrl_AutoCompStops(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3876 wxString
*arg2
= 0 ;
3877 bool temp2
= False
;
3878 PyObject
* obj0
= 0 ;
3879 PyObject
* obj1
= 0 ;
3881 (char *) "self",(char *) "characterSet", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames
,&obj0
,&obj1
)) goto fail
;
3885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3887 arg2
= wxString_in_helper(obj1
);
3888 if (arg2
== NULL
) SWIG_fail
;
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 (arg1
)->AutoCompStops((wxString
const &)*arg2
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 Py_INCREF(Py_None
); resultobj
= Py_None
;
3913 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3917 PyObject
* obj0
= 0 ;
3918 PyObject
* obj1
= 0 ;
3920 (char *) "self",(char *) "separatorCharacter", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3926 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 (arg1
)->AutoCompSetSeparator(arg2
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 Py_INCREF(Py_None
); resultobj
= Py_None
;
3943 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
;
3945 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3947 PyObject
* obj0
= 0 ;
3949 (char *) "self", NULL
3952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames
,&obj0
)) goto fail
;
3953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 result
= (int)(arg1
)->AutoCompGetSeparator();
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 resultobj
= SWIG_PyObj_FromInt((int)result
);
3968 static PyObject
*_wrap_StyledTextCtrl_AutoCompSelect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
;
3970 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
3971 wxString
*arg2
= 0 ;
3972 bool temp2
= False
;
3973 PyObject
* obj0
= 0 ;
3974 PyObject
* obj1
= 0 ;
3976 (char *) "self",(char *) "text", NULL
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames
,&obj0
,&obj1
)) goto fail
;
3980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3982 arg2
= wxString_in_helper(obj1
);
3983 if (arg2
== NULL
) SWIG_fail
;
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3988 (arg1
)->AutoCompSelect((wxString
const &)*arg2
);
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 Py_INCREF(Py_None
); resultobj
= Py_None
;
4008 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
;
4010 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4012 PyObject
* obj0
= 0 ;
4013 PyObject
* obj1
= 0 ;
4015 (char *) "self",(char *) "cancel", NULL
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames
,&obj0
,&obj1
)) goto fail
;
4019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4021 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4026 (arg1
)->AutoCompSetCancelAtStart(arg2
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 Py_INCREF(Py_None
); resultobj
= Py_None
;
4038 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4039 PyObject
*resultobj
;
4040 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4042 PyObject
* obj0
= 0 ;
4044 (char *) "self", NULL
4047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames
,&obj0
)) goto fail
;
4048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 result
= (bool)(arg1
)->AutoCompGetCancelAtStart();
4053 wxPyEndAllowThreads(__tstate
);
4054 if (PyErr_Occurred()) SWIG_fail
;
4056 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4063 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4064 PyObject
*resultobj
;
4065 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4066 wxString
*arg2
= 0 ;
4067 bool temp2
= False
;
4068 PyObject
* obj0
= 0 ;
4069 PyObject
* obj1
= 0 ;
4071 (char *) "self",(char *) "characterSet", NULL
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames
,&obj0
,&obj1
)) goto fail
;
4075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4077 arg2
= wxString_in_helper(obj1
);
4078 if (arg2
== NULL
) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 (arg1
)->AutoCompSetFillUps((wxString
const &)*arg2
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 Py_INCREF(Py_None
); resultobj
= Py_None
;
4103 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4105 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4107 PyObject
* obj0
= 0 ;
4108 PyObject
* obj1
= 0 ;
4110 (char *) "self",(char *) "chooseSingle", NULL
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames
,&obj0
,&obj1
)) goto fail
;
4114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4116 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 (arg1
)->AutoCompSetChooseSingle(arg2
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 Py_INCREF(Py_None
); resultobj
= Py_None
;
4133 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4137 PyObject
* obj0
= 0 ;
4139 (char *) "self", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames
,&obj0
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (bool)(arg1
)->AutoCompGetChooseSingle();
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4158 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4162 PyObject
* obj0
= 0 ;
4163 PyObject
* obj1
= 0 ;
4165 (char *) "self",(char *) "ignoreCase", NULL
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames
,&obj0
,&obj1
)) goto fail
;
4169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4171 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4172 if (PyErr_Occurred()) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 (arg1
)->AutoCompSetIgnoreCase(arg2
);
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4181 Py_INCREF(Py_None
); resultobj
= Py_None
;
4188 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
*resultobj
;
4190 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4192 PyObject
* obj0
= 0 ;
4194 (char *) "self", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames
,&obj0
)) goto fail
;
4198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4201 result
= (bool)(arg1
)->AutoCompGetIgnoreCase();
4203 wxPyEndAllowThreads(__tstate
);
4204 if (PyErr_Occurred()) SWIG_fail
;
4206 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4213 static PyObject
*_wrap_StyledTextCtrl_UserListShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4217 wxString
*arg3
= 0 ;
4218 bool temp3
= False
;
4219 PyObject
* obj0
= 0 ;
4220 PyObject
* obj1
= 0 ;
4221 PyObject
* obj2
= 0 ;
4223 (char *) "self",(char *) "listType",(char *) "itemList", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4229 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4233 arg3
= wxString_in_helper(obj2
);
4234 if (arg3
== NULL
) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 (arg1
)->UserListShow(arg2
,(wxString
const &)*arg3
);
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 Py_INCREF(Py_None
); resultobj
= Py_None
;
4259 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4263 PyObject
* obj0
= 0 ;
4264 PyObject
* obj1
= 0 ;
4266 (char *) "self",(char *) "autoHide", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames
,&obj0
,&obj1
)) goto fail
;
4270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4272 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4273 if (PyErr_Occurred()) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 (arg1
)->AutoCompSetAutoHide(arg2
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 Py_INCREF(Py_None
); resultobj
= Py_None
;
4289 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4293 PyObject
* obj0
= 0 ;
4295 (char *) "self", NULL
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames
,&obj0
)) goto fail
;
4299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 result
= (bool)(arg1
)->AutoCompGetAutoHide();
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4314 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
*resultobj
;
4316 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4318 PyObject
* obj0
= 0 ;
4319 PyObject
* obj1
= 0 ;
4321 (char *) "self",(char *) "dropRestOfWord", NULL
4324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames
,&obj0
,&obj1
)) goto fail
;
4325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4327 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 (arg1
)->AutoCompSetDropRestOfWord(arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 Py_INCREF(Py_None
); resultobj
= Py_None
;
4344 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4346 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4350 (char *) "self", NULL
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames
,&obj0
)) goto fail
;
4354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 result
= (bool)(arg1
)->AutoCompGetDropRestOfWord();
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4362 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4369 static PyObject
*_wrap_StyledTextCtrl_RegisterImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
;
4371 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4373 wxBitmap
*arg3
= 0 ;
4374 PyObject
* obj0
= 0 ;
4375 PyObject
* obj1
= 0 ;
4376 PyObject
* obj2
= 0 ;
4378 (char *) "self",(char *) "type",(char *) "bmp", NULL
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4384 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4387 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4389 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 (arg1
)->RegisterImage(arg2
,(wxBitmap
const &)*arg3
);
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 Py_INCREF(Py_None
); resultobj
= Py_None
;
4405 static PyObject
*_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4408 PyObject
* obj0
= 0 ;
4410 (char *) "self", NULL
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames
,&obj0
)) goto fail
;
4414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4417 (arg1
)->ClearRegisteredImages();
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 Py_INCREF(Py_None
); resultobj
= Py_None
;
4429 static PyObject
*_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
;
4431 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4433 PyObject
* obj0
= 0 ;
4435 (char *) "self", NULL
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames
,&obj0
)) goto fail
;
4439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= (int)(arg1
)->AutoCompGetTypeSeparator();
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= SWIG_PyObj_FromInt((int)result
);
4454 static PyObject
*_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4456 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4458 PyObject
* obj0
= 0 ;
4459 PyObject
* obj1
= 0 ;
4461 (char *) "self",(char *) "separatorCharacter", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4467 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 (arg1
)->AutoCompSetTypeSeparator(arg2
);
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4477 Py_INCREF(Py_None
); resultobj
= Py_None
;
4484 static PyObject
*_wrap_StyledTextCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4488 PyObject
* obj0
= 0 ;
4489 PyObject
* obj1
= 0 ;
4491 (char *) "self",(char *) "indentSize", NULL
4494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
4495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4497 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 (arg1
)->SetIndent(arg2
);
4504 wxPyEndAllowThreads(__tstate
);
4505 if (PyErr_Occurred()) SWIG_fail
;
4507 Py_INCREF(Py_None
); resultobj
= Py_None
;
4514 static PyObject
*_wrap_StyledTextCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4516 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4518 PyObject
* obj0
= 0 ;
4520 (char *) "self", NULL
4523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
4524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (int)(arg1
)->GetIndent();
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4532 resultobj
= SWIG_PyObj_FromInt((int)result
);
4539 static PyObject
*_wrap_StyledTextCtrl_SetUseTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
*resultobj
;
4541 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4543 PyObject
* obj0
= 0 ;
4544 PyObject
* obj1
= 0 ;
4546 (char *) "self",(char *) "useTabs", NULL
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
4550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4552 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 (arg1
)->SetUseTabs(arg2
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4562 Py_INCREF(Py_None
); resultobj
= Py_None
;
4569 static PyObject
*_wrap_StyledTextCtrl_GetUseTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
;
4571 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4573 PyObject
* obj0
= 0 ;
4575 (char *) "self", NULL
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames
,&obj0
)) goto fail
;
4579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4582 result
= (bool)(arg1
)->GetUseTabs();
4584 wxPyEndAllowThreads(__tstate
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4587 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4594 static PyObject
*_wrap_StyledTextCtrl_SetLineIndentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
;
4596 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4601 PyObject
* obj2
= 0 ;
4603 (char *) "self",(char *) "line",(char *) "indentSize", NULL
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4609 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4613 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 (arg1
)->SetLineIndentation(arg2
,arg3
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 Py_INCREF(Py_None
); resultobj
= Py_None
;
4630 static PyObject
*_wrap_StyledTextCtrl_GetLineIndentation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4632 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4635 PyObject
* obj0
= 0 ;
4636 PyObject
* obj1
= 0 ;
4638 (char *) "self",(char *) "line", NULL
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames
,&obj0
,&obj1
)) goto fail
;
4642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4644 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= (int)(arg1
)->GetLineIndentation(arg2
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_PyObj_FromInt((int)result
);
4661 static PyObject
*_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4667 PyObject
* obj1
= 0 ;
4669 (char *) "self",(char *) "line", NULL
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4675 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 result
= (int)(arg1
)->GetLineIndentPosition(arg2
);
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4685 resultobj
= SWIG_PyObj_FromInt((int)result
);
4692 static PyObject
*_wrap_StyledTextCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
;
4694 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4697 PyObject
* obj0
= 0 ;
4698 PyObject
* obj1
= 0 ;
4700 (char *) "self",(char *) "pos", NULL
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
4704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4706 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (int)(arg1
)->GetColumn(arg2
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= SWIG_PyObj_FromInt((int)result
);
4723 static PyObject
*_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4724 PyObject
*resultobj
;
4725 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4727 PyObject
* obj0
= 0 ;
4728 PyObject
* obj1
= 0 ;
4730 (char *) "self",(char *) "show", NULL
4733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4736 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 (arg1
)->SetUseHorizontalScrollBar(arg2
);
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4746 Py_INCREF(Py_None
); resultobj
= Py_None
;
4753 static PyObject
*_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
*resultobj
;
4755 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4757 PyObject
* obj0
= 0 ;
4759 (char *) "self", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames
,&obj0
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4766 result
= (bool)(arg1
)->GetUseHorizontalScrollBar();
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4778 static PyObject
*_wrap_StyledTextCtrl_SetIndentationGuides(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4782 PyObject
* obj0
= 0 ;
4783 PyObject
* obj1
= 0 ;
4785 (char *) "self",(char *) "show", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames
,&obj0
,&obj1
)) goto fail
;
4789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4791 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 (arg1
)->SetIndentationGuides(arg2
);
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 Py_INCREF(Py_None
); resultobj
= Py_None
;
4808 static PyObject
*_wrap_StyledTextCtrl_GetIndentationGuides(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
*resultobj
;
4810 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4812 PyObject
* obj0
= 0 ;
4814 (char *) "self", NULL
4817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames
,&obj0
)) goto fail
;
4818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (bool)(arg1
)->GetIndentationGuides();
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4833 static PyObject
*_wrap_StyledTextCtrl_SetHighlightGuide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
;
4835 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4837 PyObject
* obj0
= 0 ;
4838 PyObject
* obj1
= 0 ;
4840 (char *) "self",(char *) "column", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames
,&obj0
,&obj1
)) goto fail
;
4844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4846 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4847 if (PyErr_Occurred()) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 (arg1
)->SetHighlightGuide(arg2
);
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 Py_INCREF(Py_None
); resultobj
= Py_None
;
4863 static PyObject
*_wrap_StyledTextCtrl_GetHighlightGuide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
;
4865 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4867 PyObject
* obj0
= 0 ;
4869 (char *) "self", NULL
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames
,&obj0
)) goto fail
;
4873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= (int)(arg1
)->GetHighlightGuide();
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= SWIG_PyObj_FromInt((int)result
);
4888 static PyObject
*_wrap_StyledTextCtrl_GetLineEndPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
;
4890 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4893 PyObject
* obj0
= 0 ;
4894 PyObject
* obj1
= 0 ;
4896 (char *) "self",(char *) "line", NULL
4899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
4900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4902 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4907 result
= (int)(arg1
)->GetLineEndPosition(arg2
);
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) SWIG_fail
;
4912 resultobj
= SWIG_PyObj_FromInt((int)result
);
4919 static PyObject
*_wrap_StyledTextCtrl_GetCodePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
*resultobj
;
4921 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4923 PyObject
* obj0
= 0 ;
4925 (char *) "self", NULL
4928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCodePage",kwnames
,&obj0
)) goto fail
;
4929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 result
= (int)(arg1
)->GetCodePage();
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4937 resultobj
= SWIG_PyObj_FromInt((int)result
);
4944 static PyObject
*_wrap_StyledTextCtrl_GetCaretForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4950 (char *) "self", NULL
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames
,&obj0
)) goto fail
;
4954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4957 result
= (arg1
)->GetCaretForeground();
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4963 wxColour
* resultptr
;
4964 resultptr
= new wxColour((wxColour
&) result
);
4965 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
4973 static PyObject
*_wrap_StyledTextCtrl_GetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
4977 PyObject
* obj0
= 0 ;
4979 (char *) "self", NULL
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames
,&obj0
)) goto fail
;
4983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (bool)(arg1
)->GetReadOnly();
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= SWIG_PyObj_FromBool((bool)result
);
4998 static PyObject
*_wrap_StyledTextCtrl_SetCurrentPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
;
5000 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5002 PyObject
* obj0
= 0 ;
5003 PyObject
* obj1
= 0 ;
5005 (char *) "self",(char *) "pos", NULL
5008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames
,&obj0
,&obj1
)) goto fail
;
5009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5011 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 (arg1
)->SetCurrentPos(arg2
);
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 Py_INCREF(Py_None
); resultobj
= Py_None
;
5028 static PyObject
*_wrap_StyledTextCtrl_SetSelectionStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5033 PyObject
* obj1
= 0 ;
5035 (char *) "self",(char *) "pos", NULL
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames
,&obj0
,&obj1
)) goto fail
;
5039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5041 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 (arg1
)->SetSelectionStart(arg2
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 Py_INCREF(Py_None
); resultobj
= Py_None
;
5058 static PyObject
*_wrap_StyledTextCtrl_GetSelectionStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5062 PyObject
* obj0
= 0 ;
5064 (char *) "self", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames
,&obj0
)) goto fail
;
5068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 result
= (int)(arg1
)->GetSelectionStart();
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5076 resultobj
= SWIG_PyObj_FromInt((int)result
);
5083 static PyObject
*_wrap_StyledTextCtrl_SetSelectionEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj1
= 0 ;
5090 (char *) "self",(char *) "pos", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
5094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5096 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 (arg1
)->SetSelectionEnd(arg2
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 Py_INCREF(Py_None
); resultobj
= Py_None
;
5113 static PyObject
*_wrap_StyledTextCtrl_GetSelectionEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5119 (char *) "self", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames
,&obj0
)) goto fail
;
5123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (int)(arg1
)->GetSelectionEnd();
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= SWIG_PyObj_FromInt((int)result
);
5138 static PyObject
*_wrap_StyledTextCtrl_SetPrintMagnification(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
;
5140 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5142 PyObject
* obj0
= 0 ;
5143 PyObject
* obj1
= 0 ;
5145 (char *) "self",(char *) "magnification", NULL
5148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames
,&obj0
,&obj1
)) goto fail
;
5149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5151 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5156 (arg1
)->SetPrintMagnification(arg2
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 Py_INCREF(Py_None
); resultobj
= Py_None
;
5168 static PyObject
*_wrap_StyledTextCtrl_GetPrintMagnification(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
*resultobj
;
5170 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5172 PyObject
* obj0
= 0 ;
5174 (char *) "self", NULL
5177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames
,&obj0
)) goto fail
;
5178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 result
= (int)(arg1
)->GetPrintMagnification();
5183 wxPyEndAllowThreads(__tstate
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5186 resultobj
= SWIG_PyObj_FromInt((int)result
);
5193 static PyObject
*_wrap_StyledTextCtrl_SetPrintColourMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
;
5195 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5197 PyObject
* obj0
= 0 ;
5198 PyObject
* obj1
= 0 ;
5200 (char *) "self",(char *) "mode", NULL
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames
,&obj0
,&obj1
)) goto fail
;
5204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5206 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 (arg1
)->SetPrintColourMode(arg2
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 Py_INCREF(Py_None
); resultobj
= Py_None
;
5223 static PyObject
*_wrap_StyledTextCtrl_GetPrintColourMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
;
5225 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5227 PyObject
* obj0
= 0 ;
5229 (char *) "self", NULL
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames
,&obj0
)) goto fail
;
5233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 result
= (int)(arg1
)->GetPrintColourMode();
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5241 resultobj
= SWIG_PyObj_FromInt((int)result
);
5248 static PyObject
*_wrap_StyledTextCtrl_FindText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
;
5250 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5253 wxString
*arg4
= 0 ;
5254 int arg5
= (int) 0 ;
5256 bool temp4
= False
;
5257 PyObject
* obj0
= 0 ;
5258 PyObject
* obj1
= 0 ;
5259 PyObject
* obj2
= 0 ;
5260 PyObject
* obj3
= 0 ;
5261 PyObject
* obj4
= 0 ;
5263 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5269 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5273 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5277 arg4
= wxString_in_helper(obj3
);
5278 if (arg4
== NULL
) SWIG_fail
;
5283 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= (int)(arg1
)->FindText(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 resultobj
= SWIG_PyObj_FromInt((int)result
);
5309 static PyObject
*_wrap_StyledTextCtrl_FormatRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5315 wxDC
*arg5
= (wxDC
*) 0 ;
5316 wxDC
*arg6
= (wxDC
*) 0 ;
5322 PyObject
* obj0
= 0 ;
5323 PyObject
* obj1
= 0 ;
5324 PyObject
* obj2
= 0 ;
5325 PyObject
* obj3
= 0 ;
5326 PyObject
* obj4
= 0 ;
5327 PyObject
* obj5
= 0 ;
5328 PyObject
* obj6
= 0 ;
5329 PyObject
* obj7
= 0 ;
5331 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5337 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5341 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5345 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
5346 if (PyErr_Occurred()) SWIG_fail
;
5348 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5349 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5350 if ((SWIG_ConvertPtr(obj6
,(void **) &argp7
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5352 if ((SWIG_ConvertPtr(obj7
,(void **) &argp8
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= (int)(arg1
)->FormatRange(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5361 resultobj
= SWIG_PyObj_FromInt((int)result
);
5368 static PyObject
*_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
*resultobj
;
5370 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5372 PyObject
* obj0
= 0 ;
5374 (char *) "self", NULL
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
5378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 result
= (int)(arg1
)->GetFirstVisibleLine();
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 resultobj
= SWIG_PyObj_FromInt((int)result
);
5393 static PyObject
*_wrap_StyledTextCtrl_GetLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5398 PyObject
* obj0
= 0 ;
5399 PyObject
* obj1
= 0 ;
5401 (char *) "self",(char *) "line", NULL
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLine",kwnames
,&obj0
,&obj1
)) goto fail
;
5405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5407 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 result
= (arg1
)->GetLine(arg2
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5430 static PyObject
*_wrap_StyledTextCtrl_GetLineCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5431 PyObject
*resultobj
;
5432 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5434 PyObject
* obj0
= 0 ;
5436 (char *) "self", NULL
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetLineCount",kwnames
,&obj0
)) goto fail
;
5440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 result
= (int)(arg1
)->GetLineCount();
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 resultobj
= SWIG_PyObj_FromInt((int)result
);
5455 static PyObject
*_wrap_StyledTextCtrl_SetMarginLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
;
5457 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5459 PyObject
* obj0
= 0 ;
5460 PyObject
* obj1
= 0 ;
5462 (char *) "self",(char *) "pixelWidth", NULL
5465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
5466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5468 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 (arg1
)->SetMarginLeft(arg2
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 Py_INCREF(Py_None
); resultobj
= Py_None
;
5485 static PyObject
*_wrap_StyledTextCtrl_GetMarginLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5489 PyObject
* obj0
= 0 ;
5491 (char *) "self", NULL
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames
,&obj0
)) goto fail
;
5495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 result
= (int)(arg1
)->GetMarginLeft();
5500 wxPyEndAllowThreads(__tstate
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= SWIG_PyObj_FromInt((int)result
);
5510 static PyObject
*_wrap_StyledTextCtrl_SetMarginRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
*resultobj
;
5512 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5517 (char *) "self",(char *) "pixelWidth", NULL
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames
,&obj0
,&obj1
)) goto fail
;
5521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5523 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5524 if (PyErr_Occurred()) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 (arg1
)->SetMarginRight(arg2
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 Py_INCREF(Py_None
); resultobj
= Py_None
;
5540 static PyObject
*_wrap_StyledTextCtrl_GetMarginRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5546 (char *) "self", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames
,&obj0
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 result
= (int)(arg1
)->GetMarginRight();
5555 wxPyEndAllowThreads(__tstate
);
5556 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= SWIG_PyObj_FromInt((int)result
);
5565 static PyObject
*_wrap_StyledTextCtrl_GetModify(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
*resultobj
;
5567 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5569 PyObject
* obj0
= 0 ;
5571 (char *) "self", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetModify",kwnames
,&obj0
)) goto fail
;
5575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5578 result
= (bool)(arg1
)->GetModify();
5580 wxPyEndAllowThreads(__tstate
);
5581 if (PyErr_Occurred()) SWIG_fail
;
5583 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5590 static PyObject
*_wrap_StyledTextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5591 PyObject
*resultobj
;
5592 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5595 PyObject
* obj0
= 0 ;
5596 PyObject
* obj1
= 0 ;
5597 PyObject
* obj2
= 0 ;
5599 (char *) "self",(char *) "start",(char *) "end", NULL
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5605 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5609 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->SetSelection(arg2
,arg3
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 Py_INCREF(Py_None
); resultobj
= Py_None
;
5626 static PyObject
*_wrap_StyledTextCtrl_GetSelectedText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5630 PyObject
* obj0
= 0 ;
5632 (char *) "self", NULL
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames
,&obj0
)) goto fail
;
5636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (arg1
)->GetSelectedText();
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5657 static PyObject
*_wrap_StyledTextCtrl_GetTextRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5665 PyObject
* obj2
= 0 ;
5667 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5673 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5677 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 result
= (arg1
)->GetTextRange(arg2
,arg3
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5700 static PyObject
*_wrap_StyledTextCtrl_HideSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5701 PyObject
*resultobj
;
5702 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5704 PyObject
* obj0
= 0 ;
5705 PyObject
* obj1
= 0 ;
5707 (char *) "self",(char *) "normal", NULL
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_HideSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5713 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5718 (arg1
)->HideSelection(arg2
);
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5723 Py_INCREF(Py_None
); resultobj
= Py_None
;
5730 static PyObject
*_wrap_StyledTextCtrl_LineFromPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
*resultobj
;
5732 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5735 PyObject
* obj0
= 0 ;
5736 PyObject
* obj1
= 0 ;
5738 (char *) "self",(char *) "pos", NULL
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
5742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5744 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5745 if (PyErr_Occurred()) SWIG_fail
;
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 result
= (int)(arg1
)->LineFromPosition(arg2
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 resultobj
= SWIG_PyObj_FromInt((int)result
);
5761 static PyObject
*_wrap_StyledTextCtrl_PositionFromLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
;
5763 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5766 PyObject
* obj0
= 0 ;
5767 PyObject
* obj1
= 0 ;
5769 (char *) "self",(char *) "line", NULL
5772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames
,&obj0
,&obj1
)) goto fail
;
5773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5775 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 result
= (int)(arg1
)->PositionFromLine(arg2
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 resultobj
= SWIG_PyObj_FromInt((int)result
);
5792 static PyObject
*_wrap_StyledTextCtrl_LineScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5797 PyObject
* obj0
= 0 ;
5798 PyObject
* obj1
= 0 ;
5799 PyObject
* obj2
= 0 ;
5801 (char *) "self",(char *) "columns",(char *) "lines", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5807 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5811 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 (arg1
)->LineScroll(arg2
,arg3
);
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 Py_INCREF(Py_None
); resultobj
= Py_None
;
5828 static PyObject
*_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5831 PyObject
* obj0
= 0 ;
5833 (char *) "self", NULL
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames
,&obj0
)) goto fail
;
5837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 (arg1
)->EnsureCaretVisible();
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5845 Py_INCREF(Py_None
); resultobj
= Py_None
;
5852 static PyObject
*_wrap_StyledTextCtrl_ReplaceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
*resultobj
;
5854 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5855 wxString
*arg2
= 0 ;
5856 bool temp2
= False
;
5857 PyObject
* obj0
= 0 ;
5858 PyObject
* obj1
= 0 ;
5860 (char *) "self",(char *) "text", NULL
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
5864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5866 arg2
= wxString_in_helper(obj1
);
5867 if (arg2
== NULL
) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 (arg1
)->ReplaceSelection((wxString
const &)*arg2
);
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5877 Py_INCREF(Py_None
); resultobj
= Py_None
;
5892 static PyObject
*_wrap_StyledTextCtrl_SetReadOnly(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5899 (char *) "self",(char *) "readOnly", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames
,&obj0
,&obj1
)) goto fail
;
5903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5905 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 (arg1
)->SetReadOnly(arg2
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 Py_INCREF(Py_None
); resultobj
= Py_None
;
5922 static PyObject
*_wrap_StyledTextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5926 PyObject
* obj0
= 0 ;
5928 (char *) "self", NULL
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
5932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= (bool)(arg1
)->CanPaste();
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5947 static PyObject
*_wrap_StyledTextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5951 PyObject
* obj0
= 0 ;
5953 (char *) "self", NULL
5956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
5957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= (bool)(arg1
)->CanUndo();
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 resultobj
= SWIG_PyObj_FromBool((bool)result
);
5972 static PyObject
*_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5975 PyObject
* obj0
= 0 ;
5977 (char *) "self", NULL
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames
,&obj0
)) goto fail
;
5981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 (arg1
)->EmptyUndoBuffer();
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 Py_INCREF(Py_None
); resultobj
= Py_None
;
5996 static PyObject
*_wrap_StyledTextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
5999 PyObject
* obj0
= 0 ;
6001 (char *) "self", NULL
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
6005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 Py_INCREF(Py_None
); resultobj
= Py_None
;
6020 static PyObject
*_wrap_StyledTextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
;
6022 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6023 PyObject
* obj0
= 0 ;
6025 (char *) "self", NULL
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
6029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 Py_INCREF(Py_None
); resultobj
= Py_None
;
6044 static PyObject
*_wrap_StyledTextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6046 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6049 (char *) "self", NULL
6052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
6053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 wxPyEndAllowThreads(__tstate
);
6059 if (PyErr_Occurred()) SWIG_fail
;
6061 Py_INCREF(Py_None
); resultobj
= Py_None
;
6068 static PyObject
*_wrap_StyledTextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
*resultobj
;
6070 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6071 PyObject
* obj0
= 0 ;
6073 (char *) "self", NULL
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
6077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6085 Py_INCREF(Py_None
); resultobj
= Py_None
;
6092 static PyObject
*_wrap_StyledTextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
*resultobj
;
6094 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6097 (char *) "self", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6109 Py_INCREF(Py_None
); resultobj
= Py_None
;
6116 static PyObject
*_wrap_StyledTextCtrl_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6118 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6119 wxString
*arg2
= 0 ;
6120 bool temp2
= False
;
6121 PyObject
* obj0
= 0 ;
6122 PyObject
* obj1
= 0 ;
6124 (char *) "self",(char *) "text", NULL
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
6128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6130 arg2
= wxString_in_helper(obj1
);
6131 if (arg2
== NULL
) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 (arg1
)->SetText((wxString
const &)*arg2
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 Py_INCREF(Py_None
); resultobj
= Py_None
;
6156 static PyObject
*_wrap_StyledTextCtrl_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6162 (char *) "self", NULL
6165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetText",kwnames
,&obj0
)) goto fail
;
6166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= (arg1
)->GetText();
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6187 static PyObject
*_wrap_StyledTextCtrl_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6193 (char *) "self", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetTextLength",kwnames
,&obj0
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6200 result
= (int)(arg1
)->GetTextLength();
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 resultobj
= SWIG_PyObj_FromInt((int)result
);
6212 static PyObject
*_wrap_StyledTextCtrl_SetOvertype(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6214 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6216 PyObject
* obj0
= 0 ;
6217 PyObject
* obj1
= 0 ;
6219 (char *) "self",(char *) "overtype", NULL
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames
,&obj0
,&obj1
)) goto fail
;
6223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6225 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6230 (arg1
)->SetOvertype(arg2
);
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6235 Py_INCREF(Py_None
); resultobj
= Py_None
;
6242 static PyObject
*_wrap_StyledTextCtrl_GetOvertype(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
*resultobj
;
6244 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6246 PyObject
* obj0
= 0 ;
6248 (char *) "self", NULL
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetOvertype",kwnames
,&obj0
)) goto fail
;
6252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 result
= (bool)(arg1
)->GetOvertype();
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6267 static PyObject
*_wrap_StyledTextCtrl_SetCaretWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6271 PyObject
* obj0
= 0 ;
6272 PyObject
* obj1
= 0 ;
6274 (char *) "self",(char *) "pixelWidth", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6280 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6281 if (PyErr_Occurred()) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 (arg1
)->SetCaretWidth(arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6290 Py_INCREF(Py_None
); resultobj
= Py_None
;
6297 static PyObject
*_wrap_StyledTextCtrl_GetCaretWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
*resultobj
;
6299 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6301 PyObject
* obj0
= 0 ;
6303 (char *) "self", NULL
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames
,&obj0
)) goto fail
;
6307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 result
= (int)(arg1
)->GetCaretWidth();
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 resultobj
= SWIG_PyObj_FromInt((int)result
);
6322 static PyObject
*_wrap_StyledTextCtrl_SetTargetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6327 PyObject
* obj1
= 0 ;
6329 (char *) "self",(char *) "pos", NULL
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames
,&obj0
,&obj1
)) goto fail
;
6333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6335 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 (arg1
)->SetTargetStart(arg2
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 Py_INCREF(Py_None
); resultobj
= Py_None
;
6352 static PyObject
*_wrap_StyledTextCtrl_GetTargetStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6353 PyObject
*resultobj
;
6354 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6356 PyObject
* obj0
= 0 ;
6358 (char *) "self", NULL
6361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames
,&obj0
)) goto fail
;
6362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 result
= (int)(arg1
)->GetTargetStart();
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_PyObj_FromInt((int)result
);
6377 static PyObject
*_wrap_StyledTextCtrl_SetTargetEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6381 PyObject
* obj0
= 0 ;
6382 PyObject
* obj1
= 0 ;
6384 (char *) "self",(char *) "pos", NULL
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames
,&obj0
,&obj1
)) goto fail
;
6388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6390 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 (arg1
)->SetTargetEnd(arg2
);
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 Py_INCREF(Py_None
); resultobj
= Py_None
;
6407 static PyObject
*_wrap_StyledTextCtrl_GetTargetEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
;
6409 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6411 PyObject
* obj0
= 0 ;
6413 (char *) "self", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames
,&obj0
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= (int)(arg1
)->GetTargetEnd();
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 resultobj
= SWIG_PyObj_FromInt((int)result
);
6432 static PyObject
*_wrap_StyledTextCtrl_ReplaceTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6435 wxString
*arg2
= 0 ;
6437 bool temp2
= False
;
6438 PyObject
* obj0
= 0 ;
6439 PyObject
* obj1
= 0 ;
6441 (char *) "self",(char *) "text", NULL
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
6445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6447 arg2
= wxString_in_helper(obj1
);
6448 if (arg2
== NULL
) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (int)(arg1
)->ReplaceTarget((wxString
const &)*arg2
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= SWIG_PyObj_FromInt((int)result
);
6473 static PyObject
*_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6475 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6476 wxString
*arg2
= 0 ;
6478 bool temp2
= False
;
6479 PyObject
* obj0
= 0 ;
6480 PyObject
* obj1
= 0 ;
6482 (char *) "self",(char *) "text", NULL
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames
,&obj0
,&obj1
)) goto fail
;
6486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6488 arg2
= wxString_in_helper(obj1
);
6489 if (arg2
== NULL
) SWIG_fail
;
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= (int)(arg1
)->ReplaceTargetRE((wxString
const &)*arg2
);
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6499 resultobj
= SWIG_PyObj_FromInt((int)result
);
6514 static PyObject
*_wrap_StyledTextCtrl_SearchInTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6517 wxString
*arg2
= 0 ;
6519 bool temp2
= False
;
6520 PyObject
* obj0
= 0 ;
6521 PyObject
* obj1
= 0 ;
6523 (char *) "self",(char *) "text", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6529 arg2
= wxString_in_helper(obj1
);
6530 if (arg2
== NULL
) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (int)(arg1
)->SearchInTarget((wxString
const &)*arg2
);
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= SWIG_PyObj_FromInt((int)result
);
6555 static PyObject
*_wrap_StyledTextCtrl_SetSearchFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6559 PyObject
* obj0
= 0 ;
6560 PyObject
* obj1
= 0 ;
6562 (char *) "self",(char *) "flags", NULL
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6568 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 (arg1
)->SetSearchFlags(arg2
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 Py_INCREF(Py_None
); resultobj
= Py_None
;
6585 static PyObject
*_wrap_StyledTextCtrl_GetSearchFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6589 PyObject
* obj0
= 0 ;
6591 (char *) "self", NULL
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames
,&obj0
)) goto fail
;
6595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 result
= (int)(arg1
)->GetSearchFlags();
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= SWIG_PyObj_FromInt((int)result
);
6610 static PyObject
*_wrap_StyledTextCtrl_CallTipShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
;
6612 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6614 wxString
*arg3
= 0 ;
6615 bool temp3
= False
;
6616 PyObject
* obj0
= 0 ;
6617 PyObject
* obj1
= 0 ;
6618 PyObject
* obj2
= 0 ;
6620 (char *) "self",(char *) "pos",(char *) "definition", NULL
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6626 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 arg3
= wxString_in_helper(obj2
);
6631 if (arg3
== NULL
) SWIG_fail
;
6635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6636 (arg1
)->CallTipShow(arg2
,(wxString
const &)*arg3
);
6638 wxPyEndAllowThreads(__tstate
);
6639 if (PyErr_Occurred()) SWIG_fail
;
6641 Py_INCREF(Py_None
); resultobj
= Py_None
;
6656 static PyObject
*_wrap_StyledTextCtrl_CallTipCancel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6659 PyObject
* obj0
= 0 ;
6661 (char *) "self", NULL
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames
,&obj0
)) goto fail
;
6665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 (arg1
)->CallTipCancel();
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6673 Py_INCREF(Py_None
); resultobj
= Py_None
;
6680 static PyObject
*_wrap_StyledTextCtrl_CallTipActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
*resultobj
;
6682 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6684 PyObject
* obj0
= 0 ;
6686 (char *) "self", NULL
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CallTipActive",kwnames
,&obj0
)) goto fail
;
6690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 result
= (bool)(arg1
)->CallTipActive();
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= SWIG_PyObj_FromBool((bool)result
);
6705 static PyObject
*_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6707 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6711 (char *) "self", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames
,&obj0
)) goto fail
;
6715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 result
= (int)(arg1
)->CallTipPosAtStart();
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= SWIG_PyObj_FromInt((int)result
);
6730 static PyObject
*_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
*resultobj
;
6732 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6737 PyObject
* obj2
= 0 ;
6739 (char *) "self",(char *) "start",(char *) "end", NULL
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6745 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6749 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 (arg1
)->CallTipSetHighlight(arg2
,arg3
);
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 Py_INCREF(Py_None
); resultobj
= Py_None
;
6766 static PyObject
*_wrap_StyledTextCtrl_CallTipSetBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
*resultobj
;
6768 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6769 wxColour
*arg2
= 0 ;
6771 PyObject
* obj0
= 0 ;
6772 PyObject
* obj1
= 0 ;
6774 (char *) "self",(char *) "back", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
6778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6781 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 (arg1
)->CallTipSetBackground((wxColour
const &)*arg2
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 Py_INCREF(Py_None
); resultobj
= Py_None
;
6797 static PyObject
*_wrap_StyledTextCtrl_CallTipSetForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6800 wxColour
*arg2
= 0 ;
6802 PyObject
* obj0
= 0 ;
6803 PyObject
* obj1
= 0 ;
6805 (char *) "self",(char *) "fore", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames
,&obj0
,&obj1
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6812 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 (arg1
)->CallTipSetForeground((wxColour
const &)*arg2
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 Py_INCREF(Py_None
); resultobj
= Py_None
;
6828 static PyObject
*_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6831 wxColour
*arg2
= 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "self",(char *) "fore", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames
,&obj0
,&obj1
)) goto fail
;
6840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6843 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 (arg1
)->CallTipSetForegroundHighlight((wxColour
const &)*arg2
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 Py_INCREF(Py_None
); resultobj
= Py_None
;
6859 static PyObject
*_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6867 (char *) "self",(char *) "line", NULL
6870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames
,&obj0
,&obj1
)) goto fail
;
6871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6873 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (int)(arg1
)->VisibleFromDocLine(arg2
);
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= SWIG_PyObj_FromInt((int)result
);
6890 static PyObject
*_wrap_StyledTextCtrl_DocLineFromVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
;
6892 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6895 PyObject
* obj0
= 0 ;
6896 PyObject
* obj1
= 0 ;
6898 (char *) "self",(char *) "lineDisplay", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6904 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 result
= (int)(arg1
)->DocLineFromVisible(arg2
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_PyObj_FromInt((int)result
);
6921 static PyObject
*_wrap_StyledTextCtrl_SetFoldLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6928 PyObject
* obj2
= 0 ;
6930 (char *) "self",(char *) "line",(char *) "level", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6936 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6940 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6941 if (PyErr_Occurred()) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 (arg1
)->SetFoldLevel(arg2
,arg3
);
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 Py_INCREF(Py_None
); resultobj
= Py_None
;
6957 static PyObject
*_wrap_StyledTextCtrl_GetFoldLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6963 PyObject
* obj1
= 0 ;
6965 (char *) "self",(char *) "line", NULL
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames
,&obj0
,&obj1
)) goto fail
;
6969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6971 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (int)(arg1
)->GetFoldLevel(arg2
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= SWIG_PyObj_FromInt((int)result
);
6988 static PyObject
*_wrap_StyledTextCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
6994 PyObject
* obj0
= 0 ;
6995 PyObject
* obj1
= 0 ;
6996 PyObject
* obj2
= 0 ;
6998 (char *) "self",(char *) "line",(char *) "level", NULL
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7004 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7008 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 result
= (int)(arg1
)->GetLastChild(arg2
,arg3
);
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= SWIG_PyObj_FromInt((int)result
);
7025 static PyObject
*_wrap_StyledTextCtrl_GetFoldParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7031 PyObject
* obj1
= 0 ;
7033 (char *) "self",(char *) "line", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames
,&obj0
,&obj1
)) goto fail
;
7037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7039 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7044 result
= (int)(arg1
)->GetFoldParent(arg2
);
7046 wxPyEndAllowThreads(__tstate
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7049 resultobj
= SWIG_PyObj_FromInt((int)result
);
7056 static PyObject
*_wrap_StyledTextCtrl_ShowLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7061 PyObject
* obj0
= 0 ;
7062 PyObject
* obj1
= 0 ;
7063 PyObject
* obj2
= 0 ;
7065 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7071 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7075 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 (arg1
)->ShowLines(arg2
,arg3
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 Py_INCREF(Py_None
); resultobj
= Py_None
;
7092 static PyObject
*_wrap_StyledTextCtrl_HideLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
*resultobj
;
7094 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7099 PyObject
* obj2
= 0 ;
7101 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_HideLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7107 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7111 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 (arg1
)->HideLines(arg2
,arg3
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 Py_INCREF(Py_None
); resultobj
= Py_None
;
7128 static PyObject
*_wrap_StyledTextCtrl_GetLineVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7133 PyObject
* obj0
= 0 ;
7134 PyObject
* obj1
= 0 ;
7136 (char *) "self",(char *) "line", NULL
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7142 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7147 result
= (bool)(arg1
)->GetLineVisible(arg2
);
7149 wxPyEndAllowThreads(__tstate
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7159 static PyObject
*_wrap_StyledTextCtrl_SetFoldExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7161 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7165 PyObject
* obj1
= 0 ;
7166 PyObject
* obj2
= 0 ;
7168 (char *) "self",(char *) "line",(char *) "expanded", NULL
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7174 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7178 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 (arg1
)->SetFoldExpanded(arg2
,arg3
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 Py_INCREF(Py_None
); resultobj
= Py_None
;
7195 static PyObject
*_wrap_StyledTextCtrl_GetFoldExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7200 PyObject
* obj0
= 0 ;
7201 PyObject
* obj1
= 0 ;
7203 (char *) "self",(char *) "line", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
7207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7209 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 result
= (bool)(arg1
)->GetFoldExpanded(arg2
);
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7226 static PyObject
*_wrap_StyledTextCtrl_ToggleFold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7233 (char *) "self",(char *) "line", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames
,&obj0
,&obj1
)) goto fail
;
7237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7239 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 (arg1
)->ToggleFold(arg2
);
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 Py_INCREF(Py_None
); resultobj
= Py_None
;
7256 static PyObject
*_wrap_StyledTextCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7260 PyObject
* obj0
= 0 ;
7261 PyObject
* obj1
= 0 ;
7263 (char *) "self",(char *) "line", NULL
7266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7269 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 (arg1
)->EnsureVisible(arg2
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 Py_INCREF(Py_None
); resultobj
= Py_None
;
7286 static PyObject
*_wrap_StyledTextCtrl_SetFoldFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7288 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7290 PyObject
* obj0
= 0 ;
7291 PyObject
* obj1
= 0 ;
7293 (char *) "self",(char *) "flags", NULL
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7299 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 (arg1
)->SetFoldFlags(arg2
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 Py_INCREF(Py_None
); resultobj
= Py_None
;
7316 static PyObject
*_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7317 PyObject
*resultobj
;
7318 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7323 (char *) "self",(char *) "line", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames
,&obj0
,&obj1
)) goto fail
;
7327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7329 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 (arg1
)->EnsureVisibleEnforcePolicy(arg2
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 Py_INCREF(Py_None
); resultobj
= Py_None
;
7346 static PyObject
*_wrap_StyledTextCtrl_SetTabIndents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7351 PyObject
* obj1
= 0 ;
7353 (char *) "self",(char *) "tabIndents", NULL
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames
,&obj0
,&obj1
)) goto fail
;
7357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7359 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 (arg1
)->SetTabIndents(arg2
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 Py_INCREF(Py_None
); resultobj
= Py_None
;
7376 static PyObject
*_wrap_StyledTextCtrl_GetTabIndents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7380 PyObject
* obj0
= 0 ;
7382 (char *) "self", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames
,&obj0
)) goto fail
;
7386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7389 result
= (bool)(arg1
)->GetTabIndents();
7391 wxPyEndAllowThreads(__tstate
);
7392 if (PyErr_Occurred()) SWIG_fail
;
7394 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7401 static PyObject
*_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7405 PyObject
* obj0
= 0 ;
7406 PyObject
* obj1
= 0 ;
7408 (char *) "self",(char *) "bsUnIndents", NULL
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames
,&obj0
,&obj1
)) goto fail
;
7412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7414 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 (arg1
)->SetBackSpaceUnIndents(arg2
);
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 Py_INCREF(Py_None
); resultobj
= Py_None
;
7431 static PyObject
*_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7435 PyObject
* obj0
= 0 ;
7437 (char *) "self", NULL
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames
,&obj0
)) goto fail
;
7441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (bool)(arg1
)->GetBackSpaceUnIndents();
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7456 static PyObject
*_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
;
7458 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7460 PyObject
* obj0
= 0 ;
7461 PyObject
* obj1
= 0 ;
7463 (char *) "self",(char *) "periodMilliseconds", NULL
7466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames
,&obj0
,&obj1
)) goto fail
;
7467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7469 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 (arg1
)->SetMouseDwellTime(arg2
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 Py_INCREF(Py_None
); resultobj
= Py_None
;
7486 static PyObject
*_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7490 PyObject
* obj0
= 0 ;
7492 (char *) "self", NULL
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames
,&obj0
)) goto fail
;
7496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (int)(arg1
)->GetMouseDwellTime();
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= SWIG_PyObj_FromInt((int)result
);
7511 static PyObject
*_wrap_StyledTextCtrl_WordStartPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
;
7513 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7517 PyObject
* obj0
= 0 ;
7518 PyObject
* obj1
= 0 ;
7519 PyObject
* obj2
= 0 ;
7521 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7527 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7531 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (int)(arg1
)->WordStartPosition(arg2
,arg3
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= SWIG_PyObj_FromInt((int)result
);
7548 static PyObject
*_wrap_StyledTextCtrl_WordEndPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7555 PyObject
* obj1
= 0 ;
7556 PyObject
* obj2
= 0 ;
7558 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7564 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7568 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 result
= (int)(arg1
)->WordEndPosition(arg2
,arg3
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 resultobj
= SWIG_PyObj_FromInt((int)result
);
7585 static PyObject
*_wrap_StyledTextCtrl_SetWrapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7589 PyObject
* obj0
= 0 ;
7590 PyObject
* obj1
= 0 ;
7592 (char *) "self",(char *) "mode", NULL
7595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7598 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 (arg1
)->SetWrapMode(arg2
);
7605 wxPyEndAllowThreads(__tstate
);
7606 if (PyErr_Occurred()) SWIG_fail
;
7608 Py_INCREF(Py_None
); resultobj
= Py_None
;
7615 static PyObject
*_wrap_StyledTextCtrl_GetWrapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
;
7617 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7619 PyObject
* obj0
= 0 ;
7621 (char *) "self", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames
,&obj0
)) goto fail
;
7625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 result
= (int)(arg1
)->GetWrapMode();
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= SWIG_PyObj_FromInt((int)result
);
7640 static PyObject
*_wrap_StyledTextCtrl_SetLayoutCache(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7641 PyObject
*resultobj
;
7642 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7644 PyObject
* obj0
= 0 ;
7645 PyObject
* obj1
= 0 ;
7647 (char *) "self",(char *) "mode", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames
,&obj0
,&obj1
)) goto fail
;
7651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7653 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 (arg1
)->SetLayoutCache(arg2
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
*_wrap_StyledTextCtrl_GetLayoutCache(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7674 PyObject
* obj0
= 0 ;
7676 (char *) "self", NULL
7679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames
,&obj0
)) goto fail
;
7680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (int)(arg1
)->GetLayoutCache();
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 resultobj
= SWIG_PyObj_FromInt((int)result
);
7695 static PyObject
*_wrap_StyledTextCtrl_SetScrollWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7699 PyObject
* obj0
= 0 ;
7700 PyObject
* obj1
= 0 ;
7702 (char *) "self",(char *) "pixelWidth", NULL
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
7706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7708 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 (arg1
)->SetScrollWidth(arg2
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 Py_INCREF(Py_None
); resultobj
= Py_None
;
7725 static PyObject
*_wrap_StyledTextCtrl_GetScrollWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7729 PyObject
* obj0
= 0 ;
7731 (char *) "self", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames
,&obj0
)) goto fail
;
7735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (int)(arg1
)->GetScrollWidth();
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7743 resultobj
= SWIG_PyObj_FromInt((int)result
);
7750 static PyObject
*_wrap_StyledTextCtrl_TextWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7754 wxString
*arg3
= 0 ;
7756 bool temp3
= False
;
7757 PyObject
* obj0
= 0 ;
7758 PyObject
* obj1
= 0 ;
7759 PyObject
* obj2
= 0 ;
7761 (char *) "self",(char *) "style",(char *) "text", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7767 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7771 arg3
= wxString_in_helper(obj2
);
7772 if (arg3
== NULL
) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= (int)(arg1
)->TextWidth(arg2
,(wxString
const &)*arg3
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 resultobj
= SWIG_PyObj_FromInt((int)result
);
7797 static PyObject
*_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7802 PyObject
* obj1
= 0 ;
7804 (char *) "self",(char *) "endAtLastLine", NULL
7807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames
,&obj0
,&obj1
)) goto fail
;
7808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7810 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7811 if (PyErr_Occurred()) SWIG_fail
;
7814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7815 (arg1
)->SetEndAtLastLine(arg2
);
7817 wxPyEndAllowThreads(__tstate
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7820 Py_INCREF(Py_None
); resultobj
= Py_None
;
7827 static PyObject
*_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
*resultobj
;
7829 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7831 PyObject
* obj0
= 0 ;
7833 (char *) "self", NULL
7836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames
,&obj0
)) goto fail
;
7837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7840 result
= (int)(arg1
)->GetEndAtLastLine();
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_PyObj_FromInt((int)result
);
7852 static PyObject
*_wrap_StyledTextCtrl_TextHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7857 PyObject
* obj0
= 0 ;
7858 PyObject
* obj1
= 0 ;
7860 (char *) "self",(char *) "line", NULL
7863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_TextHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7866 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7871 result
= (int)(arg1
)->TextHeight(arg2
);
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= SWIG_PyObj_FromInt((int)result
);
7883 static PyObject
*_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7884 PyObject
*resultobj
;
7885 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7887 PyObject
* obj0
= 0 ;
7888 PyObject
* obj1
= 0 ;
7890 (char *) "self",(char *) "show", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames
,&obj0
,&obj1
)) goto fail
;
7894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7896 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
7897 if (PyErr_Occurred()) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 (arg1
)->SetUseVerticalScrollBar(arg2
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 Py_INCREF(Py_None
); resultobj
= Py_None
;
7913 static PyObject
*_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
*resultobj
;
7915 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7917 PyObject
* obj0
= 0 ;
7919 (char *) "self", NULL
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames
,&obj0
)) goto fail
;
7923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (bool)(arg1
)->GetUseVerticalScrollBar();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= SWIG_PyObj_FromBool((bool)result
);
7938 static PyObject
*_wrap_StyledTextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
;
7940 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7942 wxString
*arg3
= 0 ;
7943 bool temp3
= False
;
7944 PyObject
* obj0
= 0 ;
7945 PyObject
* obj1
= 0 ;
7946 PyObject
* obj2
= 0 ;
7948 (char *) "self",(char *) "length",(char *) "text", NULL
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_AppendText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7954 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7958 arg3
= wxString_in_helper(obj2
);
7959 if (arg3
== NULL
) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 (arg1
)->AppendText(arg2
,(wxString
const &)*arg3
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 Py_INCREF(Py_None
); resultobj
= Py_None
;
7984 static PyObject
*_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "self", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames
,&obj0
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= (bool)(arg1
)->GetTwoPhaseDraw();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8009 static PyObject
*_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8014 PyObject
* obj1
= 0 ;
8016 (char *) "self",(char *) "twoPhase", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames
,&obj0
,&obj1
)) goto fail
;
8020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8022 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8023 if (PyErr_Occurred()) SWIG_fail
;
8026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8027 (arg1
)->SetTwoPhaseDraw(arg2
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 Py_INCREF(Py_None
); resultobj
= Py_None
;
8039 static PyObject
*_wrap_StyledTextCtrl_TargetFromSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
;
8041 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8042 PyObject
* obj0
= 0 ;
8044 (char *) "self", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames
,&obj0
)) goto fail
;
8048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 (arg1
)->TargetFromSelection();
8053 wxPyEndAllowThreads(__tstate
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8056 Py_INCREF(Py_None
); resultobj
= Py_None
;
8063 static PyObject
*_wrap_StyledTextCtrl_LinesJoin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8065 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8068 (char *) "self", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_LinesJoin",kwnames
,&obj0
)) goto fail
;
8072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 (arg1
)->LinesJoin();
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 Py_INCREF(Py_None
); resultobj
= Py_None
;
8087 static PyObject
*_wrap_StyledTextCtrl_LinesSplit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
;
8089 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8091 PyObject
* obj0
= 0 ;
8092 PyObject
* obj1
= 0 ;
8094 (char *) "self",(char *) "pixelWidth", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames
,&obj0
,&obj1
)) goto fail
;
8098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8100 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8105 (arg1
)->LinesSplit(arg2
);
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8110 Py_INCREF(Py_None
); resultobj
= Py_None
;
8117 static PyObject
*_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8121 wxColour
*arg3
= 0 ;
8123 PyObject
* obj0
= 0 ;
8124 PyObject
* obj1
= 0 ;
8125 PyObject
* obj2
= 0 ;
8127 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8133 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8138 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 (arg1
)->SetFoldMarginColour(arg2
,(wxColour
const &)*arg3
);
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8147 Py_INCREF(Py_None
); resultobj
= Py_None
;
8154 static PyObject
*_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8158 wxColour
*arg3
= 0 ;
8160 PyObject
* obj0
= 0 ;
8161 PyObject
* obj1
= 0 ;
8162 PyObject
* obj2
= 0 ;
8164 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8170 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8171 if (PyErr_Occurred()) SWIG_fail
;
8175 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 (arg1
)->SetFoldMarginHiColour(arg2
,(wxColour
const &)*arg3
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 Py_INCREF(Py_None
); resultobj
= Py_None
;
8191 static PyObject
*_wrap_StyledTextCtrl_LineDuplicate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
;
8193 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8196 (char *) "self", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames
,&obj0
)) goto fail
;
8200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 (arg1
)->LineDuplicate();
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 Py_INCREF(Py_None
); resultobj
= Py_None
;
8215 static PyObject
*_wrap_StyledTextCtrl_HomeDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
*resultobj
;
8217 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8220 (char *) "self", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames
,&obj0
)) goto fail
;
8224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 (arg1
)->HomeDisplay();
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8232 Py_INCREF(Py_None
); resultobj
= Py_None
;
8239 static PyObject
*_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8240 PyObject
*resultobj
;
8241 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8242 PyObject
* obj0
= 0 ;
8244 (char *) "self", NULL
8247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames
,&obj0
)) goto fail
;
8248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 (arg1
)->HomeDisplayExtend();
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 Py_INCREF(Py_None
); resultobj
= Py_None
;
8263 static PyObject
*_wrap_StyledTextCtrl_LineEndDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8266 PyObject
* obj0
= 0 ;
8268 (char *) "self", NULL
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames
,&obj0
)) goto fail
;
8272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 (arg1
)->LineEndDisplay();
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8280 Py_INCREF(Py_None
); resultobj
= Py_None
;
8287 static PyObject
*_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8292 (char *) "self", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames
,&obj0
)) goto fail
;
8296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 (arg1
)->LineEndDisplayExtend();
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 Py_INCREF(Py_None
); resultobj
= Py_None
;
8311 static PyObject
*_wrap_StyledTextCtrl_LineCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8314 PyObject
* obj0
= 0 ;
8316 (char *) "self", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_LineCopy",kwnames
,&obj0
)) goto fail
;
8320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8328 Py_INCREF(Py_None
); resultobj
= Py_None
;
8335 static PyObject
*_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
;
8337 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8338 PyObject
* obj0
= 0 ;
8340 (char *) "self", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames
,&obj0
)) goto fail
;
8344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 (arg1
)->MoveCaretInsideView();
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 Py_INCREF(Py_None
); resultobj
= Py_None
;
8359 static PyObject
*_wrap_StyledTextCtrl_LineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8367 (char *) "self",(char *) "line", NULL
8370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_LineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8373 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 result
= (int)(arg1
)->LineLength(arg2
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= SWIG_PyObj_FromInt((int)result
);
8390 static PyObject
*_wrap_StyledTextCtrl_BraceHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8395 PyObject
* obj0
= 0 ;
8396 PyObject
* obj1
= 0 ;
8397 PyObject
* obj2
= 0 ;
8399 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8405 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8409 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 (arg1
)->BraceHighlight(arg2
,arg3
);
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 Py_INCREF(Py_None
); resultobj
= Py_None
;
8426 static PyObject
*_wrap_StyledTextCtrl_BraceBadLight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8427 PyObject
*resultobj
;
8428 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8430 PyObject
* obj0
= 0 ;
8431 PyObject
* obj1
= 0 ;
8433 (char *) "self",(char *) "pos", NULL
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames
,&obj0
,&obj1
)) goto fail
;
8437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8439 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 (arg1
)->BraceBadLight(arg2
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 Py_INCREF(Py_None
); resultobj
= Py_None
;
8456 static PyObject
*_wrap_StyledTextCtrl_BraceMatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8461 PyObject
* obj0
= 0 ;
8462 PyObject
* obj1
= 0 ;
8464 (char *) "self",(char *) "pos", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames
,&obj0
,&obj1
)) goto fail
;
8468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8470 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 result
= (int)(arg1
)->BraceMatch(arg2
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= SWIG_PyObj_FromInt((int)result
);
8487 static PyObject
*_wrap_StyledTextCtrl_GetViewEOL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8491 PyObject
* obj0
= 0 ;
8493 (char *) "self", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames
,&obj0
)) goto fail
;
8497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= (bool)(arg1
)->GetViewEOL();
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8512 static PyObject
*_wrap_StyledTextCtrl_SetViewEOL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8519 (char *) "self",(char *) "visible", NULL
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames
,&obj0
,&obj1
)) goto fail
;
8523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8525 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 (arg1
)->SetViewEOL(arg2
);
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8535 Py_INCREF(Py_None
); resultobj
= Py_None
;
8542 static PyObject
*_wrap_StyledTextCtrl_GetDocPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8548 (char *) "self", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames
,&obj0
)) goto fail
;
8552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 result
= (void *)(arg1
)->GetDocPointer();
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
8567 static PyObject
*_wrap_StyledTextCtrl_SetDocPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8568 PyObject
*resultobj
;
8569 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8570 void *arg2
= (void *) 0 ;
8571 PyObject
* obj0
= 0 ;
8572 PyObject
* obj1
= 0 ;
8574 (char *) "self",(char *) "docPointer", NULL
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames
,&obj0
,&obj1
)) goto fail
;
8578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8579 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8582 (arg1
)->SetDocPointer(arg2
);
8584 wxPyEndAllowThreads(__tstate
);
8585 if (PyErr_Occurred()) SWIG_fail
;
8587 Py_INCREF(Py_None
); resultobj
= Py_None
;
8594 static PyObject
*_wrap_StyledTextCtrl_SetModEventMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8598 PyObject
* obj0
= 0 ;
8599 PyObject
* obj1
= 0 ;
8601 (char *) "self",(char *) "mask", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames
,&obj0
,&obj1
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8607 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 (arg1
)->SetModEventMask(arg2
);
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 Py_INCREF(Py_None
); resultobj
= Py_None
;
8624 static PyObject
*_wrap_StyledTextCtrl_GetEdgeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8628 PyObject
* obj0
= 0 ;
8630 (char *) "self", NULL
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames
,&obj0
)) goto fail
;
8634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (int)(arg1
)->GetEdgeColumn();
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 resultobj
= SWIG_PyObj_FromInt((int)result
);
8649 static PyObject
*_wrap_StyledTextCtrl_SetEdgeColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8656 (char *) "self",(char *) "column", NULL
8659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
8660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8662 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 (arg1
)->SetEdgeColumn(arg2
);
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 Py_INCREF(Py_None
); resultobj
= Py_None
;
8679 static PyObject
*_wrap_StyledTextCtrl_GetEdgeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8683 PyObject
* obj0
= 0 ;
8685 (char *) "self", NULL
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames
,&obj0
)) goto fail
;
8689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 result
= (int)(arg1
)->GetEdgeMode();
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= SWIG_PyObj_FromInt((int)result
);
8704 static PyObject
*_wrap_StyledTextCtrl_SetEdgeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8708 PyObject
* obj0
= 0 ;
8709 PyObject
* obj1
= 0 ;
8711 (char *) "self",(char *) "mode", NULL
8714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
8715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8717 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 (arg1
)->SetEdgeMode(arg2
);
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 Py_INCREF(Py_None
); resultobj
= Py_None
;
8734 static PyObject
*_wrap_StyledTextCtrl_GetEdgeColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8736 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8738 PyObject
* obj0
= 0 ;
8740 (char *) "self", NULL
8743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames
,&obj0
)) goto fail
;
8744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 result
= (arg1
)->GetEdgeColour();
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8753 wxColour
* resultptr
;
8754 resultptr
= new wxColour((wxColour
&) result
);
8755 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
8763 static PyObject
*_wrap_StyledTextCtrl_SetEdgeColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
;
8765 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8766 wxColour
*arg2
= 0 ;
8768 PyObject
* obj0
= 0 ;
8769 PyObject
* obj1
= 0 ;
8771 (char *) "self",(char *) "edgeColour", NULL
8774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames
,&obj0
,&obj1
)) goto fail
;
8775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8778 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 (arg1
)->SetEdgeColour((wxColour
const &)*arg2
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 Py_INCREF(Py_None
); resultobj
= Py_None
;
8794 static PyObject
*_wrap_StyledTextCtrl_SearchAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8797 PyObject
* obj0
= 0 ;
8799 (char *) "self", NULL
8802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames
,&obj0
)) goto fail
;
8803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8806 (arg1
)->SearchAnchor();
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8811 Py_INCREF(Py_None
); resultobj
= Py_None
;
8818 static PyObject
*_wrap_StyledTextCtrl_SearchNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
;
8820 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8822 wxString
*arg3
= 0 ;
8824 bool temp3
= False
;
8825 PyObject
* obj0
= 0 ;
8826 PyObject
* obj1
= 0 ;
8827 PyObject
* obj2
= 0 ;
8829 (char *) "self",(char *) "flags",(char *) "text", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8835 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8839 arg3
= wxString_in_helper(obj2
);
8840 if (arg3
== NULL
) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (int)(arg1
)->SearchNext(arg2
,(wxString
const &)*arg3
);
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= SWIG_PyObj_FromInt((int)result
);
8865 static PyObject
*_wrap_StyledTextCtrl_SearchPrev(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8866 PyObject
*resultobj
;
8867 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8869 wxString
*arg3
= 0 ;
8871 bool temp3
= False
;
8872 PyObject
* obj0
= 0 ;
8873 PyObject
* obj1
= 0 ;
8874 PyObject
* obj2
= 0 ;
8876 (char *) "self",(char *) "flags",(char *) "text", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8882 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8886 arg3
= wxString_in_helper(obj2
);
8887 if (arg3
== NULL
) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 result
= (int)(arg1
)->SearchPrev(arg2
,(wxString
const &)*arg3
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 resultobj
= SWIG_PyObj_FromInt((int)result
);
8912 static PyObject
*_wrap_StyledTextCtrl_LinesOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8916 PyObject
* obj0
= 0 ;
8918 (char *) "self", NULL
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames
,&obj0
)) goto fail
;
8922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8925 result
= (int)(arg1
)->LinesOnScreen();
8927 wxPyEndAllowThreads(__tstate
);
8928 if (PyErr_Occurred()) SWIG_fail
;
8930 resultobj
= SWIG_PyObj_FromInt((int)result
);
8937 static PyObject
*_wrap_StyledTextCtrl_UsePopUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
*resultobj
;
8939 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8941 PyObject
* obj0
= 0 ;
8942 PyObject
* obj1
= 0 ;
8944 (char *) "self",(char *) "allowPopUp", NULL
8947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames
,&obj0
,&obj1
)) goto fail
;
8948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8950 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8951 if (PyErr_Occurred()) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 (arg1
)->UsePopUp(arg2
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 Py_INCREF(Py_None
); resultobj
= Py_None
;
8967 static PyObject
*_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8971 PyObject
* obj0
= 0 ;
8973 (char *) "self", NULL
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames
,&obj0
)) goto fail
;
8977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 result
= (bool)(arg1
)->SelectionIsRectangle();
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= SWIG_PyObj_FromBool((bool)result
);
8992 static PyObject
*_wrap_StyledTextCtrl_SetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8994 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
8996 PyObject
* obj0
= 0 ;
8997 PyObject
* obj1
= 0 ;
8999 (char *) "self",(char *) "zoom", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9005 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 (arg1
)->SetZoom(arg2
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 Py_INCREF(Py_None
); resultobj
= Py_None
;
9022 static PyObject
*_wrap_StyledTextCtrl_GetZoom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9024 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9026 PyObject
* obj0
= 0 ;
9028 (char *) "self", NULL
9031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetZoom",kwnames
,&obj0
)) goto fail
;
9032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (int)(arg1
)->GetZoom();
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 resultobj
= SWIG_PyObj_FromInt((int)result
);
9047 static PyObject
*_wrap_StyledTextCtrl_CreateDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
;
9049 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9051 PyObject
* obj0
= 0 ;
9053 (char *) "self", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_CreateDocument",kwnames
,&obj0
)) goto fail
;
9057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 result
= (void *)(arg1
)->CreateDocument();
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
9072 static PyObject
*_wrap_StyledTextCtrl_AddRefDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9073 PyObject
*resultobj
;
9074 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9075 void *arg2
= (void *) 0 ;
9076 PyObject
* obj0
= 0 ;
9077 PyObject
* obj1
= 0 ;
9079 (char *) "self",(char *) "docPointer", NULL
9082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames
,&obj0
,&obj1
)) goto fail
;
9083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9084 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 (arg1
)->AddRefDocument(arg2
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 Py_INCREF(Py_None
); resultobj
= Py_None
;
9099 static PyObject
*_wrap_StyledTextCtrl_ReleaseDocument(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9100 PyObject
*resultobj
;
9101 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9102 void *arg2
= (void *) 0 ;
9103 PyObject
* obj0
= 0 ;
9104 PyObject
* obj1
= 0 ;
9106 (char *) "self",(char *) "docPointer", NULL
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames
,&obj0
,&obj1
)) goto fail
;
9110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 (arg1
)->ReleaseDocument(arg2
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9119 Py_INCREF(Py_None
); resultobj
= Py_None
;
9126 static PyObject
*_wrap_StyledTextCtrl_GetModEventMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9130 PyObject
* obj0
= 0 ;
9132 (char *) "self", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames
,&obj0
)) goto fail
;
9136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 result
= (int)(arg1
)->GetModEventMask();
9141 wxPyEndAllowThreads(__tstate
);
9142 if (PyErr_Occurred()) SWIG_fail
;
9144 resultobj
= SWIG_PyObj_FromInt((int)result
);
9151 static PyObject
*_wrap_StyledTextCtrl_SetSTCFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9152 PyObject
*resultobj
;
9153 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9158 (char *) "self",(char *) "focus", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9164 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 (arg1
)->SetSTCFocus(arg2
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 Py_INCREF(Py_None
); resultobj
= Py_None
;
9181 static PyObject
*_wrap_StyledTextCtrl_GetSTCFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9185 PyObject
* obj0
= 0 ;
9187 (char *) "self", NULL
9190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames
,&obj0
)) goto fail
;
9191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9194 result
= (bool)(arg1
)->GetSTCFocus();
9196 wxPyEndAllowThreads(__tstate
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9206 static PyObject
*_wrap_StyledTextCtrl_SetStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9210 PyObject
* obj0
= 0 ;
9211 PyObject
* obj1
= 0 ;
9213 (char *) "self",(char *) "statusCode", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9219 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 (arg1
)->SetStatus(arg2
);
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 Py_INCREF(Py_None
); resultobj
= Py_None
;
9236 static PyObject
*_wrap_StyledTextCtrl_GetStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9240 PyObject
* obj0
= 0 ;
9242 (char *) "self", NULL
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetStatus",kwnames
,&obj0
)) goto fail
;
9246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (int)(arg1
)->GetStatus();
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= SWIG_PyObj_FromInt((int)result
);
9261 static PyObject
*_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
;
9263 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9265 PyObject
* obj0
= 0 ;
9266 PyObject
* obj1
= 0 ;
9268 (char *) "self",(char *) "captures", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames
,&obj0
,&obj1
)) goto fail
;
9272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9274 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 (arg1
)->SetMouseDownCaptures(arg2
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 Py_INCREF(Py_None
); resultobj
= Py_None
;
9291 static PyObject
*_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9293 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9295 PyObject
* obj0
= 0 ;
9297 (char *) "self", NULL
9300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames
,&obj0
)) goto fail
;
9301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (bool)(arg1
)->GetMouseDownCaptures();
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= SWIG_PyObj_FromBool((bool)result
);
9316 static PyObject
*_wrap_StyledTextCtrl_SetSTCCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9320 PyObject
* obj0
= 0 ;
9321 PyObject
* obj1
= 0 ;
9323 (char *) "self",(char *) "cursorType", NULL
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
9327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9329 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 (arg1
)->SetSTCCursor(arg2
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 Py_INCREF(Py_None
); resultobj
= Py_None
;
9346 static PyObject
*_wrap_StyledTextCtrl_GetSTCCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames
,&obj0
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (int)(arg1
)->GetSTCCursor();
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_PyObj_FromInt((int)result
);
9371 static PyObject
*_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9375 PyObject
* obj0
= 0 ;
9376 PyObject
* obj1
= 0 ;
9378 (char *) "self",(char *) "symbol", NULL
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames
,&obj0
,&obj1
)) goto fail
;
9382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9384 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 (arg1
)->SetControlCharSymbol(arg2
);
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 Py_INCREF(Py_None
); resultobj
= Py_None
;
9401 static PyObject
*_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9405 PyObject
* obj0
= 0 ;
9407 (char *) "self", NULL
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames
,&obj0
)) goto fail
;
9411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (int)(arg1
)->GetControlCharSymbol();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= SWIG_PyObj_FromInt((int)result
);
9426 static PyObject
*_wrap_StyledTextCtrl_WordPartLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9431 (char *) "self", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames
,&obj0
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 (arg1
)->WordPartLeft();
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 Py_INCREF(Py_None
); resultobj
= Py_None
;
9450 static PyObject
*_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9453 PyObject
* obj0
= 0 ;
9455 (char *) "self", NULL
9458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames
,&obj0
)) goto fail
;
9459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 (arg1
)->WordPartLeftExtend();
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 Py_INCREF(Py_None
); resultobj
= Py_None
;
9474 static PyObject
*_wrap_StyledTextCtrl_WordPartRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
;
9476 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9477 PyObject
* obj0
= 0 ;
9479 (char *) "self", NULL
9482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_WordPartRight",kwnames
,&obj0
)) goto fail
;
9483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 (arg1
)->WordPartRight();
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 Py_INCREF(Py_None
); resultobj
= Py_None
;
9498 static PyObject
*_wrap_StyledTextCtrl_WordPartRightExtend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9501 PyObject
* obj0
= 0 ;
9503 (char *) "self", NULL
9506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames
,&obj0
)) goto fail
;
9507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 (arg1
)->WordPartRightExtend();
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 Py_INCREF(Py_None
); resultobj
= Py_None
;
9522 static PyObject
*_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9527 PyObject
* obj0
= 0 ;
9528 PyObject
* obj1
= 0 ;
9529 PyObject
* obj2
= 0 ;
9531 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9537 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9541 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 (arg1
)->SetVisiblePolicy(arg2
,arg3
);
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 Py_INCREF(Py_None
); resultobj
= Py_None
;
9558 static PyObject
*_wrap_StyledTextCtrl_DelLineLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9561 PyObject
* obj0
= 0 ;
9563 (char *) "self", NULL
9566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames
,&obj0
)) goto fail
;
9567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 (arg1
)->DelLineLeft();
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 Py_INCREF(Py_None
); resultobj
= Py_None
;
9582 static PyObject
*_wrap_StyledTextCtrl_DelLineRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
;
9584 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9585 PyObject
* obj0
= 0 ;
9587 (char *) "self", NULL
9590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_DelLineRight",kwnames
,&obj0
)) goto fail
;
9591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 (arg1
)->DelLineRight();
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9599 Py_INCREF(Py_None
); resultobj
= Py_None
;
9606 static PyObject
*_wrap_StyledTextCtrl_SetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9607 PyObject
*resultobj
;
9608 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9610 PyObject
* obj0
= 0 ;
9611 PyObject
* obj1
= 0 ;
9613 (char *) "self",(char *) "newOffset", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames
,&obj0
,&obj1
)) goto fail
;
9617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9619 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 (arg1
)->SetXOffset(arg2
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 Py_INCREF(Py_None
); resultobj
= Py_None
;
9636 static PyObject
*_wrap_StyledTextCtrl_GetXOffset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9640 PyObject
* obj0
= 0 ;
9642 (char *) "self", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetXOffset",kwnames
,&obj0
)) goto fail
;
9646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 result
= (int)(arg1
)->GetXOffset();
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= SWIG_PyObj_FromInt((int)result
);
9661 static PyObject
*_wrap_StyledTextCtrl_ChooseCaretX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
*resultobj
;
9663 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9664 PyObject
* obj0
= 0 ;
9666 (char *) "self", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames
,&obj0
)) goto fail
;
9670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 (arg1
)->ChooseCaretX();
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9678 Py_INCREF(Py_None
); resultobj
= Py_None
;
9685 static PyObject
*_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9686 PyObject
*resultobj
;
9687 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9691 PyObject
* obj1
= 0 ;
9692 PyObject
* obj2
= 0 ;
9694 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9700 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9704 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 (arg1
)->SetXCaretPolicy(arg2
,arg3
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 Py_INCREF(Py_None
); resultobj
= Py_None
;
9721 static PyObject
*_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9728 PyObject
* obj2
= 0 ;
9730 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
9733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9736 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9740 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 (arg1
)->SetYCaretPolicy(arg2
,arg3
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9750 Py_INCREF(Py_None
); resultobj
= Py_None
;
9757 static PyObject
*_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
;
9759 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9761 PyObject
* obj0
= 0 ;
9762 PyObject
* obj1
= 0 ;
9764 (char *) "self",(char *) "mode", NULL
9767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames
,&obj0
,&obj1
)) goto fail
;
9768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9770 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9775 (arg1
)->SetPrintWrapMode(arg2
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 Py_INCREF(Py_None
); resultobj
= Py_None
;
9787 static PyObject
*_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9791 PyObject
* obj0
= 0 ;
9793 (char *) "self", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames
,&obj0
)) goto fail
;
9797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9800 result
= (int)(arg1
)->GetPrintWrapMode();
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= SWIG_PyObj_FromInt((int)result
);
9812 static PyObject
*_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
;
9814 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9816 wxColour
*arg3
= 0 ;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9820 PyObject
* obj2
= 0 ;
9822 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9828 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9829 if (PyErr_Occurred()) SWIG_fail
;
9833 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 (arg1
)->SetHotspotActiveForeground(arg2
,(wxColour
const &)*arg3
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 Py_INCREF(Py_None
); resultobj
= Py_None
;
9849 static PyObject
*_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9853 wxColour
*arg3
= 0 ;
9855 PyObject
* obj0
= 0 ;
9856 PyObject
* obj1
= 0 ;
9857 PyObject
* obj2
= 0 ;
9859 (char *) "self",(char *) "useSetting",(char *) "back", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9865 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9870 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 (arg1
)->SetHotspotActiveBackground(arg2
,(wxColour
const &)*arg3
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 Py_INCREF(Py_None
); resultobj
= Py_None
;
9886 static PyObject
*_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
;
9888 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9890 PyObject
* obj0
= 0 ;
9891 PyObject
* obj1
= 0 ;
9893 (char *) "self",(char *) "underline", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames
,&obj0
,&obj1
)) goto fail
;
9897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9899 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 (arg1
)->SetHotspotActiveUnderline(arg2
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 Py_INCREF(Py_None
); resultobj
= Py_None
;
9916 static PyObject
*_wrap_StyledTextCtrl_PositionBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9924 (char *) "self",(char *) "pos", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames
,&obj0
,&obj1
)) goto fail
;
9928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9930 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9935 result
= (int)(arg1
)->PositionBefore(arg2
);
9937 wxPyEndAllowThreads(__tstate
);
9938 if (PyErr_Occurred()) SWIG_fail
;
9940 resultobj
= SWIG_PyObj_FromInt((int)result
);
9947 static PyObject
*_wrap_StyledTextCtrl_PositionAfter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9952 PyObject
* obj0
= 0 ;
9953 PyObject
* obj1
= 0 ;
9955 (char *) "self",(char *) "pos", NULL
9958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames
,&obj0
,&obj1
)) goto fail
;
9959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9961 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 result
= (int)(arg1
)->PositionAfter(arg2
);
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= SWIG_PyObj_FromInt((int)result
);
9978 static PyObject
*_wrap_StyledTextCtrl_CopyRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9984 PyObject
* obj1
= 0 ;
9985 PyObject
* obj2
= 0 ;
9987 (char *) "self",(char *) "start",(char *) "end", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9993 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9997 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9998 if (PyErr_Occurred()) SWIG_fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 (arg1
)->CopyRange(arg2
,arg3
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 Py_INCREF(Py_None
); resultobj
= Py_None
;
10014 static PyObject
*_wrap_StyledTextCtrl_CopyText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
;
10016 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10018 wxString
*arg3
= 0 ;
10019 bool temp3
= False
;
10020 PyObject
* obj0
= 0 ;
10021 PyObject
* obj1
= 0 ;
10022 PyObject
* obj2
= 0 ;
10023 char *kwnames
[] = {
10024 (char *) "self",(char *) "length",(char *) "text", NULL
10027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_CopyText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10030 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10034 arg3
= wxString_in_helper(obj2
);
10035 if (arg3
== NULL
) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 (arg1
)->CopyText(arg2
,(wxString
const &)*arg3
);
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 Py_INCREF(Py_None
); resultobj
= Py_None
;
10060 static PyObject
*_wrap_StyledTextCtrl_StartRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10063 PyObject
* obj0
= 0 ;
10064 char *kwnames
[] = {
10065 (char *) "self", NULL
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_StartRecord",kwnames
,&obj0
)) goto fail
;
10069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 (arg1
)->StartRecord();
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 Py_INCREF(Py_None
); resultobj
= Py_None
;
10084 static PyObject
*_wrap_StyledTextCtrl_StopRecord(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_StopRecord",kwnames
,&obj0
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 (arg1
)->StopRecord();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 Py_INCREF(Py_None
); resultobj
= Py_None
;
10108 static PyObject
*_wrap_StyledTextCtrl_SetLexer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10112 PyObject
* obj0
= 0 ;
10113 PyObject
* obj1
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "self",(char *) "lexer", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetLexer",kwnames
,&obj0
,&obj1
)) goto fail
;
10119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10121 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 (arg1
)->SetLexer(arg2
);
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 Py_INCREF(Py_None
); resultobj
= Py_None
;
10138 static PyObject
*_wrap_StyledTextCtrl_GetLexer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10139 PyObject
*resultobj
;
10140 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10142 PyObject
* obj0
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "self", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetLexer",kwnames
,&obj0
)) goto fail
;
10148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 result
= (int)(arg1
)->GetLexer();
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= SWIG_PyObj_FromInt((int)result
);
10163 static PyObject
*_wrap_StyledTextCtrl_Colourise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
;
10165 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10168 PyObject
* obj0
= 0 ;
10169 PyObject
* obj1
= 0 ;
10170 PyObject
* obj2
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self",(char *) "start",(char *) "end", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_Colourise",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10178 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10182 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10187 (arg1
)->Colourise(arg2
,arg3
);
10189 wxPyEndAllowThreads(__tstate
);
10190 if (PyErr_Occurred()) SWIG_fail
;
10192 Py_INCREF(Py_None
); resultobj
= Py_None
;
10199 static PyObject
*_wrap_StyledTextCtrl_SetProperty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10200 PyObject
*resultobj
;
10201 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10202 wxString
*arg2
= 0 ;
10203 wxString
*arg3
= 0 ;
10204 bool temp2
= False
;
10205 bool temp3
= False
;
10206 PyObject
* obj0
= 0 ;
10207 PyObject
* obj1
= 0 ;
10208 PyObject
* obj2
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self",(char *) "key",(char *) "value", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10216 arg2
= wxString_in_helper(obj1
);
10217 if (arg2
== NULL
) SWIG_fail
;
10221 arg3
= wxString_in_helper(obj2
);
10222 if (arg3
== NULL
) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 (arg1
)->SetProperty((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 Py_INCREF(Py_None
); resultobj
= Py_None
;
10255 static PyObject
*_wrap_StyledTextCtrl_SetKeyWords(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10259 wxString
*arg3
= 0 ;
10260 bool temp3
= False
;
10261 PyObject
* obj0
= 0 ;
10262 PyObject
* obj1
= 0 ;
10263 PyObject
* obj2
= 0 ;
10264 char *kwnames
[] = {
10265 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10271 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10275 arg3
= wxString_in_helper(obj2
);
10276 if (arg3
== NULL
) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 (arg1
)->SetKeyWords(arg2
,(wxString
const &)*arg3
);
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 Py_INCREF(Py_None
); resultobj
= Py_None
;
10301 static PyObject
*_wrap_StyledTextCtrl_SetLexerLanguage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10302 PyObject
*resultobj
;
10303 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10304 wxString
*arg2
= 0 ;
10305 bool temp2
= False
;
10306 PyObject
* obj0
= 0 ;
10307 PyObject
* obj1
= 0 ;
10308 char *kwnames
[] = {
10309 (char *) "self",(char *) "language", NULL
10312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames
,&obj0
,&obj1
)) goto fail
;
10313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10315 arg2
= wxString_in_helper(obj1
);
10316 if (arg2
== NULL
) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 (arg1
)->SetLexerLanguage((wxString
const &)*arg2
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 Py_INCREF(Py_None
); resultobj
= Py_None
;
10341 static PyObject
*_wrap_StyledTextCtrl_GetCurrentLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
;
10343 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10345 PyObject
* obj0
= 0 ;
10346 char *kwnames
[] = {
10347 (char *) "self", NULL
10350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames
,&obj0
)) goto fail
;
10351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (int)(arg1
)->GetCurrentLine();
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= SWIG_PyObj_FromInt((int)result
);
10366 static PyObject
*_wrap_StyledTextCtrl_StyleSetSpec(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
;
10368 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10370 wxString
*arg3
= 0 ;
10371 bool temp3
= False
;
10372 PyObject
* obj0
= 0 ;
10373 PyObject
* obj1
= 0 ;
10374 PyObject
* obj2
= 0 ;
10375 char *kwnames
[] = {
10376 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10382 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10386 arg3
= wxString_in_helper(obj2
);
10387 if (arg3
== NULL
) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 (arg1
)->StyleSetSpec(arg2
,(wxString
const &)*arg3
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 Py_INCREF(Py_None
); resultobj
= Py_None
;
10412 static PyObject
*_wrap_StyledTextCtrl_StyleSetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10417 PyObject
* obj0
= 0 ;
10418 PyObject
* obj1
= 0 ;
10419 PyObject
* obj2
= 0 ;
10420 char *kwnames
[] = {
10421 (char *) "self",(char *) "styleNum",(char *) "font", NULL
10424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10427 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10431 if (arg3
== NULL
) {
10432 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 (arg1
)->StyleSetFont(arg2
,*arg3
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 Py_INCREF(Py_None
); resultobj
= Py_None
;
10448 static PyObject
*_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10453 wxString
*arg4
= 0 ;
10457 bool temp4
= False
;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 PyObject
* obj2
= 0 ;
10461 PyObject
* obj3
= 0 ;
10462 PyObject
* obj4
= 0 ;
10463 PyObject
* obj5
= 0 ;
10464 PyObject
* obj6
= 0 ;
10465 char *kwnames
[] = {
10466 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
10469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10472 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10476 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10480 arg4
= wxString_in_helper(obj3
);
10481 if (arg4
== NULL
) SWIG_fail
;
10485 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10489 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 arg7
= (bool) SWIG_PyObj_AsBool(obj6
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 (arg1
)->StyleSetFontAttr(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 Py_INCREF(Py_None
); resultobj
= Py_None
;
10518 static PyObject
*_wrap_StyledTextCtrl_CmdKeyExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10522 PyObject
* obj0
= 0 ;
10523 PyObject
* obj1
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self",(char *) "cmd", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames
,&obj0
,&obj1
)) goto fail
;
10529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10531 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 (arg1
)->CmdKeyExecute(arg2
);
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 Py_INCREF(Py_None
); resultobj
= Py_None
;
10548 static PyObject
*_wrap_StyledTextCtrl_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
;
10550 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 PyObject
* obj1
= 0 ;
10555 PyObject
* obj2
= 0 ;
10556 char *kwnames
[] = {
10557 (char *) "self",(char *) "left",(char *) "right", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10563 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10567 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10572 (arg1
)->SetMargins(arg2
,arg3
);
10574 wxPyEndAllowThreads(__tstate
);
10575 if (PyErr_Occurred()) SWIG_fail
;
10577 Py_INCREF(Py_None
); resultobj
= Py_None
;
10584 static PyObject
*_wrap_StyledTextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10586 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10587 int *arg2
= (int *) 0 ;
10588 int *arg3
= (int *) 0 ;
10591 PyObject
* obj0
= 0 ;
10592 char *kwnames
[] = {
10593 (char *) "self", NULL
10598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
10599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 (arg1
)->GetSelection(arg2
,arg3
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 Py_INCREF(Py_None
); resultobj
= Py_None
;
10609 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
10610 resultobj
= t_output_helper(resultobj
,o
);
10613 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
10614 resultobj
= t_output_helper(resultobj
,o
);
10622 static PyObject
*_wrap_StyledTextCtrl_PointFromPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 char *kwnames
[] = {
10630 (char *) "self",(char *) "pos", NULL
10633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10636 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= (arg1
)->PointFromPosition(arg2
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10647 wxPoint
* resultptr
;
10648 resultptr
= new wxPoint((wxPoint
&) result
);
10649 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
10657 static PyObject
*_wrap_StyledTextCtrl_ScrollToLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
;
10659 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10661 PyObject
* obj0
= 0 ;
10662 PyObject
* obj1
= 0 ;
10663 char *kwnames
[] = {
10664 (char *) "self",(char *) "line", NULL
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
10668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10670 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10675 (arg1
)->ScrollToLine(arg2
);
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10680 Py_INCREF(Py_None
); resultobj
= Py_None
;
10687 static PyObject
*_wrap_StyledTextCtrl_ScrollToColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 PyObject
* obj1
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "self",(char *) "column", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
10698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10700 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 (arg1
)->ScrollToColumn(arg2
);
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10710 Py_INCREF(Py_None
); resultobj
= Py_None
;
10717 static PyObject
*_wrap_StyledTextCtrl_SendMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10721 long arg3
= (long) 0 ;
10722 long arg4
= (long) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 PyObject
* obj2
= 0 ;
10727 PyObject
* obj3
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10735 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10740 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10746 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 result
= (long)(arg1
)->SendMsg(arg2
,arg3
,arg4
);
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= SWIG_PyObj_FromLong((long)result
);
10764 static PyObject
*_wrap_StyledTextCtrl_SetVScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10767 wxScrollBar
*arg2
= (wxScrollBar
*) 0 ;
10768 PyObject
* obj0
= 0 ;
10769 PyObject
* obj1
= 0 ;
10770 char *kwnames
[] = {
10771 (char *) "self",(char *) "bar", NULL
10774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames
,&obj0
,&obj1
)) goto fail
;
10775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 (arg1
)->SetVScrollBar(arg2
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 Py_INCREF(Py_None
); resultobj
= Py_None
;
10791 static PyObject
*_wrap_StyledTextCtrl_SetHScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10794 wxScrollBar
*arg2
= (wxScrollBar
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 PyObject
* obj1
= 0 ;
10797 char *kwnames
[] = {
10798 (char *) "self",(char *) "bar", NULL
10801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames
,&obj0
,&obj1
)) goto fail
;
10802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10803 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 (arg1
)->SetHScrollBar(arg2
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 Py_INCREF(Py_None
); resultobj
= Py_None
;
10818 static PyObject
*_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
;
10820 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10822 PyObject
* obj0
= 0 ;
10823 char *kwnames
[] = {
10824 (char *) "self", NULL
10827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames
,&obj0
)) goto fail
;
10828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 result
= (bool)(arg1
)->GetLastKeydownProcessed();
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10843 static PyObject
*_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self",(char *) "val", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames
,&obj0
,&obj1
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10856 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 (arg1
)->SetLastKeydownProcessed(arg2
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 Py_INCREF(Py_None
); resultobj
= Py_None
;
10873 static PyObject
*_wrap_StyledTextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10876 wxString
*arg2
= 0 ;
10878 bool temp2
= False
;
10879 PyObject
* obj0
= 0 ;
10880 PyObject
* obj1
= 0 ;
10881 char *kwnames
[] = {
10882 (char *) "self",(char *) "filename", NULL
10885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10888 arg2
= wxString_in_helper(obj1
);
10889 if (arg2
== NULL
) SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10914 static PyObject
*_wrap_StyledTextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
;
10916 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10917 wxString
*arg2
= 0 ;
10919 bool temp2
= False
;
10920 PyObject
* obj0
= 0 ;
10921 PyObject
* obj1
= 0 ;
10922 char *kwnames
[] = {
10923 (char *) "self",(char *) "filename", NULL
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
10927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10929 arg2
= wxString_in_helper(obj1
);
10930 if (arg2
== NULL
) SWIG_fail
;
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
10937 wxPyEndAllowThreads(__tstate
);
10938 if (PyErr_Occurred()) SWIG_fail
;
10940 resultobj
= SWIG_PyObj_FromBool((bool)result
);
10955 static PyObject
*_wrap_StyledTextCtrl_DoDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
10960 wxDragResult arg4
;
10961 wxDragResult result
;
10962 wxDragResult
*argp4
;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 PyObject
* obj2
= 0 ;
10966 PyObject
* obj3
= 0 ;
10967 char *kwnames
[] = {
10968 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
10971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10974 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10978 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10981 if ((SWIG_ConvertPtr(obj3
,(void **) &argp4
, SWIGTYPE_p_wxDragResult
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10985 result
= (arg1
)->DoDragOver(arg2
,arg3
,arg4
);
10987 wxPyEndAllowThreads(__tstate
);
10988 if (PyErr_Occurred()) SWIG_fail
;
10991 wxDragResult
* resultptr
;
10992 resultptr
= new wxDragResult((wxDragResult
&) result
);
10993 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDragResult
, 1);
11001 static PyObject
*_wrap_StyledTextCtrl_DoDropText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
;
11003 wxStyledTextCtrl
*arg1
= (wxStyledTextCtrl
*) 0 ;
11006 wxString
*arg4
= 0 ;
11008 bool temp4
= False
;
11009 PyObject
* obj0
= 0 ;
11010 PyObject
* obj1
= 0 ;
11011 PyObject
* obj2
= 0 ;
11012 PyObject
* obj3
= 0 ;
11013 char *kwnames
[] = {
11014 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
11017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11020 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11024 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11028 arg4
= wxString_in_helper(obj3
);
11029 if (arg4
== NULL
) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (bool)(arg1
)->DoDropText(arg2
,arg3
,(wxString
const &)*arg4
);
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 resultobj
= SWIG_PyObj_FromBool((bool)result
);
11054 static PyObject
* StyledTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11057 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl
, obj
);
11059 return Py_BuildValue((char *)"");
11061 static PyObject
*_wrap_new_StyledTextEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxEventType arg1
= (wxEventType
) 0 ;
11064 int arg2
= (int) 0 ;
11065 wxStyledTextEvent
*result
;
11066 PyObject
* obj0
= 0 ;
11067 PyObject
* obj1
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "commandType",(char *) "id", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_StyledTextEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11075 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11081 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (wxStyledTextEvent
*)new wxStyledTextEvent(arg1
,arg2
);
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStyledTextEvent
, 1);
11099 static PyObject
*_wrap_delete_StyledTextEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
;
11101 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11102 PyObject
* obj0
= 0 ;
11103 char *kwnames
[] = {
11104 (char *) "self", NULL
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_StyledTextEvent",kwnames
,&obj0
)) goto fail
;
11108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 Py_INCREF(Py_None
); resultobj
= Py_None
;
11123 static PyObject
*_wrap_StyledTextEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
;
11125 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11127 PyObject
* obj0
= 0 ;
11128 PyObject
* obj1
= 0 ;
11129 char *kwnames
[] = {
11130 (char *) "self",(char *) "pos", NULL
11133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11136 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 (arg1
)->SetPosition(arg2
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 Py_INCREF(Py_None
); resultobj
= Py_None
;
11153 static PyObject
*_wrap_StyledTextEvent_SetKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11157 PyObject
* obj0
= 0 ;
11158 PyObject
* obj1
= 0 ;
11159 char *kwnames
[] = {
11160 (char *) "self",(char *) "k", NULL
11163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetKey",kwnames
,&obj0
,&obj1
)) goto fail
;
11164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11166 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 (arg1
)->SetKey(arg2
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 Py_INCREF(Py_None
); resultobj
= Py_None
;
11183 static PyObject
*_wrap_StyledTextEvent_SetModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
;
11185 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self",(char *) "m", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetModifiers",kwnames
,&obj0
,&obj1
)) goto fail
;
11194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11196 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 (arg1
)->SetModifiers(arg2
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 Py_INCREF(Py_None
); resultobj
= Py_None
;
11213 static PyObject
*_wrap_StyledTextEvent_SetModificationType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 PyObject
* obj1
= 0 ;
11219 char *kwnames
[] = {
11220 (char *) "self",(char *) "t", NULL
11223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetModificationType",kwnames
,&obj0
,&obj1
)) goto fail
;
11224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11226 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 (arg1
)->SetModificationType(arg2
);
11233 wxPyEndAllowThreads(__tstate
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11236 Py_INCREF(Py_None
); resultobj
= Py_None
;
11243 static PyObject
*_wrap_StyledTextEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
*resultobj
;
11245 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11246 wxString
*arg2
= 0 ;
11247 bool temp2
= False
;
11248 PyObject
* obj0
= 0 ;
11249 PyObject
* obj1
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self",(char *) "t", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11257 arg2
= wxString_in_helper(obj1
);
11258 if (arg2
== NULL
) SWIG_fail
;
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 (arg1
)->SetText((wxString
const &)*arg2
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 Py_INCREF(Py_None
); resultobj
= Py_None
;
11283 static PyObject
*_wrap_StyledTextEvent_SetLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11284 PyObject
*resultobj
;
11285 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11287 PyObject
* obj0
= 0 ;
11288 PyObject
* obj1
= 0 ;
11289 char *kwnames
[] = {
11290 (char *) "self",(char *) "len", NULL
11293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetLength",kwnames
,&obj0
,&obj1
)) goto fail
;
11294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11296 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 (arg1
)->SetLength(arg2
);
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11306 Py_INCREF(Py_None
); resultobj
= Py_None
;
11313 static PyObject
*_wrap_StyledTextEvent_SetLinesAdded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11314 PyObject
*resultobj
;
11315 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11317 PyObject
* obj0
= 0 ;
11318 PyObject
* obj1
= 0 ;
11319 char *kwnames
[] = {
11320 (char *) "self",(char *) "num", NULL
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames
,&obj0
,&obj1
)) goto fail
;
11324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11326 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 (arg1
)->SetLinesAdded(arg2
);
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 Py_INCREF(Py_None
); resultobj
= Py_None
;
11343 static PyObject
*_wrap_StyledTextEvent_SetLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11347 PyObject
* obj0
= 0 ;
11348 PyObject
* obj1
= 0 ;
11349 char *kwnames
[] = {
11350 (char *) "self",(char *) "val", NULL
11353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11356 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 (arg1
)->SetLine(arg2
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 Py_INCREF(Py_None
); resultobj
= Py_None
;
11373 static PyObject
*_wrap_StyledTextEvent_SetFoldLevelNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11377 PyObject
* obj0
= 0 ;
11378 PyObject
* obj1
= 0 ;
11379 char *kwnames
[] = {
11380 (char *) "self",(char *) "val", NULL
11383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames
,&obj0
,&obj1
)) goto fail
;
11384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11386 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 (arg1
)->SetFoldLevelNow(arg2
);
11393 wxPyEndAllowThreads(__tstate
);
11394 if (PyErr_Occurred()) SWIG_fail
;
11396 Py_INCREF(Py_None
); resultobj
= Py_None
;
11403 static PyObject
*_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
;
11405 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11407 PyObject
* obj0
= 0 ;
11408 PyObject
* obj1
= 0 ;
11409 char *kwnames
[] = {
11410 (char *) "self",(char *) "val", NULL
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames
,&obj0
,&obj1
)) goto fail
;
11414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11416 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 (arg1
)->SetFoldLevelPrev(arg2
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 Py_INCREF(Py_None
); resultobj
= Py_None
;
11433 static PyObject
*_wrap_StyledTextEvent_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 PyObject
* obj1
= 0 ;
11439 char *kwnames
[] = {
11440 (char *) "self",(char *) "val", NULL
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
11444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11446 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 (arg1
)->SetMargin(arg2
);
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11456 Py_INCREF(Py_None
); resultobj
= Py_None
;
11463 static PyObject
*_wrap_StyledTextEvent_SetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11464 PyObject
*resultobj
;
11465 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "self",(char *) "val", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11476 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 (arg1
)->SetMessage(arg2
);
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 Py_INCREF(Py_None
); resultobj
= Py_None
;
11493 static PyObject
*_wrap_StyledTextEvent_SetWParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
;
11495 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11497 PyObject
* obj0
= 0 ;
11498 PyObject
* obj1
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "self",(char *) "val", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetWParam",kwnames
,&obj0
,&obj1
)) goto fail
;
11504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11506 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 (arg1
)->SetWParam(arg2
);
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 Py_INCREF(Py_None
); resultobj
= Py_None
;
11523 static PyObject
*_wrap_StyledTextEvent_SetLParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11527 PyObject
* obj0
= 0 ;
11528 PyObject
* obj1
= 0 ;
11529 char *kwnames
[] = {
11530 (char *) "self",(char *) "val", NULL
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetLParam",kwnames
,&obj0
,&obj1
)) goto fail
;
11534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11536 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 (arg1
)->SetLParam(arg2
);
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11546 Py_INCREF(Py_None
); resultobj
= Py_None
;
11553 static PyObject
*_wrap_StyledTextEvent_SetListType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
;
11555 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 char *kwnames
[] = {
11560 (char *) "self",(char *) "val", NULL
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetListType",kwnames
,&obj0
,&obj1
)) goto fail
;
11564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11566 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 (arg1
)->SetListType(arg2
);
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11576 Py_INCREF(Py_None
); resultobj
= Py_None
;
11583 static PyObject
*_wrap_StyledTextEvent_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 char *kwnames
[] = {
11590 (char *) "self",(char *) "val", NULL
11593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
11594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11596 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 (arg1
)->SetX(arg2
);
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11606 Py_INCREF(Py_None
); resultobj
= Py_None
;
11613 static PyObject
*_wrap_StyledTextEvent_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
;
11615 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11617 PyObject
* obj0
= 0 ;
11618 PyObject
* obj1
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "self",(char *) "val", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
11624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11626 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 (arg1
)->SetY(arg2
);
11633 wxPyEndAllowThreads(__tstate
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11636 Py_INCREF(Py_None
); resultobj
= Py_None
;
11643 static PyObject
*_wrap_StyledTextEvent_SetDragText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
;
11645 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11646 wxString
*arg2
= 0 ;
11647 bool temp2
= False
;
11648 PyObject
* obj0
= 0 ;
11649 PyObject
* obj1
= 0 ;
11650 char *kwnames
[] = {
11651 (char *) "self",(char *) "val", NULL
11654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetDragText",kwnames
,&obj0
,&obj1
)) goto fail
;
11655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11657 arg2
= wxString_in_helper(obj1
);
11658 if (arg2
== NULL
) SWIG_fail
;
11662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11663 (arg1
)->SetDragText((wxString
const &)*arg2
);
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 Py_INCREF(Py_None
); resultobj
= Py_None
;
11683 static PyObject
*_wrap_StyledTextEvent_SetDragAllowMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "self",(char *) "val", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames
,&obj0
,&obj1
)) goto fail
;
11694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11696 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 (arg1
)->SetDragAllowMove(arg2
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 Py_INCREF(Py_None
); resultobj
= Py_None
;
11713 static PyObject
*_wrap_StyledTextEvent_SetDragResult(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11716 wxDragResult arg2
;
11717 wxDragResult
*argp2
;
11718 PyObject
* obj0
= 0 ;
11719 PyObject
* obj1
= 0 ;
11720 char *kwnames
[] = {
11721 (char *) "self",(char *) "val", NULL
11724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StyledTextEvent_SetDragResult",kwnames
,&obj0
,&obj1
)) goto fail
;
11725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11726 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxDragResult
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 (arg1
)->SetDragResult(arg2
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 Py_INCREF(Py_None
); resultobj
= Py_None
;
11742 static PyObject
*_wrap_StyledTextEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11746 PyObject
* obj0
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "self", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetPosition();
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= SWIG_PyObj_FromInt((int)result
);
11767 static PyObject
*_wrap_StyledTextEvent_GetKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11771 PyObject
* obj0
= 0 ;
11772 char *kwnames
[] = {
11773 (char *) "self", NULL
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetKey",kwnames
,&obj0
)) goto fail
;
11777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetKey();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_PyObj_FromInt((int)result
);
11792 static PyObject
*_wrap_StyledTextEvent_GetModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11796 PyObject
* obj0
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetModifiers",kwnames
,&obj0
)) goto fail
;
11802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetModifiers();
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11810 resultobj
= SWIG_PyObj_FromInt((int)result
);
11817 static PyObject
*_wrap_StyledTextEvent_GetModificationType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
*resultobj
;
11819 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11821 PyObject
* obj0
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "self", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetModificationType",kwnames
,&obj0
)) goto fail
;
11827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetModificationType();
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11835 resultobj
= SWIG_PyObj_FromInt((int)result
);
11842 static PyObject
*_wrap_StyledTextEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
;
11844 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11846 PyObject
* obj0
= 0 ;
11847 char *kwnames
[] = {
11848 (char *) "self", NULL
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetText",kwnames
,&obj0
)) goto fail
;
11852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= ((wxStyledTextEvent
const *)arg1
)->GetText();
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11873 static PyObject
*_wrap_StyledTextEvent_GetLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
;
11875 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11877 PyObject
* obj0
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "self", NULL
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetLength",kwnames
,&obj0
)) goto fail
;
11883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetLength();
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 resultobj
= SWIG_PyObj_FromInt((int)result
);
11898 static PyObject
*_wrap_StyledTextEvent_GetLinesAdded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
;
11900 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 char *kwnames
[] = {
11904 (char *) "self", NULL
11907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames
,&obj0
)) goto fail
;
11908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetLinesAdded();
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11916 resultobj
= SWIG_PyObj_FromInt((int)result
);
11923 static PyObject
*_wrap_StyledTextEvent_GetLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11927 PyObject
* obj0
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetLine",kwnames
,&obj0
)) goto fail
;
11933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetLine();
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11941 resultobj
= SWIG_PyObj_FromInt((int)result
);
11948 static PyObject
*_wrap_StyledTextEvent_GetFoldLevelNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11949 PyObject
*resultobj
;
11950 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11952 PyObject
* obj0
= 0 ;
11953 char *kwnames
[] = {
11954 (char *) "self", NULL
11957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames
,&obj0
)) goto fail
;
11958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetFoldLevelNow();
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11966 resultobj
= SWIG_PyObj_FromInt((int)result
);
11973 static PyObject
*_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11974 PyObject
*resultobj
;
11975 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
11977 PyObject
* obj0
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames
,&obj0
)) goto fail
;
11983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11986 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetFoldLevelPrev();
11988 wxPyEndAllowThreads(__tstate
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11991 resultobj
= SWIG_PyObj_FromInt((int)result
);
11998 static PyObject
*_wrap_StyledTextEvent_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11999 PyObject
*resultobj
;
12000 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12002 PyObject
* obj0
= 0 ;
12003 char *kwnames
[] = {
12004 (char *) "self", NULL
12007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetMargin",kwnames
,&obj0
)) goto fail
;
12008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetMargin();
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= SWIG_PyObj_FromInt((int)result
);
12023 static PyObject
*_wrap_StyledTextEvent_GetMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12024 PyObject
*resultobj
;
12025 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12027 PyObject
* obj0
= 0 ;
12028 char *kwnames
[] = {
12029 (char *) "self", NULL
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetMessage",kwnames
,&obj0
)) goto fail
;
12033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetMessage();
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= SWIG_PyObj_FromInt((int)result
);
12048 static PyObject
*_wrap_StyledTextEvent_GetWParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
;
12050 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12052 PyObject
* obj0
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "self", NULL
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetWParam",kwnames
,&obj0
)) goto fail
;
12058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12061 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetWParam();
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= SWIG_PyObj_FromInt((int)result
);
12073 static PyObject
*_wrap_StyledTextEvent_GetLParam(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12074 PyObject
*resultobj
;
12075 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12077 PyObject
* obj0
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetLParam",kwnames
,&obj0
)) goto fail
;
12083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetLParam();
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= SWIG_PyObj_FromInt((int)result
);
12098 static PyObject
*_wrap_StyledTextEvent_GetListType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12099 PyObject
*resultobj
;
12100 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12102 PyObject
* obj0
= 0 ;
12103 char *kwnames
[] = {
12104 (char *) "self", NULL
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetListType",kwnames
,&obj0
)) goto fail
;
12108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetListType();
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= SWIG_PyObj_FromInt((int)result
);
12123 static PyObject
*_wrap_StyledTextEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
*resultobj
;
12125 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12127 PyObject
* obj0
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "self", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetX",kwnames
,&obj0
)) goto fail
;
12133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetX();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12141 resultobj
= SWIG_PyObj_FromInt((int)result
);
12148 static PyObject
*_wrap_StyledTextEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12149 PyObject
*resultobj
;
12150 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12152 PyObject
* obj0
= 0 ;
12153 char *kwnames
[] = {
12154 (char *) "self", NULL
12157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetY",kwnames
,&obj0
)) goto fail
;
12158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 result
= (int)((wxStyledTextEvent
const *)arg1
)->GetY();
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 resultobj
= SWIG_PyObj_FromInt((int)result
);
12173 static PyObject
*_wrap_StyledTextEvent_GetDragText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12177 PyObject
* obj0
= 0 ;
12178 char *kwnames
[] = {
12179 (char *) "self", NULL
12182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetDragText",kwnames
,&obj0
)) goto fail
;
12183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= (arg1
)->GetDragText();
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12204 static PyObject
*_wrap_StyledTextEvent_GetDragAllowMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 char *kwnames
[] = {
12210 (char *) "self", NULL
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames
,&obj0
)) goto fail
;
12214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (bool)(arg1
)->GetDragAllowMove();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12229 static PyObject
*_wrap_StyledTextEvent_GetDragResult(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12232 wxDragResult result
;
12233 PyObject
* obj0
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "self", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetDragResult",kwnames
,&obj0
)) goto fail
;
12239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 result
= (arg1
)->GetDragResult();
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12248 wxDragResult
* resultptr
;
12249 resultptr
= new wxDragResult((wxDragResult
&) result
);
12250 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDragResult
, 1);
12258 static PyObject
*_wrap_StyledTextEvent_GetShift(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetShift",kwnames
,&obj0
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 result
= (bool)((wxStyledTextEvent
const *)arg1
)->GetShift();
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12283 static PyObject
*_wrap_StyledTextEvent_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12287 PyObject
* obj0
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetControl",kwnames
,&obj0
)) goto fail
;
12293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (bool)((wxStyledTextEvent
const *)arg1
)->GetControl();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12308 static PyObject
*_wrap_StyledTextEvent_GetAlt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "self", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_GetAlt",kwnames
,&obj0
)) goto fail
;
12318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (bool)((wxStyledTextEvent
const *)arg1
)->GetAlt();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= SWIG_PyObj_FromBool((bool)result
);
12333 static PyObject
*_wrap_StyledTextEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxStyledTextEvent
*arg1
= (wxStyledTextEvent
*) 0 ;
12337 PyObject
* obj0
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StyledTextEvent_Clone",kwnames
,&obj0
)) goto fail
;
12343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStyledTextEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= (wxEvent
*)((wxStyledTextEvent
const *)arg1
)->Clone();
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
12358 static PyObject
* StyledTextEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12361 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent
, obj
);
12363 return Py_BuildValue((char *)"");
12365 static PyMethodDef SwigMethods
[] = {
12366 { (char *)"new_StyledTextCtrl", (PyCFunction
) _wrap_new_StyledTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
12367 { (char *)"new_PreStyledTextCtrl", (PyCFunction
) _wrap_new_PreStyledTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
12368 { (char *)"StyledTextCtrl_Create", (PyCFunction
) _wrap_StyledTextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
12369 { (char *)"StyledTextCtrl_AddText", (PyCFunction
) _wrap_StyledTextCtrl_AddText
, METH_VARARGS
| METH_KEYWORDS
},
12370 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction
) _wrap_StyledTextCtrl_AddStyledText
, METH_VARARGS
| METH_KEYWORDS
},
12371 { (char *)"StyledTextCtrl_InsertText", (PyCFunction
) _wrap_StyledTextCtrl_InsertText
, METH_VARARGS
| METH_KEYWORDS
},
12372 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction
) _wrap_StyledTextCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
12373 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction
) _wrap_StyledTextCtrl_ClearDocumentStyle
, METH_VARARGS
| METH_KEYWORDS
},
12374 { (char *)"StyledTextCtrl_GetLength", (PyCFunction
) _wrap_StyledTextCtrl_GetLength
, METH_VARARGS
| METH_KEYWORDS
},
12375 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction
) _wrap_StyledTextCtrl_GetCharAt
, METH_VARARGS
| METH_KEYWORDS
},
12376 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction
) _wrap_StyledTextCtrl_GetCurrentPos
, METH_VARARGS
| METH_KEYWORDS
},
12377 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction
) _wrap_StyledTextCtrl_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
12378 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction
) _wrap_StyledTextCtrl_GetStyleAt
, METH_VARARGS
| METH_KEYWORDS
},
12379 { (char *)"StyledTextCtrl_Redo", (PyCFunction
) _wrap_StyledTextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
12380 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction
) _wrap_StyledTextCtrl_SetUndoCollection
, METH_VARARGS
| METH_KEYWORDS
},
12381 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction
) _wrap_StyledTextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
12382 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction
) _wrap_StyledTextCtrl_SetSavePoint
, METH_VARARGS
| METH_KEYWORDS
},
12383 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction
) _wrap_StyledTextCtrl_GetStyledText
, METH_VARARGS
| METH_KEYWORDS
},
12384 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction
) _wrap_StyledTextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
12385 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction
) _wrap_StyledTextCtrl_MarkerLineFromHandle
, METH_VARARGS
| METH_KEYWORDS
},
12386 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDeleteHandle
, METH_VARARGS
| METH_KEYWORDS
},
12387 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction
) _wrap_StyledTextCtrl_GetUndoCollection
, METH_VARARGS
| METH_KEYWORDS
},
12388 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction
) _wrap_StyledTextCtrl_GetViewWhiteSpace
, METH_VARARGS
| METH_KEYWORDS
},
12389 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction
) _wrap_StyledTextCtrl_SetViewWhiteSpace
, METH_VARARGS
| METH_KEYWORDS
},
12390 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction
) _wrap_StyledTextCtrl_PositionFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
12391 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction
) _wrap_StyledTextCtrl_PositionFromPointClose
, METH_VARARGS
| METH_KEYWORDS
},
12392 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction
) _wrap_StyledTextCtrl_GotoLine
, METH_VARARGS
| METH_KEYWORDS
},
12393 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction
) _wrap_StyledTextCtrl_GotoPos
, METH_VARARGS
| METH_KEYWORDS
},
12394 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction
) _wrap_StyledTextCtrl_SetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
12395 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction
) _wrap_StyledTextCtrl_GetCurLine
, METH_VARARGS
| METH_KEYWORDS
},
12396 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction
) _wrap_StyledTextCtrl_GetEndStyled
, METH_VARARGS
| METH_KEYWORDS
},
12397 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction
) _wrap_StyledTextCtrl_ConvertEOLs
, METH_VARARGS
| METH_KEYWORDS
},
12398 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction
) _wrap_StyledTextCtrl_GetEOLMode
, METH_VARARGS
| METH_KEYWORDS
},
12399 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction
) _wrap_StyledTextCtrl_SetEOLMode
, METH_VARARGS
| METH_KEYWORDS
},
12400 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction
) _wrap_StyledTextCtrl_StartStyling
, METH_VARARGS
| METH_KEYWORDS
},
12401 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction
) _wrap_StyledTextCtrl_SetStyling
, METH_VARARGS
| METH_KEYWORDS
},
12402 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction
) _wrap_StyledTextCtrl_GetBufferedDraw
, METH_VARARGS
| METH_KEYWORDS
},
12403 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction
) _wrap_StyledTextCtrl_SetBufferedDraw
, METH_VARARGS
| METH_KEYWORDS
},
12404 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction
) _wrap_StyledTextCtrl_SetTabWidth
, METH_VARARGS
| METH_KEYWORDS
},
12405 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction
) _wrap_StyledTextCtrl_GetTabWidth
, METH_VARARGS
| METH_KEYWORDS
},
12406 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction
) _wrap_StyledTextCtrl_SetCodePage
, METH_VARARGS
| METH_KEYWORDS
},
12407 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDefine
, METH_VARARGS
| METH_KEYWORDS
},
12408 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction
) _wrap_StyledTextCtrl_MarkerSetForeground
, METH_VARARGS
| METH_KEYWORDS
},
12409 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction
) _wrap_StyledTextCtrl_MarkerSetBackground
, METH_VARARGS
| METH_KEYWORDS
},
12410 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction
) _wrap_StyledTextCtrl_MarkerAdd
, METH_VARARGS
| METH_KEYWORDS
},
12411 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDelete
, METH_VARARGS
| METH_KEYWORDS
},
12412 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
12413 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction
) _wrap_StyledTextCtrl_MarkerGet
, METH_VARARGS
| METH_KEYWORDS
},
12414 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction
) _wrap_StyledTextCtrl_MarkerNext
, METH_VARARGS
| METH_KEYWORDS
},
12415 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction
) _wrap_StyledTextCtrl_MarkerPrevious
, METH_VARARGS
| METH_KEYWORDS
},
12416 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction
) _wrap_StyledTextCtrl_MarkerDefineBitmap
, METH_VARARGS
| METH_KEYWORDS
},
12417 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginType
, METH_VARARGS
| METH_KEYWORDS
},
12418 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginType
, METH_VARARGS
| METH_KEYWORDS
},
12419 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
12420 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
12421 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginMask
, METH_VARARGS
| METH_KEYWORDS
},
12422 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginMask
, METH_VARARGS
| METH_KEYWORDS
},
12423 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginSensitive
, METH_VARARGS
| METH_KEYWORDS
},
12424 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginSensitive
, METH_VARARGS
| METH_KEYWORDS
},
12425 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction
) _wrap_StyledTextCtrl_StyleClearAll
, METH_VARARGS
| METH_KEYWORDS
},
12426 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetForeground
, METH_VARARGS
| METH_KEYWORDS
},
12427 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetBackground
, METH_VARARGS
| METH_KEYWORDS
},
12428 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetBold
, METH_VARARGS
| METH_KEYWORDS
},
12429 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetItalic
, METH_VARARGS
| METH_KEYWORDS
},
12430 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetSize
, METH_VARARGS
| METH_KEYWORDS
},
12431 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetFaceName
, METH_VARARGS
| METH_KEYWORDS
},
12432 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetEOLFilled
, METH_VARARGS
| METH_KEYWORDS
},
12433 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction
) _wrap_StyledTextCtrl_StyleResetDefault
, METH_VARARGS
| METH_KEYWORDS
},
12434 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetUnderline
, METH_VARARGS
| METH_KEYWORDS
},
12435 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetCase
, METH_VARARGS
| METH_KEYWORDS
},
12436 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetCharacterSet
, METH_VARARGS
| METH_KEYWORDS
},
12437 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetHotSpot
, METH_VARARGS
| METH_KEYWORDS
},
12438 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction
) _wrap_StyledTextCtrl_SetSelForeground
, METH_VARARGS
| METH_KEYWORDS
},
12439 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction
) _wrap_StyledTextCtrl_SetSelBackground
, METH_VARARGS
| METH_KEYWORDS
},
12440 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretForeground
, METH_VARARGS
| METH_KEYWORDS
},
12441 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction
) _wrap_StyledTextCtrl_CmdKeyAssign
, METH_VARARGS
| METH_KEYWORDS
},
12442 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction
) _wrap_StyledTextCtrl_CmdKeyClear
, METH_VARARGS
| METH_KEYWORDS
},
12443 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction
) _wrap_StyledTextCtrl_CmdKeyClearAll
, METH_VARARGS
| METH_KEYWORDS
},
12444 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction
) _wrap_StyledTextCtrl_SetStyleBytes
, METH_VARARGS
| METH_KEYWORDS
},
12445 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetVisible
, METH_VARARGS
| METH_KEYWORDS
},
12446 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction
) _wrap_StyledTextCtrl_GetCaretPeriod
, METH_VARARGS
| METH_KEYWORDS
},
12447 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretPeriod
, METH_VARARGS
| METH_KEYWORDS
},
12448 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction
) _wrap_StyledTextCtrl_SetWordChars
, METH_VARARGS
| METH_KEYWORDS
},
12449 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction
) _wrap_StyledTextCtrl_BeginUndoAction
, METH_VARARGS
| METH_KEYWORDS
},
12450 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction
) _wrap_StyledTextCtrl_EndUndoAction
, METH_VARARGS
| METH_KEYWORDS
},
12451 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction
) _wrap_StyledTextCtrl_IndicatorSetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12452 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction
) _wrap_StyledTextCtrl_IndicatorGetStyle
, METH_VARARGS
| METH_KEYWORDS
},
12453 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction
) _wrap_StyledTextCtrl_IndicatorSetForeground
, METH_VARARGS
| METH_KEYWORDS
},
12454 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction
) _wrap_StyledTextCtrl_IndicatorGetForeground
, METH_VARARGS
| METH_KEYWORDS
},
12455 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction
) _wrap_StyledTextCtrl_SetWhitespaceForeground
, METH_VARARGS
| METH_KEYWORDS
},
12456 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction
) _wrap_StyledTextCtrl_SetWhitespaceBackground
, METH_VARARGS
| METH_KEYWORDS
},
12457 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction
) _wrap_StyledTextCtrl_SetStyleBits
, METH_VARARGS
| METH_KEYWORDS
},
12458 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction
) _wrap_StyledTextCtrl_GetStyleBits
, METH_VARARGS
| METH_KEYWORDS
},
12459 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction
) _wrap_StyledTextCtrl_SetLineState
, METH_VARARGS
| METH_KEYWORDS
},
12460 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction
) _wrap_StyledTextCtrl_GetLineState
, METH_VARARGS
| METH_KEYWORDS
},
12461 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction
) _wrap_StyledTextCtrl_GetMaxLineState
, METH_VARARGS
| METH_KEYWORDS
},
12462 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction
) _wrap_StyledTextCtrl_GetCaretLineVisible
, METH_VARARGS
| METH_KEYWORDS
},
12463 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretLineVisible
, METH_VARARGS
| METH_KEYWORDS
},
12464 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction
) _wrap_StyledTextCtrl_GetCaretLineBack
, METH_VARARGS
| METH_KEYWORDS
},
12465 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretLineBack
, METH_VARARGS
| METH_KEYWORDS
},
12466 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetChangeable
, METH_VARARGS
| METH_KEYWORDS
},
12467 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompShow
, METH_VARARGS
| METH_KEYWORDS
},
12468 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompCancel
, METH_VARARGS
| METH_KEYWORDS
},
12469 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompActive
, METH_VARARGS
| METH_KEYWORDS
},
12470 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompPosStart
, METH_VARARGS
| METH_KEYWORDS
},
12471 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompComplete
, METH_VARARGS
| METH_KEYWORDS
},
12472 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompStops
, METH_VARARGS
| METH_KEYWORDS
},
12473 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetSeparator
, METH_VARARGS
| METH_KEYWORDS
},
12474 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetSeparator
, METH_VARARGS
| METH_KEYWORDS
},
12475 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSelect
, METH_VARARGS
| METH_KEYWORDS
},
12476 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart
, METH_VARARGS
| METH_KEYWORDS
},
12477 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart
, METH_VARARGS
| METH_KEYWORDS
},
12478 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetFillUps
, METH_VARARGS
| METH_KEYWORDS
},
12479 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetChooseSingle
, METH_VARARGS
| METH_KEYWORDS
},
12480 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetChooseSingle
, METH_VARARGS
| METH_KEYWORDS
},
12481 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase
, METH_VARARGS
| METH_KEYWORDS
},
12482 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase
, METH_VARARGS
| METH_KEYWORDS
},
12483 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction
) _wrap_StyledTextCtrl_UserListShow
, METH_VARARGS
| METH_KEYWORDS
},
12484 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetAutoHide
, METH_VARARGS
| METH_KEYWORDS
},
12485 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetAutoHide
, METH_VARARGS
| METH_KEYWORDS
},
12486 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord
, METH_VARARGS
| METH_KEYWORDS
},
12487 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord
, METH_VARARGS
| METH_KEYWORDS
},
12488 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction
) _wrap_StyledTextCtrl_RegisterImage
, METH_VARARGS
| METH_KEYWORDS
},
12489 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction
) _wrap_StyledTextCtrl_ClearRegisteredImages
, METH_VARARGS
| METH_KEYWORDS
},
12490 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator
, METH_VARARGS
| METH_KEYWORDS
},
12491 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction
) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator
, METH_VARARGS
| METH_KEYWORDS
},
12492 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction
) _wrap_StyledTextCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
12493 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction
) _wrap_StyledTextCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
12494 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction
) _wrap_StyledTextCtrl_SetUseTabs
, METH_VARARGS
| METH_KEYWORDS
},
12495 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction
) _wrap_StyledTextCtrl_GetUseTabs
, METH_VARARGS
| METH_KEYWORDS
},
12496 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction
) _wrap_StyledTextCtrl_SetLineIndentation
, METH_VARARGS
| METH_KEYWORDS
},
12497 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction
) _wrap_StyledTextCtrl_GetLineIndentation
, METH_VARARGS
| METH_KEYWORDS
},
12498 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction
) _wrap_StyledTextCtrl_GetLineIndentPosition
, METH_VARARGS
| METH_KEYWORDS
},
12499 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction
) _wrap_StyledTextCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
12500 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12501 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12502 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction
) _wrap_StyledTextCtrl_SetIndentationGuides
, METH_VARARGS
| METH_KEYWORDS
},
12503 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction
) _wrap_StyledTextCtrl_GetIndentationGuides
, METH_VARARGS
| METH_KEYWORDS
},
12504 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction
) _wrap_StyledTextCtrl_SetHighlightGuide
, METH_VARARGS
| METH_KEYWORDS
},
12505 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction
) _wrap_StyledTextCtrl_GetHighlightGuide
, METH_VARARGS
| METH_KEYWORDS
},
12506 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction
) _wrap_StyledTextCtrl_GetLineEndPosition
, METH_VARARGS
| METH_KEYWORDS
},
12507 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction
) _wrap_StyledTextCtrl_GetCodePage
, METH_VARARGS
| METH_KEYWORDS
},
12508 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction
) _wrap_StyledTextCtrl_GetCaretForeground
, METH_VARARGS
| METH_KEYWORDS
},
12509 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction
) _wrap_StyledTextCtrl_GetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12510 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction
) _wrap_StyledTextCtrl_SetCurrentPos
, METH_VARARGS
| METH_KEYWORDS
},
12511 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction
) _wrap_StyledTextCtrl_SetSelectionStart
, METH_VARARGS
| METH_KEYWORDS
},
12512 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction
) _wrap_StyledTextCtrl_GetSelectionStart
, METH_VARARGS
| METH_KEYWORDS
},
12513 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction
) _wrap_StyledTextCtrl_SetSelectionEnd
, METH_VARARGS
| METH_KEYWORDS
},
12514 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction
) _wrap_StyledTextCtrl_GetSelectionEnd
, METH_VARARGS
| METH_KEYWORDS
},
12515 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction
) _wrap_StyledTextCtrl_SetPrintMagnification
, METH_VARARGS
| METH_KEYWORDS
},
12516 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction
) _wrap_StyledTextCtrl_GetPrintMagnification
, METH_VARARGS
| METH_KEYWORDS
},
12517 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction
) _wrap_StyledTextCtrl_SetPrintColourMode
, METH_VARARGS
| METH_KEYWORDS
},
12518 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction
) _wrap_StyledTextCtrl_GetPrintColourMode
, METH_VARARGS
| METH_KEYWORDS
},
12519 { (char *)"StyledTextCtrl_FindText", (PyCFunction
) _wrap_StyledTextCtrl_FindText
, METH_VARARGS
| METH_KEYWORDS
},
12520 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction
) _wrap_StyledTextCtrl_FormatRange
, METH_VARARGS
| METH_KEYWORDS
},
12521 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction
) _wrap_StyledTextCtrl_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
},
12522 { (char *)"StyledTextCtrl_GetLine", (PyCFunction
) _wrap_StyledTextCtrl_GetLine
, METH_VARARGS
| METH_KEYWORDS
},
12523 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction
) _wrap_StyledTextCtrl_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
},
12524 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginLeft
, METH_VARARGS
| METH_KEYWORDS
},
12525 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginLeft
, METH_VARARGS
| METH_KEYWORDS
},
12526 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction
) _wrap_StyledTextCtrl_SetMarginRight
, METH_VARARGS
| METH_KEYWORDS
},
12527 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction
) _wrap_StyledTextCtrl_GetMarginRight
, METH_VARARGS
| METH_KEYWORDS
},
12528 { (char *)"StyledTextCtrl_GetModify", (PyCFunction
) _wrap_StyledTextCtrl_GetModify
, METH_VARARGS
| METH_KEYWORDS
},
12529 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction
) _wrap_StyledTextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12530 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction
) _wrap_StyledTextCtrl_GetSelectedText
, METH_VARARGS
| METH_KEYWORDS
},
12531 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction
) _wrap_StyledTextCtrl_GetTextRange
, METH_VARARGS
| METH_KEYWORDS
},
12532 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction
) _wrap_StyledTextCtrl_HideSelection
, METH_VARARGS
| METH_KEYWORDS
},
12533 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction
) _wrap_StyledTextCtrl_LineFromPosition
, METH_VARARGS
| METH_KEYWORDS
},
12534 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction
) _wrap_StyledTextCtrl_PositionFromLine
, METH_VARARGS
| METH_KEYWORDS
},
12535 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction
) _wrap_StyledTextCtrl_LineScroll
, METH_VARARGS
| METH_KEYWORDS
},
12536 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction
) _wrap_StyledTextCtrl_EnsureCaretVisible
, METH_VARARGS
| METH_KEYWORDS
},
12537 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction
) _wrap_StyledTextCtrl_ReplaceSelection
, METH_VARARGS
| METH_KEYWORDS
},
12538 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction
) _wrap_StyledTextCtrl_SetReadOnly
, METH_VARARGS
| METH_KEYWORDS
},
12539 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction
) _wrap_StyledTextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
12540 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction
) _wrap_StyledTextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
12541 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction
) _wrap_StyledTextCtrl_EmptyUndoBuffer
, METH_VARARGS
| METH_KEYWORDS
},
12542 { (char *)"StyledTextCtrl_Undo", (PyCFunction
) _wrap_StyledTextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
12543 { (char *)"StyledTextCtrl_Cut", (PyCFunction
) _wrap_StyledTextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
12544 { (char *)"StyledTextCtrl_Copy", (PyCFunction
) _wrap_StyledTextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
12545 { (char *)"StyledTextCtrl_Paste", (PyCFunction
) _wrap_StyledTextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
12546 { (char *)"StyledTextCtrl_Clear", (PyCFunction
) _wrap_StyledTextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
12547 { (char *)"StyledTextCtrl_SetText", (PyCFunction
) _wrap_StyledTextCtrl_SetText
, METH_VARARGS
| METH_KEYWORDS
},
12548 { (char *)"StyledTextCtrl_GetText", (PyCFunction
) _wrap_StyledTextCtrl_GetText
, METH_VARARGS
| METH_KEYWORDS
},
12549 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction
) _wrap_StyledTextCtrl_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
12550 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction
) _wrap_StyledTextCtrl_SetOvertype
, METH_VARARGS
| METH_KEYWORDS
},
12551 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction
) _wrap_StyledTextCtrl_GetOvertype
, METH_VARARGS
| METH_KEYWORDS
},
12552 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction
) _wrap_StyledTextCtrl_SetCaretWidth
, METH_VARARGS
| METH_KEYWORDS
},
12553 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction
) _wrap_StyledTextCtrl_GetCaretWidth
, METH_VARARGS
| METH_KEYWORDS
},
12554 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction
) _wrap_StyledTextCtrl_SetTargetStart
, METH_VARARGS
| METH_KEYWORDS
},
12555 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction
) _wrap_StyledTextCtrl_GetTargetStart
, METH_VARARGS
| METH_KEYWORDS
},
12556 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction
) _wrap_StyledTextCtrl_SetTargetEnd
, METH_VARARGS
| METH_KEYWORDS
},
12557 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction
) _wrap_StyledTextCtrl_GetTargetEnd
, METH_VARARGS
| METH_KEYWORDS
},
12558 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction
) _wrap_StyledTextCtrl_ReplaceTarget
, METH_VARARGS
| METH_KEYWORDS
},
12559 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction
) _wrap_StyledTextCtrl_ReplaceTargetRE
, METH_VARARGS
| METH_KEYWORDS
},
12560 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction
) _wrap_StyledTextCtrl_SearchInTarget
, METH_VARARGS
| METH_KEYWORDS
},
12561 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction
) _wrap_StyledTextCtrl_SetSearchFlags
, METH_VARARGS
| METH_KEYWORDS
},
12562 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction
) _wrap_StyledTextCtrl_GetSearchFlags
, METH_VARARGS
| METH_KEYWORDS
},
12563 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction
) _wrap_StyledTextCtrl_CallTipShow
, METH_VARARGS
| METH_KEYWORDS
},
12564 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction
) _wrap_StyledTextCtrl_CallTipCancel
, METH_VARARGS
| METH_KEYWORDS
},
12565 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction
) _wrap_StyledTextCtrl_CallTipActive
, METH_VARARGS
| METH_KEYWORDS
},
12566 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction
) _wrap_StyledTextCtrl_CallTipPosAtStart
, METH_VARARGS
| METH_KEYWORDS
},
12567 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction
) _wrap_StyledTextCtrl_CallTipSetHighlight
, METH_VARARGS
| METH_KEYWORDS
},
12568 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction
) _wrap_StyledTextCtrl_CallTipSetBackground
, METH_VARARGS
| METH_KEYWORDS
},
12569 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction
) _wrap_StyledTextCtrl_CallTipSetForeground
, METH_VARARGS
| METH_KEYWORDS
},
12570 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction
) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight
, METH_VARARGS
| METH_KEYWORDS
},
12571 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction
) _wrap_StyledTextCtrl_VisibleFromDocLine
, METH_VARARGS
| METH_KEYWORDS
},
12572 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction
) _wrap_StyledTextCtrl_DocLineFromVisible
, METH_VARARGS
| METH_KEYWORDS
},
12573 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldLevel
, METH_VARARGS
| METH_KEYWORDS
},
12574 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction
) _wrap_StyledTextCtrl_GetFoldLevel
, METH_VARARGS
| METH_KEYWORDS
},
12575 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction
) _wrap_StyledTextCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
12576 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction
) _wrap_StyledTextCtrl_GetFoldParent
, METH_VARARGS
| METH_KEYWORDS
},
12577 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction
) _wrap_StyledTextCtrl_ShowLines
, METH_VARARGS
| METH_KEYWORDS
},
12578 { (char *)"StyledTextCtrl_HideLines", (PyCFunction
) _wrap_StyledTextCtrl_HideLines
, METH_VARARGS
| METH_KEYWORDS
},
12579 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction
) _wrap_StyledTextCtrl_GetLineVisible
, METH_VARARGS
| METH_KEYWORDS
},
12580 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldExpanded
, METH_VARARGS
| METH_KEYWORDS
},
12581 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction
) _wrap_StyledTextCtrl_GetFoldExpanded
, METH_VARARGS
| METH_KEYWORDS
},
12582 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction
) _wrap_StyledTextCtrl_ToggleFold
, METH_VARARGS
| METH_KEYWORDS
},
12583 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction
) _wrap_StyledTextCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
12584 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldFlags
, METH_VARARGS
| METH_KEYWORDS
},
12585 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction
) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy
, METH_VARARGS
| METH_KEYWORDS
},
12586 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction
) _wrap_StyledTextCtrl_SetTabIndents
, METH_VARARGS
| METH_KEYWORDS
},
12587 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction
) _wrap_StyledTextCtrl_GetTabIndents
, METH_VARARGS
| METH_KEYWORDS
},
12588 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction
) _wrap_StyledTextCtrl_SetBackSpaceUnIndents
, METH_VARARGS
| METH_KEYWORDS
},
12589 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction
) _wrap_StyledTextCtrl_GetBackSpaceUnIndents
, METH_VARARGS
| METH_KEYWORDS
},
12590 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction
) _wrap_StyledTextCtrl_SetMouseDwellTime
, METH_VARARGS
| METH_KEYWORDS
},
12591 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction
) _wrap_StyledTextCtrl_GetMouseDwellTime
, METH_VARARGS
| METH_KEYWORDS
},
12592 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction
) _wrap_StyledTextCtrl_WordStartPosition
, METH_VARARGS
| METH_KEYWORDS
},
12593 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction
) _wrap_StyledTextCtrl_WordEndPosition
, METH_VARARGS
| METH_KEYWORDS
},
12594 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction
) _wrap_StyledTextCtrl_SetWrapMode
, METH_VARARGS
| METH_KEYWORDS
},
12595 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction
) _wrap_StyledTextCtrl_GetWrapMode
, METH_VARARGS
| METH_KEYWORDS
},
12596 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction
) _wrap_StyledTextCtrl_SetLayoutCache
, METH_VARARGS
| METH_KEYWORDS
},
12597 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction
) _wrap_StyledTextCtrl_GetLayoutCache
, METH_VARARGS
| METH_KEYWORDS
},
12598 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction
) _wrap_StyledTextCtrl_SetScrollWidth
, METH_VARARGS
| METH_KEYWORDS
},
12599 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction
) _wrap_StyledTextCtrl_GetScrollWidth
, METH_VARARGS
| METH_KEYWORDS
},
12600 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction
) _wrap_StyledTextCtrl_TextWidth
, METH_VARARGS
| METH_KEYWORDS
},
12601 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction
) _wrap_StyledTextCtrl_SetEndAtLastLine
, METH_VARARGS
| METH_KEYWORDS
},
12602 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction
) _wrap_StyledTextCtrl_GetEndAtLastLine
, METH_VARARGS
| METH_KEYWORDS
},
12603 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction
) _wrap_StyledTextCtrl_TextHeight
, METH_VARARGS
| METH_KEYWORDS
},
12604 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_SetUseVerticalScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12605 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_GetUseVerticalScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12606 { (char *)"StyledTextCtrl_AppendText", (PyCFunction
) _wrap_StyledTextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
12607 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction
) _wrap_StyledTextCtrl_GetTwoPhaseDraw
, METH_VARARGS
| METH_KEYWORDS
},
12608 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction
) _wrap_StyledTextCtrl_SetTwoPhaseDraw
, METH_VARARGS
| METH_KEYWORDS
},
12609 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction
) _wrap_StyledTextCtrl_TargetFromSelection
, METH_VARARGS
| METH_KEYWORDS
},
12610 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction
) _wrap_StyledTextCtrl_LinesJoin
, METH_VARARGS
| METH_KEYWORDS
},
12611 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction
) _wrap_StyledTextCtrl_LinesSplit
, METH_VARARGS
| METH_KEYWORDS
},
12612 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldMarginColour
, METH_VARARGS
| METH_KEYWORDS
},
12613 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction
) _wrap_StyledTextCtrl_SetFoldMarginHiColour
, METH_VARARGS
| METH_KEYWORDS
},
12614 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction
) _wrap_StyledTextCtrl_LineDuplicate
, METH_VARARGS
| METH_KEYWORDS
},
12615 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction
) _wrap_StyledTextCtrl_HomeDisplay
, METH_VARARGS
| METH_KEYWORDS
},
12616 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction
) _wrap_StyledTextCtrl_HomeDisplayExtend
, METH_VARARGS
| METH_KEYWORDS
},
12617 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction
) _wrap_StyledTextCtrl_LineEndDisplay
, METH_VARARGS
| METH_KEYWORDS
},
12618 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction
) _wrap_StyledTextCtrl_LineEndDisplayExtend
, METH_VARARGS
| METH_KEYWORDS
},
12619 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction
) _wrap_StyledTextCtrl_LineCopy
, METH_VARARGS
| METH_KEYWORDS
},
12620 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction
) _wrap_StyledTextCtrl_MoveCaretInsideView
, METH_VARARGS
| METH_KEYWORDS
},
12621 { (char *)"StyledTextCtrl_LineLength", (PyCFunction
) _wrap_StyledTextCtrl_LineLength
, METH_VARARGS
| METH_KEYWORDS
},
12622 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction
) _wrap_StyledTextCtrl_BraceHighlight
, METH_VARARGS
| METH_KEYWORDS
},
12623 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction
) _wrap_StyledTextCtrl_BraceBadLight
, METH_VARARGS
| METH_KEYWORDS
},
12624 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction
) _wrap_StyledTextCtrl_BraceMatch
, METH_VARARGS
| METH_KEYWORDS
},
12625 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction
) _wrap_StyledTextCtrl_GetViewEOL
, METH_VARARGS
| METH_KEYWORDS
},
12626 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction
) _wrap_StyledTextCtrl_SetViewEOL
, METH_VARARGS
| METH_KEYWORDS
},
12627 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction
) _wrap_StyledTextCtrl_GetDocPointer
, METH_VARARGS
| METH_KEYWORDS
},
12628 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction
) _wrap_StyledTextCtrl_SetDocPointer
, METH_VARARGS
| METH_KEYWORDS
},
12629 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction
) _wrap_StyledTextCtrl_SetModEventMask
, METH_VARARGS
| METH_KEYWORDS
},
12630 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction
) _wrap_StyledTextCtrl_GetEdgeColumn
, METH_VARARGS
| METH_KEYWORDS
},
12631 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction
) _wrap_StyledTextCtrl_SetEdgeColumn
, METH_VARARGS
| METH_KEYWORDS
},
12632 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction
) _wrap_StyledTextCtrl_GetEdgeMode
, METH_VARARGS
| METH_KEYWORDS
},
12633 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction
) _wrap_StyledTextCtrl_SetEdgeMode
, METH_VARARGS
| METH_KEYWORDS
},
12634 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction
) _wrap_StyledTextCtrl_GetEdgeColour
, METH_VARARGS
| METH_KEYWORDS
},
12635 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction
) _wrap_StyledTextCtrl_SetEdgeColour
, METH_VARARGS
| METH_KEYWORDS
},
12636 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction
) _wrap_StyledTextCtrl_SearchAnchor
, METH_VARARGS
| METH_KEYWORDS
},
12637 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction
) _wrap_StyledTextCtrl_SearchNext
, METH_VARARGS
| METH_KEYWORDS
},
12638 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction
) _wrap_StyledTextCtrl_SearchPrev
, METH_VARARGS
| METH_KEYWORDS
},
12639 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction
) _wrap_StyledTextCtrl_LinesOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
12640 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction
) _wrap_StyledTextCtrl_UsePopUp
, METH_VARARGS
| METH_KEYWORDS
},
12641 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction
) _wrap_StyledTextCtrl_SelectionIsRectangle
, METH_VARARGS
| METH_KEYWORDS
},
12642 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction
) _wrap_StyledTextCtrl_SetZoom
, METH_VARARGS
| METH_KEYWORDS
},
12643 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction
) _wrap_StyledTextCtrl_GetZoom
, METH_VARARGS
| METH_KEYWORDS
},
12644 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction
) _wrap_StyledTextCtrl_CreateDocument
, METH_VARARGS
| METH_KEYWORDS
},
12645 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction
) _wrap_StyledTextCtrl_AddRefDocument
, METH_VARARGS
| METH_KEYWORDS
},
12646 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction
) _wrap_StyledTextCtrl_ReleaseDocument
, METH_VARARGS
| METH_KEYWORDS
},
12647 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction
) _wrap_StyledTextCtrl_GetModEventMask
, METH_VARARGS
| METH_KEYWORDS
},
12648 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction
) _wrap_StyledTextCtrl_SetSTCFocus
, METH_VARARGS
| METH_KEYWORDS
},
12649 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction
) _wrap_StyledTextCtrl_GetSTCFocus
, METH_VARARGS
| METH_KEYWORDS
},
12650 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction
) _wrap_StyledTextCtrl_SetStatus
, METH_VARARGS
| METH_KEYWORDS
},
12651 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction
) _wrap_StyledTextCtrl_GetStatus
, METH_VARARGS
| METH_KEYWORDS
},
12652 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction
) _wrap_StyledTextCtrl_SetMouseDownCaptures
, METH_VARARGS
| METH_KEYWORDS
},
12653 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction
) _wrap_StyledTextCtrl_GetMouseDownCaptures
, METH_VARARGS
| METH_KEYWORDS
},
12654 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction
) _wrap_StyledTextCtrl_SetSTCCursor
, METH_VARARGS
| METH_KEYWORDS
},
12655 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction
) _wrap_StyledTextCtrl_GetSTCCursor
, METH_VARARGS
| METH_KEYWORDS
},
12656 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction
) _wrap_StyledTextCtrl_SetControlCharSymbol
, METH_VARARGS
| METH_KEYWORDS
},
12657 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction
) _wrap_StyledTextCtrl_GetControlCharSymbol
, METH_VARARGS
| METH_KEYWORDS
},
12658 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction
) _wrap_StyledTextCtrl_WordPartLeft
, METH_VARARGS
| METH_KEYWORDS
},
12659 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction
) _wrap_StyledTextCtrl_WordPartLeftExtend
, METH_VARARGS
| METH_KEYWORDS
},
12660 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction
) _wrap_StyledTextCtrl_WordPartRight
, METH_VARARGS
| METH_KEYWORDS
},
12661 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction
) _wrap_StyledTextCtrl_WordPartRightExtend
, METH_VARARGS
| METH_KEYWORDS
},
12662 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction
) _wrap_StyledTextCtrl_SetVisiblePolicy
, METH_VARARGS
| METH_KEYWORDS
},
12663 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction
) _wrap_StyledTextCtrl_DelLineLeft
, METH_VARARGS
| METH_KEYWORDS
},
12664 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction
) _wrap_StyledTextCtrl_DelLineRight
, METH_VARARGS
| METH_KEYWORDS
},
12665 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction
) _wrap_StyledTextCtrl_SetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
12666 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction
) _wrap_StyledTextCtrl_GetXOffset
, METH_VARARGS
| METH_KEYWORDS
},
12667 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction
) _wrap_StyledTextCtrl_ChooseCaretX
, METH_VARARGS
| METH_KEYWORDS
},
12668 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction
) _wrap_StyledTextCtrl_SetXCaretPolicy
, METH_VARARGS
| METH_KEYWORDS
},
12669 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction
) _wrap_StyledTextCtrl_SetYCaretPolicy
, METH_VARARGS
| METH_KEYWORDS
},
12670 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction
) _wrap_StyledTextCtrl_SetPrintWrapMode
, METH_VARARGS
| METH_KEYWORDS
},
12671 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction
) _wrap_StyledTextCtrl_GetPrintWrapMode
, METH_VARARGS
| METH_KEYWORDS
},
12672 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction
) _wrap_StyledTextCtrl_SetHotspotActiveForeground
, METH_VARARGS
| METH_KEYWORDS
},
12673 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction
) _wrap_StyledTextCtrl_SetHotspotActiveBackground
, METH_VARARGS
| METH_KEYWORDS
},
12674 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction
) _wrap_StyledTextCtrl_SetHotspotActiveUnderline
, METH_VARARGS
| METH_KEYWORDS
},
12675 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction
) _wrap_StyledTextCtrl_PositionBefore
, METH_VARARGS
| METH_KEYWORDS
},
12676 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction
) _wrap_StyledTextCtrl_PositionAfter
, METH_VARARGS
| METH_KEYWORDS
},
12677 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction
) _wrap_StyledTextCtrl_CopyRange
, METH_VARARGS
| METH_KEYWORDS
},
12678 { (char *)"StyledTextCtrl_CopyText", (PyCFunction
) _wrap_StyledTextCtrl_CopyText
, METH_VARARGS
| METH_KEYWORDS
},
12679 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction
) _wrap_StyledTextCtrl_StartRecord
, METH_VARARGS
| METH_KEYWORDS
},
12680 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction
) _wrap_StyledTextCtrl_StopRecord
, METH_VARARGS
| METH_KEYWORDS
},
12681 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction
) _wrap_StyledTextCtrl_SetLexer
, METH_VARARGS
| METH_KEYWORDS
},
12682 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction
) _wrap_StyledTextCtrl_GetLexer
, METH_VARARGS
| METH_KEYWORDS
},
12683 { (char *)"StyledTextCtrl_Colourise", (PyCFunction
) _wrap_StyledTextCtrl_Colourise
, METH_VARARGS
| METH_KEYWORDS
},
12684 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction
) _wrap_StyledTextCtrl_SetProperty
, METH_VARARGS
| METH_KEYWORDS
},
12685 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction
) _wrap_StyledTextCtrl_SetKeyWords
, METH_VARARGS
| METH_KEYWORDS
},
12686 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction
) _wrap_StyledTextCtrl_SetLexerLanguage
, METH_VARARGS
| METH_KEYWORDS
},
12687 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction
) _wrap_StyledTextCtrl_GetCurrentLine
, METH_VARARGS
| METH_KEYWORDS
},
12688 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetSpec
, METH_VARARGS
| METH_KEYWORDS
},
12689 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetFont
, METH_VARARGS
| METH_KEYWORDS
},
12690 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction
) _wrap_StyledTextCtrl_StyleSetFontAttr
, METH_VARARGS
| METH_KEYWORDS
},
12691 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction
) _wrap_StyledTextCtrl_CmdKeyExecute
, METH_VARARGS
| METH_KEYWORDS
},
12692 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction
) _wrap_StyledTextCtrl_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
12693 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction
) _wrap_StyledTextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
12694 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction
) _wrap_StyledTextCtrl_PointFromPosition
, METH_VARARGS
| METH_KEYWORDS
},
12695 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction
) _wrap_StyledTextCtrl_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
},
12696 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction
) _wrap_StyledTextCtrl_ScrollToColumn
, METH_VARARGS
| METH_KEYWORDS
},
12697 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction
) _wrap_StyledTextCtrl_SendMsg
, METH_VARARGS
| METH_KEYWORDS
},
12698 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_SetVScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12699 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction
) _wrap_StyledTextCtrl_SetHScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
12700 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction
) _wrap_StyledTextCtrl_GetLastKeydownProcessed
, METH_VARARGS
| METH_KEYWORDS
},
12701 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction
) _wrap_StyledTextCtrl_SetLastKeydownProcessed
, METH_VARARGS
| METH_KEYWORDS
},
12702 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction
) _wrap_StyledTextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
12703 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction
) _wrap_StyledTextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
12704 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction
) _wrap_StyledTextCtrl_DoDragOver
, METH_VARARGS
| METH_KEYWORDS
},
12705 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction
) _wrap_StyledTextCtrl_DoDropText
, METH_VARARGS
| METH_KEYWORDS
},
12706 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister
, METH_VARARGS
},
12707 { (char *)"new_StyledTextEvent", (PyCFunction
) _wrap_new_StyledTextEvent
, METH_VARARGS
| METH_KEYWORDS
},
12708 { (char *)"delete_StyledTextEvent", (PyCFunction
) _wrap_delete_StyledTextEvent
, METH_VARARGS
| METH_KEYWORDS
},
12709 { (char *)"StyledTextEvent_SetPosition", (PyCFunction
) _wrap_StyledTextEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12710 { (char *)"StyledTextEvent_SetKey", (PyCFunction
) _wrap_StyledTextEvent_SetKey
, METH_VARARGS
| METH_KEYWORDS
},
12711 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction
) _wrap_StyledTextEvent_SetModifiers
, METH_VARARGS
| METH_KEYWORDS
},
12712 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction
) _wrap_StyledTextEvent_SetModificationType
, METH_VARARGS
| METH_KEYWORDS
},
12713 { (char *)"StyledTextEvent_SetText", (PyCFunction
) _wrap_StyledTextEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
12714 { (char *)"StyledTextEvent_SetLength", (PyCFunction
) _wrap_StyledTextEvent_SetLength
, METH_VARARGS
| METH_KEYWORDS
},
12715 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction
) _wrap_StyledTextEvent_SetLinesAdded
, METH_VARARGS
| METH_KEYWORDS
},
12716 { (char *)"StyledTextEvent_SetLine", (PyCFunction
) _wrap_StyledTextEvent_SetLine
, METH_VARARGS
| METH_KEYWORDS
},
12717 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction
) _wrap_StyledTextEvent_SetFoldLevelNow
, METH_VARARGS
| METH_KEYWORDS
},
12718 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction
) _wrap_StyledTextEvent_SetFoldLevelPrev
, METH_VARARGS
| METH_KEYWORDS
},
12719 { (char *)"StyledTextEvent_SetMargin", (PyCFunction
) _wrap_StyledTextEvent_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
12720 { (char *)"StyledTextEvent_SetMessage", (PyCFunction
) _wrap_StyledTextEvent_SetMessage
, METH_VARARGS
| METH_KEYWORDS
},
12721 { (char *)"StyledTextEvent_SetWParam", (PyCFunction
) _wrap_StyledTextEvent_SetWParam
, METH_VARARGS
| METH_KEYWORDS
},
12722 { (char *)"StyledTextEvent_SetLParam", (PyCFunction
) _wrap_StyledTextEvent_SetLParam
, METH_VARARGS
| METH_KEYWORDS
},
12723 { (char *)"StyledTextEvent_SetListType", (PyCFunction
) _wrap_StyledTextEvent_SetListType
, METH_VARARGS
| METH_KEYWORDS
},
12724 { (char *)"StyledTextEvent_SetX", (PyCFunction
) _wrap_StyledTextEvent_SetX
, METH_VARARGS
| METH_KEYWORDS
},
12725 { (char *)"StyledTextEvent_SetY", (PyCFunction
) _wrap_StyledTextEvent_SetY
, METH_VARARGS
| METH_KEYWORDS
},
12726 { (char *)"StyledTextEvent_SetDragText", (PyCFunction
) _wrap_StyledTextEvent_SetDragText
, METH_VARARGS
| METH_KEYWORDS
},
12727 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction
) _wrap_StyledTextEvent_SetDragAllowMove
, METH_VARARGS
| METH_KEYWORDS
},
12728 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction
) _wrap_StyledTextEvent_SetDragResult
, METH_VARARGS
| METH_KEYWORDS
},
12729 { (char *)"StyledTextEvent_GetPosition", (PyCFunction
) _wrap_StyledTextEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
12730 { (char *)"StyledTextEvent_GetKey", (PyCFunction
) _wrap_StyledTextEvent_GetKey
, METH_VARARGS
| METH_KEYWORDS
},
12731 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction
) _wrap_StyledTextEvent_GetModifiers
, METH_VARARGS
| METH_KEYWORDS
},
12732 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction
) _wrap_StyledTextEvent_GetModificationType
, METH_VARARGS
| METH_KEYWORDS
},
12733 { (char *)"StyledTextEvent_GetText", (PyCFunction
) _wrap_StyledTextEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
12734 { (char *)"StyledTextEvent_GetLength", (PyCFunction
) _wrap_StyledTextEvent_GetLength
, METH_VARARGS
| METH_KEYWORDS
},
12735 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction
) _wrap_StyledTextEvent_GetLinesAdded
, METH_VARARGS
| METH_KEYWORDS
},
12736 { (char *)"StyledTextEvent_GetLine", (PyCFunction
) _wrap_StyledTextEvent_GetLine
, METH_VARARGS
| METH_KEYWORDS
},
12737 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction
) _wrap_StyledTextEvent_GetFoldLevelNow
, METH_VARARGS
| METH_KEYWORDS
},
12738 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction
) _wrap_StyledTextEvent_GetFoldLevelPrev
, METH_VARARGS
| METH_KEYWORDS
},
12739 { (char *)"StyledTextEvent_GetMargin", (PyCFunction
) _wrap_StyledTextEvent_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
12740 { (char *)"StyledTextEvent_GetMessage", (PyCFunction
) _wrap_StyledTextEvent_GetMessage
, METH_VARARGS
| METH_KEYWORDS
},
12741 { (char *)"StyledTextEvent_GetWParam", (PyCFunction
) _wrap_StyledTextEvent_GetWParam
, METH_VARARGS
| METH_KEYWORDS
},
12742 { (char *)"StyledTextEvent_GetLParam", (PyCFunction
) _wrap_StyledTextEvent_GetLParam
, METH_VARARGS
| METH_KEYWORDS
},
12743 { (char *)"StyledTextEvent_GetListType", (PyCFunction
) _wrap_StyledTextEvent_GetListType
, METH_VARARGS
| METH_KEYWORDS
},
12744 { (char *)"StyledTextEvent_GetX", (PyCFunction
) _wrap_StyledTextEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
12745 { (char *)"StyledTextEvent_GetY", (PyCFunction
) _wrap_StyledTextEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
12746 { (char *)"StyledTextEvent_GetDragText", (PyCFunction
) _wrap_StyledTextEvent_GetDragText
, METH_VARARGS
| METH_KEYWORDS
},
12747 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction
) _wrap_StyledTextEvent_GetDragAllowMove
, METH_VARARGS
| METH_KEYWORDS
},
12748 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction
) _wrap_StyledTextEvent_GetDragResult
, METH_VARARGS
| METH_KEYWORDS
},
12749 { (char *)"StyledTextEvent_GetShift", (PyCFunction
) _wrap_StyledTextEvent_GetShift
, METH_VARARGS
| METH_KEYWORDS
},
12750 { (char *)"StyledTextEvent_GetControl", (PyCFunction
) _wrap_StyledTextEvent_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
12751 { (char *)"StyledTextEvent_GetAlt", (PyCFunction
) _wrap_StyledTextEvent_GetAlt
, METH_VARARGS
| METH_KEYWORDS
},
12752 { (char *)"StyledTextEvent_Clone", (PyCFunction
) _wrap_StyledTextEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
12753 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister
, METH_VARARGS
},
12758 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12760 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
12761 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
12763 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
12764 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
12766 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
12767 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
12769 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
12770 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
12772 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
12773 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
12775 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
12776 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
12778 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
12779 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
12781 static void *_p_wxSizerTo_p_wxObject(void *x
) {
12782 return (void *)((wxObject
*) ((wxSizer
*) x
));
12784 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
12785 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
12787 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
12788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
12790 static void *_p_wxEventTo_p_wxObject(void *x
) {
12791 return (void *)((wxObject
*) ((wxEvent
*) x
));
12793 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
12794 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
12796 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
12797 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
12799 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
12800 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
12802 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
12803 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
12805 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
12806 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
12808 static void *_p_wxStyledTextEventTo_p_wxObject(void *x
) {
12809 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxStyledTextEvent
*) x
));
12811 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
12812 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
12814 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
12815 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
12817 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
12818 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
12820 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
12821 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
12823 static void *_p_wxControlTo_p_wxObject(void *x
) {
12824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
12826 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
12827 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
12829 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
12830 return (void *)((wxObject
*) ((wxFSFile
*) x
));
12832 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
12833 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
12835 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x
) {
12836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStyledTextCtrl
*) x
));
12838 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
12839 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
12841 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
12842 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
12844 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
12845 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
12847 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
12848 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
12850 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
12851 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
12853 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
12854 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
12856 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
12857 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
12859 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
12860 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
12862 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
12863 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
12865 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
12866 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
12868 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
12869 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
12871 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
12872 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
12874 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
12875 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
12877 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
12878 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
12880 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
12881 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
12883 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
12884 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
12886 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
12887 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
12889 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
12890 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
12892 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
12893 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
12895 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
12896 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
12898 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
12899 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
12901 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
12902 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
12904 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
12905 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
12907 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
12908 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
12910 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
12911 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
12913 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
12914 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
12916 static void *_p_wxImageTo_p_wxObject(void *x
) {
12917 return (void *)((wxObject
*) ((wxImage
*) x
));
12919 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
12920 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
12922 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
12923 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
12925 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
12926 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
12928 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
12929 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
12931 static void *_p_wxWindowTo_p_wxObject(void *x
) {
12932 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
12934 static void *_p_wxMenuTo_p_wxObject(void *x
) {
12935 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
12937 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
12938 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
12940 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
12941 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
12943 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
12944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
12946 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
12947 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
12949 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
12950 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
12952 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
12953 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
12955 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
12956 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
12958 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
12959 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
12961 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
12962 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
12964 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
12965 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
12967 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
12968 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
12970 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
12971 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
12973 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
12974 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
12976 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
12977 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
12979 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
12980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
12982 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
12983 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
12985 static void *_p_wxControlTo_p_wxWindow(void *x
) {
12986 return (void *)((wxWindow
*) ((wxControl
*) x
));
12988 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
12989 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
12991 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x
) {
12992 return (void *)((wxWindow
*) (wxControl
*) ((wxStyledTextCtrl
*) x
));
12994 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
12995 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
12997 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
12998 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
13000 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
13001 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
13003 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
13004 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
13006 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
13007 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
13009 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x
) {
13010 return (void *)((wxCommandEvent
*) ((wxStyledTextEvent
*) x
));
13012 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
13013 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
13015 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
13016 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
13018 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
13019 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
13021 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
13022 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
13024 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
13025 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
13027 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
13028 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
13030 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
13031 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
13033 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
13034 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
13036 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x
) {
13037 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStyledTextCtrl
*) x
));
13039 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
13040 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
13042 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
13043 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
13045 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
13046 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
13048 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
13049 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
13051 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
13052 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
13054 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x
) {
13055 return (void *)((wxControl
*) ((wxStyledTextCtrl
*) x
));
13057 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
13058 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
13060 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
13061 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
13063 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
13064 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
13066 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
13067 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
13069 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
13070 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
13072 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
13073 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
13075 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
13076 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
13078 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
13079 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
13081 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
13082 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
13084 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
13085 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
13087 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
13088 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
13090 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
13091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
13093 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
13094 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
13096 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
13097 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
13099 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
13100 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
13102 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
13103 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
13105 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
13106 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
13108 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
13109 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
13111 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
13112 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
13114 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
13115 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
13117 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x
) {
13118 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxStyledTextEvent
*) x
));
13120 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
13121 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
13123 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
13124 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
13126 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
13127 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
13129 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
13130 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
13132 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
13133 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
13135 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
13136 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
13138 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
13139 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
13141 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
13142 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
13144 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
13145 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
13147 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
13148 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
13150 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
13151 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
13153 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
13154 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
13156 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
13157 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
13159 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
13160 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
13162 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
13163 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
13165 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
13166 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
13167 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}};
13168 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
13169 static swig_type_info _swigt__p_wxStyledTextEvent
[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0},{"_p_wxStyledTextEvent"},{0}};
13170 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}};
13171 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}};
13172 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
13173 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
13174 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
13175 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
13176 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
13177 static swig_type_info _swigt__p_wxDragResult
[] = {{"_p_wxDragResult", 0, "wxDragResult *", 0},{"_p_wxDragResult"},{0}};
13178 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
13179 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}};
13180 static swig_type_info _swigt__p_wxStyledTextCtrl
[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0},{"_p_wxStyledTextCtrl"},{0}};
13181 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
13182 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}};
13183 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}};
13184 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
13185 static swig_type_info _swigt__p_wxMemoryBuffer
[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0},{"_p_wxMemoryBuffer"},{0}};
13187 static swig_type_info
*swig_types_initial
[] = {
13189 _swigt__p_wxColour
,
13190 _swigt__p_wxObject
,
13191 _swigt__p_wxScrollBar
,
13192 _swigt__p_wxStyledTextEvent
,
13193 _swigt__p_wxWindow
,
13194 _swigt__p_wxCommandEvent
,
13195 _swigt__p_wxBitmap
,
13200 _swigt__p_wxDragResult
,
13201 _swigt__p_wxString
,
13202 _swigt__p_wxEvtHandler
,
13203 _swigt__p_wxStyledTextCtrl
,
13205 _swigt__p_wxControl
,
13208 _swigt__p_wxMemoryBuffer
,
13213 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13215 static swig_const_info swig_const_table
[] = {
13225 SWIGEXPORT(void) SWIG_init(void) {
13226 static PyObject
*SWIG_globals
= 0;
13227 static int typeinit
= 0;
13230 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
13231 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
13232 d
= PyModule_GetDict(m
);
13235 for (i
= 0; swig_types_initial
[i
]; i
++) {
13236 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
13240 SWIG_InstallConstants(d
,swig_const_table
);
13242 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
13243 SWIG_addvarlink(SWIG_globals
,(char*)"STCNameStr",_wrap_STCNameStr_get
, _wrap_STCNameStr_set
);
13244 PyDict_SetItemString(d
,"STC_USE_DND", SWIG_PyObj_FromInt((int)1));
13245 PyDict_SetItemString(d
,"STC_USE_POPUP", SWIG_PyObj_FromInt((int)1));
13246 PyDict_SetItemString(d
,"STC_INVALID_POSITION", SWIG_PyObj_FromInt((int)-1));
13247 PyDict_SetItemString(d
,"STC_START", SWIG_PyObj_FromInt((int)2000));
13248 PyDict_SetItemString(d
,"STC_OPTIONAL_START", SWIG_PyObj_FromInt((int)3000));
13249 PyDict_SetItemString(d
,"STC_LEXER_START", SWIG_PyObj_FromInt((int)4000));
13250 PyDict_SetItemString(d
,"STC_WS_INVISIBLE", SWIG_PyObj_FromInt((int)0));
13251 PyDict_SetItemString(d
,"STC_WS_VISIBLEALWAYS", SWIG_PyObj_FromInt((int)1));
13252 PyDict_SetItemString(d
,"STC_WS_VISIBLEAFTERINDENT", SWIG_PyObj_FromInt((int)2));
13253 PyDict_SetItemString(d
,"STC_EOL_CRLF", SWIG_PyObj_FromInt((int)0));
13254 PyDict_SetItemString(d
,"STC_EOL_CR", SWIG_PyObj_FromInt((int)1));
13255 PyDict_SetItemString(d
,"STC_EOL_LF", SWIG_PyObj_FromInt((int)2));
13256 PyDict_SetItemString(d
,"STC_CP_UTF8", SWIG_PyObj_FromInt((int)65001));
13257 PyDict_SetItemString(d
,"STC_CP_DBCS", SWIG_PyObj_FromInt((int)1));
13258 PyDict_SetItemString(d
,"STC_MARKER_MAX", SWIG_PyObj_FromInt((int)31));
13259 PyDict_SetItemString(d
,"STC_MARK_CIRCLE", SWIG_PyObj_FromInt((int)0));
13260 PyDict_SetItemString(d
,"STC_MARK_ROUNDRECT", SWIG_PyObj_FromInt((int)1));
13261 PyDict_SetItemString(d
,"STC_MARK_ARROW", SWIG_PyObj_FromInt((int)2));
13262 PyDict_SetItemString(d
,"STC_MARK_SMALLRECT", SWIG_PyObj_FromInt((int)3));
13263 PyDict_SetItemString(d
,"STC_MARK_SHORTARROW", SWIG_PyObj_FromInt((int)4));
13264 PyDict_SetItemString(d
,"STC_MARK_EMPTY", SWIG_PyObj_FromInt((int)5));
13265 PyDict_SetItemString(d
,"STC_MARK_ARROWDOWN", SWIG_PyObj_FromInt((int)6));
13266 PyDict_SetItemString(d
,"STC_MARK_MINUS", SWIG_PyObj_FromInt((int)7));
13267 PyDict_SetItemString(d
,"STC_MARK_PLUS", SWIG_PyObj_FromInt((int)8));
13268 PyDict_SetItemString(d
,"STC_MARK_VLINE", SWIG_PyObj_FromInt((int)9));
13269 PyDict_SetItemString(d
,"STC_MARK_LCORNER", SWIG_PyObj_FromInt((int)10));
13270 PyDict_SetItemString(d
,"STC_MARK_TCORNER", SWIG_PyObj_FromInt((int)11));
13271 PyDict_SetItemString(d
,"STC_MARK_BOXPLUS", SWIG_PyObj_FromInt((int)12));
13272 PyDict_SetItemString(d
,"STC_MARK_BOXPLUSCONNECTED", SWIG_PyObj_FromInt((int)13));
13273 PyDict_SetItemString(d
,"STC_MARK_BOXMINUS", SWIG_PyObj_FromInt((int)14));
13274 PyDict_SetItemString(d
,"STC_MARK_BOXMINUSCONNECTED", SWIG_PyObj_FromInt((int)15));
13275 PyDict_SetItemString(d
,"STC_MARK_LCORNERCURVE", SWIG_PyObj_FromInt((int)16));
13276 PyDict_SetItemString(d
,"STC_MARK_TCORNERCURVE", SWIG_PyObj_FromInt((int)17));
13277 PyDict_SetItemString(d
,"STC_MARK_CIRCLEPLUS", SWIG_PyObj_FromInt((int)18));
13278 PyDict_SetItemString(d
,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_PyObj_FromInt((int)19));
13279 PyDict_SetItemString(d
,"STC_MARK_CIRCLEMINUS", SWIG_PyObj_FromInt((int)20));
13280 PyDict_SetItemString(d
,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_PyObj_FromInt((int)21));
13281 PyDict_SetItemString(d
,"STC_MARK_BACKGROUND", SWIG_PyObj_FromInt((int)22));
13282 PyDict_SetItemString(d
,"STC_MARK_DOTDOTDOT", SWIG_PyObj_FromInt((int)23));
13283 PyDict_SetItemString(d
,"STC_MARK_ARROWS", SWIG_PyObj_FromInt((int)24));
13284 PyDict_SetItemString(d
,"STC_MARK_PIXMAP", SWIG_PyObj_FromInt((int)25));
13285 PyDict_SetItemString(d
,"STC_MARK_CHARACTER", SWIG_PyObj_FromInt((int)10000));
13286 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDEREND", SWIG_PyObj_FromInt((int)25));
13287 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDEROPENMID", SWIG_PyObj_FromInt((int)26));
13288 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_PyObj_FromInt((int)27));
13289 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDERTAIL", SWIG_PyObj_FromInt((int)28));
13290 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDERSUB", SWIG_PyObj_FromInt((int)29));
13291 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDER", SWIG_PyObj_FromInt((int)30));
13292 PyDict_SetItemString(d
,"STC_MARKNUM_FOLDEROPEN", SWIG_PyObj_FromInt((int)31));
13293 PyDict_SetItemString(d
,"STC_MASK_FOLDERS", SWIG_PyObj_FromInt((int)0xFE000000));
13294 PyDict_SetItemString(d
,"STC_MARGIN_SYMBOL", SWIG_PyObj_FromInt((int)0));
13295 PyDict_SetItemString(d
,"STC_MARGIN_NUMBER", SWIG_PyObj_FromInt((int)1));
13296 PyDict_SetItemString(d
,"STC_STYLE_DEFAULT", SWIG_PyObj_FromInt((int)32));
13297 PyDict_SetItemString(d
,"STC_STYLE_LINENUMBER", SWIG_PyObj_FromInt((int)33));
13298 PyDict_SetItemString(d
,"STC_STYLE_BRACELIGHT", SWIG_PyObj_FromInt((int)34));
13299 PyDict_SetItemString(d
,"STC_STYLE_BRACEBAD", SWIG_PyObj_FromInt((int)35));
13300 PyDict_SetItemString(d
,"STC_STYLE_CONTROLCHAR", SWIG_PyObj_FromInt((int)36));
13301 PyDict_SetItemString(d
,"STC_STYLE_INDENTGUIDE", SWIG_PyObj_FromInt((int)37));
13302 PyDict_SetItemString(d
,"STC_STYLE_LASTPREDEFINED", SWIG_PyObj_FromInt((int)39));
13303 PyDict_SetItemString(d
,"STC_STYLE_MAX", SWIG_PyObj_FromInt((int)127));
13304 PyDict_SetItemString(d
,"STC_CHARSET_ANSI", SWIG_PyObj_FromInt((int)0));
13305 PyDict_SetItemString(d
,"STC_CHARSET_DEFAULT", SWIG_PyObj_FromInt((int)1));
13306 PyDict_SetItemString(d
,"STC_CHARSET_BALTIC", SWIG_PyObj_FromInt((int)186));
13307 PyDict_SetItemString(d
,"STC_CHARSET_CHINESEBIG5", SWIG_PyObj_FromInt((int)136));
13308 PyDict_SetItemString(d
,"STC_CHARSET_EASTEUROPE", SWIG_PyObj_FromInt((int)238));
13309 PyDict_SetItemString(d
,"STC_CHARSET_GB2312", SWIG_PyObj_FromInt((int)134));
13310 PyDict_SetItemString(d
,"STC_CHARSET_GREEK", SWIG_PyObj_FromInt((int)161));
13311 PyDict_SetItemString(d
,"STC_CHARSET_HANGUL", SWIG_PyObj_FromInt((int)129));
13312 PyDict_SetItemString(d
,"STC_CHARSET_MAC", SWIG_PyObj_FromInt((int)77));
13313 PyDict_SetItemString(d
,"STC_CHARSET_OEM", SWIG_PyObj_FromInt((int)255));
13314 PyDict_SetItemString(d
,"STC_CHARSET_RUSSIAN", SWIG_PyObj_FromInt((int)204));
13315 PyDict_SetItemString(d
,"STC_CHARSET_SHIFTJIS", SWIG_PyObj_FromInt((int)128));
13316 PyDict_SetItemString(d
,"STC_CHARSET_SYMBOL", SWIG_PyObj_FromInt((int)2));
13317 PyDict_SetItemString(d
,"STC_CHARSET_TURKISH", SWIG_PyObj_FromInt((int)162));
13318 PyDict_SetItemString(d
,"STC_CHARSET_JOHAB", SWIG_PyObj_FromInt((int)130));
13319 PyDict_SetItemString(d
,"STC_CHARSET_HEBREW", SWIG_PyObj_FromInt((int)177));
13320 PyDict_SetItemString(d
,"STC_CHARSET_ARABIC", SWIG_PyObj_FromInt((int)178));
13321 PyDict_SetItemString(d
,"STC_CHARSET_VIETNAMESE", SWIG_PyObj_FromInt((int)163));
13322 PyDict_SetItemString(d
,"STC_CHARSET_THAI", SWIG_PyObj_FromInt((int)222));
13323 PyDict_SetItemString(d
,"STC_CASE_MIXED", SWIG_PyObj_FromInt((int)0));
13324 PyDict_SetItemString(d
,"STC_CASE_UPPER", SWIG_PyObj_FromInt((int)1));
13325 PyDict_SetItemString(d
,"STC_CASE_LOWER", SWIG_PyObj_FromInt((int)2));
13326 PyDict_SetItemString(d
,"STC_INDIC_MAX", SWIG_PyObj_FromInt((int)7));
13327 PyDict_SetItemString(d
,"STC_INDIC_PLAIN", SWIG_PyObj_FromInt((int)0));
13328 PyDict_SetItemString(d
,"STC_INDIC_SQUIGGLE", SWIG_PyObj_FromInt((int)1));
13329 PyDict_SetItemString(d
,"STC_INDIC_TT", SWIG_PyObj_FromInt((int)2));
13330 PyDict_SetItemString(d
,"STC_INDIC_DIAGONAL", SWIG_PyObj_FromInt((int)3));
13331 PyDict_SetItemString(d
,"STC_INDIC_STRIKE", SWIG_PyObj_FromInt((int)4));
13332 PyDict_SetItemString(d
,"STC_INDIC_HIDDEN", SWIG_PyObj_FromInt((int)5));
13333 PyDict_SetItemString(d
,"STC_INDIC0_MASK", SWIG_PyObj_FromInt((int)0x20));
13334 PyDict_SetItemString(d
,"STC_INDIC1_MASK", SWIG_PyObj_FromInt((int)0x40));
13335 PyDict_SetItemString(d
,"STC_INDIC2_MASK", SWIG_PyObj_FromInt((int)0x80));
13336 PyDict_SetItemString(d
,"STC_INDICS_MASK", SWIG_PyObj_FromInt((int)0xE0));
13337 PyDict_SetItemString(d
,"STC_PRINT_NORMAL", SWIG_PyObj_FromInt((int)0));
13338 PyDict_SetItemString(d
,"STC_PRINT_INVERTLIGHT", SWIG_PyObj_FromInt((int)1));
13339 PyDict_SetItemString(d
,"STC_PRINT_BLACKONWHITE", SWIG_PyObj_FromInt((int)2));
13340 PyDict_SetItemString(d
,"STC_PRINT_COLOURONWHITE", SWIG_PyObj_FromInt((int)3));
13341 PyDict_SetItemString(d
,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_PyObj_FromInt((int)4));
13342 PyDict_SetItemString(d
,"STC_FIND_WHOLEWORD", SWIG_PyObj_FromInt((int)2));
13343 PyDict_SetItemString(d
,"STC_FIND_MATCHCASE", SWIG_PyObj_FromInt((int)4));
13344 PyDict_SetItemString(d
,"STC_FIND_WORDSTART", SWIG_PyObj_FromInt((int)0x00100000));
13345 PyDict_SetItemString(d
,"STC_FIND_REGEXP", SWIG_PyObj_FromInt((int)0x00200000));
13346 PyDict_SetItemString(d
,"STC_FIND_POSIX", SWIG_PyObj_FromInt((int)0x00400000));
13347 PyDict_SetItemString(d
,"STC_FOLDLEVELBASE", SWIG_PyObj_FromInt((int)0x400));
13348 PyDict_SetItemString(d
,"STC_FOLDLEVELWHITEFLAG", SWIG_PyObj_FromInt((int)0x1000));
13349 PyDict_SetItemString(d
,"STC_FOLDLEVELHEADERFLAG", SWIG_PyObj_FromInt((int)0x2000));
13350 PyDict_SetItemString(d
,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_PyObj_FromInt((int)0x4000));
13351 PyDict_SetItemString(d
,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_PyObj_FromInt((int)0x8000));
13352 PyDict_SetItemString(d
,"STC_FOLDLEVELCONTRACTED", SWIG_PyObj_FromInt((int)0x10000));
13353 PyDict_SetItemString(d
,"STC_FOLDLEVELUNINDENT", SWIG_PyObj_FromInt((int)0x20000));
13354 PyDict_SetItemString(d
,"STC_FOLDLEVELNUMBERMASK", SWIG_PyObj_FromInt((int)0x0FFF));
13355 PyDict_SetItemString(d
,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_PyObj_FromInt((int)0x0002));
13356 PyDict_SetItemString(d
,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_PyObj_FromInt((int)0x0004));
13357 PyDict_SetItemString(d
,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_PyObj_FromInt((int)0x0008));
13358 PyDict_SetItemString(d
,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_PyObj_FromInt((int)0x0010));
13359 PyDict_SetItemString(d
,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_PyObj_FromInt((int)0x0040));
13360 PyDict_SetItemString(d
,"STC_FOLDFLAG_BOX", SWIG_PyObj_FromInt((int)0x0001));
13361 PyDict_SetItemString(d
,"STC_TIME_FOREVER", SWIG_PyObj_FromInt((int)10000000));
13362 PyDict_SetItemString(d
,"STC_WRAP_NONE", SWIG_PyObj_FromInt((int)0));
13363 PyDict_SetItemString(d
,"STC_WRAP_WORD", SWIG_PyObj_FromInt((int)1));
13364 PyDict_SetItemString(d
,"STC_CACHE_NONE", SWIG_PyObj_FromInt((int)0));
13365 PyDict_SetItemString(d
,"STC_CACHE_CARET", SWIG_PyObj_FromInt((int)1));
13366 PyDict_SetItemString(d
,"STC_CACHE_PAGE", SWIG_PyObj_FromInt((int)2));
13367 PyDict_SetItemString(d
,"STC_CACHE_DOCUMENT", SWIG_PyObj_FromInt((int)3));
13368 PyDict_SetItemString(d
,"STC_EDGE_NONE", SWIG_PyObj_FromInt((int)0));
13369 PyDict_SetItemString(d
,"STC_EDGE_LINE", SWIG_PyObj_FromInt((int)1));
13370 PyDict_SetItemString(d
,"STC_EDGE_BACKGROUND", SWIG_PyObj_FromInt((int)2));
13371 PyDict_SetItemString(d
,"STC_CURSORNORMAL", SWIG_PyObj_FromInt((int)-1));
13372 PyDict_SetItemString(d
,"STC_CURSORWAIT", SWIG_PyObj_FromInt((int)4));
13373 PyDict_SetItemString(d
,"STC_VISIBLE_SLOP", SWIG_PyObj_FromInt((int)0x01));
13374 PyDict_SetItemString(d
,"STC_VISIBLE_STRICT", SWIG_PyObj_FromInt((int)0x04));
13375 PyDict_SetItemString(d
,"STC_CARET_SLOP", SWIG_PyObj_FromInt((int)0x01));
13376 PyDict_SetItemString(d
,"STC_CARET_STRICT", SWIG_PyObj_FromInt((int)0x04));
13377 PyDict_SetItemString(d
,"STC_CARET_JUMPS", SWIG_PyObj_FromInt((int)0x10));
13378 PyDict_SetItemString(d
,"STC_CARET_EVEN", SWIG_PyObj_FromInt((int)0x08));
13379 PyDict_SetItemString(d
,"STC_KEYWORDSET_MAX", SWIG_PyObj_FromInt((int)8));
13380 PyDict_SetItemString(d
,"STC_MOD_INSERTTEXT", SWIG_PyObj_FromInt((int)0x1));
13381 PyDict_SetItemString(d
,"STC_MOD_DELETETEXT", SWIG_PyObj_FromInt((int)0x2));
13382 PyDict_SetItemString(d
,"STC_MOD_CHANGESTYLE", SWIG_PyObj_FromInt((int)0x4));
13383 PyDict_SetItemString(d
,"STC_MOD_CHANGEFOLD", SWIG_PyObj_FromInt((int)0x8));
13384 PyDict_SetItemString(d
,"STC_PERFORMED_USER", SWIG_PyObj_FromInt((int)0x10));
13385 PyDict_SetItemString(d
,"STC_PERFORMED_UNDO", SWIG_PyObj_FromInt((int)0x20));
13386 PyDict_SetItemString(d
,"STC_PERFORMED_REDO", SWIG_PyObj_FromInt((int)0x40));
13387 PyDict_SetItemString(d
,"STC_LASTSTEPINUNDOREDO", SWIG_PyObj_FromInt((int)0x100));
13388 PyDict_SetItemString(d
,"STC_MOD_CHANGEMARKER", SWIG_PyObj_FromInt((int)0x200));
13389 PyDict_SetItemString(d
,"STC_MOD_BEFOREINSERT", SWIG_PyObj_FromInt((int)0x400));
13390 PyDict_SetItemString(d
,"STC_MOD_BEFOREDELETE", SWIG_PyObj_FromInt((int)0x800));
13391 PyDict_SetItemString(d
,"STC_MODEVENTMASKALL", SWIG_PyObj_FromInt((int)0xF77));
13392 PyDict_SetItemString(d
,"STC_KEY_DOWN", SWIG_PyObj_FromInt((int)300));
13393 PyDict_SetItemString(d
,"STC_KEY_UP", SWIG_PyObj_FromInt((int)301));
13394 PyDict_SetItemString(d
,"STC_KEY_LEFT", SWIG_PyObj_FromInt((int)302));
13395 PyDict_SetItemString(d
,"STC_KEY_RIGHT", SWIG_PyObj_FromInt((int)303));
13396 PyDict_SetItemString(d
,"STC_KEY_HOME", SWIG_PyObj_FromInt((int)304));
13397 PyDict_SetItemString(d
,"STC_KEY_END", SWIG_PyObj_FromInt((int)305));
13398 PyDict_SetItemString(d
,"STC_KEY_PRIOR", SWIG_PyObj_FromInt((int)306));
13399 PyDict_SetItemString(d
,"STC_KEY_NEXT", SWIG_PyObj_FromInt((int)307));
13400 PyDict_SetItemString(d
,"STC_KEY_DELETE", SWIG_PyObj_FromInt((int)308));
13401 PyDict_SetItemString(d
,"STC_KEY_INSERT", SWIG_PyObj_FromInt((int)309));
13402 PyDict_SetItemString(d
,"STC_KEY_ESCAPE", SWIG_PyObj_FromInt((int)7));
13403 PyDict_SetItemString(d
,"STC_KEY_BACK", SWIG_PyObj_FromInt((int)8));
13404 PyDict_SetItemString(d
,"STC_KEY_TAB", SWIG_PyObj_FromInt((int)9));
13405 PyDict_SetItemString(d
,"STC_KEY_RETURN", SWIG_PyObj_FromInt((int)13));
13406 PyDict_SetItemString(d
,"STC_KEY_ADD", SWIG_PyObj_FromInt((int)310));
13407 PyDict_SetItemString(d
,"STC_KEY_SUBTRACT", SWIG_PyObj_FromInt((int)311));
13408 PyDict_SetItemString(d
,"STC_KEY_DIVIDE", SWIG_PyObj_FromInt((int)312));
13409 PyDict_SetItemString(d
,"STC_SCMOD_SHIFT", SWIG_PyObj_FromInt((int)1));
13410 PyDict_SetItemString(d
,"STC_SCMOD_CTRL", SWIG_PyObj_FromInt((int)2));
13411 PyDict_SetItemString(d
,"STC_SCMOD_ALT", SWIG_PyObj_FromInt((int)4));
13412 PyDict_SetItemString(d
,"STC_LEX_CONTAINER", SWIG_PyObj_FromInt((int)0));
13413 PyDict_SetItemString(d
,"STC_LEX_NULL", SWIG_PyObj_FromInt((int)1));
13414 PyDict_SetItemString(d
,"STC_LEX_PYTHON", SWIG_PyObj_FromInt((int)2));
13415 PyDict_SetItemString(d
,"STC_LEX_CPP", SWIG_PyObj_FromInt((int)3));
13416 PyDict_SetItemString(d
,"STC_LEX_HTML", SWIG_PyObj_FromInt((int)4));
13417 PyDict_SetItemString(d
,"STC_LEX_XML", SWIG_PyObj_FromInt((int)5));
13418 PyDict_SetItemString(d
,"STC_LEX_PERL", SWIG_PyObj_FromInt((int)6));
13419 PyDict_SetItemString(d
,"STC_LEX_SQL", SWIG_PyObj_FromInt((int)7));
13420 PyDict_SetItemString(d
,"STC_LEX_VB", SWIG_PyObj_FromInt((int)8));
13421 PyDict_SetItemString(d
,"STC_LEX_PROPERTIES", SWIG_PyObj_FromInt((int)9));
13422 PyDict_SetItemString(d
,"STC_LEX_ERRORLIST", SWIG_PyObj_FromInt((int)10));
13423 PyDict_SetItemString(d
,"STC_LEX_MAKEFILE", SWIG_PyObj_FromInt((int)11));
13424 PyDict_SetItemString(d
,"STC_LEX_BATCH", SWIG_PyObj_FromInt((int)12));
13425 PyDict_SetItemString(d
,"STC_LEX_XCODE", SWIG_PyObj_FromInt((int)13));
13426 PyDict_SetItemString(d
,"STC_LEX_LATEX", SWIG_PyObj_FromInt((int)14));
13427 PyDict_SetItemString(d
,"STC_LEX_LUA", SWIG_PyObj_FromInt((int)15));
13428 PyDict_SetItemString(d
,"STC_LEX_DIFF", SWIG_PyObj_FromInt((int)16));
13429 PyDict_SetItemString(d
,"STC_LEX_CONF", SWIG_PyObj_FromInt((int)17));
13430 PyDict_SetItemString(d
,"STC_LEX_PASCAL", SWIG_PyObj_FromInt((int)18));
13431 PyDict_SetItemString(d
,"STC_LEX_AVE", SWIG_PyObj_FromInt((int)19));
13432 PyDict_SetItemString(d
,"STC_LEX_ADA", SWIG_PyObj_FromInt((int)20));
13433 PyDict_SetItemString(d
,"STC_LEX_LISP", SWIG_PyObj_FromInt((int)21));
13434 PyDict_SetItemString(d
,"STC_LEX_RUBY", SWIG_PyObj_FromInt((int)22));
13435 PyDict_SetItemString(d
,"STC_LEX_EIFFEL", SWIG_PyObj_FromInt((int)23));
13436 PyDict_SetItemString(d
,"STC_LEX_EIFFELKW", SWIG_PyObj_FromInt((int)24));
13437 PyDict_SetItemString(d
,"STC_LEX_TCL", SWIG_PyObj_FromInt((int)25));
13438 PyDict_SetItemString(d
,"STC_LEX_NNCRONTAB", SWIG_PyObj_FromInt((int)26));
13439 PyDict_SetItemString(d
,"STC_LEX_BULLANT", SWIG_PyObj_FromInt((int)27));
13440 PyDict_SetItemString(d
,"STC_LEX_VBSCRIPT", SWIG_PyObj_FromInt((int)28));
13441 PyDict_SetItemString(d
,"STC_LEX_ASP", SWIG_PyObj_FromInt((int)29));
13442 PyDict_SetItemString(d
,"STC_LEX_PHP", SWIG_PyObj_FromInt((int)30));
13443 PyDict_SetItemString(d
,"STC_LEX_BAAN", SWIG_PyObj_FromInt((int)31));
13444 PyDict_SetItemString(d
,"STC_LEX_MATLAB", SWIG_PyObj_FromInt((int)32));
13445 PyDict_SetItemString(d
,"STC_LEX_SCRIPTOL", SWIG_PyObj_FromInt((int)33));
13446 PyDict_SetItemString(d
,"STC_LEX_ASM", SWIG_PyObj_FromInt((int)34));
13447 PyDict_SetItemString(d
,"STC_LEX_CPPNOCASE", SWIG_PyObj_FromInt((int)35));
13448 PyDict_SetItemString(d
,"STC_LEX_FORTRAN", SWIG_PyObj_FromInt((int)36));
13449 PyDict_SetItemString(d
,"STC_LEX_F77", SWIG_PyObj_FromInt((int)37));
13450 PyDict_SetItemString(d
,"STC_LEX_CSS", SWIG_PyObj_FromInt((int)38));
13451 PyDict_SetItemString(d
,"STC_LEX_POV", SWIG_PyObj_FromInt((int)39));
13452 PyDict_SetItemString(d
,"STC_LEX_LOUT", SWIG_PyObj_FromInt((int)40));
13453 PyDict_SetItemString(d
,"STC_LEX_ESCRIPT", SWIG_PyObj_FromInt((int)41));
13454 PyDict_SetItemString(d
,"STC_LEX_PS", SWIG_PyObj_FromInt((int)42));
13455 PyDict_SetItemString(d
,"STC_LEX_NSIS", SWIG_PyObj_FromInt((int)43));
13456 PyDict_SetItemString(d
,"STC_LEX_MMIXAL", SWIG_PyObj_FromInt((int)44));
13457 PyDict_SetItemString(d
,"STC_LEX_AUTOMATIC", SWIG_PyObj_FromInt((int)1000));
13458 PyDict_SetItemString(d
,"STC_P_DEFAULT", SWIG_PyObj_FromInt((int)0));
13459 PyDict_SetItemString(d
,"STC_P_COMMENTLINE", SWIG_PyObj_FromInt((int)1));
13460 PyDict_SetItemString(d
,"STC_P_NUMBER", SWIG_PyObj_FromInt((int)2));
13461 PyDict_SetItemString(d
,"STC_P_STRING", SWIG_PyObj_FromInt((int)3));
13462 PyDict_SetItemString(d
,"STC_P_CHARACTER", SWIG_PyObj_FromInt((int)4));
13463 PyDict_SetItemString(d
,"STC_P_WORD", SWIG_PyObj_FromInt((int)5));
13464 PyDict_SetItemString(d
,"STC_P_TRIPLE", SWIG_PyObj_FromInt((int)6));
13465 PyDict_SetItemString(d
,"STC_P_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)7));
13466 PyDict_SetItemString(d
,"STC_P_CLASSNAME", SWIG_PyObj_FromInt((int)8));
13467 PyDict_SetItemString(d
,"STC_P_DEFNAME", SWIG_PyObj_FromInt((int)9));
13468 PyDict_SetItemString(d
,"STC_P_OPERATOR", SWIG_PyObj_FromInt((int)10));
13469 PyDict_SetItemString(d
,"STC_P_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13470 PyDict_SetItemString(d
,"STC_P_COMMENTBLOCK", SWIG_PyObj_FromInt((int)12));
13471 PyDict_SetItemString(d
,"STC_P_STRINGEOL", SWIG_PyObj_FromInt((int)13));
13472 PyDict_SetItemString(d
,"STC_C_DEFAULT", SWIG_PyObj_FromInt((int)0));
13473 PyDict_SetItemString(d
,"STC_C_COMMENT", SWIG_PyObj_FromInt((int)1));
13474 PyDict_SetItemString(d
,"STC_C_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13475 PyDict_SetItemString(d
,"STC_C_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13476 PyDict_SetItemString(d
,"STC_C_NUMBER", SWIG_PyObj_FromInt((int)4));
13477 PyDict_SetItemString(d
,"STC_C_WORD", SWIG_PyObj_FromInt((int)5));
13478 PyDict_SetItemString(d
,"STC_C_STRING", SWIG_PyObj_FromInt((int)6));
13479 PyDict_SetItemString(d
,"STC_C_CHARACTER", SWIG_PyObj_FromInt((int)7));
13480 PyDict_SetItemString(d
,"STC_C_UUID", SWIG_PyObj_FromInt((int)8));
13481 PyDict_SetItemString(d
,"STC_C_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13482 PyDict_SetItemString(d
,"STC_C_OPERATOR", SWIG_PyObj_FromInt((int)10));
13483 PyDict_SetItemString(d
,"STC_C_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13484 PyDict_SetItemString(d
,"STC_C_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13485 PyDict_SetItemString(d
,"STC_C_VERBATIM", SWIG_PyObj_FromInt((int)13));
13486 PyDict_SetItemString(d
,"STC_C_REGEX", SWIG_PyObj_FromInt((int)14));
13487 PyDict_SetItemString(d
,"STC_C_COMMENTLINEDOC", SWIG_PyObj_FromInt((int)15));
13488 PyDict_SetItemString(d
,"STC_C_WORD2", SWIG_PyObj_FromInt((int)16));
13489 PyDict_SetItemString(d
,"STC_C_COMMENTDOCKEYWORD", SWIG_PyObj_FromInt((int)17));
13490 PyDict_SetItemString(d
,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_PyObj_FromInt((int)18));
13491 PyDict_SetItemString(d
,"STC_C_GLOBALCLASS", SWIG_PyObj_FromInt((int)19));
13492 PyDict_SetItemString(d
,"STC_H_DEFAULT", SWIG_PyObj_FromInt((int)0));
13493 PyDict_SetItemString(d
,"STC_H_TAG", SWIG_PyObj_FromInt((int)1));
13494 PyDict_SetItemString(d
,"STC_H_TAGUNKNOWN", SWIG_PyObj_FromInt((int)2));
13495 PyDict_SetItemString(d
,"STC_H_ATTRIBUTE", SWIG_PyObj_FromInt((int)3));
13496 PyDict_SetItemString(d
,"STC_H_ATTRIBUTEUNKNOWN", SWIG_PyObj_FromInt((int)4));
13497 PyDict_SetItemString(d
,"STC_H_NUMBER", SWIG_PyObj_FromInt((int)5));
13498 PyDict_SetItemString(d
,"STC_H_DOUBLESTRING", SWIG_PyObj_FromInt((int)6));
13499 PyDict_SetItemString(d
,"STC_H_SINGLESTRING", SWIG_PyObj_FromInt((int)7));
13500 PyDict_SetItemString(d
,"STC_H_OTHER", SWIG_PyObj_FromInt((int)8));
13501 PyDict_SetItemString(d
,"STC_H_COMMENT", SWIG_PyObj_FromInt((int)9));
13502 PyDict_SetItemString(d
,"STC_H_ENTITY", SWIG_PyObj_FromInt((int)10));
13503 PyDict_SetItemString(d
,"STC_H_TAGEND", SWIG_PyObj_FromInt((int)11));
13504 PyDict_SetItemString(d
,"STC_H_XMLSTART", SWIG_PyObj_FromInt((int)12));
13505 PyDict_SetItemString(d
,"STC_H_XMLEND", SWIG_PyObj_FromInt((int)13));
13506 PyDict_SetItemString(d
,"STC_H_SCRIPT", SWIG_PyObj_FromInt((int)14));
13507 PyDict_SetItemString(d
,"STC_H_ASP", SWIG_PyObj_FromInt((int)15));
13508 PyDict_SetItemString(d
,"STC_H_ASPAT", SWIG_PyObj_FromInt((int)16));
13509 PyDict_SetItemString(d
,"STC_H_CDATA", SWIG_PyObj_FromInt((int)17));
13510 PyDict_SetItemString(d
,"STC_H_QUESTION", SWIG_PyObj_FromInt((int)18));
13511 PyDict_SetItemString(d
,"STC_H_VALUE", SWIG_PyObj_FromInt((int)19));
13512 PyDict_SetItemString(d
,"STC_H_XCCOMMENT", SWIG_PyObj_FromInt((int)20));
13513 PyDict_SetItemString(d
,"STC_H_SGML_DEFAULT", SWIG_PyObj_FromInt((int)21));
13514 PyDict_SetItemString(d
,"STC_H_SGML_COMMAND", SWIG_PyObj_FromInt((int)22));
13515 PyDict_SetItemString(d
,"STC_H_SGML_1ST_PARAM", SWIG_PyObj_FromInt((int)23));
13516 PyDict_SetItemString(d
,"STC_H_SGML_DOUBLESTRING", SWIG_PyObj_FromInt((int)24));
13517 PyDict_SetItemString(d
,"STC_H_SGML_SIMPLESTRING", SWIG_PyObj_FromInt((int)25));
13518 PyDict_SetItemString(d
,"STC_H_SGML_ERROR", SWIG_PyObj_FromInt((int)26));
13519 PyDict_SetItemString(d
,"STC_H_SGML_SPECIAL", SWIG_PyObj_FromInt((int)27));
13520 PyDict_SetItemString(d
,"STC_H_SGML_ENTITY", SWIG_PyObj_FromInt((int)28));
13521 PyDict_SetItemString(d
,"STC_H_SGML_COMMENT", SWIG_PyObj_FromInt((int)29));
13522 PyDict_SetItemString(d
,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_PyObj_FromInt((int)30));
13523 PyDict_SetItemString(d
,"STC_H_SGML_BLOCK_DEFAULT", SWIG_PyObj_FromInt((int)31));
13524 PyDict_SetItemString(d
,"STC_HJ_START", SWIG_PyObj_FromInt((int)40));
13525 PyDict_SetItemString(d
,"STC_HJ_DEFAULT", SWIG_PyObj_FromInt((int)41));
13526 PyDict_SetItemString(d
,"STC_HJ_COMMENT", SWIG_PyObj_FromInt((int)42));
13527 PyDict_SetItemString(d
,"STC_HJ_COMMENTLINE", SWIG_PyObj_FromInt((int)43));
13528 PyDict_SetItemString(d
,"STC_HJ_COMMENTDOC", SWIG_PyObj_FromInt((int)44));
13529 PyDict_SetItemString(d
,"STC_HJ_NUMBER", SWIG_PyObj_FromInt((int)45));
13530 PyDict_SetItemString(d
,"STC_HJ_WORD", SWIG_PyObj_FromInt((int)46));
13531 PyDict_SetItemString(d
,"STC_HJ_KEYWORD", SWIG_PyObj_FromInt((int)47));
13532 PyDict_SetItemString(d
,"STC_HJ_DOUBLESTRING", SWIG_PyObj_FromInt((int)48));
13533 PyDict_SetItemString(d
,"STC_HJ_SINGLESTRING", SWIG_PyObj_FromInt((int)49));
13534 PyDict_SetItemString(d
,"STC_HJ_SYMBOLS", SWIG_PyObj_FromInt((int)50));
13535 PyDict_SetItemString(d
,"STC_HJ_STRINGEOL", SWIG_PyObj_FromInt((int)51));
13536 PyDict_SetItemString(d
,"STC_HJ_REGEX", SWIG_PyObj_FromInt((int)52));
13537 PyDict_SetItemString(d
,"STC_HJA_START", SWIG_PyObj_FromInt((int)55));
13538 PyDict_SetItemString(d
,"STC_HJA_DEFAULT", SWIG_PyObj_FromInt((int)56));
13539 PyDict_SetItemString(d
,"STC_HJA_COMMENT", SWIG_PyObj_FromInt((int)57));
13540 PyDict_SetItemString(d
,"STC_HJA_COMMENTLINE", SWIG_PyObj_FromInt((int)58));
13541 PyDict_SetItemString(d
,"STC_HJA_COMMENTDOC", SWIG_PyObj_FromInt((int)59));
13542 PyDict_SetItemString(d
,"STC_HJA_NUMBER", SWIG_PyObj_FromInt((int)60));
13543 PyDict_SetItemString(d
,"STC_HJA_WORD", SWIG_PyObj_FromInt((int)61));
13544 PyDict_SetItemString(d
,"STC_HJA_KEYWORD", SWIG_PyObj_FromInt((int)62));
13545 PyDict_SetItemString(d
,"STC_HJA_DOUBLESTRING", SWIG_PyObj_FromInt((int)63));
13546 PyDict_SetItemString(d
,"STC_HJA_SINGLESTRING", SWIG_PyObj_FromInt((int)64));
13547 PyDict_SetItemString(d
,"STC_HJA_SYMBOLS", SWIG_PyObj_FromInt((int)65));
13548 PyDict_SetItemString(d
,"STC_HJA_STRINGEOL", SWIG_PyObj_FromInt((int)66));
13549 PyDict_SetItemString(d
,"STC_HJA_REGEX", SWIG_PyObj_FromInt((int)67));
13550 PyDict_SetItemString(d
,"STC_HB_START", SWIG_PyObj_FromInt((int)70));
13551 PyDict_SetItemString(d
,"STC_HB_DEFAULT", SWIG_PyObj_FromInt((int)71));
13552 PyDict_SetItemString(d
,"STC_HB_COMMENTLINE", SWIG_PyObj_FromInt((int)72));
13553 PyDict_SetItemString(d
,"STC_HB_NUMBER", SWIG_PyObj_FromInt((int)73));
13554 PyDict_SetItemString(d
,"STC_HB_WORD", SWIG_PyObj_FromInt((int)74));
13555 PyDict_SetItemString(d
,"STC_HB_STRING", SWIG_PyObj_FromInt((int)75));
13556 PyDict_SetItemString(d
,"STC_HB_IDENTIFIER", SWIG_PyObj_FromInt((int)76));
13557 PyDict_SetItemString(d
,"STC_HB_STRINGEOL", SWIG_PyObj_FromInt((int)77));
13558 PyDict_SetItemString(d
,"STC_HBA_START", SWIG_PyObj_FromInt((int)80));
13559 PyDict_SetItemString(d
,"STC_HBA_DEFAULT", SWIG_PyObj_FromInt((int)81));
13560 PyDict_SetItemString(d
,"STC_HBA_COMMENTLINE", SWIG_PyObj_FromInt((int)82));
13561 PyDict_SetItemString(d
,"STC_HBA_NUMBER", SWIG_PyObj_FromInt((int)83));
13562 PyDict_SetItemString(d
,"STC_HBA_WORD", SWIG_PyObj_FromInt((int)84));
13563 PyDict_SetItemString(d
,"STC_HBA_STRING", SWIG_PyObj_FromInt((int)85));
13564 PyDict_SetItemString(d
,"STC_HBA_IDENTIFIER", SWIG_PyObj_FromInt((int)86));
13565 PyDict_SetItemString(d
,"STC_HBA_STRINGEOL", SWIG_PyObj_FromInt((int)87));
13566 PyDict_SetItemString(d
,"STC_HP_START", SWIG_PyObj_FromInt((int)90));
13567 PyDict_SetItemString(d
,"STC_HP_DEFAULT", SWIG_PyObj_FromInt((int)91));
13568 PyDict_SetItemString(d
,"STC_HP_COMMENTLINE", SWIG_PyObj_FromInt((int)92));
13569 PyDict_SetItemString(d
,"STC_HP_NUMBER", SWIG_PyObj_FromInt((int)93));
13570 PyDict_SetItemString(d
,"STC_HP_STRING", SWIG_PyObj_FromInt((int)94));
13571 PyDict_SetItemString(d
,"STC_HP_CHARACTER", SWIG_PyObj_FromInt((int)95));
13572 PyDict_SetItemString(d
,"STC_HP_WORD", SWIG_PyObj_FromInt((int)96));
13573 PyDict_SetItemString(d
,"STC_HP_TRIPLE", SWIG_PyObj_FromInt((int)97));
13574 PyDict_SetItemString(d
,"STC_HP_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)98));
13575 PyDict_SetItemString(d
,"STC_HP_CLASSNAME", SWIG_PyObj_FromInt((int)99));
13576 PyDict_SetItemString(d
,"STC_HP_DEFNAME", SWIG_PyObj_FromInt((int)100));
13577 PyDict_SetItemString(d
,"STC_HP_OPERATOR", SWIG_PyObj_FromInt((int)101));
13578 PyDict_SetItemString(d
,"STC_HP_IDENTIFIER", SWIG_PyObj_FromInt((int)102));
13579 PyDict_SetItemString(d
,"STC_HPA_START", SWIG_PyObj_FromInt((int)105));
13580 PyDict_SetItemString(d
,"STC_HPA_DEFAULT", SWIG_PyObj_FromInt((int)106));
13581 PyDict_SetItemString(d
,"STC_HPA_COMMENTLINE", SWIG_PyObj_FromInt((int)107));
13582 PyDict_SetItemString(d
,"STC_HPA_NUMBER", SWIG_PyObj_FromInt((int)108));
13583 PyDict_SetItemString(d
,"STC_HPA_STRING", SWIG_PyObj_FromInt((int)109));
13584 PyDict_SetItemString(d
,"STC_HPA_CHARACTER", SWIG_PyObj_FromInt((int)110));
13585 PyDict_SetItemString(d
,"STC_HPA_WORD", SWIG_PyObj_FromInt((int)111));
13586 PyDict_SetItemString(d
,"STC_HPA_TRIPLE", SWIG_PyObj_FromInt((int)112));
13587 PyDict_SetItemString(d
,"STC_HPA_TRIPLEDOUBLE", SWIG_PyObj_FromInt((int)113));
13588 PyDict_SetItemString(d
,"STC_HPA_CLASSNAME", SWIG_PyObj_FromInt((int)114));
13589 PyDict_SetItemString(d
,"STC_HPA_DEFNAME", SWIG_PyObj_FromInt((int)115));
13590 PyDict_SetItemString(d
,"STC_HPA_OPERATOR", SWIG_PyObj_FromInt((int)116));
13591 PyDict_SetItemString(d
,"STC_HPA_IDENTIFIER", SWIG_PyObj_FromInt((int)117));
13592 PyDict_SetItemString(d
,"STC_HPHP_DEFAULT", SWIG_PyObj_FromInt((int)118));
13593 PyDict_SetItemString(d
,"STC_HPHP_HSTRING", SWIG_PyObj_FromInt((int)119));
13594 PyDict_SetItemString(d
,"STC_HPHP_SIMPLESTRING", SWIG_PyObj_FromInt((int)120));
13595 PyDict_SetItemString(d
,"STC_HPHP_WORD", SWIG_PyObj_FromInt((int)121));
13596 PyDict_SetItemString(d
,"STC_HPHP_NUMBER", SWIG_PyObj_FromInt((int)122));
13597 PyDict_SetItemString(d
,"STC_HPHP_VARIABLE", SWIG_PyObj_FromInt((int)123));
13598 PyDict_SetItemString(d
,"STC_HPHP_COMMENT", SWIG_PyObj_FromInt((int)124));
13599 PyDict_SetItemString(d
,"STC_HPHP_COMMENTLINE", SWIG_PyObj_FromInt((int)125));
13600 PyDict_SetItemString(d
,"STC_HPHP_HSTRING_VARIABLE", SWIG_PyObj_FromInt((int)126));
13601 PyDict_SetItemString(d
,"STC_HPHP_OPERATOR", SWIG_PyObj_FromInt((int)127));
13602 PyDict_SetItemString(d
,"STC_PL_DEFAULT", SWIG_PyObj_FromInt((int)0));
13603 PyDict_SetItemString(d
,"STC_PL_ERROR", SWIG_PyObj_FromInt((int)1));
13604 PyDict_SetItemString(d
,"STC_PL_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13605 PyDict_SetItemString(d
,"STC_PL_POD", SWIG_PyObj_FromInt((int)3));
13606 PyDict_SetItemString(d
,"STC_PL_NUMBER", SWIG_PyObj_FromInt((int)4));
13607 PyDict_SetItemString(d
,"STC_PL_WORD", SWIG_PyObj_FromInt((int)5));
13608 PyDict_SetItemString(d
,"STC_PL_STRING", SWIG_PyObj_FromInt((int)6));
13609 PyDict_SetItemString(d
,"STC_PL_CHARACTER", SWIG_PyObj_FromInt((int)7));
13610 PyDict_SetItemString(d
,"STC_PL_PUNCTUATION", SWIG_PyObj_FromInt((int)8));
13611 PyDict_SetItemString(d
,"STC_PL_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13612 PyDict_SetItemString(d
,"STC_PL_OPERATOR", SWIG_PyObj_FromInt((int)10));
13613 PyDict_SetItemString(d
,"STC_PL_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13614 PyDict_SetItemString(d
,"STC_PL_SCALAR", SWIG_PyObj_FromInt((int)12));
13615 PyDict_SetItemString(d
,"STC_PL_ARRAY", SWIG_PyObj_FromInt((int)13));
13616 PyDict_SetItemString(d
,"STC_PL_HASH", SWIG_PyObj_FromInt((int)14));
13617 PyDict_SetItemString(d
,"STC_PL_SYMBOLTABLE", SWIG_PyObj_FromInt((int)15));
13618 PyDict_SetItemString(d
,"STC_PL_REGEX", SWIG_PyObj_FromInt((int)17));
13619 PyDict_SetItemString(d
,"STC_PL_REGSUBST", SWIG_PyObj_FromInt((int)18));
13620 PyDict_SetItemString(d
,"STC_PL_LONGQUOTE", SWIG_PyObj_FromInt((int)19));
13621 PyDict_SetItemString(d
,"STC_PL_BACKTICKS", SWIG_PyObj_FromInt((int)20));
13622 PyDict_SetItemString(d
,"STC_PL_DATASECTION", SWIG_PyObj_FromInt((int)21));
13623 PyDict_SetItemString(d
,"STC_PL_HERE_DELIM", SWIG_PyObj_FromInt((int)22));
13624 PyDict_SetItemString(d
,"STC_PL_HERE_Q", SWIG_PyObj_FromInt((int)23));
13625 PyDict_SetItemString(d
,"STC_PL_HERE_QQ", SWIG_PyObj_FromInt((int)24));
13626 PyDict_SetItemString(d
,"STC_PL_HERE_QX", SWIG_PyObj_FromInt((int)25));
13627 PyDict_SetItemString(d
,"STC_PL_STRING_Q", SWIG_PyObj_FromInt((int)26));
13628 PyDict_SetItemString(d
,"STC_PL_STRING_QQ", SWIG_PyObj_FromInt((int)27));
13629 PyDict_SetItemString(d
,"STC_PL_STRING_QX", SWIG_PyObj_FromInt((int)28));
13630 PyDict_SetItemString(d
,"STC_PL_STRING_QR", SWIG_PyObj_FromInt((int)29));
13631 PyDict_SetItemString(d
,"STC_PL_STRING_QW", SWIG_PyObj_FromInt((int)30));
13632 PyDict_SetItemString(d
,"STC_B_DEFAULT", SWIG_PyObj_FromInt((int)0));
13633 PyDict_SetItemString(d
,"STC_B_COMMENT", SWIG_PyObj_FromInt((int)1));
13634 PyDict_SetItemString(d
,"STC_B_NUMBER", SWIG_PyObj_FromInt((int)2));
13635 PyDict_SetItemString(d
,"STC_B_KEYWORD", SWIG_PyObj_FromInt((int)3));
13636 PyDict_SetItemString(d
,"STC_B_STRING", SWIG_PyObj_FromInt((int)4));
13637 PyDict_SetItemString(d
,"STC_B_PREPROCESSOR", SWIG_PyObj_FromInt((int)5));
13638 PyDict_SetItemString(d
,"STC_B_OPERATOR", SWIG_PyObj_FromInt((int)6));
13639 PyDict_SetItemString(d
,"STC_B_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13640 PyDict_SetItemString(d
,"STC_B_DATE", SWIG_PyObj_FromInt((int)8));
13641 PyDict_SetItemString(d
,"STC_PROPS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13642 PyDict_SetItemString(d
,"STC_PROPS_COMMENT", SWIG_PyObj_FromInt((int)1));
13643 PyDict_SetItemString(d
,"STC_PROPS_SECTION", SWIG_PyObj_FromInt((int)2));
13644 PyDict_SetItemString(d
,"STC_PROPS_ASSIGNMENT", SWIG_PyObj_FromInt((int)3));
13645 PyDict_SetItemString(d
,"STC_PROPS_DEFVAL", SWIG_PyObj_FromInt((int)4));
13646 PyDict_SetItemString(d
,"STC_L_DEFAULT", SWIG_PyObj_FromInt((int)0));
13647 PyDict_SetItemString(d
,"STC_L_COMMAND", SWIG_PyObj_FromInt((int)1));
13648 PyDict_SetItemString(d
,"STC_L_TAG", SWIG_PyObj_FromInt((int)2));
13649 PyDict_SetItemString(d
,"STC_L_MATH", SWIG_PyObj_FromInt((int)3));
13650 PyDict_SetItemString(d
,"STC_L_COMMENT", SWIG_PyObj_FromInt((int)4));
13651 PyDict_SetItemString(d
,"STC_LUA_DEFAULT", SWIG_PyObj_FromInt((int)0));
13652 PyDict_SetItemString(d
,"STC_LUA_COMMENT", SWIG_PyObj_FromInt((int)1));
13653 PyDict_SetItemString(d
,"STC_LUA_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13654 PyDict_SetItemString(d
,"STC_LUA_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13655 PyDict_SetItemString(d
,"STC_LUA_NUMBER", SWIG_PyObj_FromInt((int)4));
13656 PyDict_SetItemString(d
,"STC_LUA_WORD", SWIG_PyObj_FromInt((int)5));
13657 PyDict_SetItemString(d
,"STC_LUA_STRING", SWIG_PyObj_FromInt((int)6));
13658 PyDict_SetItemString(d
,"STC_LUA_CHARACTER", SWIG_PyObj_FromInt((int)7));
13659 PyDict_SetItemString(d
,"STC_LUA_LITERALSTRING", SWIG_PyObj_FromInt((int)8));
13660 PyDict_SetItemString(d
,"STC_LUA_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13661 PyDict_SetItemString(d
,"STC_LUA_OPERATOR", SWIG_PyObj_FromInt((int)10));
13662 PyDict_SetItemString(d
,"STC_LUA_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13663 PyDict_SetItemString(d
,"STC_LUA_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13664 PyDict_SetItemString(d
,"STC_LUA_WORD2", SWIG_PyObj_FromInt((int)13));
13665 PyDict_SetItemString(d
,"STC_LUA_WORD3", SWIG_PyObj_FromInt((int)14));
13666 PyDict_SetItemString(d
,"STC_LUA_WORD4", SWIG_PyObj_FromInt((int)15));
13667 PyDict_SetItemString(d
,"STC_LUA_WORD5", SWIG_PyObj_FromInt((int)16));
13668 PyDict_SetItemString(d
,"STC_LUA_WORD6", SWIG_PyObj_FromInt((int)17));
13669 PyDict_SetItemString(d
,"STC_LUA_WORD7", SWIG_PyObj_FromInt((int)18));
13670 PyDict_SetItemString(d
,"STC_LUA_WORD8", SWIG_PyObj_FromInt((int)19));
13671 PyDict_SetItemString(d
,"STC_ERR_DEFAULT", SWIG_PyObj_FromInt((int)0));
13672 PyDict_SetItemString(d
,"STC_ERR_PYTHON", SWIG_PyObj_FromInt((int)1));
13673 PyDict_SetItemString(d
,"STC_ERR_GCC", SWIG_PyObj_FromInt((int)2));
13674 PyDict_SetItemString(d
,"STC_ERR_MS", SWIG_PyObj_FromInt((int)3));
13675 PyDict_SetItemString(d
,"STC_ERR_CMD", SWIG_PyObj_FromInt((int)4));
13676 PyDict_SetItemString(d
,"STC_ERR_BORLAND", SWIG_PyObj_FromInt((int)5));
13677 PyDict_SetItemString(d
,"STC_ERR_PERL", SWIG_PyObj_FromInt((int)6));
13678 PyDict_SetItemString(d
,"STC_ERR_NET", SWIG_PyObj_FromInt((int)7));
13679 PyDict_SetItemString(d
,"STC_ERR_LUA", SWIG_PyObj_FromInt((int)8));
13680 PyDict_SetItemString(d
,"STC_ERR_CTAG", SWIG_PyObj_FromInt((int)9));
13681 PyDict_SetItemString(d
,"STC_ERR_DIFF_CHANGED", SWIG_PyObj_FromInt((int)10));
13682 PyDict_SetItemString(d
,"STC_ERR_DIFF_ADDITION", SWIG_PyObj_FromInt((int)11));
13683 PyDict_SetItemString(d
,"STC_ERR_DIFF_DELETION", SWIG_PyObj_FromInt((int)12));
13684 PyDict_SetItemString(d
,"STC_ERR_DIFF_MESSAGE", SWIG_PyObj_FromInt((int)13));
13685 PyDict_SetItemString(d
,"STC_ERR_PHP", SWIG_PyObj_FromInt((int)14));
13686 PyDict_SetItemString(d
,"STC_ERR_ELF", SWIG_PyObj_FromInt((int)15));
13687 PyDict_SetItemString(d
,"STC_ERR_IFC", SWIG_PyObj_FromInt((int)16));
13688 PyDict_SetItemString(d
,"STC_BAT_DEFAULT", SWIG_PyObj_FromInt((int)0));
13689 PyDict_SetItemString(d
,"STC_BAT_COMMENT", SWIG_PyObj_FromInt((int)1));
13690 PyDict_SetItemString(d
,"STC_BAT_WORD", SWIG_PyObj_FromInt((int)2));
13691 PyDict_SetItemString(d
,"STC_BAT_LABEL", SWIG_PyObj_FromInt((int)3));
13692 PyDict_SetItemString(d
,"STC_BAT_HIDE", SWIG_PyObj_FromInt((int)4));
13693 PyDict_SetItemString(d
,"STC_BAT_COMMAND", SWIG_PyObj_FromInt((int)5));
13694 PyDict_SetItemString(d
,"STC_BAT_IDENTIFIER", SWIG_PyObj_FromInt((int)6));
13695 PyDict_SetItemString(d
,"STC_BAT_OPERATOR", SWIG_PyObj_FromInt((int)7));
13696 PyDict_SetItemString(d
,"STC_MAKE_DEFAULT", SWIG_PyObj_FromInt((int)0));
13697 PyDict_SetItemString(d
,"STC_MAKE_COMMENT", SWIG_PyObj_FromInt((int)1));
13698 PyDict_SetItemString(d
,"STC_MAKE_PREPROCESSOR", SWIG_PyObj_FromInt((int)2));
13699 PyDict_SetItemString(d
,"STC_MAKE_IDENTIFIER", SWIG_PyObj_FromInt((int)3));
13700 PyDict_SetItemString(d
,"STC_MAKE_OPERATOR", SWIG_PyObj_FromInt((int)4));
13701 PyDict_SetItemString(d
,"STC_MAKE_TARGET", SWIG_PyObj_FromInt((int)5));
13702 PyDict_SetItemString(d
,"STC_MAKE_IDEOL", SWIG_PyObj_FromInt((int)9));
13703 PyDict_SetItemString(d
,"STC_DIFF_DEFAULT", SWIG_PyObj_FromInt((int)0));
13704 PyDict_SetItemString(d
,"STC_DIFF_COMMENT", SWIG_PyObj_FromInt((int)1));
13705 PyDict_SetItemString(d
,"STC_DIFF_COMMAND", SWIG_PyObj_FromInt((int)2));
13706 PyDict_SetItemString(d
,"STC_DIFF_HEADER", SWIG_PyObj_FromInt((int)3));
13707 PyDict_SetItemString(d
,"STC_DIFF_POSITION", SWIG_PyObj_FromInt((int)4));
13708 PyDict_SetItemString(d
,"STC_DIFF_DELETED", SWIG_PyObj_FromInt((int)5));
13709 PyDict_SetItemString(d
,"STC_DIFF_ADDED", SWIG_PyObj_FromInt((int)6));
13710 PyDict_SetItemString(d
,"STC_CONF_DEFAULT", SWIG_PyObj_FromInt((int)0));
13711 PyDict_SetItemString(d
,"STC_CONF_COMMENT", SWIG_PyObj_FromInt((int)1));
13712 PyDict_SetItemString(d
,"STC_CONF_NUMBER", SWIG_PyObj_FromInt((int)2));
13713 PyDict_SetItemString(d
,"STC_CONF_IDENTIFIER", SWIG_PyObj_FromInt((int)3));
13714 PyDict_SetItemString(d
,"STC_CONF_EXTENSION", SWIG_PyObj_FromInt((int)4));
13715 PyDict_SetItemString(d
,"STC_CONF_PARAMETER", SWIG_PyObj_FromInt((int)5));
13716 PyDict_SetItemString(d
,"STC_CONF_STRING", SWIG_PyObj_FromInt((int)6));
13717 PyDict_SetItemString(d
,"STC_CONF_OPERATOR", SWIG_PyObj_FromInt((int)7));
13718 PyDict_SetItemString(d
,"STC_CONF_IP", SWIG_PyObj_FromInt((int)8));
13719 PyDict_SetItemString(d
,"STC_CONF_DIRECTIVE", SWIG_PyObj_FromInt((int)9));
13720 PyDict_SetItemString(d
,"STC_AVE_DEFAULT", SWIG_PyObj_FromInt((int)0));
13721 PyDict_SetItemString(d
,"STC_AVE_COMMENT", SWIG_PyObj_FromInt((int)1));
13722 PyDict_SetItemString(d
,"STC_AVE_NUMBER", SWIG_PyObj_FromInt((int)2));
13723 PyDict_SetItemString(d
,"STC_AVE_WORD", SWIG_PyObj_FromInt((int)3));
13724 PyDict_SetItemString(d
,"STC_AVE_STRING", SWIG_PyObj_FromInt((int)6));
13725 PyDict_SetItemString(d
,"STC_AVE_ENUM", SWIG_PyObj_FromInt((int)7));
13726 PyDict_SetItemString(d
,"STC_AVE_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13727 PyDict_SetItemString(d
,"STC_AVE_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
13728 PyDict_SetItemString(d
,"STC_AVE_OPERATOR", SWIG_PyObj_FromInt((int)10));
13729 PyDict_SetItemString(d
,"STC_AVE_WORD1", SWIG_PyObj_FromInt((int)11));
13730 PyDict_SetItemString(d
,"STC_AVE_WORD2", SWIG_PyObj_FromInt((int)12));
13731 PyDict_SetItemString(d
,"STC_AVE_WORD3", SWIG_PyObj_FromInt((int)13));
13732 PyDict_SetItemString(d
,"STC_AVE_WORD4", SWIG_PyObj_FromInt((int)14));
13733 PyDict_SetItemString(d
,"STC_AVE_WORD5", SWIG_PyObj_FromInt((int)15));
13734 PyDict_SetItemString(d
,"STC_AVE_WORD6", SWIG_PyObj_FromInt((int)16));
13735 PyDict_SetItemString(d
,"STC_ADA_DEFAULT", SWIG_PyObj_FromInt((int)0));
13736 PyDict_SetItemString(d
,"STC_ADA_WORD", SWIG_PyObj_FromInt((int)1));
13737 PyDict_SetItemString(d
,"STC_ADA_IDENTIFIER", SWIG_PyObj_FromInt((int)2));
13738 PyDict_SetItemString(d
,"STC_ADA_NUMBER", SWIG_PyObj_FromInt((int)3));
13739 PyDict_SetItemString(d
,"STC_ADA_DELIMITER", SWIG_PyObj_FromInt((int)4));
13740 PyDict_SetItemString(d
,"STC_ADA_CHARACTER", SWIG_PyObj_FromInt((int)5));
13741 PyDict_SetItemString(d
,"STC_ADA_CHARACTEREOL", SWIG_PyObj_FromInt((int)6));
13742 PyDict_SetItemString(d
,"STC_ADA_STRING", SWIG_PyObj_FromInt((int)7));
13743 PyDict_SetItemString(d
,"STC_ADA_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13744 PyDict_SetItemString(d
,"STC_ADA_LABEL", SWIG_PyObj_FromInt((int)9));
13745 PyDict_SetItemString(d
,"STC_ADA_COMMENTLINE", SWIG_PyObj_FromInt((int)10));
13746 PyDict_SetItemString(d
,"STC_ADA_ILLEGAL", SWIG_PyObj_FromInt((int)11));
13747 PyDict_SetItemString(d
,"STC_BAAN_DEFAULT", SWIG_PyObj_FromInt((int)0));
13748 PyDict_SetItemString(d
,"STC_BAAN_COMMENT", SWIG_PyObj_FromInt((int)1));
13749 PyDict_SetItemString(d
,"STC_BAAN_COMMENTDOC", SWIG_PyObj_FromInt((int)2));
13750 PyDict_SetItemString(d
,"STC_BAAN_NUMBER", SWIG_PyObj_FromInt((int)3));
13751 PyDict_SetItemString(d
,"STC_BAAN_WORD", SWIG_PyObj_FromInt((int)4));
13752 PyDict_SetItemString(d
,"STC_BAAN_STRING", SWIG_PyObj_FromInt((int)5));
13753 PyDict_SetItemString(d
,"STC_BAAN_PREPROCESSOR", SWIG_PyObj_FromInt((int)6));
13754 PyDict_SetItemString(d
,"STC_BAAN_OPERATOR", SWIG_PyObj_FromInt((int)7));
13755 PyDict_SetItemString(d
,"STC_BAAN_IDENTIFIER", SWIG_PyObj_FromInt((int)8));
13756 PyDict_SetItemString(d
,"STC_BAAN_STRINGEOL", SWIG_PyObj_FromInt((int)9));
13757 PyDict_SetItemString(d
,"STC_BAAN_WORD2", SWIG_PyObj_FromInt((int)10));
13758 PyDict_SetItemString(d
,"STC_LISP_DEFAULT", SWIG_PyObj_FromInt((int)0));
13759 PyDict_SetItemString(d
,"STC_LISP_COMMENT", SWIG_PyObj_FromInt((int)1));
13760 PyDict_SetItemString(d
,"STC_LISP_NUMBER", SWIG_PyObj_FromInt((int)2));
13761 PyDict_SetItemString(d
,"STC_LISP_KEYWORD", SWIG_PyObj_FromInt((int)3));
13762 PyDict_SetItemString(d
,"STC_LISP_STRING", SWIG_PyObj_FromInt((int)6));
13763 PyDict_SetItemString(d
,"STC_LISP_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13764 PyDict_SetItemString(d
,"STC_LISP_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
13765 PyDict_SetItemString(d
,"STC_LISP_OPERATOR", SWIG_PyObj_FromInt((int)10));
13766 PyDict_SetItemString(d
,"STC_EIFFEL_DEFAULT", SWIG_PyObj_FromInt((int)0));
13767 PyDict_SetItemString(d
,"STC_EIFFEL_COMMENTLINE", SWIG_PyObj_FromInt((int)1));
13768 PyDict_SetItemString(d
,"STC_EIFFEL_NUMBER", SWIG_PyObj_FromInt((int)2));
13769 PyDict_SetItemString(d
,"STC_EIFFEL_WORD", SWIG_PyObj_FromInt((int)3));
13770 PyDict_SetItemString(d
,"STC_EIFFEL_STRING", SWIG_PyObj_FromInt((int)4));
13771 PyDict_SetItemString(d
,"STC_EIFFEL_CHARACTER", SWIG_PyObj_FromInt((int)5));
13772 PyDict_SetItemString(d
,"STC_EIFFEL_OPERATOR", SWIG_PyObj_FromInt((int)6));
13773 PyDict_SetItemString(d
,"STC_EIFFEL_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13774 PyDict_SetItemString(d
,"STC_EIFFEL_STRINGEOL", SWIG_PyObj_FromInt((int)8));
13775 PyDict_SetItemString(d
,"STC_NNCRONTAB_DEFAULT", SWIG_PyObj_FromInt((int)0));
13776 PyDict_SetItemString(d
,"STC_NNCRONTAB_COMMENT", SWIG_PyObj_FromInt((int)1));
13777 PyDict_SetItemString(d
,"STC_NNCRONTAB_TASK", SWIG_PyObj_FromInt((int)2));
13778 PyDict_SetItemString(d
,"STC_NNCRONTAB_SECTION", SWIG_PyObj_FromInt((int)3));
13779 PyDict_SetItemString(d
,"STC_NNCRONTAB_KEYWORD", SWIG_PyObj_FromInt((int)4));
13780 PyDict_SetItemString(d
,"STC_NNCRONTAB_MODIFIER", SWIG_PyObj_FromInt((int)5));
13781 PyDict_SetItemString(d
,"STC_NNCRONTAB_ASTERISK", SWIG_PyObj_FromInt((int)6));
13782 PyDict_SetItemString(d
,"STC_NNCRONTAB_NUMBER", SWIG_PyObj_FromInt((int)7));
13783 PyDict_SetItemString(d
,"STC_NNCRONTAB_STRING", SWIG_PyObj_FromInt((int)8));
13784 PyDict_SetItemString(d
,"STC_NNCRONTAB_ENVIRONMENT", SWIG_PyObj_FromInt((int)9));
13785 PyDict_SetItemString(d
,"STC_NNCRONTAB_IDENTIFIER", SWIG_PyObj_FromInt((int)10));
13786 PyDict_SetItemString(d
,"STC_MATLAB_DEFAULT", SWIG_PyObj_FromInt((int)0));
13787 PyDict_SetItemString(d
,"STC_MATLAB_COMMENT", SWIG_PyObj_FromInt((int)1));
13788 PyDict_SetItemString(d
,"STC_MATLAB_COMMAND", SWIG_PyObj_FromInt((int)2));
13789 PyDict_SetItemString(d
,"STC_MATLAB_NUMBER", SWIG_PyObj_FromInt((int)3));
13790 PyDict_SetItemString(d
,"STC_MATLAB_KEYWORD", SWIG_PyObj_FromInt((int)4));
13791 PyDict_SetItemString(d
,"STC_MATLAB_STRING", SWIG_PyObj_FromInt((int)5));
13792 PyDict_SetItemString(d
,"STC_MATLAB_OPERATOR", SWIG_PyObj_FromInt((int)6));
13793 PyDict_SetItemString(d
,"STC_MATLAB_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13794 PyDict_SetItemString(d
,"STC_SCRIPTOL_DEFAULT", SWIG_PyObj_FromInt((int)0));
13795 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENT", SWIG_PyObj_FromInt((int)1));
13796 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13797 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13798 PyDict_SetItemString(d
,"STC_SCRIPTOL_NUMBER", SWIG_PyObj_FromInt((int)4));
13799 PyDict_SetItemString(d
,"STC_SCRIPTOL_WORD", SWIG_PyObj_FromInt((int)5));
13800 PyDict_SetItemString(d
,"STC_SCRIPTOL_STRING", SWIG_PyObj_FromInt((int)6));
13801 PyDict_SetItemString(d
,"STC_SCRIPTOL_CHARACTER", SWIG_PyObj_FromInt((int)7));
13802 PyDict_SetItemString(d
,"STC_SCRIPTOL_UUID", SWIG_PyObj_FromInt((int)8));
13803 PyDict_SetItemString(d
,"STC_SCRIPTOL_PREPROCESSOR", SWIG_PyObj_FromInt((int)9));
13804 PyDict_SetItemString(d
,"STC_SCRIPTOL_OPERATOR", SWIG_PyObj_FromInt((int)10));
13805 PyDict_SetItemString(d
,"STC_SCRIPTOL_IDENTIFIER", SWIG_PyObj_FromInt((int)11));
13806 PyDict_SetItemString(d
,"STC_SCRIPTOL_STRINGEOL", SWIG_PyObj_FromInt((int)12));
13807 PyDict_SetItemString(d
,"STC_SCRIPTOL_VERBATIM", SWIG_PyObj_FromInt((int)13));
13808 PyDict_SetItemString(d
,"STC_SCRIPTOL_REGEX", SWIG_PyObj_FromInt((int)14));
13809 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENTLINEDOC", SWIG_PyObj_FromInt((int)15));
13810 PyDict_SetItemString(d
,"STC_SCRIPTOL_WORD2", SWIG_PyObj_FromInt((int)16));
13811 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENTDOCKEYWORD", SWIG_PyObj_FromInt((int)17));
13812 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENTDOCKEYWORDERROR", SWIG_PyObj_FromInt((int)18));
13813 PyDict_SetItemString(d
,"STC_SCRIPTOL_COMMENTBASIC", SWIG_PyObj_FromInt((int)19));
13814 PyDict_SetItemString(d
,"STC_ASM_DEFAULT", SWIG_PyObj_FromInt((int)0));
13815 PyDict_SetItemString(d
,"STC_ASM_COMMENT", SWIG_PyObj_FromInt((int)1));
13816 PyDict_SetItemString(d
,"STC_ASM_NUMBER", SWIG_PyObj_FromInt((int)2));
13817 PyDict_SetItemString(d
,"STC_ASM_STRING", SWIG_PyObj_FromInt((int)3));
13818 PyDict_SetItemString(d
,"STC_ASM_OPERATOR", SWIG_PyObj_FromInt((int)4));
13819 PyDict_SetItemString(d
,"STC_ASM_IDENTIFIER", SWIG_PyObj_FromInt((int)5));
13820 PyDict_SetItemString(d
,"STC_ASM_CPUINSTRUCTION", SWIG_PyObj_FromInt((int)6));
13821 PyDict_SetItemString(d
,"STC_ASM_MATHINSTRUCTION", SWIG_PyObj_FromInt((int)7));
13822 PyDict_SetItemString(d
,"STC_ASM_REGISTER", SWIG_PyObj_FromInt((int)8));
13823 PyDict_SetItemString(d
,"STC_ASM_DIRECTIVE", SWIG_PyObj_FromInt((int)9));
13824 PyDict_SetItemString(d
,"STC_ASM_DIRECTIVEOPERAND", SWIG_PyObj_FromInt((int)10));
13825 PyDict_SetItemString(d
,"STC_F_DEFAULT", SWIG_PyObj_FromInt((int)0));
13826 PyDict_SetItemString(d
,"STC_F_COMMENT", SWIG_PyObj_FromInt((int)1));
13827 PyDict_SetItemString(d
,"STC_F_NUMBER", SWIG_PyObj_FromInt((int)2));
13828 PyDict_SetItemString(d
,"STC_F_STRING1", SWIG_PyObj_FromInt((int)3));
13829 PyDict_SetItemString(d
,"STC_F_STRING2", SWIG_PyObj_FromInt((int)4));
13830 PyDict_SetItemString(d
,"STC_F_STRINGEOL", SWIG_PyObj_FromInt((int)5));
13831 PyDict_SetItemString(d
,"STC_F_OPERATOR", SWIG_PyObj_FromInt((int)6));
13832 PyDict_SetItemString(d
,"STC_F_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13833 PyDict_SetItemString(d
,"STC_F_WORD", SWIG_PyObj_FromInt((int)8));
13834 PyDict_SetItemString(d
,"STC_F_WORD2", SWIG_PyObj_FromInt((int)9));
13835 PyDict_SetItemString(d
,"STC_F_WORD3", SWIG_PyObj_FromInt((int)10));
13836 PyDict_SetItemString(d
,"STC_F_PREPROCESSOR", SWIG_PyObj_FromInt((int)11));
13837 PyDict_SetItemString(d
,"STC_F_OPERATOR2", SWIG_PyObj_FromInt((int)12));
13838 PyDict_SetItemString(d
,"STC_F_LABEL", SWIG_PyObj_FromInt((int)13));
13839 PyDict_SetItemString(d
,"STC_F_CONTINUATION", SWIG_PyObj_FromInt((int)14));
13840 PyDict_SetItemString(d
,"STC_CSS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13841 PyDict_SetItemString(d
,"STC_CSS_TAG", SWIG_PyObj_FromInt((int)1));
13842 PyDict_SetItemString(d
,"STC_CSS_CLASS", SWIG_PyObj_FromInt((int)2));
13843 PyDict_SetItemString(d
,"STC_CSS_PSEUDOCLASS", SWIG_PyObj_FromInt((int)3));
13844 PyDict_SetItemString(d
,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_PyObj_FromInt((int)4));
13845 PyDict_SetItemString(d
,"STC_CSS_OPERATOR", SWIG_PyObj_FromInt((int)5));
13846 PyDict_SetItemString(d
,"STC_CSS_IDENTIFIER", SWIG_PyObj_FromInt((int)6));
13847 PyDict_SetItemString(d
,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_PyObj_FromInt((int)7));
13848 PyDict_SetItemString(d
,"STC_CSS_VALUE", SWIG_PyObj_FromInt((int)8));
13849 PyDict_SetItemString(d
,"STC_CSS_COMMENT", SWIG_PyObj_FromInt((int)9));
13850 PyDict_SetItemString(d
,"STC_CSS_ID", SWIG_PyObj_FromInt((int)10));
13851 PyDict_SetItemString(d
,"STC_CSS_IMPORTANT", SWIG_PyObj_FromInt((int)11));
13852 PyDict_SetItemString(d
,"STC_CSS_DIRECTIVE", SWIG_PyObj_FromInt((int)12));
13853 PyDict_SetItemString(d
,"STC_CSS_DOUBLESTRING", SWIG_PyObj_FromInt((int)13));
13854 PyDict_SetItemString(d
,"STC_CSS_SINGLESTRING", SWIG_PyObj_FromInt((int)14));
13855 PyDict_SetItemString(d
,"STC_POV_DEFAULT", SWIG_PyObj_FromInt((int)0));
13856 PyDict_SetItemString(d
,"STC_POV_COMMENT", SWIG_PyObj_FromInt((int)1));
13857 PyDict_SetItemString(d
,"STC_POV_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13858 PyDict_SetItemString(d
,"STC_POV_NUMBER", SWIG_PyObj_FromInt((int)3));
13859 PyDict_SetItemString(d
,"STC_POV_OPERATOR", SWIG_PyObj_FromInt((int)4));
13860 PyDict_SetItemString(d
,"STC_POV_IDENTIFIER", SWIG_PyObj_FromInt((int)5));
13861 PyDict_SetItemString(d
,"STC_POV_STRING", SWIG_PyObj_FromInt((int)6));
13862 PyDict_SetItemString(d
,"STC_POV_STRINGEOL", SWIG_PyObj_FromInt((int)7));
13863 PyDict_SetItemString(d
,"STC_POV_DIRECTIVE", SWIG_PyObj_FromInt((int)8));
13864 PyDict_SetItemString(d
,"STC_POV_BADDIRECTIVE", SWIG_PyObj_FromInt((int)9));
13865 PyDict_SetItemString(d
,"STC_POV_WORD2", SWIG_PyObj_FromInt((int)10));
13866 PyDict_SetItemString(d
,"STC_POV_WORD3", SWIG_PyObj_FromInt((int)11));
13867 PyDict_SetItemString(d
,"STC_POV_WORD4", SWIG_PyObj_FromInt((int)12));
13868 PyDict_SetItemString(d
,"STC_POV_WORD5", SWIG_PyObj_FromInt((int)13));
13869 PyDict_SetItemString(d
,"STC_POV_WORD6", SWIG_PyObj_FromInt((int)14));
13870 PyDict_SetItemString(d
,"STC_POV_WORD7", SWIG_PyObj_FromInt((int)15));
13871 PyDict_SetItemString(d
,"STC_POV_WORD8", SWIG_PyObj_FromInt((int)16));
13872 PyDict_SetItemString(d
,"STC_LOUT_DEFAULT", SWIG_PyObj_FromInt((int)0));
13873 PyDict_SetItemString(d
,"STC_LOUT_COMMENT", SWIG_PyObj_FromInt((int)1));
13874 PyDict_SetItemString(d
,"STC_LOUT_NUMBER", SWIG_PyObj_FromInt((int)2));
13875 PyDict_SetItemString(d
,"STC_LOUT_WORD", SWIG_PyObj_FromInt((int)3));
13876 PyDict_SetItemString(d
,"STC_LOUT_WORD2", SWIG_PyObj_FromInt((int)4));
13877 PyDict_SetItemString(d
,"STC_LOUT_WORD3", SWIG_PyObj_FromInt((int)5));
13878 PyDict_SetItemString(d
,"STC_LOUT_WORD4", SWIG_PyObj_FromInt((int)6));
13879 PyDict_SetItemString(d
,"STC_LOUT_STRING", SWIG_PyObj_FromInt((int)7));
13880 PyDict_SetItemString(d
,"STC_LOUT_OPERATOR", SWIG_PyObj_FromInt((int)8));
13881 PyDict_SetItemString(d
,"STC_LOUT_IDENTIFIER", SWIG_PyObj_FromInt((int)9));
13882 PyDict_SetItemString(d
,"STC_LOUT_STRINGEOL", SWIG_PyObj_FromInt((int)10));
13883 PyDict_SetItemString(d
,"STC_ESCRIPT_DEFAULT", SWIG_PyObj_FromInt((int)0));
13884 PyDict_SetItemString(d
,"STC_ESCRIPT_COMMENT", SWIG_PyObj_FromInt((int)1));
13885 PyDict_SetItemString(d
,"STC_ESCRIPT_COMMENTLINE", SWIG_PyObj_FromInt((int)2));
13886 PyDict_SetItemString(d
,"STC_ESCRIPT_COMMENTDOC", SWIG_PyObj_FromInt((int)3));
13887 PyDict_SetItemString(d
,"STC_ESCRIPT_NUMBER", SWIG_PyObj_FromInt((int)4));
13888 PyDict_SetItemString(d
,"STC_ESCRIPT_WORD", SWIG_PyObj_FromInt((int)5));
13889 PyDict_SetItemString(d
,"STC_ESCRIPT_STRING", SWIG_PyObj_FromInt((int)6));
13890 PyDict_SetItemString(d
,"STC_ESCRIPT_OPERATOR", SWIG_PyObj_FromInt((int)7));
13891 PyDict_SetItemString(d
,"STC_ESCRIPT_IDENTIFIER", SWIG_PyObj_FromInt((int)8));
13892 PyDict_SetItemString(d
,"STC_ESCRIPT_BRACE", SWIG_PyObj_FromInt((int)9));
13893 PyDict_SetItemString(d
,"STC_ESCRIPT_WORD2", SWIG_PyObj_FromInt((int)10));
13894 PyDict_SetItemString(d
,"STC_ESCRIPT_WORD3", SWIG_PyObj_FromInt((int)11));
13895 PyDict_SetItemString(d
,"STC_PS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13896 PyDict_SetItemString(d
,"STC_PS_COMMENT", SWIG_PyObj_FromInt((int)1));
13897 PyDict_SetItemString(d
,"STC_PS_DSC_COMMENT", SWIG_PyObj_FromInt((int)2));
13898 PyDict_SetItemString(d
,"STC_PS_DSC_VALUE", SWIG_PyObj_FromInt((int)3));
13899 PyDict_SetItemString(d
,"STC_PS_NUMBER", SWIG_PyObj_FromInt((int)4));
13900 PyDict_SetItemString(d
,"STC_PS_NAME", SWIG_PyObj_FromInt((int)5));
13901 PyDict_SetItemString(d
,"STC_PS_KEYWORD", SWIG_PyObj_FromInt((int)6));
13902 PyDict_SetItemString(d
,"STC_PS_LITERAL", SWIG_PyObj_FromInt((int)7));
13903 PyDict_SetItemString(d
,"STC_PS_IMMEVAL", SWIG_PyObj_FromInt((int)8));
13904 PyDict_SetItemString(d
,"STC_PS_PAREN_ARRAY", SWIG_PyObj_FromInt((int)9));
13905 PyDict_SetItemString(d
,"STC_PS_PAREN_DICT", SWIG_PyObj_FromInt((int)10));
13906 PyDict_SetItemString(d
,"STC_PS_PAREN_PROC", SWIG_PyObj_FromInt((int)11));
13907 PyDict_SetItemString(d
,"STC_PS_TEXT", SWIG_PyObj_FromInt((int)12));
13908 PyDict_SetItemString(d
,"STC_PS_HEXSTRING", SWIG_PyObj_FromInt((int)13));
13909 PyDict_SetItemString(d
,"STC_PS_BASE85STRING", SWIG_PyObj_FromInt((int)14));
13910 PyDict_SetItemString(d
,"STC_PS_BADSTRINGCHAR", SWIG_PyObj_FromInt((int)15));
13911 PyDict_SetItemString(d
,"STC_NSIS_DEFAULT", SWIG_PyObj_FromInt((int)0));
13912 PyDict_SetItemString(d
,"STC_NSIS_COMMENT", SWIG_PyObj_FromInt((int)1));
13913 PyDict_SetItemString(d
,"STC_NSIS_STRINGDQ", SWIG_PyObj_FromInt((int)2));
13914 PyDict_SetItemString(d
,"STC_NSIS_STRINGLQ", SWIG_PyObj_FromInt((int)3));
13915 PyDict_SetItemString(d
,"STC_NSIS_STRINGRQ", SWIG_PyObj_FromInt((int)4));
13916 PyDict_SetItemString(d
,"STC_NSIS_FUNCTION", SWIG_PyObj_FromInt((int)5));
13917 PyDict_SetItemString(d
,"STC_NSIS_VARIABLE", SWIG_PyObj_FromInt((int)6));
13918 PyDict_SetItemString(d
,"STC_NSIS_LABEL", SWIG_PyObj_FromInt((int)7));
13919 PyDict_SetItemString(d
,"STC_NSIS_USERDEFINED", SWIG_PyObj_FromInt((int)8));
13920 PyDict_SetItemString(d
,"STC_NSIS_SECTIONDEF", SWIG_PyObj_FromInt((int)9));
13921 PyDict_SetItemString(d
,"STC_NSIS_SUBSECTIONDEF", SWIG_PyObj_FromInt((int)10));
13922 PyDict_SetItemString(d
,"STC_NSIS_IFDEFINEDEF", SWIG_PyObj_FromInt((int)11));
13923 PyDict_SetItemString(d
,"STC_NSIS_MACRODEF", SWIG_PyObj_FromInt((int)12));
13924 PyDict_SetItemString(d
,"STC_NSIS_STRINGVAR", SWIG_PyObj_FromInt((int)13));
13925 PyDict_SetItemString(d
,"STC_MMIXAL_LEADWS", SWIG_PyObj_FromInt((int)0));
13926 PyDict_SetItemString(d
,"STC_MMIXAL_COMMENT", SWIG_PyObj_FromInt((int)1));
13927 PyDict_SetItemString(d
,"STC_MMIXAL_LABEL", SWIG_PyObj_FromInt((int)2));
13928 PyDict_SetItemString(d
,"STC_MMIXAL_OPCODE", SWIG_PyObj_FromInt((int)3));
13929 PyDict_SetItemString(d
,"STC_MMIXAL_OPCODE_PRE", SWIG_PyObj_FromInt((int)4));
13930 PyDict_SetItemString(d
,"STC_MMIXAL_OPCODE_VALID", SWIG_PyObj_FromInt((int)5));
13931 PyDict_SetItemString(d
,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_PyObj_FromInt((int)6));
13932 PyDict_SetItemString(d
,"STC_MMIXAL_OPCODE_POST", SWIG_PyObj_FromInt((int)7));
13933 PyDict_SetItemString(d
,"STC_MMIXAL_OPERANDS", SWIG_PyObj_FromInt((int)8));
13934 PyDict_SetItemString(d
,"STC_MMIXAL_NUMBER", SWIG_PyObj_FromInt((int)9));
13935 PyDict_SetItemString(d
,"STC_MMIXAL_REF", SWIG_PyObj_FromInt((int)10));
13936 PyDict_SetItemString(d
,"STC_MMIXAL_CHAR", SWIG_PyObj_FromInt((int)11));
13937 PyDict_SetItemString(d
,"STC_MMIXAL_STRING", SWIG_PyObj_FromInt((int)12));
13938 PyDict_SetItemString(d
,"STC_MMIXAL_REGISTER", SWIG_PyObj_FromInt((int)13));
13939 PyDict_SetItemString(d
,"STC_MMIXAL_HEX", SWIG_PyObj_FromInt((int)14));
13940 PyDict_SetItemString(d
,"STC_MMIXAL_OPERATOR", SWIG_PyObj_FromInt((int)15));
13941 PyDict_SetItemString(d
,"STC_MMIXAL_SYMBOL", SWIG_PyObj_FromInt((int)16));
13942 PyDict_SetItemString(d
,"STC_MMIXAL_INCLUDE", SWIG_PyObj_FromInt((int)17));
13943 PyDict_SetItemString(d
,"STC_CMD_REDO", SWIG_PyObj_FromInt((int)2011));
13944 PyDict_SetItemString(d
,"STC_CMD_SELECTALL", SWIG_PyObj_FromInt((int)2013));
13945 PyDict_SetItemString(d
,"STC_CMD_UNDO", SWIG_PyObj_FromInt((int)2176));
13946 PyDict_SetItemString(d
,"STC_CMD_CUT", SWIG_PyObj_FromInt((int)2177));
13947 PyDict_SetItemString(d
,"STC_CMD_COPY", SWIG_PyObj_FromInt((int)2178));
13948 PyDict_SetItemString(d
,"STC_CMD_PASTE", SWIG_PyObj_FromInt((int)2179));
13949 PyDict_SetItemString(d
,"STC_CMD_CLEAR", SWIG_PyObj_FromInt((int)2180));
13950 PyDict_SetItemString(d
,"STC_CMD_LINEDOWN", SWIG_PyObj_FromInt((int)2300));
13951 PyDict_SetItemString(d
,"STC_CMD_LINEDOWNEXTEND", SWIG_PyObj_FromInt((int)2301));
13952 PyDict_SetItemString(d
,"STC_CMD_LINEUP", SWIG_PyObj_FromInt((int)2302));
13953 PyDict_SetItemString(d
,"STC_CMD_LINEUPEXTEND", SWIG_PyObj_FromInt((int)2303));
13954 PyDict_SetItemString(d
,"STC_CMD_CHARLEFT", SWIG_PyObj_FromInt((int)2304));
13955 PyDict_SetItemString(d
,"STC_CMD_CHARLEFTEXTEND", SWIG_PyObj_FromInt((int)2305));
13956 PyDict_SetItemString(d
,"STC_CMD_CHARRIGHT", SWIG_PyObj_FromInt((int)2306));
13957 PyDict_SetItemString(d
,"STC_CMD_CHARRIGHTEXTEND", SWIG_PyObj_FromInt((int)2307));
13958 PyDict_SetItemString(d
,"STC_CMD_WORDLEFT", SWIG_PyObj_FromInt((int)2308));
13959 PyDict_SetItemString(d
,"STC_CMD_WORDLEFTEXTEND", SWIG_PyObj_FromInt((int)2309));
13960 PyDict_SetItemString(d
,"STC_CMD_WORDRIGHT", SWIG_PyObj_FromInt((int)2310));
13961 PyDict_SetItemString(d
,"STC_CMD_WORDRIGHTEXTEND", SWIG_PyObj_FromInt((int)2311));
13962 PyDict_SetItemString(d
,"STC_CMD_HOME", SWIG_PyObj_FromInt((int)2312));
13963 PyDict_SetItemString(d
,"STC_CMD_HOMEEXTEND", SWIG_PyObj_FromInt((int)2313));
13964 PyDict_SetItemString(d
,"STC_CMD_LINEEND", SWIG_PyObj_FromInt((int)2314));
13965 PyDict_SetItemString(d
,"STC_CMD_LINEENDEXTEND", SWIG_PyObj_FromInt((int)2315));
13966 PyDict_SetItemString(d
,"STC_CMD_DOCUMENTSTART", SWIG_PyObj_FromInt((int)2316));
13967 PyDict_SetItemString(d
,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_PyObj_FromInt((int)2317));
13968 PyDict_SetItemString(d
,"STC_CMD_DOCUMENTEND", SWIG_PyObj_FromInt((int)2318));
13969 PyDict_SetItemString(d
,"STC_CMD_DOCUMENTENDEXTEND", SWIG_PyObj_FromInt((int)2319));
13970 PyDict_SetItemString(d
,"STC_CMD_PAGEUP", SWIG_PyObj_FromInt((int)2320));
13971 PyDict_SetItemString(d
,"STC_CMD_PAGEUPEXTEND", SWIG_PyObj_FromInt((int)2321));
13972 PyDict_SetItemString(d
,"STC_CMD_PAGEDOWN", SWIG_PyObj_FromInt((int)2322));
13973 PyDict_SetItemString(d
,"STC_CMD_PAGEDOWNEXTEND", SWIG_PyObj_FromInt((int)2323));
13974 PyDict_SetItemString(d
,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_PyObj_FromInt((int)2324));
13975 PyDict_SetItemString(d
,"STC_CMD_CANCEL", SWIG_PyObj_FromInt((int)2325));
13976 PyDict_SetItemString(d
,"STC_CMD_DELETEBACK", SWIG_PyObj_FromInt((int)2326));
13977 PyDict_SetItemString(d
,"STC_CMD_TAB", SWIG_PyObj_FromInt((int)2327));
13978 PyDict_SetItemString(d
,"STC_CMD_BACKTAB", SWIG_PyObj_FromInt((int)2328));
13979 PyDict_SetItemString(d
,"STC_CMD_NEWLINE", SWIG_PyObj_FromInt((int)2329));
13980 PyDict_SetItemString(d
,"STC_CMD_FORMFEED", SWIG_PyObj_FromInt((int)2330));
13981 PyDict_SetItemString(d
,"STC_CMD_VCHOME", SWIG_PyObj_FromInt((int)2331));
13982 PyDict_SetItemString(d
,"STC_CMD_VCHOMEEXTEND", SWIG_PyObj_FromInt((int)2332));
13983 PyDict_SetItemString(d
,"STC_CMD_ZOOMIN", SWIG_PyObj_FromInt((int)2333));
13984 PyDict_SetItemString(d
,"STC_CMD_ZOOMOUT", SWIG_PyObj_FromInt((int)2334));
13985 PyDict_SetItemString(d
,"STC_CMD_DELWORDLEFT", SWIG_PyObj_FromInt((int)2335));
13986 PyDict_SetItemString(d
,"STC_CMD_DELWORDRIGHT", SWIG_PyObj_FromInt((int)2336));
13987 PyDict_SetItemString(d
,"STC_CMD_LINECUT", SWIG_PyObj_FromInt((int)2337));
13988 PyDict_SetItemString(d
,"STC_CMD_LINEDELETE", SWIG_PyObj_FromInt((int)2338));
13989 PyDict_SetItemString(d
,"STC_CMD_LINETRANSPOSE", SWIG_PyObj_FromInt((int)2339));
13990 PyDict_SetItemString(d
,"STC_CMD_LINEDUPLICATE", SWIG_PyObj_FromInt((int)2404));
13991 PyDict_SetItemString(d
,"STC_CMD_LOWERCASE", SWIG_PyObj_FromInt((int)2340));
13992 PyDict_SetItemString(d
,"STC_CMD_UPPERCASE", SWIG_PyObj_FromInt((int)2341));
13993 PyDict_SetItemString(d
,"STC_CMD_LINESCROLLDOWN", SWIG_PyObj_FromInt((int)2342));
13994 PyDict_SetItemString(d
,"STC_CMD_LINESCROLLUP", SWIG_PyObj_FromInt((int)2343));
13995 PyDict_SetItemString(d
,"STC_CMD_DELETEBACKNOTLINE", SWIG_PyObj_FromInt((int)2344));
13996 PyDict_SetItemString(d
,"STC_CMD_HOMEDISPLAY", SWIG_PyObj_FromInt((int)2345));
13997 PyDict_SetItemString(d
,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_PyObj_FromInt((int)2346));
13998 PyDict_SetItemString(d
,"STC_CMD_LINEENDDISPLAY", SWIG_PyObj_FromInt((int)2347));
13999 PyDict_SetItemString(d
,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_PyObj_FromInt((int)2348));
14000 PyDict_SetItemString(d
,"STC_CMD_HOMEWRAP", SWIG_PyObj_FromInt((int)2349));
14001 PyDict_SetItemString(d
,"STC_CMD_HOMEWRAPEXTEND", SWIG_PyObj_FromInt((int)2450));
14002 PyDict_SetItemString(d
,"STC_CMD_LINEENDWRAP", SWIG_PyObj_FromInt((int)2451));
14003 PyDict_SetItemString(d
,"STC_CMD_LINEENDWRAPEXTEND", SWIG_PyObj_FromInt((int)2452));
14004 PyDict_SetItemString(d
,"STC_CMD_VCHOMEWRAP", SWIG_PyObj_FromInt((int)2453));
14005 PyDict_SetItemString(d
,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_PyObj_FromInt((int)2454));
14006 PyDict_SetItemString(d
,"STC_CMD_WORDPARTLEFT", SWIG_PyObj_FromInt((int)2390));
14007 PyDict_SetItemString(d
,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_PyObj_FromInt((int)2391));
14008 PyDict_SetItemString(d
,"STC_CMD_WORDPARTRIGHT", SWIG_PyObj_FromInt((int)2392));
14009 PyDict_SetItemString(d
,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_PyObj_FromInt((int)2393));
14010 PyDict_SetItemString(d
,"STC_CMD_DELLINELEFT", SWIG_PyObj_FromInt((int)2395));
14011 PyDict_SetItemString(d
,"STC_CMD_DELLINERIGHT", SWIG_PyObj_FromInt((int)2396));
14012 PyDict_SetItemString(d
,"STC_CMD_PARADOWN", SWIG_PyObj_FromInt((int)2413));
14013 PyDict_SetItemString(d
,"STC_CMD_PARADOWNEXTEND", SWIG_PyObj_FromInt((int)2414));
14014 PyDict_SetItemString(d
,"STC_CMD_PARAUP", SWIG_PyObj_FromInt((int)2415));
14015 PyDict_SetItemString(d
,"STC_CMD_PARAUPEXTEND", SWIG_PyObj_FromInt((int)2416));
14016 PyDict_SetItemString(d
,"wxEVT_STC_CHANGE", SWIG_PyObj_FromInt((int)wxEVT_STC_CHANGE
));
14017 PyDict_SetItemString(d
,"wxEVT_STC_STYLENEEDED", SWIG_PyObj_FromInt((int)wxEVT_STC_STYLENEEDED
));
14018 PyDict_SetItemString(d
,"wxEVT_STC_CHARADDED", SWIG_PyObj_FromInt((int)wxEVT_STC_CHARADDED
));
14019 PyDict_SetItemString(d
,"wxEVT_STC_SAVEPOINTREACHED", SWIG_PyObj_FromInt((int)wxEVT_STC_SAVEPOINTREACHED
));
14020 PyDict_SetItemString(d
,"wxEVT_STC_SAVEPOINTLEFT", SWIG_PyObj_FromInt((int)wxEVT_STC_SAVEPOINTLEFT
));
14021 PyDict_SetItemString(d
,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_PyObj_FromInt((int)wxEVT_STC_ROMODIFYATTEMPT
));
14022 PyDict_SetItemString(d
,"wxEVT_STC_KEY", SWIG_PyObj_FromInt((int)wxEVT_STC_KEY
));
14023 PyDict_SetItemString(d
,"wxEVT_STC_DOUBLECLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_DOUBLECLICK
));
14024 PyDict_SetItemString(d
,"wxEVT_STC_UPDATEUI", SWIG_PyObj_FromInt((int)wxEVT_STC_UPDATEUI
));
14025 PyDict_SetItemString(d
,"wxEVT_STC_MODIFIED", SWIG_PyObj_FromInt((int)wxEVT_STC_MODIFIED
));
14026 PyDict_SetItemString(d
,"wxEVT_STC_MACRORECORD", SWIG_PyObj_FromInt((int)wxEVT_STC_MACRORECORD
));
14027 PyDict_SetItemString(d
,"wxEVT_STC_MARGINCLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_MARGINCLICK
));
14028 PyDict_SetItemString(d
,"wxEVT_STC_NEEDSHOWN", SWIG_PyObj_FromInt((int)wxEVT_STC_NEEDSHOWN
));
14029 PyDict_SetItemString(d
,"wxEVT_STC_POSCHANGED", SWIG_PyObj_FromInt((int)wxEVT_STC_POSCHANGED
));
14030 PyDict_SetItemString(d
,"wxEVT_STC_PAINTED", SWIG_PyObj_FromInt((int)wxEVT_STC_PAINTED
));
14031 PyDict_SetItemString(d
,"wxEVT_STC_USERLISTSELECTION", SWIG_PyObj_FromInt((int)wxEVT_STC_USERLISTSELECTION
));
14032 PyDict_SetItemString(d
,"wxEVT_STC_URIDROPPED", SWIG_PyObj_FromInt((int)wxEVT_STC_URIDROPPED
));
14033 PyDict_SetItemString(d
,"wxEVT_STC_DWELLSTART", SWIG_PyObj_FromInt((int)wxEVT_STC_DWELLSTART
));
14034 PyDict_SetItemString(d
,"wxEVT_STC_DWELLEND", SWIG_PyObj_FromInt((int)wxEVT_STC_DWELLEND
));
14035 PyDict_SetItemString(d
,"wxEVT_STC_START_DRAG", SWIG_PyObj_FromInt((int)wxEVT_STC_START_DRAG
));
14036 PyDict_SetItemString(d
,"wxEVT_STC_DRAG_OVER", SWIG_PyObj_FromInt((int)wxEVT_STC_DRAG_OVER
));
14037 PyDict_SetItemString(d
,"wxEVT_STC_DO_DROP", SWIG_PyObj_FromInt((int)wxEVT_STC_DO_DROP
));
14038 PyDict_SetItemString(d
,"wxEVT_STC_ZOOM", SWIG_PyObj_FromInt((int)wxEVT_STC_ZOOM
));
14039 PyDict_SetItemString(d
,"wxEVT_STC_HOTSPOT_CLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_HOTSPOT_CLICK
));
14040 PyDict_SetItemString(d
,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_HOTSPOT_DCLICK
));
14041 PyDict_SetItemString(d
,"wxEVT_STC_CALLTIP_CLICK", SWIG_PyObj_FromInt((int)wxEVT_STC_CALLTIP_CLICK
));