]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.20 | |
4 | * | |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_NOINCLUDE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | ||
31 | #include "Python.h" | |
32 | ||
33 | /*************************************************************** -*- c -*- | |
34 | * python/precommon.swg | |
35 | * | |
36 | * Rename all exported symbols from common.swg, to avoid symbol | |
37 | * clashes if multiple interpreters are included | |
38 | * | |
39 | ************************************************************************/ | |
40 | ||
41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister | |
42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck | |
43 | #define SWIG_TypeCast SWIG_Python_TypeCast | |
44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast | |
45 | #define SWIG_TypeName SWIG_Python_TypeName | |
46 | #define SWIG_TypeQuery SWIG_Python_TypeQuery | |
47 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
48 | ||
49 | ||
50 | /*********************************************************************** | |
51 | * common.swg for wxPython | |
52 | * | |
53 | * Include only the function prototypes and such from SWIG's common.swg, | |
54 | * but not the runtime functions themselves. This helps keep the | |
55 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
56 | * anyway. | |
57 | * | |
58 | ************************************************************************/ | |
59 | ||
60 | #include <string.h> | |
61 | ||
62 | #if defined(_WIN32) || defined(__WIN32__) | |
63 | # if defined(_MSC_VER) | |
64 | # if defined(STATIC_LINKED) | |
65 | # define SWIGEXPORT(a) a | |
66 | # define SWIGIMPORT(a) extern a | |
67 | # else | |
68 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
69 | # define SWIGIMPORT(a) extern a | |
70 | # endif | |
71 | # else | |
72 | # if defined(__BORLANDC__) | |
73 | # define SWIGEXPORT(a) a _export | |
74 | # define SWIGIMPORT(a) a _export | |
75 | # else | |
76 | # define SWIGEXPORT(a) a | |
77 | # define SWIGIMPORT(a) a | |
78 | # endif | |
79 | # endif | |
80 | #else | |
81 | # define SWIGEXPORT(a) a | |
82 | # define SWIGIMPORT(a) a | |
83 | #endif | |
84 | ||
85 | #ifdef SWIG_GLOBAL | |
86 | #define SWIGRUNTIME(a) SWIGEXPORT(a) | |
87 | #else | |
88 | #define SWIGRUNTIME(a) static a | |
89 | #endif | |
90 | ||
91 | ||
92 | #ifdef __cplusplus | |
93 | extern "C" { | |
94 | #endif | |
95 | ||
96 | typedef void *(*swig_converter_func)(void *); | |
97 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
98 | ||
99 | typedef struct swig_type_info { | |
9d1d5697 | 100 | const char *name; |
d14a1e28 RD |
101 | swig_converter_func converter; |
102 | const char *str; | |
9d1d5697 | 103 | void *clientdata; |
d14a1e28 RD |
104 | swig_dycast_func dcast; |
105 | struct swig_type_info *next; | |
106 | struct swig_type_info *prev; | |
107 | } swig_type_info; | |
108 | ||
109 | ||
110 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
111 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
112 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
113 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
114 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
115 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); | |
116 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
117 | ||
118 | ||
119 | #ifdef __cplusplus | |
120 | } | |
9d1d5697 | 121 | |
d14a1e28 RD |
122 | #endif |
123 | ||
124 | /*********************************************************************** | |
125 | * pyrun.swg for wxPython | |
126 | * | |
127 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
128 | * but not the runtime functions themselves. This helps keep the | |
129 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
130 | * anyway. | |
131 | * | |
132 | ************************************************************************/ | |
133 | ||
134 | ||
135 | #include "Python.h" | |
136 | ||
137 | #ifdef __cplusplus | |
138 | extern "C" { | |
139 | #endif | |
140 | ||
141 | #define SWIG_PY_INT 1 | |
142 | #define SWIG_PY_FLOAT 2 | |
143 | #define SWIG_PY_STRING 3 | |
144 | #define SWIG_PY_POINTER 4 | |
145 | #define SWIG_PY_BINARY 5 | |
146 | ||
147 | /* Flags for pointer conversion */ | |
148 | ||
149 | #define SWIG_POINTER_EXCEPTION 0x1 | |
150 | #define SWIG_POINTER_DISOWN 0x2 | |
151 | ||
152 | /* Exception handling in wrappers */ | |
153 | #define SWIG_fail goto fail | |
154 | ||
155 | /* Constant information structure */ | |
156 | typedef struct swig_const_info { | |
157 | int type; | |
158 | char *name; | |
159 | long lvalue; | |
160 | double dvalue; | |
161 | void *pvalue; | |
162 | swig_type_info **ptype; | |
163 | } swig_const_info; | |
164 | ||
165 | ||
166 | ||
167 | /* Common SWIG API */ | |
168 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
169 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
170 | #define SWIG_NewPointerObj(p, type, flags) \ | |
171 | SWIG_Python_NewPointerObj(p, type, flags) | |
172 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
173 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
174 | ||
175 | /* Python-specific SWIG API */ | |
176 | #define SWIG_newvarlink() \ | |
177 | SWIG_Python_newvarlink() | |
178 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
179 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
180 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
181 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
182 | #define SWIG_PackData(c, ptr, sz) \ | |
183 | SWIG_Python_PackData(c, ptr, sz) | |
184 | #define SWIG_UnpackData(c, ptr, sz) \ | |
185 | SWIG_Python_UnpackData(c, ptr, sz) | |
186 | #define SWIG_NewPackedObj(ptr, sz, type) \ | |
187 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
188 | #define SWIG_InstallConstants(d, constants) \ | |
189 | SWIG_Python_InstallConstants(d, constants) | |
190 | ||
191 | ||
192 | SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); | |
193 | SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
194 | SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
195 | ||
196 | SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void); | |
197 | SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
198 | SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
199 | SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int); | |
200 | SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int); | |
201 | SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
202 | SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
203 | ||
204 | ||
205 | /* Contract support */ | |
206 | ||
9d1d5697 | 207 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else |
d14a1e28 | 208 | |
d14a1e28 RD |
209 | |
210 | #ifdef __cplusplus | |
211 | } | |
212 | #endif | |
213 | ||
214 | ||
215 | ||
216 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
217 | ||
218 | #define SWIGTYPE_p_wxRect swig_types[0] | |
219 | #define SWIGTYPE_p_wxColour swig_types[1] | |
220 | #define SWIGTYPE_p_wxObject swig_types[2] | |
221 | #define SWIGTYPE_p_wxScrollBar swig_types[3] | |
222 | #define SWIGTYPE_p_wxStyledTextEvent swig_types[4] | |
223 | #define SWIGTYPE_p_wxWindow swig_types[5] | |
224 | #define SWIGTYPE_p_wxCommandEvent swig_types[6] | |
225 | #define SWIGTYPE_p_wxBitmap swig_types[7] | |
226 | #define SWIGTYPE_p_void swig_types[8] | |
227 | #define SWIGTYPE_p_wxPoint swig_types[9] | |
228 | #define SWIGTYPE_p_wxDC swig_types[10] | |
229 | #define SWIGTYPE_p_wxDragResult swig_types[11] | |
230 | #define SWIGTYPE_p_wxString swig_types[12] | |
231 | #define SWIGTYPE_p_wxEvtHandler swig_types[13] | |
232 | #define SWIGTYPE_p_wxStyledTextCtrl swig_types[14] | |
233 | #define SWIGTYPE_p_wxFont swig_types[15] | |
234 | #define SWIGTYPE_p_wxControl swig_types[16] | |
235 | #define SWIGTYPE_p_wxEvent swig_types[17] | |
236 | #define SWIGTYPE_p_int swig_types[18] | |
237 | #define SWIGTYPE_p_wxMemoryBuffer swig_types[19] | |
238 | static swig_type_info *swig_types[21]; | |
239 | ||
240 | /* -------- TYPES TABLE (END) -------- */ | |
241 | ||
242 | ||
243 | /*----------------------------------------------- | |
244 | @(target):= _stc.so | |
245 | ------------------------------------------------*/ | |
246 | #define SWIG_init init_stc | |
247 | ||
248 | #define SWIG_name "_stc" | |
249 | ||
250 | #include "wx/wxPython/wxPython.h" | |
251 | #include "wx/wxPython/pyclasses.h" | |
252 | #include <wx/stc/stc.h> | |
253 | ||
254 | DECLARE_DEF_STRING(STCNameStr); | |
255 | ||
256 | ||
257 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
258 | PyObject* o2; | |
259 | PyObject* o3; | |
260 | ||
261 | if (!target) { | |
262 | target = o; | |
263 | } else if (target == Py_None) { | |
264 | Py_DECREF(Py_None); | |
265 | target = o; | |
266 | } else { | |
267 | if (!PyTuple_Check(target)) { | |
268 | o2 = target; | |
269 | target = PyTuple_New(1); | |
270 | PyTuple_SetItem(target, 0, o2); | |
271 | } | |
272 | o3 = PyTuple_New(1); | |
273 | PyTuple_SetItem(o3, 0, o); | |
274 | ||
275 | o2 = target; | |
276 | target = PySequence_Concat(o2, o3); | |
277 | Py_DECREF(o2); | |
278 | Py_DECREF(o3); | |
279 | } | |
280 | return target; | |
281 | } | |
282 | ||
283 | #ifdef __cplusplus | |
284 | extern "C" { | |
285 | #endif | |
286 | static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
287 | PyObject *resultobj; | |
288 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 289 | int arg2 ; |
d14a1e28 RD |
290 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
291 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
292 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
293 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
294 | long arg5 = (long) 0 ; | |
295 | wxString const &arg6_defvalue = wxPySTCNameStr ; | |
296 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
297 | wxStyledTextCtrl *result; | |
298 | wxPoint temp3 ; | |
299 | wxSize temp4 ; | |
e811c8ce | 300 | bool temp6 = False ; |
d14a1e28 RD |
301 | PyObject * obj0 = 0 ; |
302 | PyObject * obj2 = 0 ; | |
303 | PyObject * obj3 = 0 ; | |
304 | PyObject * obj5 = 0 ; | |
305 | char *kwnames[] = { | |
306 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
307 | }; | |
308 | ||
309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StyledTextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
310 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
311 | if (obj2) { | |
312 | { | |
313 | arg3 = &temp3; | |
314 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
315 | } | |
316 | } | |
317 | if (obj3) { | |
318 | { | |
319 | arg4 = &temp4; | |
320 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
321 | } | |
322 | } | |
323 | if (obj5) { | |
324 | { | |
325 | arg6 = wxString_in_helper(obj5); | |
326 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 327 | temp6 = True; |
d14a1e28 RD |
328 | } |
329 | } | |
330 | { | |
331 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
332 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
333 | ||
334 | wxPyEndAllowThreads(__tstate); | |
335 | if (PyErr_Occurred()) SWIG_fail; | |
336 | } | |
337 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1); | |
338 | { | |
339 | if (temp6) | |
340 | delete arg6; | |
341 | } | |
342 | return resultobj; | |
343 | fail: | |
344 | { | |
345 | if (temp6) | |
346 | delete arg6; | |
347 | } | |
348 | return NULL; | |
349 | } | |
350 | ||
351 | ||
352 | static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
353 | PyObject *resultobj; | |
354 | wxStyledTextCtrl *result; | |
355 | char *kwnames[] = { | |
356 | NULL | |
357 | }; | |
358 | ||
359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail; | |
360 | { | |
361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
362 | result = (wxStyledTextCtrl *)new wxStyledTextCtrl(); | |
363 | ||
364 | wxPyEndAllowThreads(__tstate); | |
365 | if (PyErr_Occurred()) SWIG_fail; | |
366 | } | |
367 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextCtrl, 1); | |
368 | return resultobj; | |
369 | fail: | |
370 | return NULL; | |
371 | } | |
372 | ||
373 | ||
374 | static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
375 | PyObject *resultobj; | |
376 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
377 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 378 | int arg3 ; |
d14a1e28 RD |
379 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
380 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
381 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
382 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
383 | long arg6 = (long) 0 ; | |
384 | wxString const &arg7_defvalue = wxSTCNameStr ; | |
385 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
386 | wxPoint temp4 ; | |
387 | wxSize temp5 ; | |
e811c8ce | 388 | bool temp7 = False ; |
d14a1e28 RD |
389 | PyObject * obj0 = 0 ; |
390 | PyObject * obj1 = 0 ; | |
391 | PyObject * obj3 = 0 ; | |
392 | PyObject * obj4 = 0 ; | |
393 | PyObject * obj6 = 0 ; | |
394 | char *kwnames[] = { | |
395 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
396 | }; | |
397 | ||
398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
399 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
400 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
401 | if (obj3) { | |
402 | { | |
403 | arg4 = &temp4; | |
404 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
405 | } | |
406 | } | |
407 | if (obj4) { | |
408 | { | |
409 | arg5 = &temp5; | |
410 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
411 | } | |
412 | } | |
413 | if (obj6) { | |
414 | { | |
415 | arg7 = wxString_in_helper(obj6); | |
416 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 417 | temp7 = True; |
d14a1e28 RD |
418 | } |
419 | } | |
420 | { | |
421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
422 | (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
423 | ||
424 | wxPyEndAllowThreads(__tstate); | |
425 | if (PyErr_Occurred()) SWIG_fail; | |
426 | } | |
427 | Py_INCREF(Py_None); resultobj = Py_None; | |
428 | { | |
429 | if (temp7) | |
430 | delete arg7; | |
431 | } | |
432 | return resultobj; | |
433 | fail: | |
434 | { | |
435 | if (temp7) | |
436 | delete arg7; | |
437 | } | |
438 | return NULL; | |
439 | } | |
440 | ||
441 | ||
442 | static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
443 | PyObject *resultobj; | |
444 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
445 | wxString *arg2 = 0 ; | |
e811c8ce | 446 | bool temp2 = False ; |
d14a1e28 RD |
447 | PyObject * obj0 = 0 ; |
448 | PyObject * obj1 = 0 ; | |
449 | char *kwnames[] = { | |
450 | (char *) "self",(char *) "text", NULL | |
451 | }; | |
452 | ||
453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail; | |
454 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
455 | { | |
456 | arg2 = wxString_in_helper(obj1); | |
457 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 458 | temp2 = True; |
d14a1e28 RD |
459 | } |
460 | { | |
461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
462 | (arg1)->AddText((wxString const &)*arg2); | |
463 | ||
464 | wxPyEndAllowThreads(__tstate); | |
465 | if (PyErr_Occurred()) SWIG_fail; | |
466 | } | |
467 | Py_INCREF(Py_None); resultobj = Py_None; | |
468 | { | |
469 | if (temp2) | |
470 | delete arg2; | |
471 | } | |
472 | return resultobj; | |
473 | fail: | |
474 | { | |
475 | if (temp2) | |
476 | delete arg2; | |
477 | } | |
478 | return NULL; | |
479 | } | |
480 | ||
481 | ||
482 | static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
483 | PyObject *resultobj; | |
484 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
485 | wxMemoryBuffer *arg2 = 0 ; | |
486 | PyObject * obj0 = 0 ; | |
487 | PyObject * obj1 = 0 ; | |
488 | char *kwnames[] = { | |
489 | (char *) "self",(char *) "data", NULL | |
490 | }; | |
491 | ||
492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail; | |
493 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
494 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMemoryBuffer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
495 | if (arg2 == NULL) { | |
496 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
497 | } | |
498 | { | |
499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
500 | (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2); | |
501 | ||
502 | wxPyEndAllowThreads(__tstate); | |
503 | if (PyErr_Occurred()) SWIG_fail; | |
504 | } | |
505 | Py_INCREF(Py_None); resultobj = Py_None; | |
506 | return resultobj; | |
507 | fail: | |
508 | return NULL; | |
509 | } | |
510 | ||
511 | ||
512 | static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
513 | PyObject *resultobj; | |
514 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
515 | int arg2 ; | |
516 | wxString *arg3 = 0 ; | |
e811c8ce | 517 | bool temp3 = False ; |
d14a1e28 RD |
518 | PyObject * obj0 = 0 ; |
519 | PyObject * obj2 = 0 ; | |
520 | char *kwnames[] = { | |
521 | (char *) "self",(char *) "pos",(char *) "text", NULL | |
522 | }; | |
523 | ||
524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_InsertText",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
525 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
526 | { | |
527 | arg3 = wxString_in_helper(obj2); | |
528 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 529 | temp3 = True; |
d14a1e28 RD |
530 | } |
531 | { | |
532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
533 | (arg1)->InsertText(arg2,(wxString const &)*arg3); | |
534 | ||
535 | wxPyEndAllowThreads(__tstate); | |
536 | if (PyErr_Occurred()) SWIG_fail; | |
537 | } | |
538 | Py_INCREF(Py_None); resultobj = Py_None; | |
539 | { | |
540 | if (temp3) | |
541 | delete arg3; | |
542 | } | |
543 | return resultobj; | |
544 | fail: | |
545 | { | |
546 | if (temp3) | |
547 | delete arg3; | |
548 | } | |
549 | return NULL; | |
550 | } | |
551 | ||
552 | ||
553 | static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
554 | PyObject *resultobj; | |
555 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
556 | PyObject * obj0 = 0 ; | |
557 | char *kwnames[] = { | |
558 | (char *) "self", NULL | |
559 | }; | |
560 | ||
561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail; | |
562 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
563 | { | |
564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
565 | (arg1)->ClearAll(); | |
566 | ||
567 | wxPyEndAllowThreads(__tstate); | |
568 | if (PyErr_Occurred()) SWIG_fail; | |
569 | } | |
570 | Py_INCREF(Py_None); resultobj = Py_None; | |
571 | return resultobj; | |
572 | fail: | |
573 | return NULL; | |
574 | } | |
575 | ||
576 | ||
577 | static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
578 | PyObject *resultobj; | |
579 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
580 | PyObject * obj0 = 0 ; | |
581 | char *kwnames[] = { | |
582 | (char *) "self", NULL | |
583 | }; | |
584 | ||
585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail; | |
586 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
587 | { | |
588 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
589 | (arg1)->ClearDocumentStyle(); | |
590 | ||
591 | wxPyEndAllowThreads(__tstate); | |
592 | if (PyErr_Occurred()) SWIG_fail; | |
593 | } | |
594 | Py_INCREF(Py_None); resultobj = Py_None; | |
595 | return resultobj; | |
596 | fail: | |
597 | return NULL; | |
598 | } | |
599 | ||
600 | ||
601 | static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
602 | PyObject *resultobj; | |
603 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
604 | int result; | |
605 | PyObject * obj0 = 0 ; | |
606 | char *kwnames[] = { | |
607 | (char *) "self", NULL | |
608 | }; | |
609 | ||
610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail; | |
611 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
612 | { | |
613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
614 | result = (int)(arg1)->GetLength(); | |
615 | ||
616 | wxPyEndAllowThreads(__tstate); | |
617 | if (PyErr_Occurred()) SWIG_fail; | |
618 | } | |
619 | resultobj = PyInt_FromLong((long)result); | |
620 | return resultobj; | |
621 | fail: | |
622 | return NULL; | |
623 | } | |
624 | ||
625 | ||
626 | static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
627 | PyObject *resultobj; | |
628 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
629 | int arg2 ; | |
630 | int result; | |
631 | PyObject * obj0 = 0 ; | |
632 | char *kwnames[] = { | |
633 | (char *) "self",(char *) "pos", NULL | |
634 | }; | |
635 | ||
636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetCharAt",kwnames,&obj0,&arg2)) goto fail; | |
637 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
638 | { | |
639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
640 | result = (int)(arg1)->GetCharAt(arg2); | |
641 | ||
642 | wxPyEndAllowThreads(__tstate); | |
643 | if (PyErr_Occurred()) SWIG_fail; | |
644 | } | |
645 | resultobj = PyInt_FromLong((long)result); | |
646 | return resultobj; | |
647 | fail: | |
648 | return NULL; | |
649 | } | |
650 | ||
651 | ||
652 | static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
653 | PyObject *resultobj; | |
654 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
655 | int result; | |
656 | PyObject * obj0 = 0 ; | |
657 | char *kwnames[] = { | |
658 | (char *) "self", NULL | |
659 | }; | |
660 | ||
661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail; | |
662 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
663 | { | |
664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
665 | result = (int)(arg1)->GetCurrentPos(); | |
666 | ||
667 | wxPyEndAllowThreads(__tstate); | |
668 | if (PyErr_Occurred()) SWIG_fail; | |
669 | } | |
670 | resultobj = PyInt_FromLong((long)result); | |
671 | return resultobj; | |
672 | fail: | |
673 | return NULL; | |
674 | } | |
675 | ||
676 | ||
677 | static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
678 | PyObject *resultobj; | |
679 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
680 | int result; | |
681 | PyObject * obj0 = 0 ; | |
682 | char *kwnames[] = { | |
683 | (char *) "self", NULL | |
684 | }; | |
685 | ||
686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail; | |
687 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
688 | { | |
689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
690 | result = (int)(arg1)->GetAnchor(); | |
691 | ||
692 | wxPyEndAllowThreads(__tstate); | |
693 | if (PyErr_Occurred()) SWIG_fail; | |
694 | } | |
695 | resultobj = PyInt_FromLong((long)result); | |
696 | return resultobj; | |
697 | fail: | |
698 | return NULL; | |
699 | } | |
700 | ||
701 | ||
702 | static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
703 | PyObject *resultobj; | |
704 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
705 | int arg2 ; | |
706 | int result; | |
707 | PyObject * obj0 = 0 ; | |
708 | char *kwnames[] = { | |
709 | (char *) "self",(char *) "pos", NULL | |
710 | }; | |
711 | ||
712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&arg2)) goto fail; | |
713 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
714 | { | |
715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
716 | result = (int)(arg1)->GetStyleAt(arg2); | |
717 | ||
718 | wxPyEndAllowThreads(__tstate); | |
719 | if (PyErr_Occurred()) SWIG_fail; | |
720 | } | |
721 | resultobj = PyInt_FromLong((long)result); | |
722 | return resultobj; | |
723 | fail: | |
724 | return NULL; | |
725 | } | |
726 | ||
727 | ||
728 | static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
729 | PyObject *resultobj; | |
730 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
731 | PyObject * obj0 = 0 ; | |
732 | char *kwnames[] = { | |
733 | (char *) "self", NULL | |
734 | }; | |
735 | ||
736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail; | |
737 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
738 | { | |
739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
740 | (arg1)->Redo(); | |
741 | ||
742 | wxPyEndAllowThreads(__tstate); | |
743 | if (PyErr_Occurred()) SWIG_fail; | |
744 | } | |
745 | Py_INCREF(Py_None); resultobj = Py_None; | |
746 | return resultobj; | |
747 | fail: | |
748 | return NULL; | |
749 | } | |
750 | ||
751 | ||
752 | static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
753 | PyObject *resultobj; | |
754 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
755 | bool arg2 ; | |
756 | PyObject * obj0 = 0 ; | |
757 | PyObject * obj1 = 0 ; | |
758 | char *kwnames[] = { | |
759 | (char *) "self",(char *) "collectUndo", NULL | |
760 | }; | |
761 | ||
762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail; | |
763 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
764 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
765 | if (PyErr_Occurred()) SWIG_fail; | |
766 | { | |
767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
768 | (arg1)->SetUndoCollection(arg2); | |
769 | ||
770 | wxPyEndAllowThreads(__tstate); | |
771 | if (PyErr_Occurred()) SWIG_fail; | |
772 | } | |
773 | Py_INCREF(Py_None); resultobj = Py_None; | |
774 | return resultobj; | |
775 | fail: | |
776 | return NULL; | |
777 | } | |
778 | ||
779 | ||
780 | static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
781 | PyObject *resultobj; | |
782 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
783 | PyObject * obj0 = 0 ; | |
784 | char *kwnames[] = { | |
785 | (char *) "self", NULL | |
786 | }; | |
787 | ||
788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail; | |
789 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
790 | { | |
791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
792 | (arg1)->SelectAll(); | |
793 | ||
794 | wxPyEndAllowThreads(__tstate); | |
795 | if (PyErr_Occurred()) SWIG_fail; | |
796 | } | |
797 | Py_INCREF(Py_None); resultobj = Py_None; | |
798 | return resultobj; | |
799 | fail: | |
800 | return NULL; | |
801 | } | |
802 | ||
803 | ||
804 | static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
805 | PyObject *resultobj; | |
806 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
807 | PyObject * obj0 = 0 ; | |
808 | char *kwnames[] = { | |
809 | (char *) "self", NULL | |
810 | }; | |
811 | ||
812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail; | |
813 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
814 | { | |
815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
816 | (arg1)->SetSavePoint(); | |
817 | ||
818 | wxPyEndAllowThreads(__tstate); | |
819 | if (PyErr_Occurred()) SWIG_fail; | |
820 | } | |
821 | Py_INCREF(Py_None); resultobj = Py_None; | |
822 | return resultobj; | |
823 | fail: | |
824 | return NULL; | |
825 | } | |
826 | ||
827 | ||
828 | static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
829 | PyObject *resultobj; | |
830 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
831 | int arg2 ; | |
832 | int arg3 ; | |
833 | wxMemoryBuffer result; | |
834 | PyObject * obj0 = 0 ; | |
835 | char *kwnames[] = { | |
836 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
837 | }; | |
838 | ||
839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetStyledText",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
840 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
841 | { | |
842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
843 | result = (arg1)->GetStyledText(arg2,arg3); | |
844 | ||
845 | wxPyEndAllowThreads(__tstate); | |
846 | if (PyErr_Occurred()) SWIG_fail; | |
847 | } | |
848 | { | |
849 | wxMemoryBuffer * resultptr; | |
850 | resultptr = new wxMemoryBuffer((wxMemoryBuffer &) result); | |
851 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxMemoryBuffer, 1); | |
852 | } | |
853 | return resultobj; | |
854 | fail: | |
855 | return NULL; | |
856 | } | |
857 | ||
858 | ||
859 | static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
860 | PyObject *resultobj; | |
861 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
862 | bool result; | |
863 | PyObject * obj0 = 0 ; | |
864 | char *kwnames[] = { | |
865 | (char *) "self", NULL | |
866 | }; | |
867 | ||
868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail; | |
869 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
870 | { | |
871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
872 | result = (bool)(arg1)->CanRedo(); | |
873 | ||
874 | wxPyEndAllowThreads(__tstate); | |
875 | if (PyErr_Occurred()) SWIG_fail; | |
876 | } | |
877 | resultobj = PyInt_FromLong((long)result); | |
878 | return resultobj; | |
879 | fail: | |
880 | return NULL; | |
881 | } | |
882 | ||
883 | ||
884 | static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
885 | PyObject *resultobj; | |
886 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
887 | int arg2 ; | |
888 | int result; | |
889 | PyObject * obj0 = 0 ; | |
890 | char *kwnames[] = { | |
891 | (char *) "self",(char *) "handle", NULL | |
892 | }; | |
893 | ||
894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&arg2)) goto fail; | |
895 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
896 | { | |
897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
898 | result = (int)(arg1)->MarkerLineFromHandle(arg2); | |
899 | ||
900 | wxPyEndAllowThreads(__tstate); | |
901 | if (PyErr_Occurred()) SWIG_fail; | |
902 | } | |
903 | resultobj = PyInt_FromLong((long)result); | |
904 | return resultobj; | |
905 | fail: | |
906 | return NULL; | |
907 | } | |
908 | ||
909 | ||
910 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
911 | PyObject *resultobj; | |
912 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
913 | int arg2 ; | |
914 | PyObject * obj0 = 0 ; | |
915 | char *kwnames[] = { | |
916 | (char *) "self",(char *) "handle", NULL | |
917 | }; | |
918 | ||
919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&arg2)) goto fail; | |
920 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
921 | { | |
922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
923 | (arg1)->MarkerDeleteHandle(arg2); | |
924 | ||
925 | wxPyEndAllowThreads(__tstate); | |
926 | if (PyErr_Occurred()) SWIG_fail; | |
927 | } | |
928 | Py_INCREF(Py_None); resultobj = Py_None; | |
929 | return resultobj; | |
930 | fail: | |
931 | return NULL; | |
932 | } | |
933 | ||
934 | ||
935 | static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
936 | PyObject *resultobj; | |
937 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
938 | bool result; | |
939 | PyObject * obj0 = 0 ; | |
940 | char *kwnames[] = { | |
941 | (char *) "self", NULL | |
942 | }; | |
943 | ||
944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail; | |
945 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
946 | { | |
947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
948 | result = (bool)(arg1)->GetUndoCollection(); | |
949 | ||
950 | wxPyEndAllowThreads(__tstate); | |
951 | if (PyErr_Occurred()) SWIG_fail; | |
952 | } | |
953 | resultobj = PyInt_FromLong((long)result); | |
954 | return resultobj; | |
955 | fail: | |
956 | return NULL; | |
957 | } | |
958 | ||
959 | ||
960 | static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
961 | PyObject *resultobj; | |
962 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
963 | int result; | |
964 | PyObject * obj0 = 0 ; | |
965 | char *kwnames[] = { | |
966 | (char *) "self", NULL | |
967 | }; | |
968 | ||
969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail; | |
970 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
971 | { | |
972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
973 | result = (int)(arg1)->GetViewWhiteSpace(); | |
974 | ||
975 | wxPyEndAllowThreads(__tstate); | |
976 | if (PyErr_Occurred()) SWIG_fail; | |
977 | } | |
978 | resultobj = PyInt_FromLong((long)result); | |
979 | return resultobj; | |
980 | fail: | |
981 | return NULL; | |
982 | } | |
983 | ||
984 | ||
985 | static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
986 | PyObject *resultobj; | |
987 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
988 | int arg2 ; | |
989 | PyObject * obj0 = 0 ; | |
990 | char *kwnames[] = { | |
991 | (char *) "self",(char *) "viewWS", NULL | |
992 | }; | |
993 | ||
994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&arg2)) goto fail; | |
995 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
996 | { | |
997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
998 | (arg1)->SetViewWhiteSpace(arg2); | |
999 | ||
1000 | wxPyEndAllowThreads(__tstate); | |
1001 | if (PyErr_Occurred()) SWIG_fail; | |
1002 | } | |
1003 | Py_INCREF(Py_None); resultobj = Py_None; | |
1004 | return resultobj; | |
1005 | fail: | |
1006 | return NULL; | |
1007 | } | |
1008 | ||
1009 | ||
1010 | static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1011 | PyObject *resultobj; | |
1012 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1013 | wxPoint arg2 ; | |
1014 | int result; | |
1015 | wxPoint *argp2 ; | |
1016 | PyObject * obj0 = 0 ; | |
1017 | PyObject * obj1 = 0 ; | |
1018 | char *kwnames[] = { | |
1019 | (char *) "self",(char *) "pt", NULL | |
1020 | }; | |
1021 | ||
1022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail; | |
1023 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1024 | if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
1025 | arg2 = *argp2; | |
1026 | { | |
1027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1028 | result = (int)(arg1)->PositionFromPoint(arg2); | |
1029 | ||
1030 | wxPyEndAllowThreads(__tstate); | |
1031 | if (PyErr_Occurred()) SWIG_fail; | |
1032 | } | |
1033 | resultobj = PyInt_FromLong((long)result); | |
1034 | return resultobj; | |
1035 | fail: | |
1036 | return NULL; | |
1037 | } | |
1038 | ||
1039 | ||
1040 | static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1041 | PyObject *resultobj; | |
1042 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1043 | int arg2 ; | |
1044 | int arg3 ; | |
1045 | int result; | |
1046 | PyObject * obj0 = 0 ; | |
1047 | char *kwnames[] = { | |
1048 | (char *) "self",(char *) "x",(char *) "y", NULL | |
1049 | }; | |
1050 | ||
1051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1052 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1053 | { | |
1054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1055 | result = (int)(arg1)->PositionFromPointClose(arg2,arg3); | |
1056 | ||
1057 | wxPyEndAllowThreads(__tstate); | |
1058 | if (PyErr_Occurred()) SWIG_fail; | |
1059 | } | |
1060 | resultobj = PyInt_FromLong((long)result); | |
1061 | return resultobj; | |
1062 | fail: | |
1063 | return NULL; | |
1064 | } | |
1065 | ||
1066 | ||
1067 | static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1068 | PyObject *resultobj; | |
1069 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1070 | int arg2 ; | |
1071 | PyObject * obj0 = 0 ; | |
1072 | char *kwnames[] = { | |
1073 | (char *) "self",(char *) "line", NULL | |
1074 | }; | |
1075 | ||
1076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GotoLine",kwnames,&obj0,&arg2)) goto fail; | |
1077 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1078 | { | |
1079 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1080 | (arg1)->GotoLine(arg2); | |
1081 | ||
1082 | wxPyEndAllowThreads(__tstate); | |
1083 | if (PyErr_Occurred()) SWIG_fail; | |
1084 | } | |
1085 | Py_INCREF(Py_None); resultobj = Py_None; | |
1086 | return resultobj; | |
1087 | fail: | |
1088 | return NULL; | |
1089 | } | |
1090 | ||
1091 | ||
1092 | static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1093 | PyObject *resultobj; | |
1094 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1095 | int arg2 ; | |
1096 | PyObject * obj0 = 0 ; | |
1097 | char *kwnames[] = { | |
1098 | (char *) "self",(char *) "pos", NULL | |
1099 | }; | |
1100 | ||
1101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GotoPos",kwnames,&obj0,&arg2)) goto fail; | |
1102 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1103 | { | |
1104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1105 | (arg1)->GotoPos(arg2); | |
1106 | ||
1107 | wxPyEndAllowThreads(__tstate); | |
1108 | if (PyErr_Occurred()) SWIG_fail; | |
1109 | } | |
1110 | Py_INCREF(Py_None); resultobj = Py_None; | |
1111 | return resultobj; | |
1112 | fail: | |
1113 | return NULL; | |
1114 | } | |
1115 | ||
1116 | ||
1117 | static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1118 | PyObject *resultobj; | |
1119 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1120 | int arg2 ; | |
1121 | PyObject * obj0 = 0 ; | |
1122 | char *kwnames[] = { | |
1123 | (char *) "self",(char *) "posAnchor", NULL | |
1124 | }; | |
1125 | ||
1126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetAnchor",kwnames,&obj0,&arg2)) goto fail; | |
1127 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1128 | { | |
1129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1130 | (arg1)->SetAnchor(arg2); | |
1131 | ||
1132 | wxPyEndAllowThreads(__tstate); | |
1133 | if (PyErr_Occurred()) SWIG_fail; | |
1134 | } | |
1135 | Py_INCREF(Py_None); resultobj = Py_None; | |
1136 | return resultobj; | |
1137 | fail: | |
1138 | return NULL; | |
1139 | } | |
1140 | ||
1141 | ||
1142 | static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1143 | PyObject *resultobj; | |
1144 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1145 | int *arg2 = (int *) 0 ; | |
1146 | wxString result; | |
1147 | int temp2 ; | |
1148 | PyObject * obj0 = 0 ; | |
1149 | char *kwnames[] = { | |
1150 | (char *) "self", NULL | |
1151 | }; | |
1152 | ||
1153 | arg2 = &temp2; | |
1154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail; | |
1155 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1156 | { | |
1157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1158 | result = (arg1)->GetCurLine(arg2); | |
1159 | ||
1160 | wxPyEndAllowThreads(__tstate); | |
1161 | if (PyErr_Occurred()) SWIG_fail; | |
1162 | } | |
1163 | { | |
1164 | #if wxUSE_UNICODE | |
1165 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1166 | #else | |
1167 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1168 | #endif | |
1169 | } | |
1170 | { | |
1171 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
1172 | resultobj = t_output_helper(resultobj,o); | |
1173 | } | |
1174 | return resultobj; | |
1175 | fail: | |
1176 | return NULL; | |
1177 | } | |
1178 | ||
1179 | ||
1180 | static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1181 | PyObject *resultobj; | |
1182 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1183 | int result; | |
1184 | PyObject * obj0 = 0 ; | |
1185 | char *kwnames[] = { | |
1186 | (char *) "self", NULL | |
1187 | }; | |
1188 | ||
1189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail; | |
1190 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1191 | { | |
1192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1193 | result = (int)(arg1)->GetEndStyled(); | |
1194 | ||
1195 | wxPyEndAllowThreads(__tstate); | |
1196 | if (PyErr_Occurred()) SWIG_fail; | |
1197 | } | |
1198 | resultobj = PyInt_FromLong((long)result); | |
1199 | return resultobj; | |
1200 | fail: | |
1201 | return NULL; | |
1202 | } | |
1203 | ||
1204 | ||
1205 | static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1206 | PyObject *resultobj; | |
1207 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1208 | int arg2 ; | |
1209 | PyObject * obj0 = 0 ; | |
1210 | char *kwnames[] = { | |
1211 | (char *) "self",(char *) "eolMode", NULL | |
1212 | }; | |
1213 | ||
1214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&arg2)) goto fail; | |
1215 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1216 | { | |
1217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1218 | (arg1)->ConvertEOLs(arg2); | |
1219 | ||
1220 | wxPyEndAllowThreads(__tstate); | |
1221 | if (PyErr_Occurred()) SWIG_fail; | |
1222 | } | |
1223 | Py_INCREF(Py_None); resultobj = Py_None; | |
1224 | return resultobj; | |
1225 | fail: | |
1226 | return NULL; | |
1227 | } | |
1228 | ||
1229 | ||
1230 | static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1231 | PyObject *resultobj; | |
1232 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1233 | int result; | |
1234 | PyObject * obj0 = 0 ; | |
1235 | char *kwnames[] = { | |
1236 | (char *) "self", NULL | |
1237 | }; | |
1238 | ||
1239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail; | |
1240 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1241 | { | |
1242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1243 | result = (int)(arg1)->GetEOLMode(); | |
1244 | ||
1245 | wxPyEndAllowThreads(__tstate); | |
1246 | if (PyErr_Occurred()) SWIG_fail; | |
1247 | } | |
1248 | resultobj = PyInt_FromLong((long)result); | |
1249 | return resultobj; | |
1250 | fail: | |
1251 | return NULL; | |
1252 | } | |
1253 | ||
1254 | ||
1255 | static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1256 | PyObject *resultobj; | |
1257 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1258 | int arg2 ; | |
1259 | PyObject * obj0 = 0 ; | |
1260 | char *kwnames[] = { | |
1261 | (char *) "self",(char *) "eolMode", NULL | |
1262 | }; | |
1263 | ||
1264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&arg2)) goto fail; | |
1265 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1266 | { | |
1267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1268 | (arg1)->SetEOLMode(arg2); | |
1269 | ||
1270 | wxPyEndAllowThreads(__tstate); | |
1271 | if (PyErr_Occurred()) SWIG_fail; | |
1272 | } | |
1273 | Py_INCREF(Py_None); resultobj = Py_None; | |
1274 | return resultobj; | |
1275 | fail: | |
1276 | return NULL; | |
1277 | } | |
1278 | ||
1279 | ||
1280 | static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1281 | PyObject *resultobj; | |
1282 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1283 | int arg2 ; | |
1284 | int arg3 ; | |
1285 | PyObject * obj0 = 0 ; | |
1286 | char *kwnames[] = { | |
1287 | (char *) "self",(char *) "pos",(char *) "mask", NULL | |
1288 | }; | |
1289 | ||
1290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StartStyling",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1291 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1292 | { | |
1293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1294 | (arg1)->StartStyling(arg2,arg3); | |
1295 | ||
1296 | wxPyEndAllowThreads(__tstate); | |
1297 | if (PyErr_Occurred()) SWIG_fail; | |
1298 | } | |
1299 | Py_INCREF(Py_None); resultobj = Py_None; | |
1300 | return resultobj; | |
1301 | fail: | |
1302 | return NULL; | |
1303 | } | |
1304 | ||
1305 | ||
1306 | static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1307 | PyObject *resultobj; | |
1308 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1309 | int arg2 ; | |
1310 | int arg3 ; | |
1311 | PyObject * obj0 = 0 ; | |
1312 | char *kwnames[] = { | |
1313 | (char *) "self",(char *) "length",(char *) "style", NULL | |
1314 | }; | |
1315 | ||
1316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetStyling",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1317 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1318 | { | |
1319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1320 | (arg1)->SetStyling(arg2,arg3); | |
1321 | ||
1322 | wxPyEndAllowThreads(__tstate); | |
1323 | if (PyErr_Occurred()) SWIG_fail; | |
1324 | } | |
1325 | Py_INCREF(Py_None); resultobj = Py_None; | |
1326 | return resultobj; | |
1327 | fail: | |
1328 | return NULL; | |
1329 | } | |
1330 | ||
1331 | ||
1332 | static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1333 | PyObject *resultobj; | |
1334 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1335 | bool result; | |
1336 | PyObject * obj0 = 0 ; | |
1337 | char *kwnames[] = { | |
1338 | (char *) "self", NULL | |
1339 | }; | |
1340 | ||
1341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail; | |
1342 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1343 | { | |
1344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1345 | result = (bool)(arg1)->GetBufferedDraw(); | |
1346 | ||
1347 | wxPyEndAllowThreads(__tstate); | |
1348 | if (PyErr_Occurred()) SWIG_fail; | |
1349 | } | |
1350 | resultobj = PyInt_FromLong((long)result); | |
1351 | return resultobj; | |
1352 | fail: | |
1353 | return NULL; | |
1354 | } | |
1355 | ||
1356 | ||
1357 | static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1358 | PyObject *resultobj; | |
1359 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1360 | bool arg2 ; | |
1361 | PyObject * obj0 = 0 ; | |
1362 | PyObject * obj1 = 0 ; | |
1363 | char *kwnames[] = { | |
1364 | (char *) "self",(char *) "buffered", NULL | |
1365 | }; | |
1366 | ||
1367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail; | |
1368 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1369 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
1370 | if (PyErr_Occurred()) SWIG_fail; | |
1371 | { | |
1372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1373 | (arg1)->SetBufferedDraw(arg2); | |
1374 | ||
1375 | wxPyEndAllowThreads(__tstate); | |
1376 | if (PyErr_Occurred()) SWIG_fail; | |
1377 | } | |
1378 | Py_INCREF(Py_None); resultobj = Py_None; | |
1379 | return resultobj; | |
1380 | fail: | |
1381 | return NULL; | |
1382 | } | |
1383 | ||
1384 | ||
1385 | static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1386 | PyObject *resultobj; | |
1387 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1388 | int arg2 ; | |
1389 | PyObject * obj0 = 0 ; | |
1390 | char *kwnames[] = { | |
1391 | (char *) "self",(char *) "tabWidth", NULL | |
1392 | }; | |
1393 | ||
1394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&arg2)) goto fail; | |
1395 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1396 | { | |
1397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1398 | (arg1)->SetTabWidth(arg2); | |
1399 | ||
1400 | wxPyEndAllowThreads(__tstate); | |
1401 | if (PyErr_Occurred()) SWIG_fail; | |
1402 | } | |
1403 | Py_INCREF(Py_None); resultobj = Py_None; | |
1404 | return resultobj; | |
1405 | fail: | |
1406 | return NULL; | |
1407 | } | |
1408 | ||
1409 | ||
1410 | static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1411 | PyObject *resultobj; | |
1412 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1413 | int result; | |
1414 | PyObject * obj0 = 0 ; | |
1415 | char *kwnames[] = { | |
1416 | (char *) "self", NULL | |
1417 | }; | |
1418 | ||
1419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail; | |
1420 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1421 | { | |
1422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1423 | result = (int)(arg1)->GetTabWidth(); | |
1424 | ||
1425 | wxPyEndAllowThreads(__tstate); | |
1426 | if (PyErr_Occurred()) SWIG_fail; | |
1427 | } | |
1428 | resultobj = PyInt_FromLong((long)result); | |
1429 | return resultobj; | |
1430 | fail: | |
1431 | return NULL; | |
1432 | } | |
1433 | ||
1434 | ||
1435 | static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1436 | PyObject *resultobj; | |
1437 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1438 | int arg2 ; | |
1439 | PyObject * obj0 = 0 ; | |
1440 | char *kwnames[] = { | |
1441 | (char *) "self",(char *) "codePage", NULL | |
1442 | }; | |
1443 | ||
1444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCodePage",kwnames,&obj0,&arg2)) goto fail; | |
1445 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1446 | { | |
1447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1448 | (arg1)->SetCodePage(arg2); | |
1449 | ||
1450 | wxPyEndAllowThreads(__tstate); | |
1451 | if (PyErr_Occurred()) SWIG_fail; | |
1452 | } | |
1453 | Py_INCREF(Py_None); resultobj = Py_None; | |
1454 | return resultobj; | |
1455 | fail: | |
1456 | return NULL; | |
1457 | } | |
1458 | ||
1459 | ||
1460 | static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1461 | PyObject *resultobj; | |
1462 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1463 | int arg2 ; | |
1464 | int arg3 ; | |
1465 | wxColour const &arg4_defvalue = wxNullColour ; | |
1466 | wxColour *arg4 = (wxColour *) &arg4_defvalue ; | |
1467 | wxColour const &arg5_defvalue = wxNullColour ; | |
1468 | wxColour *arg5 = (wxColour *) &arg5_defvalue ; | |
1469 | wxColour temp4 ; | |
1470 | wxColour temp5 ; | |
1471 | PyObject * obj0 = 0 ; | |
1472 | PyObject * obj3 = 0 ; | |
1473 | PyObject * obj4 = 0 ; | |
1474 | char *kwnames[] = { | |
1475 | (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL | |
1476 | }; | |
1477 | ||
1478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4)) goto fail; | |
1479 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1480 | if (obj3) { | |
1481 | { | |
1482 | arg4 = &temp4; | |
1483 | if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail; | |
1484 | } | |
1485 | } | |
1486 | if (obj4) { | |
1487 | { | |
1488 | arg5 = &temp5; | |
1489 | if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail; | |
1490 | } | |
1491 | } | |
1492 | { | |
1493 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1494 | (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5); | |
1495 | ||
1496 | wxPyEndAllowThreads(__tstate); | |
1497 | if (PyErr_Occurred()) SWIG_fail; | |
1498 | } | |
1499 | Py_INCREF(Py_None); resultobj = Py_None; | |
1500 | return resultobj; | |
1501 | fail: | |
1502 | return NULL; | |
1503 | } | |
1504 | ||
1505 | ||
1506 | static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1507 | PyObject *resultobj; | |
1508 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1509 | int arg2 ; | |
1510 | wxColour *arg3 = 0 ; | |
1511 | wxColour temp3 ; | |
1512 | PyObject * obj0 = 0 ; | |
1513 | PyObject * obj2 = 0 ; | |
1514 | char *kwnames[] = { | |
1515 | (char *) "self",(char *) "markerNumber",(char *) "fore", NULL | |
1516 | }; | |
1517 | ||
1518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
1519 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1520 | { | |
1521 | arg3 = &temp3; | |
1522 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
1523 | } | |
1524 | { | |
1525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1526 | (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3); | |
1527 | ||
1528 | wxPyEndAllowThreads(__tstate); | |
1529 | if (PyErr_Occurred()) SWIG_fail; | |
1530 | } | |
1531 | Py_INCREF(Py_None); resultobj = Py_None; | |
1532 | return resultobj; | |
1533 | fail: | |
1534 | return NULL; | |
1535 | } | |
1536 | ||
1537 | ||
1538 | static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1539 | PyObject *resultobj; | |
1540 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1541 | int arg2 ; | |
1542 | wxColour *arg3 = 0 ; | |
1543 | wxColour temp3 ; | |
1544 | PyObject * obj0 = 0 ; | |
1545 | PyObject * obj2 = 0 ; | |
1546 | char *kwnames[] = { | |
1547 | (char *) "self",(char *) "markerNumber",(char *) "back", NULL | |
1548 | }; | |
1549 | ||
1550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
1551 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1552 | { | |
1553 | arg3 = &temp3; | |
1554 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
1555 | } | |
1556 | { | |
1557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1558 | (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3); | |
1559 | ||
1560 | wxPyEndAllowThreads(__tstate); | |
1561 | if (PyErr_Occurred()) SWIG_fail; | |
1562 | } | |
1563 | Py_INCREF(Py_None); resultobj = Py_None; | |
1564 | return resultobj; | |
1565 | fail: | |
1566 | return NULL; | |
1567 | } | |
1568 | ||
1569 | ||
1570 | static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1571 | PyObject *resultobj; | |
1572 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1573 | int arg2 ; | |
1574 | int arg3 ; | |
1575 | int result; | |
1576 | PyObject * obj0 = 0 ; | |
1577 | char *kwnames[] = { | |
1578 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
1579 | }; | |
1580 | ||
1581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1582 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1583 | { | |
1584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1585 | result = (int)(arg1)->MarkerAdd(arg2,arg3); | |
1586 | ||
1587 | wxPyEndAllowThreads(__tstate); | |
1588 | if (PyErr_Occurred()) SWIG_fail; | |
1589 | } | |
1590 | resultobj = PyInt_FromLong((long)result); | |
1591 | return resultobj; | |
1592 | fail: | |
1593 | return NULL; | |
1594 | } | |
1595 | ||
1596 | ||
1597 | static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1598 | PyObject *resultobj; | |
1599 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1600 | int arg2 ; | |
1601 | int arg3 ; | |
1602 | PyObject * obj0 = 0 ; | |
1603 | char *kwnames[] = { | |
1604 | (char *) "self",(char *) "line",(char *) "markerNumber", NULL | |
1605 | }; | |
1606 | ||
1607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1608 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1609 | { | |
1610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1611 | (arg1)->MarkerDelete(arg2,arg3); | |
1612 | ||
1613 | wxPyEndAllowThreads(__tstate); | |
1614 | if (PyErr_Occurred()) SWIG_fail; | |
1615 | } | |
1616 | Py_INCREF(Py_None); resultobj = Py_None; | |
1617 | return resultobj; | |
1618 | fail: | |
1619 | return NULL; | |
1620 | } | |
1621 | ||
1622 | ||
1623 | static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1624 | PyObject *resultobj; | |
1625 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1626 | int arg2 ; | |
1627 | PyObject * obj0 = 0 ; | |
1628 | char *kwnames[] = { | |
1629 | (char *) "self",(char *) "markerNumber", NULL | |
1630 | }; | |
1631 | ||
1632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&arg2)) goto fail; | |
1633 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1634 | { | |
1635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1636 | (arg1)->MarkerDeleteAll(arg2); | |
1637 | ||
1638 | wxPyEndAllowThreads(__tstate); | |
1639 | if (PyErr_Occurred()) SWIG_fail; | |
1640 | } | |
1641 | Py_INCREF(Py_None); resultobj = Py_None; | |
1642 | return resultobj; | |
1643 | fail: | |
1644 | return NULL; | |
1645 | } | |
1646 | ||
1647 | ||
1648 | static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1649 | PyObject *resultobj; | |
1650 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1651 | int arg2 ; | |
1652 | int result; | |
1653 | PyObject * obj0 = 0 ; | |
1654 | char *kwnames[] = { | |
1655 | (char *) "self",(char *) "line", NULL | |
1656 | }; | |
1657 | ||
1658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_MarkerGet",kwnames,&obj0,&arg2)) goto fail; | |
1659 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1660 | { | |
1661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1662 | result = (int)(arg1)->MarkerGet(arg2); | |
1663 | ||
1664 | wxPyEndAllowThreads(__tstate); | |
1665 | if (PyErr_Occurred()) SWIG_fail; | |
1666 | } | |
1667 | resultobj = PyInt_FromLong((long)result); | |
1668 | return resultobj; | |
1669 | fail: | |
1670 | return NULL; | |
1671 | } | |
1672 | ||
1673 | ||
1674 | static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1675 | PyObject *resultobj; | |
1676 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1677 | int arg2 ; | |
1678 | int arg3 ; | |
1679 | int result; | |
1680 | PyObject * obj0 = 0 ; | |
1681 | char *kwnames[] = { | |
1682 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
1683 | }; | |
1684 | ||
1685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerNext",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1686 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1687 | { | |
1688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1689 | result = (int)(arg1)->MarkerNext(arg2,arg3); | |
1690 | ||
1691 | wxPyEndAllowThreads(__tstate); | |
1692 | if (PyErr_Occurred()) SWIG_fail; | |
1693 | } | |
1694 | resultobj = PyInt_FromLong((long)result); | |
1695 | return resultobj; | |
1696 | fail: | |
1697 | return NULL; | |
1698 | } | |
1699 | ||
1700 | ||
1701 | static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1702 | PyObject *resultobj; | |
1703 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1704 | int arg2 ; | |
1705 | int arg3 ; | |
1706 | int result; | |
1707 | PyObject * obj0 = 0 ; | |
1708 | char *kwnames[] = { | |
1709 | (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL | |
1710 | }; | |
1711 | ||
1712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1713 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1714 | { | |
1715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1716 | result = (int)(arg1)->MarkerPrevious(arg2,arg3); | |
1717 | ||
1718 | wxPyEndAllowThreads(__tstate); | |
1719 | if (PyErr_Occurred()) SWIG_fail; | |
1720 | } | |
1721 | resultobj = PyInt_FromLong((long)result); | |
1722 | return resultobj; | |
1723 | fail: | |
1724 | return NULL; | |
1725 | } | |
1726 | ||
1727 | ||
1728 | static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1729 | PyObject *resultobj; | |
1730 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1731 | int arg2 ; | |
1732 | wxBitmap *arg3 = 0 ; | |
1733 | PyObject * obj0 = 0 ; | |
1734 | PyObject * obj2 = 0 ; | |
1735 | char *kwnames[] = { | |
1736 | (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL | |
1737 | }; | |
1738 | ||
1739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
1740 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1741 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1742 | if (arg3 == NULL) { | |
1743 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
1744 | } | |
1745 | { | |
1746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1747 | (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3); | |
1748 | ||
1749 | wxPyEndAllowThreads(__tstate); | |
1750 | if (PyErr_Occurred()) SWIG_fail; | |
1751 | } | |
1752 | Py_INCREF(Py_None); resultobj = Py_None; | |
1753 | return resultobj; | |
1754 | fail: | |
1755 | return NULL; | |
1756 | } | |
1757 | ||
1758 | ||
1759 | static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1760 | PyObject *resultobj; | |
1761 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1762 | int arg2 ; | |
1763 | int arg3 ; | |
1764 | PyObject * obj0 = 0 ; | |
1765 | char *kwnames[] = { | |
1766 | (char *) "self",(char *) "margin",(char *) "marginType", NULL | |
1767 | }; | |
1768 | ||
1769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginType",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1770 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1771 | { | |
1772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1773 | (arg1)->SetMarginType(arg2,arg3); | |
1774 | ||
1775 | wxPyEndAllowThreads(__tstate); | |
1776 | if (PyErr_Occurred()) SWIG_fail; | |
1777 | } | |
1778 | Py_INCREF(Py_None); resultobj = Py_None; | |
1779 | return resultobj; | |
1780 | fail: | |
1781 | return NULL; | |
1782 | } | |
1783 | ||
1784 | ||
1785 | static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1786 | PyObject *resultobj; | |
1787 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1788 | int arg2 ; | |
1789 | int result; | |
1790 | PyObject * obj0 = 0 ; | |
1791 | char *kwnames[] = { | |
1792 | (char *) "self",(char *) "margin", NULL | |
1793 | }; | |
1794 | ||
1795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginType",kwnames,&obj0,&arg2)) goto fail; | |
1796 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1797 | { | |
1798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1799 | result = (int)(arg1)->GetMarginType(arg2); | |
1800 | ||
1801 | wxPyEndAllowThreads(__tstate); | |
1802 | if (PyErr_Occurred()) SWIG_fail; | |
1803 | } | |
1804 | resultobj = PyInt_FromLong((long)result); | |
1805 | return resultobj; | |
1806 | fail: | |
1807 | return NULL; | |
1808 | } | |
1809 | ||
1810 | ||
1811 | static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1812 | PyObject *resultobj; | |
1813 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1814 | int arg2 ; | |
1815 | int arg3 ; | |
1816 | PyObject * obj0 = 0 ; | |
1817 | char *kwnames[] = { | |
1818 | (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL | |
1819 | }; | |
1820 | ||
1821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1822 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1823 | { | |
1824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1825 | (arg1)->SetMarginWidth(arg2,arg3); | |
1826 | ||
1827 | wxPyEndAllowThreads(__tstate); | |
1828 | if (PyErr_Occurred()) SWIG_fail; | |
1829 | } | |
1830 | Py_INCREF(Py_None); resultobj = Py_None; | |
1831 | return resultobj; | |
1832 | fail: | |
1833 | return NULL; | |
1834 | } | |
1835 | ||
1836 | ||
1837 | static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1838 | PyObject *resultobj; | |
1839 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1840 | int arg2 ; | |
1841 | int result; | |
1842 | PyObject * obj0 = 0 ; | |
1843 | char *kwnames[] = { | |
1844 | (char *) "self",(char *) "margin", NULL | |
1845 | }; | |
1846 | ||
1847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&arg2)) goto fail; | |
1848 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1849 | { | |
1850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1851 | result = (int)(arg1)->GetMarginWidth(arg2); | |
1852 | ||
1853 | wxPyEndAllowThreads(__tstate); | |
1854 | if (PyErr_Occurred()) SWIG_fail; | |
1855 | } | |
1856 | resultobj = PyInt_FromLong((long)result); | |
1857 | return resultobj; | |
1858 | fail: | |
1859 | return NULL; | |
1860 | } | |
1861 | ||
1862 | ||
1863 | static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1864 | PyObject *resultobj; | |
1865 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1866 | int arg2 ; | |
1867 | int arg3 ; | |
1868 | PyObject * obj0 = 0 ; | |
1869 | char *kwnames[] = { | |
1870 | (char *) "self",(char *) "margin",(char *) "mask", NULL | |
1871 | }; | |
1872 | ||
1873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1874 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1875 | { | |
1876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1877 | (arg1)->SetMarginMask(arg2,arg3); | |
1878 | ||
1879 | wxPyEndAllowThreads(__tstate); | |
1880 | if (PyErr_Occurred()) SWIG_fail; | |
1881 | } | |
1882 | Py_INCREF(Py_None); resultobj = Py_None; | |
1883 | return resultobj; | |
1884 | fail: | |
1885 | return NULL; | |
1886 | } | |
1887 | ||
1888 | ||
1889 | static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1890 | PyObject *resultobj; | |
1891 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1892 | int arg2 ; | |
1893 | int result; | |
1894 | PyObject * obj0 = 0 ; | |
1895 | char *kwnames[] = { | |
1896 | (char *) "self",(char *) "margin", NULL | |
1897 | }; | |
1898 | ||
1899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&arg2)) goto fail; | |
1900 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1901 | { | |
1902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1903 | result = (int)(arg1)->GetMarginMask(arg2); | |
1904 | ||
1905 | wxPyEndAllowThreads(__tstate); | |
1906 | if (PyErr_Occurred()) SWIG_fail; | |
1907 | } | |
1908 | resultobj = PyInt_FromLong((long)result); | |
1909 | return resultobj; | |
1910 | fail: | |
1911 | return NULL; | |
1912 | } | |
1913 | ||
1914 | ||
1915 | static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1916 | PyObject *resultobj; | |
1917 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1918 | int arg2 ; | |
1919 | bool arg3 ; | |
1920 | PyObject * obj0 = 0 ; | |
1921 | PyObject * obj2 = 0 ; | |
1922 | char *kwnames[] = { | |
1923 | (char *) "self",(char *) "margin",(char *) "sensitive", NULL | |
1924 | }; | |
1925 | ||
1926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
1927 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1928 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
1929 | if (PyErr_Occurred()) SWIG_fail; | |
1930 | { | |
1931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1932 | (arg1)->SetMarginSensitive(arg2,arg3); | |
1933 | ||
1934 | wxPyEndAllowThreads(__tstate); | |
1935 | if (PyErr_Occurred()) SWIG_fail; | |
1936 | } | |
1937 | Py_INCREF(Py_None); resultobj = Py_None; | |
1938 | return resultobj; | |
1939 | fail: | |
1940 | return NULL; | |
1941 | } | |
1942 | ||
1943 | ||
1944 | static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1945 | PyObject *resultobj; | |
1946 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1947 | int arg2 ; | |
1948 | bool result; | |
1949 | PyObject * obj0 = 0 ; | |
1950 | char *kwnames[] = { | |
1951 | (char *) "self",(char *) "margin", NULL | |
1952 | }; | |
1953 | ||
1954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&arg2)) goto fail; | |
1955 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1956 | { | |
1957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1958 | result = (bool)(arg1)->GetMarginSensitive(arg2); | |
1959 | ||
1960 | wxPyEndAllowThreads(__tstate); | |
1961 | if (PyErr_Occurred()) SWIG_fail; | |
1962 | } | |
1963 | resultobj = PyInt_FromLong((long)result); | |
1964 | return resultobj; | |
1965 | fail: | |
1966 | return NULL; | |
1967 | } | |
1968 | ||
1969 | ||
1970 | static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1971 | PyObject *resultobj; | |
1972 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1973 | PyObject * obj0 = 0 ; | |
1974 | char *kwnames[] = { | |
1975 | (char *) "self", NULL | |
1976 | }; | |
1977 | ||
1978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail; | |
1979 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1980 | { | |
1981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1982 | (arg1)->StyleClearAll(); | |
1983 | ||
1984 | wxPyEndAllowThreads(__tstate); | |
1985 | if (PyErr_Occurred()) SWIG_fail; | |
1986 | } | |
1987 | Py_INCREF(Py_None); resultobj = Py_None; | |
1988 | return resultobj; | |
1989 | fail: | |
1990 | return NULL; | |
1991 | } | |
1992 | ||
1993 | ||
1994 | static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1995 | PyObject *resultobj; | |
1996 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
1997 | int arg2 ; | |
1998 | wxColour *arg3 = 0 ; | |
1999 | wxColour temp3 ; | |
2000 | PyObject * obj0 = 0 ; | |
2001 | PyObject * obj2 = 0 ; | |
2002 | char *kwnames[] = { | |
2003 | (char *) "self",(char *) "style",(char *) "fore", NULL | |
2004 | }; | |
2005 | ||
2006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
2007 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2008 | { | |
2009 | arg3 = &temp3; | |
2010 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2011 | } | |
2012 | { | |
2013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2014 | (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3); | |
2015 | ||
2016 | wxPyEndAllowThreads(__tstate); | |
2017 | if (PyErr_Occurred()) SWIG_fail; | |
2018 | } | |
2019 | Py_INCREF(Py_None); resultobj = Py_None; | |
2020 | return resultobj; | |
2021 | fail: | |
2022 | return NULL; | |
2023 | } | |
2024 | ||
2025 | ||
2026 | static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2027 | PyObject *resultobj; | |
2028 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2029 | int arg2 ; | |
2030 | wxColour *arg3 = 0 ; | |
2031 | wxColour temp3 ; | |
2032 | PyObject * obj0 = 0 ; | |
2033 | PyObject * obj2 = 0 ; | |
2034 | char *kwnames[] = { | |
2035 | (char *) "self",(char *) "style",(char *) "back", NULL | |
2036 | }; | |
2037 | ||
2038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
2039 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2040 | { | |
2041 | arg3 = &temp3; | |
2042 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2043 | } | |
2044 | { | |
2045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2046 | (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3); | |
2047 | ||
2048 | wxPyEndAllowThreads(__tstate); | |
2049 | if (PyErr_Occurred()) SWIG_fail; | |
2050 | } | |
2051 | Py_INCREF(Py_None); resultobj = Py_None; | |
2052 | return resultobj; | |
2053 | fail: | |
2054 | return NULL; | |
2055 | } | |
2056 | ||
2057 | ||
2058 | static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2059 | PyObject *resultobj; | |
2060 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2061 | int arg2 ; | |
2062 | bool arg3 ; | |
2063 | PyObject * obj0 = 0 ; | |
2064 | PyObject * obj2 = 0 ; | |
2065 | char *kwnames[] = { | |
2066 | (char *) "self",(char *) "style",(char *) "bold", NULL | |
2067 | }; | |
2068 | ||
2069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
2070 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2071 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
2072 | if (PyErr_Occurred()) SWIG_fail; | |
2073 | { | |
2074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2075 | (arg1)->StyleSetBold(arg2,arg3); | |
2076 | ||
2077 | wxPyEndAllowThreads(__tstate); | |
2078 | if (PyErr_Occurred()) SWIG_fail; | |
2079 | } | |
2080 | Py_INCREF(Py_None); resultobj = Py_None; | |
2081 | return resultobj; | |
2082 | fail: | |
2083 | return NULL; | |
2084 | } | |
2085 | ||
2086 | ||
2087 | static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2088 | PyObject *resultobj; | |
2089 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2090 | int arg2 ; | |
2091 | bool arg3 ; | |
2092 | PyObject * obj0 = 0 ; | |
2093 | PyObject * obj2 = 0 ; | |
2094 | char *kwnames[] = { | |
2095 | (char *) "self",(char *) "style",(char *) "italic", NULL | |
2096 | }; | |
2097 | ||
2098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
2099 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2100 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
2101 | if (PyErr_Occurred()) SWIG_fail; | |
2102 | { | |
2103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2104 | (arg1)->StyleSetItalic(arg2,arg3); | |
2105 | ||
2106 | wxPyEndAllowThreads(__tstate); | |
2107 | if (PyErr_Occurred()) SWIG_fail; | |
2108 | } | |
2109 | Py_INCREF(Py_None); resultobj = Py_None; | |
2110 | return resultobj; | |
2111 | fail: | |
2112 | return NULL; | |
2113 | } | |
2114 | ||
2115 | ||
2116 | static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2117 | PyObject *resultobj; | |
2118 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2119 | int arg2 ; | |
2120 | int arg3 ; | |
2121 | PyObject * obj0 = 0 ; | |
2122 | char *kwnames[] = { | |
2123 | (char *) "self",(char *) "style",(char *) "sizePoints", NULL | |
2124 | }; | |
2125 | ||
2126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
2127 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2128 | { | |
2129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2130 | (arg1)->StyleSetSize(arg2,arg3); | |
2131 | ||
2132 | wxPyEndAllowThreads(__tstate); | |
2133 | if (PyErr_Occurred()) SWIG_fail; | |
2134 | } | |
2135 | Py_INCREF(Py_None); resultobj = Py_None; | |
2136 | return resultobj; | |
2137 | fail: | |
2138 | return NULL; | |
2139 | } | |
2140 | ||
2141 | ||
2142 | static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2143 | PyObject *resultobj; | |
2144 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2145 | int arg2 ; | |
2146 | wxString *arg3 = 0 ; | |
e811c8ce | 2147 | bool temp3 = False ; |
d14a1e28 RD |
2148 | PyObject * obj0 = 0 ; |
2149 | PyObject * obj2 = 0 ; | |
2150 | char *kwnames[] = { | |
2151 | (char *) "self",(char *) "style",(char *) "fontName", NULL | |
2152 | }; | |
2153 | ||
2154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
2155 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2156 | { | |
2157 | arg3 = wxString_in_helper(obj2); | |
2158 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 2159 | temp3 = True; |
d14a1e28 RD |
2160 | } |
2161 | { | |
2162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2163 | (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3); | |
2164 | ||
2165 | wxPyEndAllowThreads(__tstate); | |
2166 | if (PyErr_Occurred()) SWIG_fail; | |
2167 | } | |
2168 | Py_INCREF(Py_None); resultobj = Py_None; | |
2169 | { | |
2170 | if (temp3) | |
2171 | delete arg3; | |
2172 | } | |
2173 | return resultobj; | |
2174 | fail: | |
2175 | { | |
2176 | if (temp3) | |
2177 | delete arg3; | |
2178 | } | |
2179 | return NULL; | |
2180 | } | |
2181 | ||
2182 | ||
2183 | static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2184 | PyObject *resultobj; | |
2185 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2186 | int arg2 ; | |
2187 | bool arg3 ; | |
2188 | PyObject * obj0 = 0 ; | |
2189 | PyObject * obj2 = 0 ; | |
2190 | char *kwnames[] = { | |
2191 | (char *) "self",(char *) "style",(char *) "filled", NULL | |
2192 | }; | |
2193 | ||
2194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
2195 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2196 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
2197 | if (PyErr_Occurred()) SWIG_fail; | |
2198 | { | |
2199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2200 | (arg1)->StyleSetEOLFilled(arg2,arg3); | |
2201 | ||
2202 | wxPyEndAllowThreads(__tstate); | |
2203 | if (PyErr_Occurred()) SWIG_fail; | |
2204 | } | |
2205 | Py_INCREF(Py_None); resultobj = Py_None; | |
2206 | return resultobj; | |
2207 | fail: | |
2208 | return NULL; | |
2209 | } | |
2210 | ||
2211 | ||
2212 | static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2213 | PyObject *resultobj; | |
2214 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2215 | PyObject * obj0 = 0 ; | |
2216 | char *kwnames[] = { | |
2217 | (char *) "self", NULL | |
2218 | }; | |
2219 | ||
2220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail; | |
2221 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2222 | { | |
2223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2224 | (arg1)->StyleResetDefault(); | |
2225 | ||
2226 | wxPyEndAllowThreads(__tstate); | |
2227 | if (PyErr_Occurred()) SWIG_fail; | |
2228 | } | |
2229 | Py_INCREF(Py_None); resultobj = Py_None; | |
2230 | return resultobj; | |
2231 | fail: | |
2232 | return NULL; | |
2233 | } | |
2234 | ||
2235 | ||
2236 | static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2237 | PyObject *resultobj; | |
2238 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2239 | int arg2 ; | |
2240 | bool arg3 ; | |
2241 | PyObject * obj0 = 0 ; | |
2242 | PyObject * obj2 = 0 ; | |
2243 | char *kwnames[] = { | |
2244 | (char *) "self",(char *) "style",(char *) "underline", NULL | |
2245 | }; | |
2246 | ||
2247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
2248 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2249 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
2250 | if (PyErr_Occurred()) SWIG_fail; | |
2251 | { | |
2252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2253 | (arg1)->StyleSetUnderline(arg2,arg3); | |
2254 | ||
2255 | wxPyEndAllowThreads(__tstate); | |
2256 | if (PyErr_Occurred()) SWIG_fail; | |
2257 | } | |
2258 | Py_INCREF(Py_None); resultobj = Py_None; | |
2259 | return resultobj; | |
2260 | fail: | |
2261 | return NULL; | |
2262 | } | |
2263 | ||
2264 | ||
2265 | static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2266 | PyObject *resultobj; | |
2267 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2268 | int arg2 ; | |
2269 | int arg3 ; | |
2270 | PyObject * obj0 = 0 ; | |
2271 | char *kwnames[] = { | |
2272 | (char *) "self",(char *) "style",(char *) "caseForce", NULL | |
2273 | }; | |
2274 | ||
2275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
2276 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2277 | { | |
2278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2279 | (arg1)->StyleSetCase(arg2,arg3); | |
2280 | ||
2281 | wxPyEndAllowThreads(__tstate); | |
2282 | if (PyErr_Occurred()) SWIG_fail; | |
2283 | } | |
2284 | Py_INCREF(Py_None); resultobj = Py_None; | |
2285 | return resultobj; | |
2286 | fail: | |
2287 | return NULL; | |
2288 | } | |
2289 | ||
2290 | ||
2291 | static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2292 | PyObject *resultobj; | |
2293 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2294 | int arg2 ; | |
2295 | int arg3 ; | |
2296 | PyObject * obj0 = 0 ; | |
2297 | char *kwnames[] = { | |
2298 | (char *) "self",(char *) "style",(char *) "characterSet", NULL | |
2299 | }; | |
2300 | ||
2301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
2302 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2303 | { | |
2304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2305 | (arg1)->StyleSetCharacterSet(arg2,arg3); | |
2306 | ||
2307 | wxPyEndAllowThreads(__tstate); | |
2308 | if (PyErr_Occurred()) SWIG_fail; | |
2309 | } | |
2310 | Py_INCREF(Py_None); resultobj = Py_None; | |
2311 | return resultobj; | |
2312 | fail: | |
2313 | return NULL; | |
2314 | } | |
2315 | ||
2316 | ||
2317 | static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2318 | PyObject *resultobj; | |
2319 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2320 | int arg2 ; | |
2321 | bool arg3 ; | |
2322 | PyObject * obj0 = 0 ; | |
2323 | PyObject * obj2 = 0 ; | |
2324 | char *kwnames[] = { | |
2325 | (char *) "self",(char *) "style",(char *) "hotspot", NULL | |
2326 | }; | |
2327 | ||
2328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
2329 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2330 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
2331 | if (PyErr_Occurred()) SWIG_fail; | |
2332 | { | |
2333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2334 | (arg1)->StyleSetHotSpot(arg2,arg3); | |
2335 | ||
2336 | wxPyEndAllowThreads(__tstate); | |
2337 | if (PyErr_Occurred()) SWIG_fail; | |
2338 | } | |
2339 | Py_INCREF(Py_None); resultobj = Py_None; | |
2340 | return resultobj; | |
2341 | fail: | |
2342 | return NULL; | |
2343 | } | |
2344 | ||
2345 | ||
2346 | static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2347 | PyObject *resultobj; | |
2348 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2349 | bool arg2 ; | |
2350 | wxColour *arg3 = 0 ; | |
2351 | wxColour temp3 ; | |
2352 | PyObject * obj0 = 0 ; | |
2353 | PyObject * obj1 = 0 ; | |
2354 | PyObject * obj2 = 0 ; | |
2355 | char *kwnames[] = { | |
2356 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
2357 | }; | |
2358 | ||
2359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2360 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2361 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
2362 | if (PyErr_Occurred()) SWIG_fail; | |
2363 | { | |
2364 | arg3 = &temp3; | |
2365 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2366 | } | |
2367 | { | |
2368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2369 | (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3); | |
2370 | ||
2371 | wxPyEndAllowThreads(__tstate); | |
2372 | if (PyErr_Occurred()) SWIG_fail; | |
2373 | } | |
2374 | Py_INCREF(Py_None); resultobj = Py_None; | |
2375 | return resultobj; | |
2376 | fail: | |
2377 | return NULL; | |
2378 | } | |
2379 | ||
2380 | ||
2381 | static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2382 | PyObject *resultobj; | |
2383 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2384 | bool arg2 ; | |
2385 | wxColour *arg3 = 0 ; | |
2386 | wxColour temp3 ; | |
2387 | PyObject * obj0 = 0 ; | |
2388 | PyObject * obj1 = 0 ; | |
2389 | PyObject * obj2 = 0 ; | |
2390 | char *kwnames[] = { | |
2391 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
2392 | }; | |
2393 | ||
2394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2395 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2396 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
2397 | if (PyErr_Occurred()) SWIG_fail; | |
2398 | { | |
2399 | arg3 = &temp3; | |
2400 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2401 | } | |
2402 | { | |
2403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2404 | (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3); | |
2405 | ||
2406 | wxPyEndAllowThreads(__tstate); | |
2407 | if (PyErr_Occurred()) SWIG_fail; | |
2408 | } | |
2409 | Py_INCREF(Py_None); resultobj = Py_None; | |
2410 | return resultobj; | |
2411 | fail: | |
2412 | return NULL; | |
2413 | } | |
2414 | ||
2415 | ||
2416 | static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2417 | PyObject *resultobj; | |
2418 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2419 | wxColour *arg2 = 0 ; | |
2420 | wxColour temp2 ; | |
2421 | PyObject * obj0 = 0 ; | |
2422 | PyObject * obj1 = 0 ; | |
2423 | char *kwnames[] = { | |
2424 | (char *) "self",(char *) "fore", NULL | |
2425 | }; | |
2426 | ||
2427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail; | |
2428 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2429 | { | |
2430 | arg2 = &temp2; | |
2431 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
2432 | } | |
2433 | { | |
2434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2435 | (arg1)->SetCaretForeground((wxColour const &)*arg2); | |
2436 | ||
2437 | wxPyEndAllowThreads(__tstate); | |
2438 | if (PyErr_Occurred()) SWIG_fail; | |
2439 | } | |
2440 | Py_INCREF(Py_None); resultobj = Py_None; | |
2441 | return resultobj; | |
2442 | fail: | |
2443 | return NULL; | |
2444 | } | |
2445 | ||
2446 | ||
2447 | static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2448 | PyObject *resultobj; | |
2449 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2450 | int arg2 ; | |
2451 | int arg3 ; | |
2452 | int arg4 ; | |
2453 | PyObject * obj0 = 0 ; | |
2454 | char *kwnames[] = { | |
2455 | (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL | |
2456 | }; | |
2457 | ||
2458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; | |
2459 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2460 | { | |
2461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2462 | (arg1)->CmdKeyAssign(arg2,arg3,arg4); | |
2463 | ||
2464 | wxPyEndAllowThreads(__tstate); | |
2465 | if (PyErr_Occurred()) SWIG_fail; | |
2466 | } | |
2467 | Py_INCREF(Py_None); resultobj = Py_None; | |
2468 | return resultobj; | |
2469 | fail: | |
2470 | return NULL; | |
2471 | } | |
2472 | ||
2473 | ||
2474 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2475 | PyObject *resultobj; | |
2476 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2477 | int arg2 ; | |
2478 | int arg3 ; | |
2479 | PyObject * obj0 = 0 ; | |
2480 | char *kwnames[] = { | |
2481 | (char *) "self",(char *) "key",(char *) "modifiers", NULL | |
2482 | }; | |
2483 | ||
2484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
2485 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2486 | { | |
2487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2488 | (arg1)->CmdKeyClear(arg2,arg3); | |
2489 | ||
2490 | wxPyEndAllowThreads(__tstate); | |
2491 | if (PyErr_Occurred()) SWIG_fail; | |
2492 | } | |
2493 | Py_INCREF(Py_None); resultobj = Py_None; | |
2494 | return resultobj; | |
2495 | fail: | |
2496 | return NULL; | |
2497 | } | |
2498 | ||
2499 | ||
2500 | static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2501 | PyObject *resultobj; | |
2502 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2503 | PyObject * obj0 = 0 ; | |
2504 | char *kwnames[] = { | |
2505 | (char *) "self", NULL | |
2506 | }; | |
2507 | ||
2508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail; | |
2509 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2510 | { | |
2511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2512 | (arg1)->CmdKeyClearAll(); | |
2513 | ||
2514 | wxPyEndAllowThreads(__tstate); | |
2515 | if (PyErr_Occurred()) SWIG_fail; | |
2516 | } | |
2517 | Py_INCREF(Py_None); resultobj = Py_None; | |
2518 | return resultobj; | |
2519 | fail: | |
2520 | return NULL; | |
2521 | } | |
2522 | ||
2523 | ||
2524 | static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2525 | PyObject *resultobj; | |
2526 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2527 | int arg2 ; | |
2528 | char *arg3 ; | |
2529 | PyObject * obj0 = 0 ; | |
2530 | char *kwnames[] = { | |
2531 | (char *) "self",(char *) "length",(char *) "styleBytes", NULL | |
2532 | }; | |
2533 | ||
2534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ois:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
2535 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2536 | { | |
2537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2538 | (arg1)->SetStyleBytes(arg2,arg3); | |
2539 | ||
2540 | wxPyEndAllowThreads(__tstate); | |
2541 | if (PyErr_Occurred()) SWIG_fail; | |
2542 | } | |
2543 | Py_INCREF(Py_None); resultobj = Py_None; | |
2544 | return resultobj; | |
2545 | fail: | |
2546 | return NULL; | |
2547 | } | |
2548 | ||
2549 | ||
2550 | static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2551 | PyObject *resultobj; | |
2552 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2553 | int arg2 ; | |
2554 | bool arg3 ; | |
2555 | PyObject * obj0 = 0 ; | |
2556 | PyObject * obj2 = 0 ; | |
2557 | char *kwnames[] = { | |
2558 | (char *) "self",(char *) "style",(char *) "visible", NULL | |
2559 | }; | |
2560 | ||
2561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
2562 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2563 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
2564 | if (PyErr_Occurred()) SWIG_fail; | |
2565 | { | |
2566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2567 | (arg1)->StyleSetVisible(arg2,arg3); | |
2568 | ||
2569 | wxPyEndAllowThreads(__tstate); | |
2570 | if (PyErr_Occurred()) SWIG_fail; | |
2571 | } | |
2572 | Py_INCREF(Py_None); resultobj = Py_None; | |
2573 | return resultobj; | |
2574 | fail: | |
2575 | return NULL; | |
2576 | } | |
2577 | ||
2578 | ||
2579 | static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2580 | PyObject *resultobj; | |
2581 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2582 | int result; | |
2583 | PyObject * obj0 = 0 ; | |
2584 | char *kwnames[] = { | |
2585 | (char *) "self", NULL | |
2586 | }; | |
2587 | ||
2588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail; | |
2589 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2590 | { | |
2591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2592 | result = (int)(arg1)->GetCaretPeriod(); | |
2593 | ||
2594 | wxPyEndAllowThreads(__tstate); | |
2595 | if (PyErr_Occurred()) SWIG_fail; | |
2596 | } | |
2597 | resultobj = PyInt_FromLong((long)result); | |
2598 | return resultobj; | |
2599 | fail: | |
2600 | return NULL; | |
2601 | } | |
2602 | ||
2603 | ||
2604 | static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2605 | PyObject *resultobj; | |
2606 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2607 | int arg2 ; | |
2608 | PyObject * obj0 = 0 ; | |
2609 | char *kwnames[] = { | |
2610 | (char *) "self",(char *) "periodMilliseconds", NULL | |
2611 | }; | |
2612 | ||
2613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&arg2)) goto fail; | |
2614 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2615 | { | |
2616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2617 | (arg1)->SetCaretPeriod(arg2); | |
2618 | ||
2619 | wxPyEndAllowThreads(__tstate); | |
2620 | if (PyErr_Occurred()) SWIG_fail; | |
2621 | } | |
2622 | Py_INCREF(Py_None); resultobj = Py_None; | |
2623 | return resultobj; | |
2624 | fail: | |
2625 | return NULL; | |
2626 | } | |
2627 | ||
2628 | ||
2629 | static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2630 | PyObject *resultobj; | |
2631 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2632 | wxString *arg2 = 0 ; | |
e811c8ce | 2633 | bool temp2 = False ; |
d14a1e28 RD |
2634 | PyObject * obj0 = 0 ; |
2635 | PyObject * obj1 = 0 ; | |
2636 | char *kwnames[] = { | |
2637 | (char *) "self",(char *) "characters", NULL | |
2638 | }; | |
2639 | ||
2640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail; | |
2641 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2642 | { | |
2643 | arg2 = wxString_in_helper(obj1); | |
2644 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 2645 | temp2 = True; |
d14a1e28 RD |
2646 | } |
2647 | { | |
2648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2649 | (arg1)->SetWordChars((wxString const &)*arg2); | |
2650 | ||
2651 | wxPyEndAllowThreads(__tstate); | |
2652 | if (PyErr_Occurred()) SWIG_fail; | |
2653 | } | |
2654 | Py_INCREF(Py_None); resultobj = Py_None; | |
2655 | { | |
2656 | if (temp2) | |
2657 | delete arg2; | |
2658 | } | |
2659 | return resultobj; | |
2660 | fail: | |
2661 | { | |
2662 | if (temp2) | |
2663 | delete arg2; | |
2664 | } | |
2665 | return NULL; | |
2666 | } | |
2667 | ||
2668 | ||
2669 | static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2670 | PyObject *resultobj; | |
2671 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2672 | PyObject * obj0 = 0 ; | |
2673 | char *kwnames[] = { | |
2674 | (char *) "self", NULL | |
2675 | }; | |
2676 | ||
2677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail; | |
2678 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2679 | { | |
2680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2681 | (arg1)->BeginUndoAction(); | |
2682 | ||
2683 | wxPyEndAllowThreads(__tstate); | |
2684 | if (PyErr_Occurred()) SWIG_fail; | |
2685 | } | |
2686 | Py_INCREF(Py_None); resultobj = Py_None; | |
2687 | return resultobj; | |
2688 | fail: | |
2689 | return NULL; | |
2690 | } | |
2691 | ||
2692 | ||
2693 | static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2694 | PyObject *resultobj; | |
2695 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2696 | PyObject * obj0 = 0 ; | |
2697 | char *kwnames[] = { | |
2698 | (char *) "self", NULL | |
2699 | }; | |
2700 | ||
2701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail; | |
2702 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2703 | { | |
2704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2705 | (arg1)->EndUndoAction(); | |
2706 | ||
2707 | wxPyEndAllowThreads(__tstate); | |
2708 | if (PyErr_Occurred()) SWIG_fail; | |
2709 | } | |
2710 | Py_INCREF(Py_None); resultobj = Py_None; | |
2711 | return resultobj; | |
2712 | fail: | |
2713 | return NULL; | |
2714 | } | |
2715 | ||
2716 | ||
2717 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2718 | PyObject *resultobj; | |
2719 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2720 | int arg2 ; | |
2721 | int arg3 ; | |
2722 | PyObject * obj0 = 0 ; | |
2723 | char *kwnames[] = { | |
2724 | (char *) "self",(char *) "indic",(char *) "style", NULL | |
2725 | }; | |
2726 | ||
2727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
2728 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2729 | { | |
2730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2731 | (arg1)->IndicatorSetStyle(arg2,arg3); | |
2732 | ||
2733 | wxPyEndAllowThreads(__tstate); | |
2734 | if (PyErr_Occurred()) SWIG_fail; | |
2735 | } | |
2736 | Py_INCREF(Py_None); resultobj = Py_None; | |
2737 | return resultobj; | |
2738 | fail: | |
2739 | return NULL; | |
2740 | } | |
2741 | ||
2742 | ||
2743 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2744 | PyObject *resultobj; | |
2745 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2746 | int arg2 ; | |
2747 | int result; | |
2748 | PyObject * obj0 = 0 ; | |
2749 | char *kwnames[] = { | |
2750 | (char *) "self",(char *) "indic", NULL | |
2751 | }; | |
2752 | ||
2753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&arg2)) goto fail; | |
2754 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2755 | { | |
2756 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2757 | result = (int)(arg1)->IndicatorGetStyle(arg2); | |
2758 | ||
2759 | wxPyEndAllowThreads(__tstate); | |
2760 | if (PyErr_Occurred()) SWIG_fail; | |
2761 | } | |
2762 | resultobj = PyInt_FromLong((long)result); | |
2763 | return resultobj; | |
2764 | fail: | |
2765 | return NULL; | |
2766 | } | |
2767 | ||
2768 | ||
2769 | static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2770 | PyObject *resultobj; | |
2771 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2772 | int arg2 ; | |
2773 | wxColour *arg3 = 0 ; | |
2774 | wxColour temp3 ; | |
2775 | PyObject * obj0 = 0 ; | |
2776 | PyObject * obj2 = 0 ; | |
2777 | char *kwnames[] = { | |
2778 | (char *) "self",(char *) "indic",(char *) "fore", NULL | |
2779 | }; | |
2780 | ||
2781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
2782 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2783 | { | |
2784 | arg3 = &temp3; | |
2785 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2786 | } | |
2787 | { | |
2788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2789 | (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3); | |
2790 | ||
2791 | wxPyEndAllowThreads(__tstate); | |
2792 | if (PyErr_Occurred()) SWIG_fail; | |
2793 | } | |
2794 | Py_INCREF(Py_None); resultobj = Py_None; | |
2795 | return resultobj; | |
2796 | fail: | |
2797 | return NULL; | |
2798 | } | |
2799 | ||
2800 | ||
2801 | static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2802 | PyObject *resultobj; | |
2803 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2804 | int arg2 ; | |
2805 | wxColour result; | |
2806 | PyObject * obj0 = 0 ; | |
2807 | char *kwnames[] = { | |
2808 | (char *) "self",(char *) "indic", NULL | |
2809 | }; | |
2810 | ||
2811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&arg2)) goto fail; | |
2812 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2813 | { | |
2814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2815 | result = (arg1)->IndicatorGetForeground(arg2); | |
2816 | ||
2817 | wxPyEndAllowThreads(__tstate); | |
2818 | if (PyErr_Occurred()) SWIG_fail; | |
2819 | } | |
2820 | { | |
2821 | wxColour * resultptr; | |
2822 | resultptr = new wxColour((wxColour &) result); | |
2823 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
2824 | } | |
2825 | return resultobj; | |
2826 | fail: | |
2827 | return NULL; | |
2828 | } | |
2829 | ||
2830 | ||
2831 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2832 | PyObject *resultobj; | |
2833 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2834 | bool arg2 ; | |
2835 | wxColour *arg3 = 0 ; | |
2836 | wxColour temp3 ; | |
2837 | PyObject * obj0 = 0 ; | |
2838 | PyObject * obj1 = 0 ; | |
2839 | PyObject * obj2 = 0 ; | |
2840 | char *kwnames[] = { | |
2841 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
2842 | }; | |
2843 | ||
2844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2845 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2846 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
2847 | if (PyErr_Occurred()) SWIG_fail; | |
2848 | { | |
2849 | arg3 = &temp3; | |
2850 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2851 | } | |
2852 | { | |
2853 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2854 | (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3); | |
2855 | ||
2856 | wxPyEndAllowThreads(__tstate); | |
2857 | if (PyErr_Occurred()) SWIG_fail; | |
2858 | } | |
2859 | Py_INCREF(Py_None); resultobj = Py_None; | |
2860 | return resultobj; | |
2861 | fail: | |
2862 | return NULL; | |
2863 | } | |
2864 | ||
2865 | ||
2866 | static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2867 | PyObject *resultobj; | |
2868 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2869 | bool arg2 ; | |
2870 | wxColour *arg3 = 0 ; | |
2871 | wxColour temp3 ; | |
2872 | PyObject * obj0 = 0 ; | |
2873 | PyObject * obj1 = 0 ; | |
2874 | PyObject * obj2 = 0 ; | |
2875 | char *kwnames[] = { | |
2876 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
2877 | }; | |
2878 | ||
2879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2880 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2881 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
2882 | if (PyErr_Occurred()) SWIG_fail; | |
2883 | { | |
2884 | arg3 = &temp3; | |
2885 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
2886 | } | |
2887 | { | |
2888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2889 | (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3); | |
2890 | ||
2891 | wxPyEndAllowThreads(__tstate); | |
2892 | if (PyErr_Occurred()) SWIG_fail; | |
2893 | } | |
2894 | Py_INCREF(Py_None); resultobj = Py_None; | |
2895 | return resultobj; | |
2896 | fail: | |
2897 | return NULL; | |
2898 | } | |
2899 | ||
2900 | ||
2901 | static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2902 | PyObject *resultobj; | |
2903 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2904 | int arg2 ; | |
2905 | PyObject * obj0 = 0 ; | |
2906 | char *kwnames[] = { | |
2907 | (char *) "self",(char *) "bits", NULL | |
2908 | }; | |
2909 | ||
2910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&arg2)) goto fail; | |
2911 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2912 | { | |
2913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2914 | (arg1)->SetStyleBits(arg2); | |
2915 | ||
2916 | wxPyEndAllowThreads(__tstate); | |
2917 | if (PyErr_Occurred()) SWIG_fail; | |
2918 | } | |
2919 | Py_INCREF(Py_None); resultobj = Py_None; | |
2920 | return resultobj; | |
2921 | fail: | |
2922 | return NULL; | |
2923 | } | |
2924 | ||
2925 | ||
2926 | static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2927 | PyObject *resultobj; | |
2928 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2929 | int result; | |
2930 | PyObject * obj0 = 0 ; | |
2931 | char *kwnames[] = { | |
2932 | (char *) "self", NULL | |
2933 | }; | |
2934 | ||
2935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail; | |
2936 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2937 | { | |
2938 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2939 | result = (int)(arg1)->GetStyleBits(); | |
2940 | ||
2941 | wxPyEndAllowThreads(__tstate); | |
2942 | if (PyErr_Occurred()) SWIG_fail; | |
2943 | } | |
2944 | resultobj = PyInt_FromLong((long)result); | |
2945 | return resultobj; | |
2946 | fail: | |
2947 | return NULL; | |
2948 | } | |
2949 | ||
2950 | ||
2951 | static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2952 | PyObject *resultobj; | |
2953 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2954 | int arg2 ; | |
2955 | int arg3 ; | |
2956 | PyObject * obj0 = 0 ; | |
2957 | char *kwnames[] = { | |
2958 | (char *) "self",(char *) "line",(char *) "state", NULL | |
2959 | }; | |
2960 | ||
2961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetLineState",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
2962 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2963 | { | |
2964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2965 | (arg1)->SetLineState(arg2,arg3); | |
2966 | ||
2967 | wxPyEndAllowThreads(__tstate); | |
2968 | if (PyErr_Occurred()) SWIG_fail; | |
2969 | } | |
2970 | Py_INCREF(Py_None); resultobj = Py_None; | |
2971 | return resultobj; | |
2972 | fail: | |
2973 | return NULL; | |
2974 | } | |
2975 | ||
2976 | ||
2977 | static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2978 | PyObject *resultobj; | |
2979 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
2980 | int arg2 ; | |
2981 | int result; | |
2982 | PyObject * obj0 = 0 ; | |
2983 | char *kwnames[] = { | |
2984 | (char *) "self",(char *) "line", NULL | |
2985 | }; | |
2986 | ||
2987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineState",kwnames,&obj0,&arg2)) goto fail; | |
2988 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2989 | { | |
2990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2991 | result = (int)(arg1)->GetLineState(arg2); | |
2992 | ||
2993 | wxPyEndAllowThreads(__tstate); | |
2994 | if (PyErr_Occurred()) SWIG_fail; | |
2995 | } | |
2996 | resultobj = PyInt_FromLong((long)result); | |
2997 | return resultobj; | |
2998 | fail: | |
2999 | return NULL; | |
3000 | } | |
3001 | ||
3002 | ||
3003 | static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3004 | PyObject *resultobj; | |
3005 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3006 | int result; | |
3007 | PyObject * obj0 = 0 ; | |
3008 | char *kwnames[] = { | |
3009 | (char *) "self", NULL | |
3010 | }; | |
3011 | ||
3012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail; | |
3013 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3014 | { | |
3015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3016 | result = (int)(arg1)->GetMaxLineState(); | |
3017 | ||
3018 | wxPyEndAllowThreads(__tstate); | |
3019 | if (PyErr_Occurred()) SWIG_fail; | |
3020 | } | |
3021 | resultobj = PyInt_FromLong((long)result); | |
3022 | return resultobj; | |
3023 | fail: | |
3024 | return NULL; | |
3025 | } | |
3026 | ||
3027 | ||
3028 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3029 | PyObject *resultobj; | |
3030 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3031 | bool result; | |
3032 | PyObject * obj0 = 0 ; | |
3033 | char *kwnames[] = { | |
3034 | (char *) "self", NULL | |
3035 | }; | |
3036 | ||
3037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail; | |
3038 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3039 | { | |
3040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3041 | result = (bool)(arg1)->GetCaretLineVisible(); | |
3042 | ||
3043 | wxPyEndAllowThreads(__tstate); | |
3044 | if (PyErr_Occurred()) SWIG_fail; | |
3045 | } | |
3046 | resultobj = PyInt_FromLong((long)result); | |
3047 | return resultobj; | |
3048 | fail: | |
3049 | return NULL; | |
3050 | } | |
3051 | ||
3052 | ||
3053 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3054 | PyObject *resultobj; | |
3055 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3056 | bool arg2 ; | |
3057 | PyObject * obj0 = 0 ; | |
3058 | PyObject * obj1 = 0 ; | |
3059 | char *kwnames[] = { | |
3060 | (char *) "self",(char *) "show", NULL | |
3061 | }; | |
3062 | ||
3063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail; | |
3064 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3065 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
3066 | if (PyErr_Occurred()) SWIG_fail; | |
3067 | { | |
3068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3069 | (arg1)->SetCaretLineVisible(arg2); | |
3070 | ||
3071 | wxPyEndAllowThreads(__tstate); | |
3072 | if (PyErr_Occurred()) SWIG_fail; | |
3073 | } | |
3074 | Py_INCREF(Py_None); resultobj = Py_None; | |
3075 | return resultobj; | |
3076 | fail: | |
3077 | return NULL; | |
3078 | } | |
3079 | ||
3080 | ||
3081 | static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3082 | PyObject *resultobj; | |
3083 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3084 | wxColour result; | |
3085 | PyObject * obj0 = 0 ; | |
3086 | char *kwnames[] = { | |
3087 | (char *) "self", NULL | |
3088 | }; | |
3089 | ||
3090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail; | |
3091 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3092 | { | |
3093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3094 | result = (arg1)->GetCaretLineBack(); | |
3095 | ||
3096 | wxPyEndAllowThreads(__tstate); | |
3097 | if (PyErr_Occurred()) SWIG_fail; | |
3098 | } | |
3099 | { | |
3100 | wxColour * resultptr; | |
3101 | resultptr = new wxColour((wxColour &) result); | |
3102 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3103 | } | |
3104 | return resultobj; | |
3105 | fail: | |
3106 | return NULL; | |
3107 | } | |
3108 | ||
3109 | ||
3110 | static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3111 | PyObject *resultobj; | |
3112 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3113 | wxColour *arg2 = 0 ; | |
3114 | wxColour temp2 ; | |
3115 | PyObject * obj0 = 0 ; | |
3116 | PyObject * obj1 = 0 ; | |
3117 | char *kwnames[] = { | |
3118 | (char *) "self",(char *) "back", NULL | |
3119 | }; | |
3120 | ||
3121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail; | |
3122 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3123 | { | |
3124 | arg2 = &temp2; | |
3125 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
3126 | } | |
3127 | { | |
3128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3129 | (arg1)->SetCaretLineBack((wxColour const &)*arg2); | |
3130 | ||
3131 | wxPyEndAllowThreads(__tstate); | |
3132 | if (PyErr_Occurred()) SWIG_fail; | |
3133 | } | |
3134 | Py_INCREF(Py_None); resultobj = Py_None; | |
3135 | return resultobj; | |
3136 | fail: | |
3137 | return NULL; | |
3138 | } | |
3139 | ||
3140 | ||
3141 | static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3142 | PyObject *resultobj; | |
3143 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3144 | int arg2 ; | |
3145 | bool arg3 ; | |
3146 | PyObject * obj0 = 0 ; | |
3147 | PyObject * obj2 = 0 ; | |
3148 | char *kwnames[] = { | |
3149 | (char *) "self",(char *) "style",(char *) "changeable", NULL | |
3150 | }; | |
3151 | ||
3152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
3153 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3154 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
3155 | if (PyErr_Occurred()) SWIG_fail; | |
3156 | { | |
3157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3158 | (arg1)->StyleSetChangeable(arg2,arg3); | |
3159 | ||
3160 | wxPyEndAllowThreads(__tstate); | |
3161 | if (PyErr_Occurred()) SWIG_fail; | |
3162 | } | |
3163 | Py_INCREF(Py_None); resultobj = Py_None; | |
3164 | return resultobj; | |
3165 | fail: | |
3166 | return NULL; | |
3167 | } | |
3168 | ||
3169 | ||
3170 | static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3171 | PyObject *resultobj; | |
3172 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3173 | int arg2 ; | |
3174 | wxString *arg3 = 0 ; | |
e811c8ce | 3175 | bool temp3 = False ; |
d14a1e28 RD |
3176 | PyObject * obj0 = 0 ; |
3177 | PyObject * obj2 = 0 ; | |
3178 | char *kwnames[] = { | |
3179 | (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL | |
3180 | }; | |
3181 | ||
3182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
3183 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3184 | { | |
3185 | arg3 = wxString_in_helper(obj2); | |
3186 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 3187 | temp3 = True; |
d14a1e28 RD |
3188 | } |
3189 | { | |
3190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3191 | (arg1)->AutoCompShow(arg2,(wxString const &)*arg3); | |
3192 | ||
3193 | wxPyEndAllowThreads(__tstate); | |
3194 | if (PyErr_Occurred()) SWIG_fail; | |
3195 | } | |
3196 | Py_INCREF(Py_None); resultobj = Py_None; | |
3197 | { | |
3198 | if (temp3) | |
3199 | delete arg3; | |
3200 | } | |
3201 | return resultobj; | |
3202 | fail: | |
3203 | { | |
3204 | if (temp3) | |
3205 | delete arg3; | |
3206 | } | |
3207 | return NULL; | |
3208 | } | |
3209 | ||
3210 | ||
3211 | static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3212 | PyObject *resultobj; | |
3213 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3214 | PyObject * obj0 = 0 ; | |
3215 | char *kwnames[] = { | |
3216 | (char *) "self", NULL | |
3217 | }; | |
3218 | ||
3219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail; | |
3220 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3221 | { | |
3222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3223 | (arg1)->AutoCompCancel(); | |
3224 | ||
3225 | wxPyEndAllowThreads(__tstate); | |
3226 | if (PyErr_Occurred()) SWIG_fail; | |
3227 | } | |
3228 | Py_INCREF(Py_None); resultobj = Py_None; | |
3229 | return resultobj; | |
3230 | fail: | |
3231 | return NULL; | |
3232 | } | |
3233 | ||
3234 | ||
3235 | static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3236 | PyObject *resultobj; | |
3237 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3238 | bool result; | |
3239 | PyObject * obj0 = 0 ; | |
3240 | char *kwnames[] = { | |
3241 | (char *) "self", NULL | |
3242 | }; | |
3243 | ||
3244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail; | |
3245 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3246 | { | |
3247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3248 | result = (bool)(arg1)->AutoCompActive(); | |
3249 | ||
3250 | wxPyEndAllowThreads(__tstate); | |
3251 | if (PyErr_Occurred()) SWIG_fail; | |
3252 | } | |
3253 | resultobj = PyInt_FromLong((long)result); | |
3254 | return resultobj; | |
3255 | fail: | |
3256 | return NULL; | |
3257 | } | |
3258 | ||
3259 | ||
3260 | static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3261 | PyObject *resultobj; | |
3262 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3263 | int result; | |
3264 | PyObject * obj0 = 0 ; | |
3265 | char *kwnames[] = { | |
3266 | (char *) "self", NULL | |
3267 | }; | |
3268 | ||
3269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail; | |
3270 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3271 | { | |
3272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3273 | result = (int)(arg1)->AutoCompPosStart(); | |
3274 | ||
3275 | wxPyEndAllowThreads(__tstate); | |
3276 | if (PyErr_Occurred()) SWIG_fail; | |
3277 | } | |
3278 | resultobj = PyInt_FromLong((long)result); | |
3279 | return resultobj; | |
3280 | fail: | |
3281 | return NULL; | |
3282 | } | |
3283 | ||
3284 | ||
3285 | static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3286 | PyObject *resultobj; | |
3287 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3288 | PyObject * obj0 = 0 ; | |
3289 | char *kwnames[] = { | |
3290 | (char *) "self", NULL | |
3291 | }; | |
3292 | ||
3293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail; | |
3294 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3295 | { | |
3296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3297 | (arg1)->AutoCompComplete(); | |
3298 | ||
3299 | wxPyEndAllowThreads(__tstate); | |
3300 | if (PyErr_Occurred()) SWIG_fail; | |
3301 | } | |
3302 | Py_INCREF(Py_None); resultobj = Py_None; | |
3303 | return resultobj; | |
3304 | fail: | |
3305 | return NULL; | |
3306 | } | |
3307 | ||
3308 | ||
3309 | static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3310 | PyObject *resultobj; | |
3311 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3312 | wxString *arg2 = 0 ; | |
e811c8ce | 3313 | bool temp2 = False ; |
d14a1e28 RD |
3314 | PyObject * obj0 = 0 ; |
3315 | PyObject * obj1 = 0 ; | |
3316 | char *kwnames[] = { | |
3317 | (char *) "self",(char *) "characterSet", NULL | |
3318 | }; | |
3319 | ||
3320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail; | |
3321 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3322 | { | |
3323 | arg2 = wxString_in_helper(obj1); | |
3324 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3325 | temp2 = True; |
d14a1e28 RD |
3326 | } |
3327 | { | |
3328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3329 | (arg1)->AutoCompStops((wxString const &)*arg2); | |
3330 | ||
3331 | wxPyEndAllowThreads(__tstate); | |
3332 | if (PyErr_Occurred()) SWIG_fail; | |
3333 | } | |
3334 | Py_INCREF(Py_None); resultobj = Py_None; | |
3335 | { | |
3336 | if (temp2) | |
3337 | delete arg2; | |
3338 | } | |
3339 | return resultobj; | |
3340 | fail: | |
3341 | { | |
3342 | if (temp2) | |
3343 | delete arg2; | |
3344 | } | |
3345 | return NULL; | |
3346 | } | |
3347 | ||
3348 | ||
3349 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3350 | PyObject *resultobj; | |
3351 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3352 | int arg2 ; | |
3353 | PyObject * obj0 = 0 ; | |
3354 | char *kwnames[] = { | |
3355 | (char *) "self",(char *) "separatorCharacter", NULL | |
3356 | }; | |
3357 | ||
3358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&arg2)) goto fail; | |
3359 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3360 | { | |
3361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3362 | (arg1)->AutoCompSetSeparator(arg2); | |
3363 | ||
3364 | wxPyEndAllowThreads(__tstate); | |
3365 | if (PyErr_Occurred()) SWIG_fail; | |
3366 | } | |
3367 | Py_INCREF(Py_None); resultobj = Py_None; | |
3368 | return resultobj; | |
3369 | fail: | |
3370 | return NULL; | |
3371 | } | |
3372 | ||
3373 | ||
3374 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3375 | PyObject *resultobj; | |
3376 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3377 | int result; | |
3378 | PyObject * obj0 = 0 ; | |
3379 | char *kwnames[] = { | |
3380 | (char *) "self", NULL | |
3381 | }; | |
3382 | ||
3383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail; | |
3384 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3385 | { | |
3386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3387 | result = (int)(arg1)->AutoCompGetSeparator(); | |
3388 | ||
3389 | wxPyEndAllowThreads(__tstate); | |
3390 | if (PyErr_Occurred()) SWIG_fail; | |
3391 | } | |
3392 | resultobj = PyInt_FromLong((long)result); | |
3393 | return resultobj; | |
3394 | fail: | |
3395 | return NULL; | |
3396 | } | |
3397 | ||
3398 | ||
3399 | static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3400 | PyObject *resultobj; | |
3401 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3402 | wxString *arg2 = 0 ; | |
e811c8ce | 3403 | bool temp2 = False ; |
d14a1e28 RD |
3404 | PyObject * obj0 = 0 ; |
3405 | PyObject * obj1 = 0 ; | |
3406 | char *kwnames[] = { | |
3407 | (char *) "self",(char *) "text", NULL | |
3408 | }; | |
3409 | ||
3410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail; | |
3411 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3412 | { | |
3413 | arg2 = wxString_in_helper(obj1); | |
3414 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3415 | temp2 = True; |
d14a1e28 RD |
3416 | } |
3417 | { | |
3418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3419 | (arg1)->AutoCompSelect((wxString const &)*arg2); | |
3420 | ||
3421 | wxPyEndAllowThreads(__tstate); | |
3422 | if (PyErr_Occurred()) SWIG_fail; | |
3423 | } | |
3424 | Py_INCREF(Py_None); resultobj = Py_None; | |
3425 | { | |
3426 | if (temp2) | |
3427 | delete arg2; | |
3428 | } | |
3429 | return resultobj; | |
3430 | fail: | |
3431 | { | |
3432 | if (temp2) | |
3433 | delete arg2; | |
3434 | } | |
3435 | return NULL; | |
3436 | } | |
3437 | ||
3438 | ||
3439 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3440 | PyObject *resultobj; | |
3441 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3442 | bool arg2 ; | |
3443 | PyObject * obj0 = 0 ; | |
3444 | PyObject * obj1 = 0 ; | |
3445 | char *kwnames[] = { | |
3446 | (char *) "self",(char *) "cancel", NULL | |
3447 | }; | |
3448 | ||
3449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail; | |
3450 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3451 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
3452 | if (PyErr_Occurred()) SWIG_fail; | |
3453 | { | |
3454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3455 | (arg1)->AutoCompSetCancelAtStart(arg2); | |
3456 | ||
3457 | wxPyEndAllowThreads(__tstate); | |
3458 | if (PyErr_Occurred()) SWIG_fail; | |
3459 | } | |
3460 | Py_INCREF(Py_None); resultobj = Py_None; | |
3461 | return resultobj; | |
3462 | fail: | |
3463 | return NULL; | |
3464 | } | |
3465 | ||
3466 | ||
3467 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3468 | PyObject *resultobj; | |
3469 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3470 | bool result; | |
3471 | PyObject * obj0 = 0 ; | |
3472 | char *kwnames[] = { | |
3473 | (char *) "self", NULL | |
3474 | }; | |
3475 | ||
3476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail; | |
3477 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3478 | { | |
3479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3480 | result = (bool)(arg1)->AutoCompGetCancelAtStart(); | |
3481 | ||
3482 | wxPyEndAllowThreads(__tstate); | |
3483 | if (PyErr_Occurred()) SWIG_fail; | |
3484 | } | |
3485 | resultobj = PyInt_FromLong((long)result); | |
3486 | return resultobj; | |
3487 | fail: | |
3488 | return NULL; | |
3489 | } | |
3490 | ||
3491 | ||
3492 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3493 | PyObject *resultobj; | |
3494 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3495 | wxString *arg2 = 0 ; | |
e811c8ce | 3496 | bool temp2 = False ; |
d14a1e28 RD |
3497 | PyObject * obj0 = 0 ; |
3498 | PyObject * obj1 = 0 ; | |
3499 | char *kwnames[] = { | |
3500 | (char *) "self",(char *) "characterSet", NULL | |
3501 | }; | |
3502 | ||
3503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail; | |
3504 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3505 | { | |
3506 | arg2 = wxString_in_helper(obj1); | |
3507 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 3508 | temp2 = True; |
d14a1e28 RD |
3509 | } |
3510 | { | |
3511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3512 | (arg1)->AutoCompSetFillUps((wxString const &)*arg2); | |
3513 | ||
3514 | wxPyEndAllowThreads(__tstate); | |
3515 | if (PyErr_Occurred()) SWIG_fail; | |
3516 | } | |
3517 | Py_INCREF(Py_None); resultobj = Py_None; | |
3518 | { | |
3519 | if (temp2) | |
3520 | delete arg2; | |
3521 | } | |
3522 | return resultobj; | |
3523 | fail: | |
3524 | { | |
3525 | if (temp2) | |
3526 | delete arg2; | |
3527 | } | |
3528 | return NULL; | |
3529 | } | |
3530 | ||
3531 | ||
3532 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3533 | PyObject *resultobj; | |
3534 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3535 | bool arg2 ; | |
3536 | PyObject * obj0 = 0 ; | |
3537 | PyObject * obj1 = 0 ; | |
3538 | char *kwnames[] = { | |
3539 | (char *) "self",(char *) "chooseSingle", NULL | |
3540 | }; | |
3541 | ||
3542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail; | |
3543 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3544 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
3545 | if (PyErr_Occurred()) SWIG_fail; | |
3546 | { | |
3547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3548 | (arg1)->AutoCompSetChooseSingle(arg2); | |
3549 | ||
3550 | wxPyEndAllowThreads(__tstate); | |
3551 | if (PyErr_Occurred()) SWIG_fail; | |
3552 | } | |
3553 | Py_INCREF(Py_None); resultobj = Py_None; | |
3554 | return resultobj; | |
3555 | fail: | |
3556 | return NULL; | |
3557 | } | |
3558 | ||
3559 | ||
3560 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3561 | PyObject *resultobj; | |
3562 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3563 | bool result; | |
3564 | PyObject * obj0 = 0 ; | |
3565 | char *kwnames[] = { | |
3566 | (char *) "self", NULL | |
3567 | }; | |
3568 | ||
3569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail; | |
3570 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3571 | { | |
3572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3573 | result = (bool)(arg1)->AutoCompGetChooseSingle(); | |
3574 | ||
3575 | wxPyEndAllowThreads(__tstate); | |
3576 | if (PyErr_Occurred()) SWIG_fail; | |
3577 | } | |
3578 | resultobj = PyInt_FromLong((long)result); | |
3579 | return resultobj; | |
3580 | fail: | |
3581 | return NULL; | |
3582 | } | |
3583 | ||
3584 | ||
3585 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3586 | PyObject *resultobj; | |
3587 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3588 | bool arg2 ; | |
3589 | PyObject * obj0 = 0 ; | |
3590 | PyObject * obj1 = 0 ; | |
3591 | char *kwnames[] = { | |
3592 | (char *) "self",(char *) "ignoreCase", NULL | |
3593 | }; | |
3594 | ||
3595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail; | |
3596 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3597 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
3598 | if (PyErr_Occurred()) SWIG_fail; | |
3599 | { | |
3600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3601 | (arg1)->AutoCompSetIgnoreCase(arg2); | |
3602 | ||
3603 | wxPyEndAllowThreads(__tstate); | |
3604 | if (PyErr_Occurred()) SWIG_fail; | |
3605 | } | |
3606 | Py_INCREF(Py_None); resultobj = Py_None; | |
3607 | return resultobj; | |
3608 | fail: | |
3609 | return NULL; | |
3610 | } | |
3611 | ||
3612 | ||
3613 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3614 | PyObject *resultobj; | |
3615 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3616 | bool result; | |
3617 | PyObject * obj0 = 0 ; | |
3618 | char *kwnames[] = { | |
3619 | (char *) "self", NULL | |
3620 | }; | |
3621 | ||
3622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail; | |
3623 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3624 | { | |
3625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3626 | result = (bool)(arg1)->AutoCompGetIgnoreCase(); | |
3627 | ||
3628 | wxPyEndAllowThreads(__tstate); | |
3629 | if (PyErr_Occurred()) SWIG_fail; | |
3630 | } | |
3631 | resultobj = PyInt_FromLong((long)result); | |
3632 | return resultobj; | |
3633 | fail: | |
3634 | return NULL; | |
3635 | } | |
3636 | ||
3637 | ||
3638 | static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3639 | PyObject *resultobj; | |
3640 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3641 | int arg2 ; | |
3642 | wxString *arg3 = 0 ; | |
e811c8ce | 3643 | bool temp3 = False ; |
d14a1e28 RD |
3644 | PyObject * obj0 = 0 ; |
3645 | PyObject * obj2 = 0 ; | |
3646 | char *kwnames[] = { | |
3647 | (char *) "self",(char *) "listType",(char *) "itemList", NULL | |
3648 | }; | |
3649 | ||
3650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_UserListShow",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
3651 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3652 | { | |
3653 | arg3 = wxString_in_helper(obj2); | |
3654 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 3655 | temp3 = True; |
d14a1e28 RD |
3656 | } |
3657 | { | |
3658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3659 | (arg1)->UserListShow(arg2,(wxString const &)*arg3); | |
3660 | ||
3661 | wxPyEndAllowThreads(__tstate); | |
3662 | if (PyErr_Occurred()) SWIG_fail; | |
3663 | } | |
3664 | Py_INCREF(Py_None); resultobj = Py_None; | |
3665 | { | |
3666 | if (temp3) | |
3667 | delete arg3; | |
3668 | } | |
3669 | return resultobj; | |
3670 | fail: | |
3671 | { | |
3672 | if (temp3) | |
3673 | delete arg3; | |
3674 | } | |
3675 | return NULL; | |
3676 | } | |
3677 | ||
3678 | ||
3679 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3680 | PyObject *resultobj; | |
3681 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3682 | bool arg2 ; | |
3683 | PyObject * obj0 = 0 ; | |
3684 | PyObject * obj1 = 0 ; | |
3685 | char *kwnames[] = { | |
3686 | (char *) "self",(char *) "autoHide", NULL | |
3687 | }; | |
3688 | ||
3689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail; | |
3690 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3691 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
3692 | if (PyErr_Occurred()) SWIG_fail; | |
3693 | { | |
3694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3695 | (arg1)->AutoCompSetAutoHide(arg2); | |
3696 | ||
3697 | wxPyEndAllowThreads(__tstate); | |
3698 | if (PyErr_Occurred()) SWIG_fail; | |
3699 | } | |
3700 | Py_INCREF(Py_None); resultobj = Py_None; | |
3701 | return resultobj; | |
3702 | fail: | |
3703 | return NULL; | |
3704 | } | |
3705 | ||
3706 | ||
3707 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3708 | PyObject *resultobj; | |
3709 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3710 | bool result; | |
3711 | PyObject * obj0 = 0 ; | |
3712 | char *kwnames[] = { | |
3713 | (char *) "self", NULL | |
3714 | }; | |
3715 | ||
3716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail; | |
3717 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3718 | { | |
3719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3720 | result = (bool)(arg1)->AutoCompGetAutoHide(); | |
3721 | ||
3722 | wxPyEndAllowThreads(__tstate); | |
3723 | if (PyErr_Occurred()) SWIG_fail; | |
3724 | } | |
3725 | resultobj = PyInt_FromLong((long)result); | |
3726 | return resultobj; | |
3727 | fail: | |
3728 | return NULL; | |
3729 | } | |
3730 | ||
3731 | ||
3732 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3733 | PyObject *resultobj; | |
3734 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3735 | bool arg2 ; | |
3736 | PyObject * obj0 = 0 ; | |
3737 | PyObject * obj1 = 0 ; | |
3738 | char *kwnames[] = { | |
3739 | (char *) "self",(char *) "dropRestOfWord", NULL | |
3740 | }; | |
3741 | ||
3742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail; | |
3743 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3744 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
3745 | if (PyErr_Occurred()) SWIG_fail; | |
3746 | { | |
3747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3748 | (arg1)->AutoCompSetDropRestOfWord(arg2); | |
3749 | ||
3750 | wxPyEndAllowThreads(__tstate); | |
3751 | if (PyErr_Occurred()) SWIG_fail; | |
3752 | } | |
3753 | Py_INCREF(Py_None); resultobj = Py_None; | |
3754 | return resultobj; | |
3755 | fail: | |
3756 | return NULL; | |
3757 | } | |
3758 | ||
3759 | ||
3760 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3761 | PyObject *resultobj; | |
3762 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3763 | bool result; | |
3764 | PyObject * obj0 = 0 ; | |
3765 | char *kwnames[] = { | |
3766 | (char *) "self", NULL | |
3767 | }; | |
3768 | ||
3769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail; | |
3770 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3771 | { | |
3772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3773 | result = (bool)(arg1)->AutoCompGetDropRestOfWord(); | |
3774 | ||
3775 | wxPyEndAllowThreads(__tstate); | |
3776 | if (PyErr_Occurred()) SWIG_fail; | |
3777 | } | |
3778 | resultobj = PyInt_FromLong((long)result); | |
3779 | return resultobj; | |
3780 | fail: | |
3781 | return NULL; | |
3782 | } | |
3783 | ||
3784 | ||
3785 | static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3786 | PyObject *resultobj; | |
3787 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3788 | int arg2 ; | |
3789 | wxBitmap *arg3 = 0 ; | |
3790 | PyObject * obj0 = 0 ; | |
3791 | PyObject * obj2 = 0 ; | |
3792 | char *kwnames[] = { | |
3793 | (char *) "self",(char *) "type",(char *) "bmp", NULL | |
3794 | }; | |
3795 | ||
3796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
3797 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3798 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3799 | if (arg3 == NULL) { | |
3800 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3801 | } | |
3802 | { | |
3803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3804 | (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3); | |
3805 | ||
3806 | wxPyEndAllowThreads(__tstate); | |
3807 | if (PyErr_Occurred()) SWIG_fail; | |
3808 | } | |
3809 | Py_INCREF(Py_None); resultobj = Py_None; | |
3810 | return resultobj; | |
3811 | fail: | |
3812 | return NULL; | |
3813 | } | |
3814 | ||
3815 | ||
3816 | static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3817 | PyObject *resultobj; | |
3818 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3819 | PyObject * obj0 = 0 ; | |
3820 | char *kwnames[] = { | |
3821 | (char *) "self", NULL | |
3822 | }; | |
3823 | ||
3824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail; | |
3825 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3826 | { | |
3827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3828 | (arg1)->ClearRegisteredImages(); | |
3829 | ||
3830 | wxPyEndAllowThreads(__tstate); | |
3831 | if (PyErr_Occurred()) SWIG_fail; | |
3832 | } | |
3833 | Py_INCREF(Py_None); resultobj = Py_None; | |
3834 | return resultobj; | |
3835 | fail: | |
3836 | return NULL; | |
3837 | } | |
3838 | ||
3839 | ||
3840 | static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3841 | PyObject *resultobj; | |
3842 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3843 | int result; | |
3844 | PyObject * obj0 = 0 ; | |
3845 | char *kwnames[] = { | |
3846 | (char *) "self", NULL | |
3847 | }; | |
3848 | ||
3849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail; | |
3850 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3851 | { | |
3852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3853 | result = (int)(arg1)->AutoCompGetTypeSeparator(); | |
3854 | ||
3855 | wxPyEndAllowThreads(__tstate); | |
3856 | if (PyErr_Occurred()) SWIG_fail; | |
3857 | } | |
3858 | resultobj = PyInt_FromLong((long)result); | |
3859 | return resultobj; | |
3860 | fail: | |
3861 | return NULL; | |
3862 | } | |
3863 | ||
3864 | ||
3865 | static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3866 | PyObject *resultobj; | |
3867 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3868 | int arg2 ; | |
3869 | PyObject * obj0 = 0 ; | |
3870 | char *kwnames[] = { | |
3871 | (char *) "self",(char *) "separatorCharacter", NULL | |
3872 | }; | |
3873 | ||
3874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&arg2)) goto fail; | |
3875 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3876 | { | |
3877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3878 | (arg1)->AutoCompSetTypeSeparator(arg2); | |
3879 | ||
3880 | wxPyEndAllowThreads(__tstate); | |
3881 | if (PyErr_Occurred()) SWIG_fail; | |
3882 | } | |
3883 | Py_INCREF(Py_None); resultobj = Py_None; | |
3884 | return resultobj; | |
3885 | fail: | |
3886 | return NULL; | |
3887 | } | |
3888 | ||
3889 | ||
3890 | static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3891 | PyObject *resultobj; | |
3892 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3893 | int arg2 ; | |
3894 | PyObject * obj0 = 0 ; | |
3895 | char *kwnames[] = { | |
3896 | (char *) "self",(char *) "indentSize", NULL | |
3897 | }; | |
3898 | ||
3899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetIndent",kwnames,&obj0,&arg2)) goto fail; | |
3900 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3901 | { | |
3902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3903 | (arg1)->SetIndent(arg2); | |
3904 | ||
3905 | wxPyEndAllowThreads(__tstate); | |
3906 | if (PyErr_Occurred()) SWIG_fail; | |
3907 | } | |
3908 | Py_INCREF(Py_None); resultobj = Py_None; | |
3909 | return resultobj; | |
3910 | fail: | |
3911 | return NULL; | |
3912 | } | |
3913 | ||
3914 | ||
3915 | static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3916 | PyObject *resultobj; | |
3917 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3918 | int result; | |
3919 | PyObject * obj0 = 0 ; | |
3920 | char *kwnames[] = { | |
3921 | (char *) "self", NULL | |
3922 | }; | |
3923 | ||
3924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail; | |
3925 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3926 | { | |
3927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3928 | result = (int)(arg1)->GetIndent(); | |
3929 | ||
3930 | wxPyEndAllowThreads(__tstate); | |
3931 | if (PyErr_Occurred()) SWIG_fail; | |
3932 | } | |
3933 | resultobj = PyInt_FromLong((long)result); | |
3934 | return resultobj; | |
3935 | fail: | |
3936 | return NULL; | |
3937 | } | |
3938 | ||
3939 | ||
3940 | static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3941 | PyObject *resultobj; | |
3942 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3943 | bool arg2 ; | |
3944 | PyObject * obj0 = 0 ; | |
3945 | PyObject * obj1 = 0 ; | |
3946 | char *kwnames[] = { | |
3947 | (char *) "self",(char *) "useTabs", NULL | |
3948 | }; | |
3949 | ||
3950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail; | |
3951 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3952 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
3953 | if (PyErr_Occurred()) SWIG_fail; | |
3954 | { | |
3955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3956 | (arg1)->SetUseTabs(arg2); | |
3957 | ||
3958 | wxPyEndAllowThreads(__tstate); | |
3959 | if (PyErr_Occurred()) SWIG_fail; | |
3960 | } | |
3961 | Py_INCREF(Py_None); resultobj = Py_None; | |
3962 | return resultobj; | |
3963 | fail: | |
3964 | return NULL; | |
3965 | } | |
3966 | ||
3967 | ||
3968 | static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3969 | PyObject *resultobj; | |
3970 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3971 | bool result; | |
3972 | PyObject * obj0 = 0 ; | |
3973 | char *kwnames[] = { | |
3974 | (char *) "self", NULL | |
3975 | }; | |
3976 | ||
3977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail; | |
3978 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3979 | { | |
3980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3981 | result = (bool)(arg1)->GetUseTabs(); | |
3982 | ||
3983 | wxPyEndAllowThreads(__tstate); | |
3984 | if (PyErr_Occurred()) SWIG_fail; | |
3985 | } | |
3986 | resultobj = PyInt_FromLong((long)result); | |
3987 | return resultobj; | |
3988 | fail: | |
3989 | return NULL; | |
3990 | } | |
3991 | ||
3992 | ||
3993 | static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3994 | PyObject *resultobj; | |
3995 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
3996 | int arg2 ; | |
3997 | int arg3 ; | |
3998 | PyObject * obj0 = 0 ; | |
3999 | char *kwnames[] = { | |
4000 | (char *) "self",(char *) "line",(char *) "indentSize", NULL | |
4001 | }; | |
4002 | ||
4003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
4004 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4005 | { | |
4006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4007 | (arg1)->SetLineIndentation(arg2,arg3); | |
4008 | ||
4009 | wxPyEndAllowThreads(__tstate); | |
4010 | if (PyErr_Occurred()) SWIG_fail; | |
4011 | } | |
4012 | Py_INCREF(Py_None); resultobj = Py_None; | |
4013 | return resultobj; | |
4014 | fail: | |
4015 | return NULL; | |
4016 | } | |
4017 | ||
4018 | ||
4019 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4020 | PyObject *resultobj; | |
4021 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4022 | int arg2 ; | |
4023 | int result; | |
4024 | PyObject * obj0 = 0 ; | |
4025 | char *kwnames[] = { | |
4026 | (char *) "self",(char *) "line", NULL | |
4027 | }; | |
4028 | ||
4029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&arg2)) goto fail; | |
4030 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4031 | { | |
4032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4033 | result = (int)(arg1)->GetLineIndentation(arg2); | |
4034 | ||
4035 | wxPyEndAllowThreads(__tstate); | |
4036 | if (PyErr_Occurred()) SWIG_fail; | |
4037 | } | |
4038 | resultobj = PyInt_FromLong((long)result); | |
4039 | return resultobj; | |
4040 | fail: | |
4041 | return NULL; | |
4042 | } | |
4043 | ||
4044 | ||
4045 | static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4046 | PyObject *resultobj; | |
4047 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4048 | int arg2 ; | |
4049 | int result; | |
4050 | PyObject * obj0 = 0 ; | |
4051 | char *kwnames[] = { | |
4052 | (char *) "self",(char *) "line", NULL | |
4053 | }; | |
4054 | ||
4055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&arg2)) goto fail; | |
4056 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4057 | { | |
4058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4059 | result = (int)(arg1)->GetLineIndentPosition(arg2); | |
4060 | ||
4061 | wxPyEndAllowThreads(__tstate); | |
4062 | if (PyErr_Occurred()) SWIG_fail; | |
4063 | } | |
4064 | resultobj = PyInt_FromLong((long)result); | |
4065 | return resultobj; | |
4066 | fail: | |
4067 | return NULL; | |
4068 | } | |
4069 | ||
4070 | ||
4071 | static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4072 | PyObject *resultobj; | |
4073 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4074 | int arg2 ; | |
4075 | int result; | |
4076 | PyObject * obj0 = 0 ; | |
4077 | char *kwnames[] = { | |
4078 | (char *) "self",(char *) "pos", NULL | |
4079 | }; | |
4080 | ||
4081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail; | |
4082 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4083 | { | |
4084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4085 | result = (int)(arg1)->GetColumn(arg2); | |
4086 | ||
4087 | wxPyEndAllowThreads(__tstate); | |
4088 | if (PyErr_Occurred()) SWIG_fail; | |
4089 | } | |
4090 | resultobj = PyInt_FromLong((long)result); | |
4091 | return resultobj; | |
4092 | fail: | |
4093 | return NULL; | |
4094 | } | |
4095 | ||
4096 | ||
4097 | static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4098 | PyObject *resultobj; | |
4099 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4100 | bool arg2 ; | |
4101 | PyObject * obj0 = 0 ; | |
4102 | PyObject * obj1 = 0 ; | |
4103 | char *kwnames[] = { | |
4104 | (char *) "self",(char *) "show", NULL | |
4105 | }; | |
4106 | ||
4107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
4108 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4109 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
4110 | if (PyErr_Occurred()) SWIG_fail; | |
4111 | { | |
4112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4113 | (arg1)->SetUseHorizontalScrollBar(arg2); | |
4114 | ||
4115 | wxPyEndAllowThreads(__tstate); | |
4116 | if (PyErr_Occurred()) SWIG_fail; | |
4117 | } | |
4118 | Py_INCREF(Py_None); resultobj = Py_None; | |
4119 | return resultobj; | |
4120 | fail: | |
4121 | return NULL; | |
4122 | } | |
4123 | ||
4124 | ||
4125 | static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4126 | PyObject *resultobj; | |
4127 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4128 | bool result; | |
4129 | PyObject * obj0 = 0 ; | |
4130 | char *kwnames[] = { | |
4131 | (char *) "self", NULL | |
4132 | }; | |
4133 | ||
4134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail; | |
4135 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4136 | { | |
4137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4138 | result = (bool)(arg1)->GetUseHorizontalScrollBar(); | |
4139 | ||
4140 | wxPyEndAllowThreads(__tstate); | |
4141 | if (PyErr_Occurred()) SWIG_fail; | |
4142 | } | |
4143 | resultobj = PyInt_FromLong((long)result); | |
4144 | return resultobj; | |
4145 | fail: | |
4146 | return NULL; | |
4147 | } | |
4148 | ||
4149 | ||
4150 | static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4151 | PyObject *resultobj; | |
4152 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4153 | bool arg2 ; | |
4154 | PyObject * obj0 = 0 ; | |
4155 | PyObject * obj1 = 0 ; | |
4156 | char *kwnames[] = { | |
4157 | (char *) "self",(char *) "show", NULL | |
4158 | }; | |
4159 | ||
4160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail; | |
4161 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4162 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
4163 | if (PyErr_Occurred()) SWIG_fail; | |
4164 | { | |
4165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4166 | (arg1)->SetIndentationGuides(arg2); | |
4167 | ||
4168 | wxPyEndAllowThreads(__tstate); | |
4169 | if (PyErr_Occurred()) SWIG_fail; | |
4170 | } | |
4171 | Py_INCREF(Py_None); resultobj = Py_None; | |
4172 | return resultobj; | |
4173 | fail: | |
4174 | return NULL; | |
4175 | } | |
4176 | ||
4177 | ||
4178 | static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4179 | PyObject *resultobj; | |
4180 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4181 | bool result; | |
4182 | PyObject * obj0 = 0 ; | |
4183 | char *kwnames[] = { | |
4184 | (char *) "self", NULL | |
4185 | }; | |
4186 | ||
4187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail; | |
4188 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4189 | { | |
4190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4191 | result = (bool)(arg1)->GetIndentationGuides(); | |
4192 | ||
4193 | wxPyEndAllowThreads(__tstate); | |
4194 | if (PyErr_Occurred()) SWIG_fail; | |
4195 | } | |
4196 | resultobj = PyInt_FromLong((long)result); | |
4197 | return resultobj; | |
4198 | fail: | |
4199 | return NULL; | |
4200 | } | |
4201 | ||
4202 | ||
4203 | static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4204 | PyObject *resultobj; | |
4205 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4206 | int arg2 ; | |
4207 | PyObject * obj0 = 0 ; | |
4208 | char *kwnames[] = { | |
4209 | (char *) "self",(char *) "column", NULL | |
4210 | }; | |
4211 | ||
4212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&arg2)) goto fail; | |
4213 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4214 | { | |
4215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4216 | (arg1)->SetHighlightGuide(arg2); | |
4217 | ||
4218 | wxPyEndAllowThreads(__tstate); | |
4219 | if (PyErr_Occurred()) SWIG_fail; | |
4220 | } | |
4221 | Py_INCREF(Py_None); resultobj = Py_None; | |
4222 | return resultobj; | |
4223 | fail: | |
4224 | return NULL; | |
4225 | } | |
4226 | ||
4227 | ||
4228 | static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4229 | PyObject *resultobj; | |
4230 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4231 | int result; | |
4232 | PyObject * obj0 = 0 ; | |
4233 | char *kwnames[] = { | |
4234 | (char *) "self", NULL | |
4235 | }; | |
4236 | ||
4237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail; | |
4238 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4239 | { | |
4240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4241 | result = (int)(arg1)->GetHighlightGuide(); | |
4242 | ||
4243 | wxPyEndAllowThreads(__tstate); | |
4244 | if (PyErr_Occurred()) SWIG_fail; | |
4245 | } | |
4246 | resultobj = PyInt_FromLong((long)result); | |
4247 | return resultobj; | |
4248 | fail: | |
4249 | return NULL; | |
4250 | } | |
4251 | ||
4252 | ||
4253 | static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4254 | PyObject *resultobj; | |
4255 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4256 | int arg2 ; | |
4257 | int result; | |
4258 | PyObject * obj0 = 0 ; | |
4259 | char *kwnames[] = { | |
4260 | (char *) "self",(char *) "line", NULL | |
4261 | }; | |
4262 | ||
4263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&arg2)) goto fail; | |
4264 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4265 | { | |
4266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4267 | result = (int)(arg1)->GetLineEndPosition(arg2); | |
4268 | ||
4269 | wxPyEndAllowThreads(__tstate); | |
4270 | if (PyErr_Occurred()) SWIG_fail; | |
4271 | } | |
4272 | resultobj = PyInt_FromLong((long)result); | |
4273 | return resultobj; | |
4274 | fail: | |
4275 | return NULL; | |
4276 | } | |
4277 | ||
4278 | ||
4279 | static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4280 | PyObject *resultobj; | |
4281 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4282 | int result; | |
4283 | PyObject * obj0 = 0 ; | |
4284 | char *kwnames[] = { | |
4285 | (char *) "self", NULL | |
4286 | }; | |
4287 | ||
4288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail; | |
4289 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4290 | { | |
4291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4292 | result = (int)(arg1)->GetCodePage(); | |
4293 | ||
4294 | wxPyEndAllowThreads(__tstate); | |
4295 | if (PyErr_Occurred()) SWIG_fail; | |
4296 | } | |
4297 | resultobj = PyInt_FromLong((long)result); | |
4298 | return resultobj; | |
4299 | fail: | |
4300 | return NULL; | |
4301 | } | |
4302 | ||
4303 | ||
4304 | static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4305 | PyObject *resultobj; | |
4306 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4307 | wxColour result; | |
4308 | PyObject * obj0 = 0 ; | |
4309 | char *kwnames[] = { | |
4310 | (char *) "self", NULL | |
4311 | }; | |
4312 | ||
4313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail; | |
4314 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4315 | { | |
4316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4317 | result = (arg1)->GetCaretForeground(); | |
4318 | ||
4319 | wxPyEndAllowThreads(__tstate); | |
4320 | if (PyErr_Occurred()) SWIG_fail; | |
4321 | } | |
4322 | { | |
4323 | wxColour * resultptr; | |
4324 | resultptr = new wxColour((wxColour &) result); | |
4325 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
4326 | } | |
4327 | return resultobj; | |
4328 | fail: | |
4329 | return NULL; | |
4330 | } | |
4331 | ||
4332 | ||
4333 | static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4334 | PyObject *resultobj; | |
4335 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4336 | bool result; | |
4337 | PyObject * obj0 = 0 ; | |
4338 | char *kwnames[] = { | |
4339 | (char *) "self", NULL | |
4340 | }; | |
4341 | ||
4342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail; | |
4343 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4344 | { | |
4345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4346 | result = (bool)(arg1)->GetReadOnly(); | |
4347 | ||
4348 | wxPyEndAllowThreads(__tstate); | |
4349 | if (PyErr_Occurred()) SWIG_fail; | |
4350 | } | |
4351 | resultobj = PyInt_FromLong((long)result); | |
4352 | return resultobj; | |
4353 | fail: | |
4354 | return NULL; | |
4355 | } | |
4356 | ||
4357 | ||
4358 | static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4359 | PyObject *resultobj; | |
4360 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4361 | int arg2 ; | |
4362 | PyObject * obj0 = 0 ; | |
4363 | char *kwnames[] = { | |
4364 | (char *) "self",(char *) "pos", NULL | |
4365 | }; | |
4366 | ||
4367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&arg2)) goto fail; | |
4368 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4369 | { | |
4370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4371 | (arg1)->SetCurrentPos(arg2); | |
4372 | ||
4373 | wxPyEndAllowThreads(__tstate); | |
4374 | if (PyErr_Occurred()) SWIG_fail; | |
4375 | } | |
4376 | Py_INCREF(Py_None); resultobj = Py_None; | |
4377 | return resultobj; | |
4378 | fail: | |
4379 | return NULL; | |
4380 | } | |
4381 | ||
4382 | ||
4383 | static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4384 | PyObject *resultobj; | |
4385 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4386 | int arg2 ; | |
4387 | PyObject * obj0 = 0 ; | |
4388 | char *kwnames[] = { | |
4389 | (char *) "self",(char *) "pos", NULL | |
4390 | }; | |
4391 | ||
4392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&arg2)) goto fail; | |
4393 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4394 | { | |
4395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4396 | (arg1)->SetSelectionStart(arg2); | |
4397 | ||
4398 | wxPyEndAllowThreads(__tstate); | |
4399 | if (PyErr_Occurred()) SWIG_fail; | |
4400 | } | |
4401 | Py_INCREF(Py_None); resultobj = Py_None; | |
4402 | return resultobj; | |
4403 | fail: | |
4404 | return NULL; | |
4405 | } | |
4406 | ||
4407 | ||
4408 | static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4409 | PyObject *resultobj; | |
4410 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4411 | int result; | |
4412 | PyObject * obj0 = 0 ; | |
4413 | char *kwnames[] = { | |
4414 | (char *) "self", NULL | |
4415 | }; | |
4416 | ||
4417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail; | |
4418 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4419 | { | |
4420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4421 | result = (int)(arg1)->GetSelectionStart(); | |
4422 | ||
4423 | wxPyEndAllowThreads(__tstate); | |
4424 | if (PyErr_Occurred()) SWIG_fail; | |
4425 | } | |
4426 | resultobj = PyInt_FromLong((long)result); | |
4427 | return resultobj; | |
4428 | fail: | |
4429 | return NULL; | |
4430 | } | |
4431 | ||
4432 | ||
4433 | static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4434 | PyObject *resultobj; | |
4435 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4436 | int arg2 ; | |
4437 | PyObject * obj0 = 0 ; | |
4438 | char *kwnames[] = { | |
4439 | (char *) "self",(char *) "pos", NULL | |
4440 | }; | |
4441 | ||
4442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&arg2)) goto fail; | |
4443 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4444 | { | |
4445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4446 | (arg1)->SetSelectionEnd(arg2); | |
4447 | ||
4448 | wxPyEndAllowThreads(__tstate); | |
4449 | if (PyErr_Occurred()) SWIG_fail; | |
4450 | } | |
4451 | Py_INCREF(Py_None); resultobj = Py_None; | |
4452 | return resultobj; | |
4453 | fail: | |
4454 | return NULL; | |
4455 | } | |
4456 | ||
4457 | ||
4458 | static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4459 | PyObject *resultobj; | |
4460 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4461 | int result; | |
4462 | PyObject * obj0 = 0 ; | |
4463 | char *kwnames[] = { | |
4464 | (char *) "self", NULL | |
4465 | }; | |
4466 | ||
4467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail; | |
4468 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4469 | { | |
4470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4471 | result = (int)(arg1)->GetSelectionEnd(); | |
4472 | ||
4473 | wxPyEndAllowThreads(__tstate); | |
4474 | if (PyErr_Occurred()) SWIG_fail; | |
4475 | } | |
4476 | resultobj = PyInt_FromLong((long)result); | |
4477 | return resultobj; | |
4478 | fail: | |
4479 | return NULL; | |
4480 | } | |
4481 | ||
4482 | ||
4483 | static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4484 | PyObject *resultobj; | |
4485 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4486 | int arg2 ; | |
4487 | PyObject * obj0 = 0 ; | |
4488 | char *kwnames[] = { | |
4489 | (char *) "self",(char *) "magnification", NULL | |
4490 | }; | |
4491 | ||
4492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&arg2)) goto fail; | |
4493 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4494 | { | |
4495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4496 | (arg1)->SetPrintMagnification(arg2); | |
4497 | ||
4498 | wxPyEndAllowThreads(__tstate); | |
4499 | if (PyErr_Occurred()) SWIG_fail; | |
4500 | } | |
4501 | Py_INCREF(Py_None); resultobj = Py_None; | |
4502 | return resultobj; | |
4503 | fail: | |
4504 | return NULL; | |
4505 | } | |
4506 | ||
4507 | ||
4508 | static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4509 | PyObject *resultobj; | |
4510 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4511 | int result; | |
4512 | PyObject * obj0 = 0 ; | |
4513 | char *kwnames[] = { | |
4514 | (char *) "self", NULL | |
4515 | }; | |
4516 | ||
4517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail; | |
4518 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4519 | { | |
4520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4521 | result = (int)(arg1)->GetPrintMagnification(); | |
4522 | ||
4523 | wxPyEndAllowThreads(__tstate); | |
4524 | if (PyErr_Occurred()) SWIG_fail; | |
4525 | } | |
4526 | resultobj = PyInt_FromLong((long)result); | |
4527 | return resultobj; | |
4528 | fail: | |
4529 | return NULL; | |
4530 | } | |
4531 | ||
4532 | ||
4533 | static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4534 | PyObject *resultobj; | |
4535 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4536 | int arg2 ; | |
4537 | PyObject * obj0 = 0 ; | |
4538 | char *kwnames[] = { | |
4539 | (char *) "self",(char *) "mode", NULL | |
4540 | }; | |
4541 | ||
4542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&arg2)) goto fail; | |
4543 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4544 | { | |
4545 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4546 | (arg1)->SetPrintColourMode(arg2); | |
4547 | ||
4548 | wxPyEndAllowThreads(__tstate); | |
4549 | if (PyErr_Occurred()) SWIG_fail; | |
4550 | } | |
4551 | Py_INCREF(Py_None); resultobj = Py_None; | |
4552 | return resultobj; | |
4553 | fail: | |
4554 | return NULL; | |
4555 | } | |
4556 | ||
4557 | ||
4558 | static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4559 | PyObject *resultobj; | |
4560 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4561 | int result; | |
4562 | PyObject * obj0 = 0 ; | |
4563 | char *kwnames[] = { | |
4564 | (char *) "self", NULL | |
4565 | }; | |
4566 | ||
4567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail; | |
4568 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4569 | { | |
4570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4571 | result = (int)(arg1)->GetPrintColourMode(); | |
4572 | ||
4573 | wxPyEndAllowThreads(__tstate); | |
4574 | if (PyErr_Occurred()) SWIG_fail; | |
4575 | } | |
4576 | resultobj = PyInt_FromLong((long)result); | |
4577 | return resultobj; | |
4578 | fail: | |
4579 | return NULL; | |
4580 | } | |
4581 | ||
4582 | ||
4583 | static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4584 | PyObject *resultobj; | |
4585 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4586 | int arg2 ; | |
4587 | int arg3 ; | |
4588 | wxString *arg4 = 0 ; | |
4589 | int arg5 = (int) 0 ; | |
4590 | int result; | |
e811c8ce | 4591 | bool temp4 = False ; |
d14a1e28 RD |
4592 | PyObject * obj0 = 0 ; |
4593 | PyObject * obj3 = 0 ; | |
4594 | char *kwnames[] = { | |
4595 | (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL | |
4596 | }; | |
4597 | ||
4598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO|i:StyledTextCtrl_FindText",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail; | |
4599 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4600 | { | |
4601 | arg4 = wxString_in_helper(obj3); | |
4602 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4603 | temp4 = True; |
d14a1e28 RD |
4604 | } |
4605 | { | |
4606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4607 | result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5); | |
4608 | ||
4609 | wxPyEndAllowThreads(__tstate); | |
4610 | if (PyErr_Occurred()) SWIG_fail; | |
4611 | } | |
4612 | resultobj = PyInt_FromLong((long)result); | |
4613 | { | |
4614 | if (temp4) | |
4615 | delete arg4; | |
4616 | } | |
4617 | return resultobj; | |
4618 | fail: | |
4619 | { | |
4620 | if (temp4) | |
4621 | delete arg4; | |
4622 | } | |
4623 | return NULL; | |
4624 | } | |
4625 | ||
4626 | ||
4627 | static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4628 | PyObject *resultobj; | |
4629 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4630 | bool arg2 ; | |
4631 | int arg3 ; | |
4632 | int arg4 ; | |
4633 | wxDC *arg5 = (wxDC *) 0 ; | |
4634 | wxDC *arg6 = (wxDC *) 0 ; | |
4635 | wxRect arg7 ; | |
4636 | wxRect arg8 ; | |
4637 | int result; | |
4638 | wxRect *argp7 ; | |
4639 | wxRect *argp8 ; | |
4640 | PyObject * obj0 = 0 ; | |
4641 | PyObject * obj1 = 0 ; | |
4642 | PyObject * obj4 = 0 ; | |
4643 | PyObject * obj5 = 0 ; | |
4644 | PyObject * obj6 = 0 ; | |
4645 | PyObject * obj7 = 0 ; | |
4646 | char *kwnames[] = { | |
4647 | (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL | |
4648 | }; | |
4649 | ||
4650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
4651 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4652 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
4653 | if (PyErr_Occurred()) SWIG_fail; | |
4654 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4655 | if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4656 | if ((SWIG_ConvertPtr(obj6,(void **) &argp7, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
4657 | arg7 = *argp7; | |
4658 | if ((SWIG_ConvertPtr(obj7,(void **) &argp8, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
4659 | arg8 = *argp8; | |
4660 | { | |
4661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4662 | result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8); | |
4663 | ||
4664 | wxPyEndAllowThreads(__tstate); | |
4665 | if (PyErr_Occurred()) SWIG_fail; | |
4666 | } | |
4667 | resultobj = PyInt_FromLong((long)result); | |
4668 | return resultobj; | |
4669 | fail: | |
4670 | return NULL; | |
4671 | } | |
4672 | ||
4673 | ||
4674 | static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4675 | PyObject *resultobj; | |
4676 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4677 | int result; | |
4678 | PyObject * obj0 = 0 ; | |
4679 | char *kwnames[] = { | |
4680 | (char *) "self", NULL | |
4681 | }; | |
4682 | ||
4683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail; | |
4684 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4685 | { | |
4686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4687 | result = (int)(arg1)->GetFirstVisibleLine(); | |
4688 | ||
4689 | wxPyEndAllowThreads(__tstate); | |
4690 | if (PyErr_Occurred()) SWIG_fail; | |
4691 | } | |
4692 | resultobj = PyInt_FromLong((long)result); | |
4693 | return resultobj; | |
4694 | fail: | |
4695 | return NULL; | |
4696 | } | |
4697 | ||
4698 | ||
4699 | static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4700 | PyObject *resultobj; | |
4701 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4702 | int arg2 ; | |
4703 | wxString result; | |
4704 | PyObject * obj0 = 0 ; | |
4705 | char *kwnames[] = { | |
4706 | (char *) "self",(char *) "line", NULL | |
4707 | }; | |
4708 | ||
4709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLine",kwnames,&obj0,&arg2)) goto fail; | |
4710 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4711 | { | |
4712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4713 | result = (arg1)->GetLine(arg2); | |
4714 | ||
4715 | wxPyEndAllowThreads(__tstate); | |
4716 | if (PyErr_Occurred()) SWIG_fail; | |
4717 | } | |
4718 | { | |
4719 | #if wxUSE_UNICODE | |
4720 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4721 | #else | |
4722 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4723 | #endif | |
4724 | } | |
4725 | return resultobj; | |
4726 | fail: | |
4727 | return NULL; | |
4728 | } | |
4729 | ||
4730 | ||
4731 | static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4732 | PyObject *resultobj; | |
4733 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4734 | int result; | |
4735 | PyObject * obj0 = 0 ; | |
4736 | char *kwnames[] = { | |
4737 | (char *) "self", NULL | |
4738 | }; | |
4739 | ||
4740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail; | |
4741 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4742 | { | |
4743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4744 | result = (int)(arg1)->GetLineCount(); | |
4745 | ||
4746 | wxPyEndAllowThreads(__tstate); | |
4747 | if (PyErr_Occurred()) SWIG_fail; | |
4748 | } | |
4749 | resultobj = PyInt_FromLong((long)result); | |
4750 | return resultobj; | |
4751 | fail: | |
4752 | return NULL; | |
4753 | } | |
4754 | ||
4755 | ||
4756 | static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4757 | PyObject *resultobj; | |
4758 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4759 | int arg2 ; | |
4760 | PyObject * obj0 = 0 ; | |
4761 | char *kwnames[] = { | |
4762 | (char *) "self",(char *) "pixelWidth", NULL | |
4763 | }; | |
4764 | ||
4765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&arg2)) goto fail; | |
4766 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4767 | { | |
4768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4769 | (arg1)->SetMarginLeft(arg2); | |
4770 | ||
4771 | wxPyEndAllowThreads(__tstate); | |
4772 | if (PyErr_Occurred()) SWIG_fail; | |
4773 | } | |
4774 | Py_INCREF(Py_None); resultobj = Py_None; | |
4775 | return resultobj; | |
4776 | fail: | |
4777 | return NULL; | |
4778 | } | |
4779 | ||
4780 | ||
4781 | static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4782 | PyObject *resultobj; | |
4783 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4784 | int result; | |
4785 | PyObject * obj0 = 0 ; | |
4786 | char *kwnames[] = { | |
4787 | (char *) "self", NULL | |
4788 | }; | |
4789 | ||
4790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail; | |
4791 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4792 | { | |
4793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4794 | result = (int)(arg1)->GetMarginLeft(); | |
4795 | ||
4796 | wxPyEndAllowThreads(__tstate); | |
4797 | if (PyErr_Occurred()) SWIG_fail; | |
4798 | } | |
4799 | resultobj = PyInt_FromLong((long)result); | |
4800 | return resultobj; | |
4801 | fail: | |
4802 | return NULL; | |
4803 | } | |
4804 | ||
4805 | ||
4806 | static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4807 | PyObject *resultobj; | |
4808 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4809 | int arg2 ; | |
4810 | PyObject * obj0 = 0 ; | |
4811 | char *kwnames[] = { | |
4812 | (char *) "self",(char *) "pixelWidth", NULL | |
4813 | }; | |
4814 | ||
4815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&arg2)) goto fail; | |
4816 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4817 | { | |
4818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4819 | (arg1)->SetMarginRight(arg2); | |
4820 | ||
4821 | wxPyEndAllowThreads(__tstate); | |
4822 | if (PyErr_Occurred()) SWIG_fail; | |
4823 | } | |
4824 | Py_INCREF(Py_None); resultobj = Py_None; | |
4825 | return resultobj; | |
4826 | fail: | |
4827 | return NULL; | |
4828 | } | |
4829 | ||
4830 | ||
4831 | static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4832 | PyObject *resultobj; | |
4833 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4834 | int result; | |
4835 | PyObject * obj0 = 0 ; | |
4836 | char *kwnames[] = { | |
4837 | (char *) "self", NULL | |
4838 | }; | |
4839 | ||
4840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail; | |
4841 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4842 | { | |
4843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4844 | result = (int)(arg1)->GetMarginRight(); | |
4845 | ||
4846 | wxPyEndAllowThreads(__tstate); | |
4847 | if (PyErr_Occurred()) SWIG_fail; | |
4848 | } | |
4849 | resultobj = PyInt_FromLong((long)result); | |
4850 | return resultobj; | |
4851 | fail: | |
4852 | return NULL; | |
4853 | } | |
4854 | ||
4855 | ||
4856 | static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4857 | PyObject *resultobj; | |
4858 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4859 | bool result; | |
4860 | PyObject * obj0 = 0 ; | |
4861 | char *kwnames[] = { | |
4862 | (char *) "self", NULL | |
4863 | }; | |
4864 | ||
4865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail; | |
4866 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4867 | { | |
4868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4869 | result = (bool)(arg1)->GetModify(); | |
4870 | ||
4871 | wxPyEndAllowThreads(__tstate); | |
4872 | if (PyErr_Occurred()) SWIG_fail; | |
4873 | } | |
4874 | resultobj = PyInt_FromLong((long)result); | |
4875 | return resultobj; | |
4876 | fail: | |
4877 | return NULL; | |
4878 | } | |
4879 | ||
4880 | ||
4881 | static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4882 | PyObject *resultobj; | |
4883 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4884 | int arg2 ; | |
4885 | int arg3 ; | |
4886 | PyObject * obj0 = 0 ; | |
4887 | char *kwnames[] = { | |
4888 | (char *) "self",(char *) "start",(char *) "end", NULL | |
4889 | }; | |
4890 | ||
4891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
4892 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4893 | { | |
4894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4895 | (arg1)->SetSelection(arg2,arg3); | |
4896 | ||
4897 | wxPyEndAllowThreads(__tstate); | |
4898 | if (PyErr_Occurred()) SWIG_fail; | |
4899 | } | |
4900 | Py_INCREF(Py_None); resultobj = Py_None; | |
4901 | return resultobj; | |
4902 | fail: | |
4903 | return NULL; | |
4904 | } | |
4905 | ||
4906 | ||
4907 | static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4908 | PyObject *resultobj; | |
4909 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4910 | wxString result; | |
4911 | PyObject * obj0 = 0 ; | |
4912 | char *kwnames[] = { | |
4913 | (char *) "self", NULL | |
4914 | }; | |
4915 | ||
4916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail; | |
4917 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4918 | { | |
4919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4920 | result = (arg1)->GetSelectedText(); | |
4921 | ||
4922 | wxPyEndAllowThreads(__tstate); | |
4923 | if (PyErr_Occurred()) SWIG_fail; | |
4924 | } | |
4925 | { | |
4926 | #if wxUSE_UNICODE | |
4927 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4928 | #else | |
4929 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4930 | #endif | |
4931 | } | |
4932 | return resultobj; | |
4933 | fail: | |
4934 | return NULL; | |
4935 | } | |
4936 | ||
4937 | ||
4938 | static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4939 | PyObject *resultobj; | |
4940 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4941 | int arg2 ; | |
4942 | int arg3 ; | |
4943 | wxString result; | |
4944 | PyObject * obj0 = 0 ; | |
4945 | char *kwnames[] = { | |
4946 | (char *) "self",(char *) "startPos",(char *) "endPos", NULL | |
4947 | }; | |
4948 | ||
4949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetTextRange",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
4950 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4951 | { | |
4952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4953 | result = (arg1)->GetTextRange(arg2,arg3); | |
4954 | ||
4955 | wxPyEndAllowThreads(__tstate); | |
4956 | if (PyErr_Occurred()) SWIG_fail; | |
4957 | } | |
4958 | { | |
4959 | #if wxUSE_UNICODE | |
4960 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4961 | #else | |
4962 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4963 | #endif | |
4964 | } | |
4965 | return resultobj; | |
4966 | fail: | |
4967 | return NULL; | |
4968 | } | |
4969 | ||
4970 | ||
4971 | static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4972 | PyObject *resultobj; | |
4973 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
4974 | bool arg2 ; | |
4975 | PyObject * obj0 = 0 ; | |
4976 | PyObject * obj1 = 0 ; | |
4977 | char *kwnames[] = { | |
4978 | (char *) "self",(char *) "normal", NULL | |
4979 | }; | |
4980 | ||
4981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail; | |
4982 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4983 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
4984 | if (PyErr_Occurred()) SWIG_fail; | |
4985 | { | |
4986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4987 | (arg1)->HideSelection(arg2); | |
4988 | ||
4989 | wxPyEndAllowThreads(__tstate); | |
4990 | if (PyErr_Occurred()) SWIG_fail; | |
4991 | } | |
4992 | Py_INCREF(Py_None); resultobj = Py_None; | |
4993 | return resultobj; | |
4994 | fail: | |
4995 | return NULL; | |
4996 | } | |
4997 | ||
4998 | ||
4999 | static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5000 | PyObject *resultobj; | |
5001 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5002 | int arg2 ; | |
5003 | int result; | |
5004 | PyObject * obj0 = 0 ; | |
5005 | char *kwnames[] = { | |
5006 | (char *) "self",(char *) "pos", NULL | |
5007 | }; | |
5008 | ||
5009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&arg2)) goto fail; | |
5010 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5011 | { | |
5012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5013 | result = (int)(arg1)->LineFromPosition(arg2); | |
5014 | ||
5015 | wxPyEndAllowThreads(__tstate); | |
5016 | if (PyErr_Occurred()) SWIG_fail; | |
5017 | } | |
5018 | resultobj = PyInt_FromLong((long)result); | |
5019 | return resultobj; | |
5020 | fail: | |
5021 | return NULL; | |
5022 | } | |
5023 | ||
5024 | ||
5025 | static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5026 | PyObject *resultobj; | |
5027 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5028 | int arg2 ; | |
5029 | int result; | |
5030 | PyObject * obj0 = 0 ; | |
5031 | char *kwnames[] = { | |
5032 | (char *) "self",(char *) "line", NULL | |
5033 | }; | |
5034 | ||
5035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&arg2)) goto fail; | |
5036 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5037 | { | |
5038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5039 | result = (int)(arg1)->PositionFromLine(arg2); | |
5040 | ||
5041 | wxPyEndAllowThreads(__tstate); | |
5042 | if (PyErr_Occurred()) SWIG_fail; | |
5043 | } | |
5044 | resultobj = PyInt_FromLong((long)result); | |
5045 | return resultobj; | |
5046 | fail: | |
5047 | return NULL; | |
5048 | } | |
5049 | ||
5050 | ||
5051 | static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5052 | PyObject *resultobj; | |
5053 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5054 | int arg2 ; | |
5055 | int arg3 ; | |
5056 | PyObject * obj0 = 0 ; | |
5057 | char *kwnames[] = { | |
5058 | (char *) "self",(char *) "columns",(char *) "lines", NULL | |
5059 | }; | |
5060 | ||
5061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_LineScroll",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
5062 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5063 | { | |
5064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5065 | (arg1)->LineScroll(arg2,arg3); | |
5066 | ||
5067 | wxPyEndAllowThreads(__tstate); | |
5068 | if (PyErr_Occurred()) SWIG_fail; | |
5069 | } | |
5070 | Py_INCREF(Py_None); resultobj = Py_None; | |
5071 | return resultobj; | |
5072 | fail: | |
5073 | return NULL; | |
5074 | } | |
5075 | ||
5076 | ||
5077 | static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5078 | PyObject *resultobj; | |
5079 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5080 | PyObject * obj0 = 0 ; | |
5081 | char *kwnames[] = { | |
5082 | (char *) "self", NULL | |
5083 | }; | |
5084 | ||
5085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail; | |
5086 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5087 | { | |
5088 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5089 | (arg1)->EnsureCaretVisible(); | |
5090 | ||
5091 | wxPyEndAllowThreads(__tstate); | |
5092 | if (PyErr_Occurred()) SWIG_fail; | |
5093 | } | |
5094 | Py_INCREF(Py_None); resultobj = Py_None; | |
5095 | return resultobj; | |
5096 | fail: | |
5097 | return NULL; | |
5098 | } | |
5099 | ||
5100 | ||
5101 | static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5102 | PyObject *resultobj; | |
5103 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5104 | wxString *arg2 = 0 ; | |
e811c8ce | 5105 | bool temp2 = False ; |
d14a1e28 RD |
5106 | PyObject * obj0 = 0 ; |
5107 | PyObject * obj1 = 0 ; | |
5108 | char *kwnames[] = { | |
5109 | (char *) "self",(char *) "text", NULL | |
5110 | }; | |
5111 | ||
5112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail; | |
5113 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5114 | { | |
5115 | arg2 = wxString_in_helper(obj1); | |
5116 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5117 | temp2 = True; |
d14a1e28 RD |
5118 | } |
5119 | { | |
5120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5121 | (arg1)->ReplaceSelection((wxString const &)*arg2); | |
5122 | ||
5123 | wxPyEndAllowThreads(__tstate); | |
5124 | if (PyErr_Occurred()) SWIG_fail; | |
5125 | } | |
5126 | Py_INCREF(Py_None); resultobj = Py_None; | |
5127 | { | |
5128 | if (temp2) | |
5129 | delete arg2; | |
5130 | } | |
5131 | return resultobj; | |
5132 | fail: | |
5133 | { | |
5134 | if (temp2) | |
5135 | delete arg2; | |
5136 | } | |
5137 | return NULL; | |
5138 | } | |
5139 | ||
5140 | ||
5141 | static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5142 | PyObject *resultobj; | |
5143 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5144 | bool arg2 ; | |
5145 | PyObject * obj0 = 0 ; | |
5146 | PyObject * obj1 = 0 ; | |
5147 | char *kwnames[] = { | |
5148 | (char *) "self",(char *) "readOnly", NULL | |
5149 | }; | |
5150 | ||
5151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail; | |
5152 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5153 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
5154 | if (PyErr_Occurred()) SWIG_fail; | |
5155 | { | |
5156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5157 | (arg1)->SetReadOnly(arg2); | |
5158 | ||
5159 | wxPyEndAllowThreads(__tstate); | |
5160 | if (PyErr_Occurred()) SWIG_fail; | |
5161 | } | |
5162 | Py_INCREF(Py_None); resultobj = Py_None; | |
5163 | return resultobj; | |
5164 | fail: | |
5165 | return NULL; | |
5166 | } | |
5167 | ||
5168 | ||
5169 | static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5170 | PyObject *resultobj; | |
5171 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5172 | bool result; | |
5173 | PyObject * obj0 = 0 ; | |
5174 | char *kwnames[] = { | |
5175 | (char *) "self", NULL | |
5176 | }; | |
5177 | ||
5178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail; | |
5179 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5180 | { | |
5181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5182 | result = (bool)(arg1)->CanPaste(); | |
5183 | ||
5184 | wxPyEndAllowThreads(__tstate); | |
5185 | if (PyErr_Occurred()) SWIG_fail; | |
5186 | } | |
5187 | resultobj = PyInt_FromLong((long)result); | |
5188 | return resultobj; | |
5189 | fail: | |
5190 | return NULL; | |
5191 | } | |
5192 | ||
5193 | ||
5194 | static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5195 | PyObject *resultobj; | |
5196 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5197 | bool result; | |
5198 | PyObject * obj0 = 0 ; | |
5199 | char *kwnames[] = { | |
5200 | (char *) "self", NULL | |
5201 | }; | |
5202 | ||
5203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail; | |
5204 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5205 | { | |
5206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5207 | result = (bool)(arg1)->CanUndo(); | |
5208 | ||
5209 | wxPyEndAllowThreads(__tstate); | |
5210 | if (PyErr_Occurred()) SWIG_fail; | |
5211 | } | |
5212 | resultobj = PyInt_FromLong((long)result); | |
5213 | return resultobj; | |
5214 | fail: | |
5215 | return NULL; | |
5216 | } | |
5217 | ||
5218 | ||
5219 | static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5220 | PyObject *resultobj; | |
5221 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5222 | PyObject * obj0 = 0 ; | |
5223 | char *kwnames[] = { | |
5224 | (char *) "self", NULL | |
5225 | }; | |
5226 | ||
5227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail; | |
5228 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5229 | { | |
5230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5231 | (arg1)->EmptyUndoBuffer(); | |
5232 | ||
5233 | wxPyEndAllowThreads(__tstate); | |
5234 | if (PyErr_Occurred()) SWIG_fail; | |
5235 | } | |
5236 | Py_INCREF(Py_None); resultobj = Py_None; | |
5237 | return resultobj; | |
5238 | fail: | |
5239 | return NULL; | |
5240 | } | |
5241 | ||
5242 | ||
5243 | static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5244 | PyObject *resultobj; | |
5245 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5246 | PyObject * obj0 = 0 ; | |
5247 | char *kwnames[] = { | |
5248 | (char *) "self", NULL | |
5249 | }; | |
5250 | ||
5251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail; | |
5252 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5253 | { | |
5254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5255 | (arg1)->Undo(); | |
5256 | ||
5257 | wxPyEndAllowThreads(__tstate); | |
5258 | if (PyErr_Occurred()) SWIG_fail; | |
5259 | } | |
5260 | Py_INCREF(Py_None); resultobj = Py_None; | |
5261 | return resultobj; | |
5262 | fail: | |
5263 | return NULL; | |
5264 | } | |
5265 | ||
5266 | ||
5267 | static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5268 | PyObject *resultobj; | |
5269 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5270 | PyObject * obj0 = 0 ; | |
5271 | char *kwnames[] = { | |
5272 | (char *) "self", NULL | |
5273 | }; | |
5274 | ||
5275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail; | |
5276 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5277 | { | |
5278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5279 | (arg1)->Cut(); | |
5280 | ||
5281 | wxPyEndAllowThreads(__tstate); | |
5282 | if (PyErr_Occurred()) SWIG_fail; | |
5283 | } | |
5284 | Py_INCREF(Py_None); resultobj = Py_None; | |
5285 | return resultobj; | |
5286 | fail: | |
5287 | return NULL; | |
5288 | } | |
5289 | ||
5290 | ||
5291 | static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5292 | PyObject *resultobj; | |
5293 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5294 | PyObject * obj0 = 0 ; | |
5295 | char *kwnames[] = { | |
5296 | (char *) "self", NULL | |
5297 | }; | |
5298 | ||
5299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail; | |
5300 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5301 | { | |
5302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5303 | (arg1)->Copy(); | |
5304 | ||
5305 | wxPyEndAllowThreads(__tstate); | |
5306 | if (PyErr_Occurred()) SWIG_fail; | |
5307 | } | |
5308 | Py_INCREF(Py_None); resultobj = Py_None; | |
5309 | return resultobj; | |
5310 | fail: | |
5311 | return NULL; | |
5312 | } | |
5313 | ||
5314 | ||
5315 | static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5316 | PyObject *resultobj; | |
5317 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5318 | PyObject * obj0 = 0 ; | |
5319 | char *kwnames[] = { | |
5320 | (char *) "self", NULL | |
5321 | }; | |
5322 | ||
5323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail; | |
5324 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5325 | { | |
5326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5327 | (arg1)->Paste(); | |
5328 | ||
5329 | wxPyEndAllowThreads(__tstate); | |
5330 | if (PyErr_Occurred()) SWIG_fail; | |
5331 | } | |
5332 | Py_INCREF(Py_None); resultobj = Py_None; | |
5333 | return resultobj; | |
5334 | fail: | |
5335 | return NULL; | |
5336 | } | |
5337 | ||
5338 | ||
5339 | static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5340 | PyObject *resultobj; | |
5341 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5342 | PyObject * obj0 = 0 ; | |
5343 | char *kwnames[] = { | |
5344 | (char *) "self", NULL | |
5345 | }; | |
5346 | ||
5347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail; | |
5348 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5349 | { | |
5350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5351 | (arg1)->Clear(); | |
5352 | ||
5353 | wxPyEndAllowThreads(__tstate); | |
5354 | if (PyErr_Occurred()) SWIG_fail; | |
5355 | } | |
5356 | Py_INCREF(Py_None); resultobj = Py_None; | |
5357 | return resultobj; | |
5358 | fail: | |
5359 | return NULL; | |
5360 | } | |
5361 | ||
5362 | ||
5363 | static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5364 | PyObject *resultobj; | |
5365 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5366 | wxString *arg2 = 0 ; | |
e811c8ce | 5367 | bool temp2 = False ; |
d14a1e28 RD |
5368 | PyObject * obj0 = 0 ; |
5369 | PyObject * obj1 = 0 ; | |
5370 | char *kwnames[] = { | |
5371 | (char *) "self",(char *) "text", NULL | |
5372 | }; | |
5373 | ||
5374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail; | |
5375 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5376 | { | |
5377 | arg2 = wxString_in_helper(obj1); | |
5378 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5379 | temp2 = True; |
d14a1e28 RD |
5380 | } |
5381 | { | |
5382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5383 | (arg1)->SetText((wxString const &)*arg2); | |
5384 | ||
5385 | wxPyEndAllowThreads(__tstate); | |
5386 | if (PyErr_Occurred()) SWIG_fail; | |
5387 | } | |
5388 | Py_INCREF(Py_None); resultobj = Py_None; | |
5389 | { | |
5390 | if (temp2) | |
5391 | delete arg2; | |
5392 | } | |
5393 | return resultobj; | |
5394 | fail: | |
5395 | { | |
5396 | if (temp2) | |
5397 | delete arg2; | |
5398 | } | |
5399 | return NULL; | |
5400 | } | |
5401 | ||
5402 | ||
5403 | static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5404 | PyObject *resultobj; | |
5405 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5406 | wxString result; | |
5407 | PyObject * obj0 = 0 ; | |
5408 | char *kwnames[] = { | |
5409 | (char *) "self", NULL | |
5410 | }; | |
5411 | ||
5412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail; | |
5413 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5414 | { | |
5415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5416 | result = (arg1)->GetText(); | |
5417 | ||
5418 | wxPyEndAllowThreads(__tstate); | |
5419 | if (PyErr_Occurred()) SWIG_fail; | |
5420 | } | |
5421 | { | |
5422 | #if wxUSE_UNICODE | |
5423 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5424 | #else | |
5425 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5426 | #endif | |
5427 | } | |
5428 | return resultobj; | |
5429 | fail: | |
5430 | return NULL; | |
5431 | } | |
5432 | ||
5433 | ||
5434 | static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5435 | PyObject *resultobj; | |
5436 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5437 | int result; | |
5438 | PyObject * obj0 = 0 ; | |
5439 | char *kwnames[] = { | |
5440 | (char *) "self", NULL | |
5441 | }; | |
5442 | ||
5443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail; | |
5444 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5445 | { | |
5446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5447 | result = (int)(arg1)->GetTextLength(); | |
5448 | ||
5449 | wxPyEndAllowThreads(__tstate); | |
5450 | if (PyErr_Occurred()) SWIG_fail; | |
5451 | } | |
5452 | resultobj = PyInt_FromLong((long)result); | |
5453 | return resultobj; | |
5454 | fail: | |
5455 | return NULL; | |
5456 | } | |
5457 | ||
5458 | ||
5459 | static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5460 | PyObject *resultobj; | |
5461 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5462 | bool arg2 ; | |
5463 | PyObject * obj0 = 0 ; | |
5464 | PyObject * obj1 = 0 ; | |
5465 | char *kwnames[] = { | |
5466 | (char *) "self",(char *) "overtype", NULL | |
5467 | }; | |
5468 | ||
5469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail; | |
5470 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5471 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
5472 | if (PyErr_Occurred()) SWIG_fail; | |
5473 | { | |
5474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5475 | (arg1)->SetOvertype(arg2); | |
5476 | ||
5477 | wxPyEndAllowThreads(__tstate); | |
5478 | if (PyErr_Occurred()) SWIG_fail; | |
5479 | } | |
5480 | Py_INCREF(Py_None); resultobj = Py_None; | |
5481 | return resultobj; | |
5482 | fail: | |
5483 | return NULL; | |
5484 | } | |
5485 | ||
5486 | ||
5487 | static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5488 | PyObject *resultobj; | |
5489 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5490 | bool result; | |
5491 | PyObject * obj0 = 0 ; | |
5492 | char *kwnames[] = { | |
5493 | (char *) "self", NULL | |
5494 | }; | |
5495 | ||
5496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail; | |
5497 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5498 | { | |
5499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5500 | result = (bool)(arg1)->GetOvertype(); | |
5501 | ||
5502 | wxPyEndAllowThreads(__tstate); | |
5503 | if (PyErr_Occurred()) SWIG_fail; | |
5504 | } | |
5505 | resultobj = PyInt_FromLong((long)result); | |
5506 | return resultobj; | |
5507 | fail: | |
5508 | return NULL; | |
5509 | } | |
5510 | ||
5511 | ||
5512 | static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5513 | PyObject *resultobj; | |
5514 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5515 | int arg2 ; | |
5516 | PyObject * obj0 = 0 ; | |
5517 | char *kwnames[] = { | |
5518 | (char *) "self",(char *) "pixelWidth", NULL | |
5519 | }; | |
5520 | ||
5521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&arg2)) goto fail; | |
5522 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5523 | { | |
5524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5525 | (arg1)->SetCaretWidth(arg2); | |
5526 | ||
5527 | wxPyEndAllowThreads(__tstate); | |
5528 | if (PyErr_Occurred()) SWIG_fail; | |
5529 | } | |
5530 | Py_INCREF(Py_None); resultobj = Py_None; | |
5531 | return resultobj; | |
5532 | fail: | |
5533 | return NULL; | |
5534 | } | |
5535 | ||
5536 | ||
5537 | static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5538 | PyObject *resultobj; | |
5539 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5540 | int result; | |
5541 | PyObject * obj0 = 0 ; | |
5542 | char *kwnames[] = { | |
5543 | (char *) "self", NULL | |
5544 | }; | |
5545 | ||
5546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail; | |
5547 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5548 | { | |
5549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5550 | result = (int)(arg1)->GetCaretWidth(); | |
5551 | ||
5552 | wxPyEndAllowThreads(__tstate); | |
5553 | if (PyErr_Occurred()) SWIG_fail; | |
5554 | } | |
5555 | resultobj = PyInt_FromLong((long)result); | |
5556 | return resultobj; | |
5557 | fail: | |
5558 | return NULL; | |
5559 | } | |
5560 | ||
5561 | ||
5562 | static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5563 | PyObject *resultobj; | |
5564 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5565 | int arg2 ; | |
5566 | PyObject * obj0 = 0 ; | |
5567 | char *kwnames[] = { | |
5568 | (char *) "self",(char *) "pos", NULL | |
5569 | }; | |
5570 | ||
5571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&arg2)) goto fail; | |
5572 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5573 | { | |
5574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5575 | (arg1)->SetTargetStart(arg2); | |
5576 | ||
5577 | wxPyEndAllowThreads(__tstate); | |
5578 | if (PyErr_Occurred()) SWIG_fail; | |
5579 | } | |
5580 | Py_INCREF(Py_None); resultobj = Py_None; | |
5581 | return resultobj; | |
5582 | fail: | |
5583 | return NULL; | |
5584 | } | |
5585 | ||
5586 | ||
5587 | static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5588 | PyObject *resultobj; | |
5589 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5590 | int result; | |
5591 | PyObject * obj0 = 0 ; | |
5592 | char *kwnames[] = { | |
5593 | (char *) "self", NULL | |
5594 | }; | |
5595 | ||
5596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail; | |
5597 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5598 | { | |
5599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5600 | result = (int)(arg1)->GetTargetStart(); | |
5601 | ||
5602 | wxPyEndAllowThreads(__tstate); | |
5603 | if (PyErr_Occurred()) SWIG_fail; | |
5604 | } | |
5605 | resultobj = PyInt_FromLong((long)result); | |
5606 | return resultobj; | |
5607 | fail: | |
5608 | return NULL; | |
5609 | } | |
5610 | ||
5611 | ||
5612 | static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5613 | PyObject *resultobj; | |
5614 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5615 | int arg2 ; | |
5616 | PyObject * obj0 = 0 ; | |
5617 | char *kwnames[] = { | |
5618 | (char *) "self",(char *) "pos", NULL | |
5619 | }; | |
5620 | ||
5621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&arg2)) goto fail; | |
5622 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5623 | { | |
5624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5625 | (arg1)->SetTargetEnd(arg2); | |
5626 | ||
5627 | wxPyEndAllowThreads(__tstate); | |
5628 | if (PyErr_Occurred()) SWIG_fail; | |
5629 | } | |
5630 | Py_INCREF(Py_None); resultobj = Py_None; | |
5631 | return resultobj; | |
5632 | fail: | |
5633 | return NULL; | |
5634 | } | |
5635 | ||
5636 | ||
5637 | static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5638 | PyObject *resultobj; | |
5639 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5640 | int result; | |
5641 | PyObject * obj0 = 0 ; | |
5642 | char *kwnames[] = { | |
5643 | (char *) "self", NULL | |
5644 | }; | |
5645 | ||
5646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail; | |
5647 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5648 | { | |
5649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5650 | result = (int)(arg1)->GetTargetEnd(); | |
5651 | ||
5652 | wxPyEndAllowThreads(__tstate); | |
5653 | if (PyErr_Occurred()) SWIG_fail; | |
5654 | } | |
5655 | resultobj = PyInt_FromLong((long)result); | |
5656 | return resultobj; | |
5657 | fail: | |
5658 | return NULL; | |
5659 | } | |
5660 | ||
5661 | ||
5662 | static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5663 | PyObject *resultobj; | |
5664 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5665 | wxString *arg2 = 0 ; | |
5666 | int result; | |
e811c8ce | 5667 | bool temp2 = False ; |
d14a1e28 RD |
5668 | PyObject * obj0 = 0 ; |
5669 | PyObject * obj1 = 0 ; | |
5670 | char *kwnames[] = { | |
5671 | (char *) "self",(char *) "text", NULL | |
5672 | }; | |
5673 | ||
5674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail; | |
5675 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5676 | { | |
5677 | arg2 = wxString_in_helper(obj1); | |
5678 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5679 | temp2 = True; |
d14a1e28 RD |
5680 | } |
5681 | { | |
5682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5683 | result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2); | |
5684 | ||
5685 | wxPyEndAllowThreads(__tstate); | |
5686 | if (PyErr_Occurred()) SWIG_fail; | |
5687 | } | |
5688 | resultobj = PyInt_FromLong((long)result); | |
5689 | { | |
5690 | if (temp2) | |
5691 | delete arg2; | |
5692 | } | |
5693 | return resultobj; | |
5694 | fail: | |
5695 | { | |
5696 | if (temp2) | |
5697 | delete arg2; | |
5698 | } | |
5699 | return NULL; | |
5700 | } | |
5701 | ||
5702 | ||
5703 | static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5704 | PyObject *resultobj; | |
5705 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5706 | wxString *arg2 = 0 ; | |
5707 | int result; | |
e811c8ce | 5708 | bool temp2 = False ; |
d14a1e28 RD |
5709 | PyObject * obj0 = 0 ; |
5710 | PyObject * obj1 = 0 ; | |
5711 | char *kwnames[] = { | |
5712 | (char *) "self",(char *) "text", NULL | |
5713 | }; | |
5714 | ||
5715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail; | |
5716 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5717 | { | |
5718 | arg2 = wxString_in_helper(obj1); | |
5719 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5720 | temp2 = True; |
d14a1e28 RD |
5721 | } |
5722 | { | |
5723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5724 | result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2); | |
5725 | ||
5726 | wxPyEndAllowThreads(__tstate); | |
5727 | if (PyErr_Occurred()) SWIG_fail; | |
5728 | } | |
5729 | resultobj = PyInt_FromLong((long)result); | |
5730 | { | |
5731 | if (temp2) | |
5732 | delete arg2; | |
5733 | } | |
5734 | return resultobj; | |
5735 | fail: | |
5736 | { | |
5737 | if (temp2) | |
5738 | delete arg2; | |
5739 | } | |
5740 | return NULL; | |
5741 | } | |
5742 | ||
5743 | ||
5744 | static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5745 | PyObject *resultobj; | |
5746 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5747 | wxString *arg2 = 0 ; | |
5748 | int result; | |
e811c8ce | 5749 | bool temp2 = False ; |
d14a1e28 RD |
5750 | PyObject * obj0 = 0 ; |
5751 | PyObject * obj1 = 0 ; | |
5752 | char *kwnames[] = { | |
5753 | (char *) "self",(char *) "text", NULL | |
5754 | }; | |
5755 | ||
5756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail; | |
5757 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5758 | { | |
5759 | arg2 = wxString_in_helper(obj1); | |
5760 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 5761 | temp2 = True; |
d14a1e28 RD |
5762 | } |
5763 | { | |
5764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5765 | result = (int)(arg1)->SearchInTarget((wxString const &)*arg2); | |
5766 | ||
5767 | wxPyEndAllowThreads(__tstate); | |
5768 | if (PyErr_Occurred()) SWIG_fail; | |
5769 | } | |
5770 | resultobj = PyInt_FromLong((long)result); | |
5771 | { | |
5772 | if (temp2) | |
5773 | delete arg2; | |
5774 | } | |
5775 | return resultobj; | |
5776 | fail: | |
5777 | { | |
5778 | if (temp2) | |
5779 | delete arg2; | |
5780 | } | |
5781 | return NULL; | |
5782 | } | |
5783 | ||
5784 | ||
5785 | static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5786 | PyObject *resultobj; | |
5787 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5788 | int arg2 ; | |
5789 | PyObject * obj0 = 0 ; | |
5790 | char *kwnames[] = { | |
5791 | (char *) "self",(char *) "flags", NULL | |
5792 | }; | |
5793 | ||
5794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&arg2)) goto fail; | |
5795 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5796 | { | |
5797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5798 | (arg1)->SetSearchFlags(arg2); | |
5799 | ||
5800 | wxPyEndAllowThreads(__tstate); | |
5801 | if (PyErr_Occurred()) SWIG_fail; | |
5802 | } | |
5803 | Py_INCREF(Py_None); resultobj = Py_None; | |
5804 | return resultobj; | |
5805 | fail: | |
5806 | return NULL; | |
5807 | } | |
5808 | ||
5809 | ||
5810 | static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5811 | PyObject *resultobj; | |
5812 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5813 | int result; | |
5814 | PyObject * obj0 = 0 ; | |
5815 | char *kwnames[] = { | |
5816 | (char *) "self", NULL | |
5817 | }; | |
5818 | ||
5819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail; | |
5820 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5821 | { | |
5822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5823 | result = (int)(arg1)->GetSearchFlags(); | |
5824 | ||
5825 | wxPyEndAllowThreads(__tstate); | |
5826 | if (PyErr_Occurred()) SWIG_fail; | |
5827 | } | |
5828 | resultobj = PyInt_FromLong((long)result); | |
5829 | return resultobj; | |
5830 | fail: | |
5831 | return NULL; | |
5832 | } | |
5833 | ||
5834 | ||
5835 | static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5836 | PyObject *resultobj; | |
5837 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5838 | int arg2 ; | |
5839 | wxString *arg3 = 0 ; | |
e811c8ce | 5840 | bool temp3 = False ; |
d14a1e28 RD |
5841 | PyObject * obj0 = 0 ; |
5842 | PyObject * obj2 = 0 ; | |
5843 | char *kwnames[] = { | |
5844 | (char *) "self",(char *) "pos",(char *) "definition", NULL | |
5845 | }; | |
5846 | ||
5847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
5848 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5849 | { | |
5850 | arg3 = wxString_in_helper(obj2); | |
5851 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 5852 | temp3 = True; |
d14a1e28 RD |
5853 | } |
5854 | { | |
5855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5856 | (arg1)->CallTipShow(arg2,(wxString const &)*arg3); | |
5857 | ||
5858 | wxPyEndAllowThreads(__tstate); | |
5859 | if (PyErr_Occurred()) SWIG_fail; | |
5860 | } | |
5861 | Py_INCREF(Py_None); resultobj = Py_None; | |
5862 | { | |
5863 | if (temp3) | |
5864 | delete arg3; | |
5865 | } | |
5866 | return resultobj; | |
5867 | fail: | |
5868 | { | |
5869 | if (temp3) | |
5870 | delete arg3; | |
5871 | } | |
5872 | return NULL; | |
5873 | } | |
5874 | ||
5875 | ||
5876 | static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5877 | PyObject *resultobj; | |
5878 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5879 | PyObject * obj0 = 0 ; | |
5880 | char *kwnames[] = { | |
5881 | (char *) "self", NULL | |
5882 | }; | |
5883 | ||
5884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail; | |
5885 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5886 | { | |
5887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5888 | (arg1)->CallTipCancel(); | |
5889 | ||
5890 | wxPyEndAllowThreads(__tstate); | |
5891 | if (PyErr_Occurred()) SWIG_fail; | |
5892 | } | |
5893 | Py_INCREF(Py_None); resultobj = Py_None; | |
5894 | return resultobj; | |
5895 | fail: | |
5896 | return NULL; | |
5897 | } | |
5898 | ||
5899 | ||
5900 | static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5901 | PyObject *resultobj; | |
5902 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5903 | bool result; | |
5904 | PyObject * obj0 = 0 ; | |
5905 | char *kwnames[] = { | |
5906 | (char *) "self", NULL | |
5907 | }; | |
5908 | ||
5909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail; | |
5910 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5911 | { | |
5912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5913 | result = (bool)(arg1)->CallTipActive(); | |
5914 | ||
5915 | wxPyEndAllowThreads(__tstate); | |
5916 | if (PyErr_Occurred()) SWIG_fail; | |
5917 | } | |
5918 | resultobj = PyInt_FromLong((long)result); | |
5919 | return resultobj; | |
5920 | fail: | |
5921 | return NULL; | |
5922 | } | |
5923 | ||
5924 | ||
5925 | static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5926 | PyObject *resultobj; | |
5927 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5928 | int result; | |
5929 | PyObject * obj0 = 0 ; | |
5930 | char *kwnames[] = { | |
5931 | (char *) "self", NULL | |
5932 | }; | |
5933 | ||
5934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail; | |
5935 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5936 | { | |
5937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5938 | result = (int)(arg1)->CallTipPosAtStart(); | |
5939 | ||
5940 | wxPyEndAllowThreads(__tstate); | |
5941 | if (PyErr_Occurred()) SWIG_fail; | |
5942 | } | |
5943 | resultobj = PyInt_FromLong((long)result); | |
5944 | return resultobj; | |
5945 | fail: | |
5946 | return NULL; | |
5947 | } | |
5948 | ||
5949 | ||
5950 | static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5951 | PyObject *resultobj; | |
5952 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5953 | int arg2 ; | |
5954 | int arg3 ; | |
5955 | PyObject * obj0 = 0 ; | |
5956 | char *kwnames[] = { | |
5957 | (char *) "self",(char *) "start",(char *) "end", NULL | |
5958 | }; | |
5959 | ||
5960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
5961 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5962 | { | |
5963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5964 | (arg1)->CallTipSetHighlight(arg2,arg3); | |
5965 | ||
5966 | wxPyEndAllowThreads(__tstate); | |
5967 | if (PyErr_Occurred()) SWIG_fail; | |
5968 | } | |
5969 | Py_INCREF(Py_None); resultobj = Py_None; | |
5970 | return resultobj; | |
5971 | fail: | |
5972 | return NULL; | |
5973 | } | |
5974 | ||
5975 | ||
5976 | static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5977 | PyObject *resultobj; | |
5978 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
5979 | wxColour *arg2 = 0 ; | |
5980 | wxColour temp2 ; | |
5981 | PyObject * obj0 = 0 ; | |
5982 | PyObject * obj1 = 0 ; | |
5983 | char *kwnames[] = { | |
5984 | (char *) "self",(char *) "back", NULL | |
5985 | }; | |
5986 | ||
5987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail; | |
5988 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5989 | { | |
5990 | arg2 = &temp2; | |
5991 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
5992 | } | |
5993 | { | |
5994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5995 | (arg1)->CallTipSetBackground((wxColour const &)*arg2); | |
5996 | ||
5997 | wxPyEndAllowThreads(__tstate); | |
5998 | if (PyErr_Occurred()) SWIG_fail; | |
5999 | } | |
6000 | Py_INCREF(Py_None); resultobj = Py_None; | |
6001 | return resultobj; | |
6002 | fail: | |
6003 | return NULL; | |
6004 | } | |
6005 | ||
6006 | ||
6007 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6008 | PyObject *resultobj; | |
6009 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6010 | wxColour *arg2 = 0 ; | |
6011 | wxColour temp2 ; | |
6012 | PyObject * obj0 = 0 ; | |
6013 | PyObject * obj1 = 0 ; | |
6014 | char *kwnames[] = { | |
6015 | (char *) "self",(char *) "fore", NULL | |
6016 | }; | |
6017 | ||
6018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail; | |
6019 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6020 | { | |
6021 | arg2 = &temp2; | |
6022 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6023 | } | |
6024 | { | |
6025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6026 | (arg1)->CallTipSetForeground((wxColour const &)*arg2); | |
6027 | ||
6028 | wxPyEndAllowThreads(__tstate); | |
6029 | if (PyErr_Occurred()) SWIG_fail; | |
6030 | } | |
6031 | Py_INCREF(Py_None); resultobj = Py_None; | |
6032 | return resultobj; | |
6033 | fail: | |
6034 | return NULL; | |
6035 | } | |
6036 | ||
6037 | ||
6038 | static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6039 | PyObject *resultobj; | |
6040 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6041 | wxColour *arg2 = 0 ; | |
6042 | wxColour temp2 ; | |
6043 | PyObject * obj0 = 0 ; | |
6044 | PyObject * obj1 = 0 ; | |
6045 | char *kwnames[] = { | |
6046 | (char *) "self",(char *) "fore", NULL | |
6047 | }; | |
6048 | ||
6049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail; | |
6050 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6051 | { | |
6052 | arg2 = &temp2; | |
6053 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
6054 | } | |
6055 | { | |
6056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6057 | (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2); | |
6058 | ||
6059 | wxPyEndAllowThreads(__tstate); | |
6060 | if (PyErr_Occurred()) SWIG_fail; | |
6061 | } | |
6062 | Py_INCREF(Py_None); resultobj = Py_None; | |
6063 | return resultobj; | |
6064 | fail: | |
6065 | return NULL; | |
6066 | } | |
6067 | ||
6068 | ||
6069 | static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6070 | PyObject *resultobj; | |
6071 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6072 | int arg2 ; | |
6073 | int result; | |
6074 | PyObject * obj0 = 0 ; | |
6075 | char *kwnames[] = { | |
6076 | (char *) "self",(char *) "line", NULL | |
6077 | }; | |
6078 | ||
6079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&arg2)) goto fail; | |
6080 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6081 | { | |
6082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6083 | result = (int)(arg1)->VisibleFromDocLine(arg2); | |
6084 | ||
6085 | wxPyEndAllowThreads(__tstate); | |
6086 | if (PyErr_Occurred()) SWIG_fail; | |
6087 | } | |
6088 | resultobj = PyInt_FromLong((long)result); | |
6089 | return resultobj; | |
6090 | fail: | |
6091 | return NULL; | |
6092 | } | |
6093 | ||
6094 | ||
6095 | static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6096 | PyObject *resultobj; | |
6097 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6098 | int arg2 ; | |
6099 | int result; | |
6100 | PyObject * obj0 = 0 ; | |
6101 | char *kwnames[] = { | |
6102 | (char *) "self",(char *) "lineDisplay", NULL | |
6103 | }; | |
6104 | ||
6105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&arg2)) goto fail; | |
6106 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6107 | { | |
6108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6109 | result = (int)(arg1)->DocLineFromVisible(arg2); | |
6110 | ||
6111 | wxPyEndAllowThreads(__tstate); | |
6112 | if (PyErr_Occurred()) SWIG_fail; | |
6113 | } | |
6114 | resultobj = PyInt_FromLong((long)result); | |
6115 | return resultobj; | |
6116 | fail: | |
6117 | return NULL; | |
6118 | } | |
6119 | ||
6120 | ||
6121 | static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6122 | PyObject *resultobj; | |
6123 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6124 | int arg2 ; | |
6125 | int arg3 ; | |
6126 | PyObject * obj0 = 0 ; | |
6127 | char *kwnames[] = { | |
6128 | (char *) "self",(char *) "line",(char *) "level", NULL | |
6129 | }; | |
6130 | ||
6131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
6132 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6133 | { | |
6134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6135 | (arg1)->SetFoldLevel(arg2,arg3); | |
6136 | ||
6137 | wxPyEndAllowThreads(__tstate); | |
6138 | if (PyErr_Occurred()) SWIG_fail; | |
6139 | } | |
6140 | Py_INCREF(Py_None); resultobj = Py_None; | |
6141 | return resultobj; | |
6142 | fail: | |
6143 | return NULL; | |
6144 | } | |
6145 | ||
6146 | ||
6147 | static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6148 | PyObject *resultobj; | |
6149 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6150 | int arg2 ; | |
6151 | int result; | |
6152 | PyObject * obj0 = 0 ; | |
6153 | char *kwnames[] = { | |
6154 | (char *) "self",(char *) "line", NULL | |
6155 | }; | |
6156 | ||
6157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&arg2)) goto fail; | |
6158 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6159 | { | |
6160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6161 | result = (int)(arg1)->GetFoldLevel(arg2); | |
6162 | ||
6163 | wxPyEndAllowThreads(__tstate); | |
6164 | if (PyErr_Occurred()) SWIG_fail; | |
6165 | } | |
6166 | resultobj = PyInt_FromLong((long)result); | |
6167 | return resultobj; | |
6168 | fail: | |
6169 | return NULL; | |
6170 | } | |
6171 | ||
6172 | ||
6173 | static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6174 | PyObject *resultobj; | |
6175 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6176 | int arg2 ; | |
6177 | int arg3 ; | |
6178 | int result; | |
6179 | PyObject * obj0 = 0 ; | |
6180 | char *kwnames[] = { | |
6181 | (char *) "self",(char *) "line",(char *) "level", NULL | |
6182 | }; | |
6183 | ||
6184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_GetLastChild",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
6185 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6186 | { | |
6187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6188 | result = (int)(arg1)->GetLastChild(arg2,arg3); | |
6189 | ||
6190 | wxPyEndAllowThreads(__tstate); | |
6191 | if (PyErr_Occurred()) SWIG_fail; | |
6192 | } | |
6193 | resultobj = PyInt_FromLong((long)result); | |
6194 | return resultobj; | |
6195 | fail: | |
6196 | return NULL; | |
6197 | } | |
6198 | ||
6199 | ||
6200 | static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6201 | PyObject *resultobj; | |
6202 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6203 | int arg2 ; | |
6204 | int result; | |
6205 | PyObject * obj0 = 0 ; | |
6206 | char *kwnames[] = { | |
6207 | (char *) "self",(char *) "line", NULL | |
6208 | }; | |
6209 | ||
6210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&arg2)) goto fail; | |
6211 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6212 | { | |
6213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6214 | result = (int)(arg1)->GetFoldParent(arg2); | |
6215 | ||
6216 | wxPyEndAllowThreads(__tstate); | |
6217 | if (PyErr_Occurred()) SWIG_fail; | |
6218 | } | |
6219 | resultobj = PyInt_FromLong((long)result); | |
6220 | return resultobj; | |
6221 | fail: | |
6222 | return NULL; | |
6223 | } | |
6224 | ||
6225 | ||
6226 | static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6227 | PyObject *resultobj; | |
6228 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6229 | int arg2 ; | |
6230 | int arg3 ; | |
6231 | PyObject * obj0 = 0 ; | |
6232 | char *kwnames[] = { | |
6233 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
6234 | }; | |
6235 | ||
6236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_ShowLines",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
6237 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6238 | { | |
6239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6240 | (arg1)->ShowLines(arg2,arg3); | |
6241 | ||
6242 | wxPyEndAllowThreads(__tstate); | |
6243 | if (PyErr_Occurred()) SWIG_fail; | |
6244 | } | |
6245 | Py_INCREF(Py_None); resultobj = Py_None; | |
6246 | return resultobj; | |
6247 | fail: | |
6248 | return NULL; | |
6249 | } | |
6250 | ||
6251 | ||
6252 | static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6253 | PyObject *resultobj; | |
6254 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6255 | int arg2 ; | |
6256 | int arg3 ; | |
6257 | PyObject * obj0 = 0 ; | |
6258 | char *kwnames[] = { | |
6259 | (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL | |
6260 | }; | |
6261 | ||
6262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_HideLines",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
6263 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6264 | { | |
6265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6266 | (arg1)->HideLines(arg2,arg3); | |
6267 | ||
6268 | wxPyEndAllowThreads(__tstate); | |
6269 | if (PyErr_Occurred()) SWIG_fail; | |
6270 | } | |
6271 | Py_INCREF(Py_None); resultobj = Py_None; | |
6272 | return resultobj; | |
6273 | fail: | |
6274 | return NULL; | |
6275 | } | |
6276 | ||
6277 | ||
6278 | static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6279 | PyObject *resultobj; | |
6280 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6281 | int arg2 ; | |
6282 | bool result; | |
6283 | PyObject * obj0 = 0 ; | |
6284 | char *kwnames[] = { | |
6285 | (char *) "self",(char *) "line", NULL | |
6286 | }; | |
6287 | ||
6288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&arg2)) goto fail; | |
6289 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6290 | { | |
6291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6292 | result = (bool)(arg1)->GetLineVisible(arg2); | |
6293 | ||
6294 | wxPyEndAllowThreads(__tstate); | |
6295 | if (PyErr_Occurred()) SWIG_fail; | |
6296 | } | |
6297 | resultobj = PyInt_FromLong((long)result); | |
6298 | return resultobj; | |
6299 | fail: | |
6300 | return NULL; | |
6301 | } | |
6302 | ||
6303 | ||
6304 | static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6305 | PyObject *resultobj; | |
6306 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6307 | int arg2 ; | |
6308 | bool arg3 ; | |
6309 | PyObject * obj0 = 0 ; | |
6310 | PyObject * obj2 = 0 ; | |
6311 | char *kwnames[] = { | |
6312 | (char *) "self",(char *) "line",(char *) "expanded", NULL | |
6313 | }; | |
6314 | ||
6315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
6316 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6317 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
6318 | if (PyErr_Occurred()) SWIG_fail; | |
6319 | { | |
6320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6321 | (arg1)->SetFoldExpanded(arg2,arg3); | |
6322 | ||
6323 | wxPyEndAllowThreads(__tstate); | |
6324 | if (PyErr_Occurred()) SWIG_fail; | |
6325 | } | |
6326 | Py_INCREF(Py_None); resultobj = Py_None; | |
6327 | return resultobj; | |
6328 | fail: | |
6329 | return NULL; | |
6330 | } | |
6331 | ||
6332 | ||
6333 | static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6334 | PyObject *resultobj; | |
6335 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6336 | int arg2 ; | |
6337 | bool result; | |
6338 | PyObject * obj0 = 0 ; | |
6339 | char *kwnames[] = { | |
6340 | (char *) "self",(char *) "line", NULL | |
6341 | }; | |
6342 | ||
6343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&arg2)) goto fail; | |
6344 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6345 | { | |
6346 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6347 | result = (bool)(arg1)->GetFoldExpanded(arg2); | |
6348 | ||
6349 | wxPyEndAllowThreads(__tstate); | |
6350 | if (PyErr_Occurred()) SWIG_fail; | |
6351 | } | |
6352 | resultobj = PyInt_FromLong((long)result); | |
6353 | return resultobj; | |
6354 | fail: | |
6355 | return NULL; | |
6356 | } | |
6357 | ||
6358 | ||
6359 | static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6360 | PyObject *resultobj; | |
6361 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6362 | int arg2 ; | |
6363 | PyObject * obj0 = 0 ; | |
6364 | char *kwnames[] = { | |
6365 | (char *) "self",(char *) "line", NULL | |
6366 | }; | |
6367 | ||
6368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ToggleFold",kwnames,&obj0,&arg2)) goto fail; | |
6369 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6370 | { | |
6371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6372 | (arg1)->ToggleFold(arg2); | |
6373 | ||
6374 | wxPyEndAllowThreads(__tstate); | |
6375 | if (PyErr_Occurred()) SWIG_fail; | |
6376 | } | |
6377 | Py_INCREF(Py_None); resultobj = Py_None; | |
6378 | return resultobj; | |
6379 | fail: | |
6380 | return NULL; | |
6381 | } | |
6382 | ||
6383 | ||
6384 | static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6385 | PyObject *resultobj; | |
6386 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6387 | int arg2 ; | |
6388 | PyObject * obj0 = 0 ; | |
6389 | char *kwnames[] = { | |
6390 | (char *) "self",(char *) "line", NULL | |
6391 | }; | |
6392 | ||
6393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail; | |
6394 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6395 | { | |
6396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6397 | (arg1)->EnsureVisible(arg2); | |
6398 | ||
6399 | wxPyEndAllowThreads(__tstate); | |
6400 | if (PyErr_Occurred()) SWIG_fail; | |
6401 | } | |
6402 | Py_INCREF(Py_None); resultobj = Py_None; | |
6403 | return resultobj; | |
6404 | fail: | |
6405 | return NULL; | |
6406 | } | |
6407 | ||
6408 | ||
6409 | static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6410 | PyObject *resultobj; | |
6411 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6412 | int arg2 ; | |
6413 | PyObject * obj0 = 0 ; | |
6414 | char *kwnames[] = { | |
6415 | (char *) "self",(char *) "flags", NULL | |
6416 | }; | |
6417 | ||
6418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&arg2)) goto fail; | |
6419 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6420 | { | |
6421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6422 | (arg1)->SetFoldFlags(arg2); | |
6423 | ||
6424 | wxPyEndAllowThreads(__tstate); | |
6425 | if (PyErr_Occurred()) SWIG_fail; | |
6426 | } | |
6427 | Py_INCREF(Py_None); resultobj = Py_None; | |
6428 | return resultobj; | |
6429 | fail: | |
6430 | return NULL; | |
6431 | } | |
6432 | ||
6433 | ||
6434 | static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6435 | PyObject *resultobj; | |
6436 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6437 | int arg2 ; | |
6438 | PyObject * obj0 = 0 ; | |
6439 | char *kwnames[] = { | |
6440 | (char *) "self",(char *) "line", NULL | |
6441 | }; | |
6442 | ||
6443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&arg2)) goto fail; | |
6444 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6445 | { | |
6446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6447 | (arg1)->EnsureVisibleEnforcePolicy(arg2); | |
6448 | ||
6449 | wxPyEndAllowThreads(__tstate); | |
6450 | if (PyErr_Occurred()) SWIG_fail; | |
6451 | } | |
6452 | Py_INCREF(Py_None); resultobj = Py_None; | |
6453 | return resultobj; | |
6454 | fail: | |
6455 | return NULL; | |
6456 | } | |
6457 | ||
6458 | ||
6459 | static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6460 | PyObject *resultobj; | |
6461 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6462 | bool arg2 ; | |
6463 | PyObject * obj0 = 0 ; | |
6464 | PyObject * obj1 = 0 ; | |
6465 | char *kwnames[] = { | |
6466 | (char *) "self",(char *) "tabIndents", NULL | |
6467 | }; | |
6468 | ||
6469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail; | |
6470 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6471 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
6472 | if (PyErr_Occurred()) SWIG_fail; | |
6473 | { | |
6474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6475 | (arg1)->SetTabIndents(arg2); | |
6476 | ||
6477 | wxPyEndAllowThreads(__tstate); | |
6478 | if (PyErr_Occurred()) SWIG_fail; | |
6479 | } | |
6480 | Py_INCREF(Py_None); resultobj = Py_None; | |
6481 | return resultobj; | |
6482 | fail: | |
6483 | return NULL; | |
6484 | } | |
6485 | ||
6486 | ||
6487 | static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6488 | PyObject *resultobj; | |
6489 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6490 | bool result; | |
6491 | PyObject * obj0 = 0 ; | |
6492 | char *kwnames[] = { | |
6493 | (char *) "self", NULL | |
6494 | }; | |
6495 | ||
6496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail; | |
6497 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6498 | { | |
6499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6500 | result = (bool)(arg1)->GetTabIndents(); | |
6501 | ||
6502 | wxPyEndAllowThreads(__tstate); | |
6503 | if (PyErr_Occurred()) SWIG_fail; | |
6504 | } | |
6505 | resultobj = PyInt_FromLong((long)result); | |
6506 | return resultobj; | |
6507 | fail: | |
6508 | return NULL; | |
6509 | } | |
6510 | ||
6511 | ||
6512 | static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6513 | PyObject *resultobj; | |
6514 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6515 | bool arg2 ; | |
6516 | PyObject * obj0 = 0 ; | |
6517 | PyObject * obj1 = 0 ; | |
6518 | char *kwnames[] = { | |
6519 | (char *) "self",(char *) "bsUnIndents", NULL | |
6520 | }; | |
6521 | ||
6522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail; | |
6523 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6524 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
6525 | if (PyErr_Occurred()) SWIG_fail; | |
6526 | { | |
6527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6528 | (arg1)->SetBackSpaceUnIndents(arg2); | |
6529 | ||
6530 | wxPyEndAllowThreads(__tstate); | |
6531 | if (PyErr_Occurred()) SWIG_fail; | |
6532 | } | |
6533 | Py_INCREF(Py_None); resultobj = Py_None; | |
6534 | return resultobj; | |
6535 | fail: | |
6536 | return NULL; | |
6537 | } | |
6538 | ||
6539 | ||
6540 | static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6541 | PyObject *resultobj; | |
6542 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6543 | bool result; | |
6544 | PyObject * obj0 = 0 ; | |
6545 | char *kwnames[] = { | |
6546 | (char *) "self", NULL | |
6547 | }; | |
6548 | ||
6549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail; | |
6550 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6551 | { | |
6552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6553 | result = (bool)(arg1)->GetBackSpaceUnIndents(); | |
6554 | ||
6555 | wxPyEndAllowThreads(__tstate); | |
6556 | if (PyErr_Occurred()) SWIG_fail; | |
6557 | } | |
6558 | resultobj = PyInt_FromLong((long)result); | |
6559 | return resultobj; | |
6560 | fail: | |
6561 | return NULL; | |
6562 | } | |
6563 | ||
6564 | ||
6565 | static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6566 | PyObject *resultobj; | |
6567 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6568 | int arg2 ; | |
6569 | PyObject * obj0 = 0 ; | |
6570 | char *kwnames[] = { | |
6571 | (char *) "self",(char *) "periodMilliseconds", NULL | |
6572 | }; | |
6573 | ||
6574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&arg2)) goto fail; | |
6575 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6576 | { | |
6577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6578 | (arg1)->SetMouseDwellTime(arg2); | |
6579 | ||
6580 | wxPyEndAllowThreads(__tstate); | |
6581 | if (PyErr_Occurred()) SWIG_fail; | |
6582 | } | |
6583 | Py_INCREF(Py_None); resultobj = Py_None; | |
6584 | return resultobj; | |
6585 | fail: | |
6586 | return NULL; | |
6587 | } | |
6588 | ||
6589 | ||
6590 | static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6591 | PyObject *resultobj; | |
6592 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6593 | int result; | |
6594 | PyObject * obj0 = 0 ; | |
6595 | char *kwnames[] = { | |
6596 | (char *) "self", NULL | |
6597 | }; | |
6598 | ||
6599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail; | |
6600 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6601 | { | |
6602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6603 | result = (int)(arg1)->GetMouseDwellTime(); | |
6604 | ||
6605 | wxPyEndAllowThreads(__tstate); | |
6606 | if (PyErr_Occurred()) SWIG_fail; | |
6607 | } | |
6608 | resultobj = PyInt_FromLong((long)result); | |
6609 | return resultobj; | |
6610 | fail: | |
6611 | return NULL; | |
6612 | } | |
6613 | ||
6614 | ||
6615 | static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6616 | PyObject *resultobj; | |
6617 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6618 | int arg2 ; | |
6619 | bool arg3 ; | |
6620 | int result; | |
6621 | PyObject * obj0 = 0 ; | |
6622 | PyObject * obj2 = 0 ; | |
6623 | char *kwnames[] = { | |
6624 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
6625 | }; | |
6626 | ||
6627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
6628 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6629 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
6630 | if (PyErr_Occurred()) SWIG_fail; | |
6631 | { | |
6632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6633 | result = (int)(arg1)->WordStartPosition(arg2,arg3); | |
6634 | ||
6635 | wxPyEndAllowThreads(__tstate); | |
6636 | if (PyErr_Occurred()) SWIG_fail; | |
6637 | } | |
6638 | resultobj = PyInt_FromLong((long)result); | |
6639 | return resultobj; | |
6640 | fail: | |
6641 | return NULL; | |
6642 | } | |
6643 | ||
6644 | ||
6645 | static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6646 | PyObject *resultobj; | |
6647 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6648 | int arg2 ; | |
6649 | bool arg3 ; | |
6650 | int result; | |
6651 | PyObject * obj0 = 0 ; | |
6652 | PyObject * obj2 = 0 ; | |
6653 | char *kwnames[] = { | |
6654 | (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL | |
6655 | }; | |
6656 | ||
6657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
6658 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6659 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
6660 | if (PyErr_Occurred()) SWIG_fail; | |
6661 | { | |
6662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6663 | result = (int)(arg1)->WordEndPosition(arg2,arg3); | |
6664 | ||
6665 | wxPyEndAllowThreads(__tstate); | |
6666 | if (PyErr_Occurred()) SWIG_fail; | |
6667 | } | |
6668 | resultobj = PyInt_FromLong((long)result); | |
6669 | return resultobj; | |
6670 | fail: | |
6671 | return NULL; | |
6672 | } | |
6673 | ||
6674 | ||
6675 | static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6676 | PyObject *resultobj; | |
6677 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6678 | int arg2 ; | |
6679 | PyObject * obj0 = 0 ; | |
6680 | char *kwnames[] = { | |
6681 | (char *) "self",(char *) "mode", NULL | |
6682 | }; | |
6683 | ||
6684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&arg2)) goto fail; | |
6685 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6686 | { | |
6687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6688 | (arg1)->SetWrapMode(arg2); | |
6689 | ||
6690 | wxPyEndAllowThreads(__tstate); | |
6691 | if (PyErr_Occurred()) SWIG_fail; | |
6692 | } | |
6693 | Py_INCREF(Py_None); resultobj = Py_None; | |
6694 | return resultobj; | |
6695 | fail: | |
6696 | return NULL; | |
6697 | } | |
6698 | ||
6699 | ||
6700 | static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6701 | PyObject *resultobj; | |
6702 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6703 | int result; | |
6704 | PyObject * obj0 = 0 ; | |
6705 | char *kwnames[] = { | |
6706 | (char *) "self", NULL | |
6707 | }; | |
6708 | ||
6709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail; | |
6710 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6711 | { | |
6712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6713 | result = (int)(arg1)->GetWrapMode(); | |
6714 | ||
6715 | wxPyEndAllowThreads(__tstate); | |
6716 | if (PyErr_Occurred()) SWIG_fail; | |
6717 | } | |
6718 | resultobj = PyInt_FromLong((long)result); | |
6719 | return resultobj; | |
6720 | fail: | |
6721 | return NULL; | |
6722 | } | |
6723 | ||
6724 | ||
6725 | static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6726 | PyObject *resultobj; | |
6727 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6728 | int arg2 ; | |
6729 | PyObject * obj0 = 0 ; | |
6730 | char *kwnames[] = { | |
6731 | (char *) "self",(char *) "mode", NULL | |
6732 | }; | |
6733 | ||
6734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&arg2)) goto fail; | |
6735 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6736 | { | |
6737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6738 | (arg1)->SetLayoutCache(arg2); | |
6739 | ||
6740 | wxPyEndAllowThreads(__tstate); | |
6741 | if (PyErr_Occurred()) SWIG_fail; | |
6742 | } | |
6743 | Py_INCREF(Py_None); resultobj = Py_None; | |
6744 | return resultobj; | |
6745 | fail: | |
6746 | return NULL; | |
6747 | } | |
6748 | ||
6749 | ||
6750 | static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6751 | PyObject *resultobj; | |
6752 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6753 | int result; | |
6754 | PyObject * obj0 = 0 ; | |
6755 | char *kwnames[] = { | |
6756 | (char *) "self", NULL | |
6757 | }; | |
6758 | ||
6759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail; | |
6760 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6761 | { | |
6762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6763 | result = (int)(arg1)->GetLayoutCache(); | |
6764 | ||
6765 | wxPyEndAllowThreads(__tstate); | |
6766 | if (PyErr_Occurred()) SWIG_fail; | |
6767 | } | |
6768 | resultobj = PyInt_FromLong((long)result); | |
6769 | return resultobj; | |
6770 | fail: | |
6771 | return NULL; | |
6772 | } | |
6773 | ||
6774 | ||
6775 | static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6776 | PyObject *resultobj; | |
6777 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6778 | int arg2 ; | |
6779 | PyObject * obj0 = 0 ; | |
6780 | char *kwnames[] = { | |
6781 | (char *) "self",(char *) "pixelWidth", NULL | |
6782 | }; | |
6783 | ||
6784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&arg2)) goto fail; | |
6785 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6786 | { | |
6787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6788 | (arg1)->SetScrollWidth(arg2); | |
6789 | ||
6790 | wxPyEndAllowThreads(__tstate); | |
6791 | if (PyErr_Occurred()) SWIG_fail; | |
6792 | } | |
6793 | Py_INCREF(Py_None); resultobj = Py_None; | |
6794 | return resultobj; | |
6795 | fail: | |
6796 | return NULL; | |
6797 | } | |
6798 | ||
6799 | ||
6800 | static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6801 | PyObject *resultobj; | |
6802 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6803 | int result; | |
6804 | PyObject * obj0 = 0 ; | |
6805 | char *kwnames[] = { | |
6806 | (char *) "self", NULL | |
6807 | }; | |
6808 | ||
6809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail; | |
6810 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6811 | { | |
6812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6813 | result = (int)(arg1)->GetScrollWidth(); | |
6814 | ||
6815 | wxPyEndAllowThreads(__tstate); | |
6816 | if (PyErr_Occurred()) SWIG_fail; | |
6817 | } | |
6818 | resultobj = PyInt_FromLong((long)result); | |
6819 | return resultobj; | |
6820 | fail: | |
6821 | return NULL; | |
6822 | } | |
6823 | ||
6824 | ||
6825 | static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6826 | PyObject *resultobj; | |
6827 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6828 | int arg2 ; | |
6829 | wxString *arg3 = 0 ; | |
6830 | int result; | |
e811c8ce | 6831 | bool temp3 = False ; |
d14a1e28 RD |
6832 | PyObject * obj0 = 0 ; |
6833 | PyObject * obj2 = 0 ; | |
6834 | char *kwnames[] = { | |
6835 | (char *) "self",(char *) "style",(char *) "text", NULL | |
6836 | }; | |
6837 | ||
6838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_TextWidth",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
6839 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6840 | { | |
6841 | arg3 = wxString_in_helper(obj2); | |
6842 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 6843 | temp3 = True; |
d14a1e28 RD |
6844 | } |
6845 | { | |
6846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6847 | result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3); | |
6848 | ||
6849 | wxPyEndAllowThreads(__tstate); | |
6850 | if (PyErr_Occurred()) SWIG_fail; | |
6851 | } | |
6852 | resultobj = PyInt_FromLong((long)result); | |
6853 | { | |
6854 | if (temp3) | |
6855 | delete arg3; | |
6856 | } | |
6857 | return resultobj; | |
6858 | fail: | |
6859 | { | |
6860 | if (temp3) | |
6861 | delete arg3; | |
6862 | } | |
6863 | return NULL; | |
6864 | } | |
6865 | ||
6866 | ||
6867 | static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6868 | PyObject *resultobj; | |
6869 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6870 | bool arg2 ; | |
6871 | PyObject * obj0 = 0 ; | |
6872 | PyObject * obj1 = 0 ; | |
6873 | char *kwnames[] = { | |
6874 | (char *) "self",(char *) "endAtLastLine", NULL | |
6875 | }; | |
6876 | ||
6877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail; | |
6878 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6879 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
6880 | if (PyErr_Occurred()) SWIG_fail; | |
6881 | { | |
6882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6883 | (arg1)->SetEndAtLastLine(arg2); | |
6884 | ||
6885 | wxPyEndAllowThreads(__tstate); | |
6886 | if (PyErr_Occurred()) SWIG_fail; | |
6887 | } | |
6888 | Py_INCREF(Py_None); resultobj = Py_None; | |
6889 | return resultobj; | |
6890 | fail: | |
6891 | return NULL; | |
6892 | } | |
6893 | ||
6894 | ||
6895 | static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6896 | PyObject *resultobj; | |
6897 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6898 | int result; | |
6899 | PyObject * obj0 = 0 ; | |
6900 | char *kwnames[] = { | |
6901 | (char *) "self", NULL | |
6902 | }; | |
6903 | ||
6904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail; | |
6905 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6906 | { | |
6907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6908 | result = (int)(arg1)->GetEndAtLastLine(); | |
6909 | ||
6910 | wxPyEndAllowThreads(__tstate); | |
6911 | if (PyErr_Occurred()) SWIG_fail; | |
6912 | } | |
6913 | resultobj = PyInt_FromLong((long)result); | |
6914 | return resultobj; | |
6915 | fail: | |
6916 | return NULL; | |
6917 | } | |
6918 | ||
6919 | ||
6920 | static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6921 | PyObject *resultobj; | |
6922 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6923 | int arg2 ; | |
6924 | int result; | |
6925 | PyObject * obj0 = 0 ; | |
6926 | char *kwnames[] = { | |
6927 | (char *) "self",(char *) "line", NULL | |
6928 | }; | |
6929 | ||
6930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_TextHeight",kwnames,&obj0,&arg2)) goto fail; | |
6931 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6932 | { | |
6933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6934 | result = (int)(arg1)->TextHeight(arg2); | |
6935 | ||
6936 | wxPyEndAllowThreads(__tstate); | |
6937 | if (PyErr_Occurred()) SWIG_fail; | |
6938 | } | |
6939 | resultobj = PyInt_FromLong((long)result); | |
6940 | return resultobj; | |
6941 | fail: | |
6942 | return NULL; | |
6943 | } | |
6944 | ||
6945 | ||
6946 | static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6947 | PyObject *resultobj; | |
6948 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6949 | bool arg2 ; | |
6950 | PyObject * obj0 = 0 ; | |
6951 | PyObject * obj1 = 0 ; | |
6952 | char *kwnames[] = { | |
6953 | (char *) "self",(char *) "show", NULL | |
6954 | }; | |
6955 | ||
6956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
6957 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6958 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
6959 | if (PyErr_Occurred()) SWIG_fail; | |
6960 | { | |
6961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6962 | (arg1)->SetUseVerticalScrollBar(arg2); | |
6963 | ||
6964 | wxPyEndAllowThreads(__tstate); | |
6965 | if (PyErr_Occurred()) SWIG_fail; | |
6966 | } | |
6967 | Py_INCREF(Py_None); resultobj = Py_None; | |
6968 | return resultobj; | |
6969 | fail: | |
6970 | return NULL; | |
6971 | } | |
6972 | ||
6973 | ||
6974 | static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6975 | PyObject *resultobj; | |
6976 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
6977 | bool result; | |
6978 | PyObject * obj0 = 0 ; | |
6979 | char *kwnames[] = { | |
6980 | (char *) "self", NULL | |
6981 | }; | |
6982 | ||
6983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail; | |
6984 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
6985 | { | |
6986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6987 | result = (bool)(arg1)->GetUseVerticalScrollBar(); | |
6988 | ||
6989 | wxPyEndAllowThreads(__tstate); | |
6990 | if (PyErr_Occurred()) SWIG_fail; | |
6991 | } | |
6992 | resultobj = PyInt_FromLong((long)result); | |
6993 | return resultobj; | |
6994 | fail: | |
6995 | return NULL; | |
6996 | } | |
6997 | ||
6998 | ||
6999 | static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7000 | PyObject *resultobj; | |
7001 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7002 | int arg2 ; | |
7003 | wxString *arg3 = 0 ; | |
e811c8ce | 7004 | bool temp3 = False ; |
d14a1e28 RD |
7005 | PyObject * obj0 = 0 ; |
7006 | PyObject * obj2 = 0 ; | |
7007 | char *kwnames[] = { | |
7008 | (char *) "self",(char *) "length",(char *) "text", NULL | |
7009 | }; | |
7010 | ||
7011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_AppendText",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
7012 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7013 | { | |
7014 | arg3 = wxString_in_helper(obj2); | |
7015 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 7016 | temp3 = True; |
d14a1e28 RD |
7017 | } |
7018 | { | |
7019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7020 | (arg1)->AppendText(arg2,(wxString const &)*arg3); | |
7021 | ||
7022 | wxPyEndAllowThreads(__tstate); | |
7023 | if (PyErr_Occurred()) SWIG_fail; | |
7024 | } | |
7025 | Py_INCREF(Py_None); resultobj = Py_None; | |
7026 | { | |
7027 | if (temp3) | |
7028 | delete arg3; | |
7029 | } | |
7030 | return resultobj; | |
7031 | fail: | |
7032 | { | |
7033 | if (temp3) | |
7034 | delete arg3; | |
7035 | } | |
7036 | return NULL; | |
7037 | } | |
7038 | ||
7039 | ||
7040 | static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7041 | PyObject *resultobj; | |
7042 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7043 | bool result; | |
7044 | PyObject * obj0 = 0 ; | |
7045 | char *kwnames[] = { | |
7046 | (char *) "self", NULL | |
7047 | }; | |
7048 | ||
7049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail; | |
7050 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7051 | { | |
7052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7053 | result = (bool)(arg1)->GetTwoPhaseDraw(); | |
7054 | ||
7055 | wxPyEndAllowThreads(__tstate); | |
7056 | if (PyErr_Occurred()) SWIG_fail; | |
7057 | } | |
7058 | resultobj = PyInt_FromLong((long)result); | |
7059 | return resultobj; | |
7060 | fail: | |
7061 | return NULL; | |
7062 | } | |
7063 | ||
7064 | ||
7065 | static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7066 | PyObject *resultobj; | |
7067 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7068 | bool arg2 ; | |
7069 | PyObject * obj0 = 0 ; | |
7070 | PyObject * obj1 = 0 ; | |
7071 | char *kwnames[] = { | |
7072 | (char *) "self",(char *) "twoPhase", NULL | |
7073 | }; | |
7074 | ||
7075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail; | |
7076 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7077 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
7078 | if (PyErr_Occurred()) SWIG_fail; | |
7079 | { | |
7080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7081 | (arg1)->SetTwoPhaseDraw(arg2); | |
7082 | ||
7083 | wxPyEndAllowThreads(__tstate); | |
7084 | if (PyErr_Occurred()) SWIG_fail; | |
7085 | } | |
7086 | Py_INCREF(Py_None); resultobj = Py_None; | |
7087 | return resultobj; | |
7088 | fail: | |
7089 | return NULL; | |
7090 | } | |
7091 | ||
7092 | ||
7093 | static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7094 | PyObject *resultobj; | |
7095 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7096 | PyObject * obj0 = 0 ; | |
7097 | char *kwnames[] = { | |
7098 | (char *) "self", NULL | |
7099 | }; | |
7100 | ||
7101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail; | |
7102 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7103 | { | |
7104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7105 | (arg1)->TargetFromSelection(); | |
7106 | ||
7107 | wxPyEndAllowThreads(__tstate); | |
7108 | if (PyErr_Occurred()) SWIG_fail; | |
7109 | } | |
7110 | Py_INCREF(Py_None); resultobj = Py_None; | |
7111 | return resultobj; | |
7112 | fail: | |
7113 | return NULL; | |
7114 | } | |
7115 | ||
7116 | ||
7117 | static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7118 | PyObject *resultobj; | |
7119 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7120 | PyObject * obj0 = 0 ; | |
7121 | char *kwnames[] = { | |
7122 | (char *) "self", NULL | |
7123 | }; | |
7124 | ||
7125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail; | |
7126 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7127 | { | |
7128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7129 | (arg1)->LinesJoin(); | |
7130 | ||
7131 | wxPyEndAllowThreads(__tstate); | |
7132 | if (PyErr_Occurred()) SWIG_fail; | |
7133 | } | |
7134 | Py_INCREF(Py_None); resultobj = Py_None; | |
7135 | return resultobj; | |
7136 | fail: | |
7137 | return NULL; | |
7138 | } | |
7139 | ||
7140 | ||
7141 | static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7142 | PyObject *resultobj; | |
7143 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7144 | int arg2 ; | |
7145 | PyObject * obj0 = 0 ; | |
7146 | char *kwnames[] = { | |
7147 | (char *) "self",(char *) "pixelWidth", NULL | |
7148 | }; | |
7149 | ||
7150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LinesSplit",kwnames,&obj0,&arg2)) goto fail; | |
7151 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7152 | { | |
7153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7154 | (arg1)->LinesSplit(arg2); | |
7155 | ||
7156 | wxPyEndAllowThreads(__tstate); | |
7157 | if (PyErr_Occurred()) SWIG_fail; | |
7158 | } | |
7159 | Py_INCREF(Py_None); resultobj = Py_None; | |
7160 | return resultobj; | |
7161 | fail: | |
7162 | return NULL; | |
7163 | } | |
7164 | ||
7165 | ||
7166 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7167 | PyObject *resultobj; | |
7168 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7169 | bool arg2 ; | |
7170 | wxColour *arg3 = 0 ; | |
7171 | wxColour temp3 ; | |
7172 | PyObject * obj0 = 0 ; | |
7173 | PyObject * obj1 = 0 ; | |
7174 | PyObject * obj2 = 0 ; | |
7175 | char *kwnames[] = { | |
7176 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
7177 | }; | |
7178 | ||
7179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7180 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7181 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
7182 | if (PyErr_Occurred()) SWIG_fail; | |
7183 | { | |
7184 | arg3 = &temp3; | |
7185 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
7186 | } | |
7187 | { | |
7188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7189 | (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3); | |
7190 | ||
7191 | wxPyEndAllowThreads(__tstate); | |
7192 | if (PyErr_Occurred()) SWIG_fail; | |
7193 | } | |
7194 | Py_INCREF(Py_None); resultobj = Py_None; | |
7195 | return resultobj; | |
7196 | fail: | |
7197 | return NULL; | |
7198 | } | |
7199 | ||
7200 | ||
7201 | static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7202 | PyObject *resultobj; | |
7203 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7204 | bool arg2 ; | |
7205 | wxColour *arg3 = 0 ; | |
7206 | wxColour temp3 ; | |
7207 | PyObject * obj0 = 0 ; | |
7208 | PyObject * obj1 = 0 ; | |
7209 | PyObject * obj2 = 0 ; | |
7210 | char *kwnames[] = { | |
7211 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
7212 | }; | |
7213 | ||
7214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7215 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7216 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
7217 | if (PyErr_Occurred()) SWIG_fail; | |
7218 | { | |
7219 | arg3 = &temp3; | |
7220 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
7221 | } | |
7222 | { | |
7223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7224 | (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3); | |
7225 | ||
7226 | wxPyEndAllowThreads(__tstate); | |
7227 | if (PyErr_Occurred()) SWIG_fail; | |
7228 | } | |
7229 | Py_INCREF(Py_None); resultobj = Py_None; | |
7230 | return resultobj; | |
7231 | fail: | |
7232 | return NULL; | |
7233 | } | |
7234 | ||
7235 | ||
7236 | static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7237 | PyObject *resultobj; | |
7238 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7239 | PyObject * obj0 = 0 ; | |
7240 | char *kwnames[] = { | |
7241 | (char *) "self", NULL | |
7242 | }; | |
7243 | ||
7244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail; | |
7245 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7246 | { | |
7247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7248 | (arg1)->LineDuplicate(); | |
7249 | ||
7250 | wxPyEndAllowThreads(__tstate); | |
7251 | if (PyErr_Occurred()) SWIG_fail; | |
7252 | } | |
7253 | Py_INCREF(Py_None); resultobj = Py_None; | |
7254 | return resultobj; | |
7255 | fail: | |
7256 | return NULL; | |
7257 | } | |
7258 | ||
7259 | ||
7260 | static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7261 | PyObject *resultobj; | |
7262 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7263 | PyObject * obj0 = 0 ; | |
7264 | char *kwnames[] = { | |
7265 | (char *) "self", NULL | |
7266 | }; | |
7267 | ||
7268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail; | |
7269 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7270 | { | |
7271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7272 | (arg1)->HomeDisplay(); | |
7273 | ||
7274 | wxPyEndAllowThreads(__tstate); | |
7275 | if (PyErr_Occurred()) SWIG_fail; | |
7276 | } | |
7277 | Py_INCREF(Py_None); resultobj = Py_None; | |
7278 | return resultobj; | |
7279 | fail: | |
7280 | return NULL; | |
7281 | } | |
7282 | ||
7283 | ||
7284 | static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7285 | PyObject *resultobj; | |
7286 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7287 | PyObject * obj0 = 0 ; | |
7288 | char *kwnames[] = { | |
7289 | (char *) "self", NULL | |
7290 | }; | |
7291 | ||
7292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail; | |
7293 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7294 | { | |
7295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7296 | (arg1)->HomeDisplayExtend(); | |
7297 | ||
7298 | wxPyEndAllowThreads(__tstate); | |
7299 | if (PyErr_Occurred()) SWIG_fail; | |
7300 | } | |
7301 | Py_INCREF(Py_None); resultobj = Py_None; | |
7302 | return resultobj; | |
7303 | fail: | |
7304 | return NULL; | |
7305 | } | |
7306 | ||
7307 | ||
7308 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7309 | PyObject *resultobj; | |
7310 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7311 | PyObject * obj0 = 0 ; | |
7312 | char *kwnames[] = { | |
7313 | (char *) "self", NULL | |
7314 | }; | |
7315 | ||
7316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail; | |
7317 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7318 | { | |
7319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7320 | (arg1)->LineEndDisplay(); | |
7321 | ||
7322 | wxPyEndAllowThreads(__tstate); | |
7323 | if (PyErr_Occurred()) SWIG_fail; | |
7324 | } | |
7325 | Py_INCREF(Py_None); resultobj = Py_None; | |
7326 | return resultobj; | |
7327 | fail: | |
7328 | return NULL; | |
7329 | } | |
7330 | ||
7331 | ||
7332 | static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7333 | PyObject *resultobj; | |
7334 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7335 | PyObject * obj0 = 0 ; | |
7336 | char *kwnames[] = { | |
7337 | (char *) "self", NULL | |
7338 | }; | |
7339 | ||
7340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail; | |
7341 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7342 | { | |
7343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7344 | (arg1)->LineEndDisplayExtend(); | |
7345 | ||
7346 | wxPyEndAllowThreads(__tstate); | |
7347 | if (PyErr_Occurred()) SWIG_fail; | |
7348 | } | |
7349 | Py_INCREF(Py_None); resultobj = Py_None; | |
7350 | return resultobj; | |
7351 | fail: | |
7352 | return NULL; | |
7353 | } | |
7354 | ||
7355 | ||
7356 | static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7357 | PyObject *resultobj; | |
7358 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7359 | PyObject * obj0 = 0 ; | |
7360 | char *kwnames[] = { | |
7361 | (char *) "self", NULL | |
7362 | }; | |
7363 | ||
7364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail; | |
7365 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7366 | { | |
7367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7368 | (arg1)->LineCopy(); | |
7369 | ||
7370 | wxPyEndAllowThreads(__tstate); | |
7371 | if (PyErr_Occurred()) SWIG_fail; | |
7372 | } | |
7373 | Py_INCREF(Py_None); resultobj = Py_None; | |
7374 | return resultobj; | |
7375 | fail: | |
7376 | return NULL; | |
7377 | } | |
7378 | ||
7379 | ||
7380 | static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7381 | PyObject *resultobj; | |
7382 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7383 | PyObject * obj0 = 0 ; | |
7384 | char *kwnames[] = { | |
7385 | (char *) "self", NULL | |
7386 | }; | |
7387 | ||
7388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail; | |
7389 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7390 | { | |
7391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7392 | (arg1)->MoveCaretInsideView(); | |
7393 | ||
7394 | wxPyEndAllowThreads(__tstate); | |
7395 | if (PyErr_Occurred()) SWIG_fail; | |
7396 | } | |
7397 | Py_INCREF(Py_None); resultobj = Py_None; | |
7398 | return resultobj; | |
7399 | fail: | |
7400 | return NULL; | |
7401 | } | |
7402 | ||
7403 | ||
7404 | static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7405 | PyObject *resultobj; | |
7406 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7407 | int arg2 ; | |
7408 | int result; | |
7409 | PyObject * obj0 = 0 ; | |
7410 | char *kwnames[] = { | |
7411 | (char *) "self",(char *) "line", NULL | |
7412 | }; | |
7413 | ||
7414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_LineLength",kwnames,&obj0,&arg2)) goto fail; | |
7415 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7416 | { | |
7417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7418 | result = (int)(arg1)->LineLength(arg2); | |
7419 | ||
7420 | wxPyEndAllowThreads(__tstate); | |
7421 | if (PyErr_Occurred()) SWIG_fail; | |
7422 | } | |
7423 | resultobj = PyInt_FromLong((long)result); | |
7424 | return resultobj; | |
7425 | fail: | |
7426 | return NULL; | |
7427 | } | |
7428 | ||
7429 | ||
7430 | static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7431 | PyObject *resultobj; | |
7432 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7433 | int arg2 ; | |
7434 | int arg3 ; | |
7435 | PyObject * obj0 = 0 ; | |
7436 | char *kwnames[] = { | |
7437 | (char *) "self",(char *) "pos1",(char *) "pos2", NULL | |
7438 | }; | |
7439 | ||
7440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
7441 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7442 | { | |
7443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7444 | (arg1)->BraceHighlight(arg2,arg3); | |
7445 | ||
7446 | wxPyEndAllowThreads(__tstate); | |
7447 | if (PyErr_Occurred()) SWIG_fail; | |
7448 | } | |
7449 | Py_INCREF(Py_None); resultobj = Py_None; | |
7450 | return resultobj; | |
7451 | fail: | |
7452 | return NULL; | |
7453 | } | |
7454 | ||
7455 | ||
7456 | static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7457 | PyObject *resultobj; | |
7458 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7459 | int arg2 ; | |
7460 | PyObject * obj0 = 0 ; | |
7461 | char *kwnames[] = { | |
7462 | (char *) "self",(char *) "pos", NULL | |
7463 | }; | |
7464 | ||
7465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&arg2)) goto fail; | |
7466 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7467 | { | |
7468 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7469 | (arg1)->BraceBadLight(arg2); | |
7470 | ||
7471 | wxPyEndAllowThreads(__tstate); | |
7472 | if (PyErr_Occurred()) SWIG_fail; | |
7473 | } | |
7474 | Py_INCREF(Py_None); resultobj = Py_None; | |
7475 | return resultobj; | |
7476 | fail: | |
7477 | return NULL; | |
7478 | } | |
7479 | ||
7480 | ||
7481 | static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7482 | PyObject *resultobj; | |
7483 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7484 | int arg2 ; | |
7485 | int result; | |
7486 | PyObject * obj0 = 0 ; | |
7487 | char *kwnames[] = { | |
7488 | (char *) "self",(char *) "pos", NULL | |
7489 | }; | |
7490 | ||
7491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_BraceMatch",kwnames,&obj0,&arg2)) goto fail; | |
7492 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7493 | { | |
7494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7495 | result = (int)(arg1)->BraceMatch(arg2); | |
7496 | ||
7497 | wxPyEndAllowThreads(__tstate); | |
7498 | if (PyErr_Occurred()) SWIG_fail; | |
7499 | } | |
7500 | resultobj = PyInt_FromLong((long)result); | |
7501 | return resultobj; | |
7502 | fail: | |
7503 | return NULL; | |
7504 | } | |
7505 | ||
7506 | ||
7507 | static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7508 | PyObject *resultobj; | |
7509 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7510 | bool result; | |
7511 | PyObject * obj0 = 0 ; | |
7512 | char *kwnames[] = { | |
7513 | (char *) "self", NULL | |
7514 | }; | |
7515 | ||
7516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail; | |
7517 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7518 | { | |
7519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7520 | result = (bool)(arg1)->GetViewEOL(); | |
7521 | ||
7522 | wxPyEndAllowThreads(__tstate); | |
7523 | if (PyErr_Occurred()) SWIG_fail; | |
7524 | } | |
7525 | resultobj = PyInt_FromLong((long)result); | |
7526 | return resultobj; | |
7527 | fail: | |
7528 | return NULL; | |
7529 | } | |
7530 | ||
7531 | ||
7532 | static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7533 | PyObject *resultobj; | |
7534 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7535 | bool arg2 ; | |
7536 | PyObject * obj0 = 0 ; | |
7537 | PyObject * obj1 = 0 ; | |
7538 | char *kwnames[] = { | |
7539 | (char *) "self",(char *) "visible", NULL | |
7540 | }; | |
7541 | ||
7542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail; | |
7543 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7544 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
7545 | if (PyErr_Occurred()) SWIG_fail; | |
7546 | { | |
7547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7548 | (arg1)->SetViewEOL(arg2); | |
7549 | ||
7550 | wxPyEndAllowThreads(__tstate); | |
7551 | if (PyErr_Occurred()) SWIG_fail; | |
7552 | } | |
7553 | Py_INCREF(Py_None); resultobj = Py_None; | |
7554 | return resultobj; | |
7555 | fail: | |
7556 | return NULL; | |
7557 | } | |
7558 | ||
7559 | ||
7560 | static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7561 | PyObject *resultobj; | |
7562 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7563 | void *result; | |
7564 | PyObject * obj0 = 0 ; | |
7565 | char *kwnames[] = { | |
7566 | (char *) "self", NULL | |
7567 | }; | |
7568 | ||
7569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail; | |
7570 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7571 | { | |
7572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7573 | result = (void *)(arg1)->GetDocPointer(); | |
7574 | ||
7575 | wxPyEndAllowThreads(__tstate); | |
7576 | if (PyErr_Occurred()) SWIG_fail; | |
7577 | } | |
7578 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0); | |
7579 | return resultobj; | |
7580 | fail: | |
7581 | return NULL; | |
7582 | } | |
7583 | ||
7584 | ||
7585 | static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7586 | PyObject *resultobj; | |
7587 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7588 | void *arg2 = (void *) 0 ; | |
7589 | PyObject * obj0 = 0 ; | |
7590 | PyObject * obj1 = 0 ; | |
7591 | char *kwnames[] = { | |
7592 | (char *) "self",(char *) "docPointer", NULL | |
7593 | }; | |
7594 | ||
7595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail; | |
7596 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7597 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7598 | { | |
7599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7600 | (arg1)->SetDocPointer(arg2); | |
7601 | ||
7602 | wxPyEndAllowThreads(__tstate); | |
7603 | if (PyErr_Occurred()) SWIG_fail; | |
7604 | } | |
7605 | Py_INCREF(Py_None); resultobj = Py_None; | |
7606 | return resultobj; | |
7607 | fail: | |
7608 | return NULL; | |
7609 | } | |
7610 | ||
7611 | ||
7612 | static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7613 | PyObject *resultobj; | |
7614 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7615 | int arg2 ; | |
7616 | PyObject * obj0 = 0 ; | |
7617 | char *kwnames[] = { | |
7618 | (char *) "self",(char *) "mask", NULL | |
7619 | }; | |
7620 | ||
7621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&arg2)) goto fail; | |
7622 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7623 | { | |
7624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7625 | (arg1)->SetModEventMask(arg2); | |
7626 | ||
7627 | wxPyEndAllowThreads(__tstate); | |
7628 | if (PyErr_Occurred()) SWIG_fail; | |
7629 | } | |
7630 | Py_INCREF(Py_None); resultobj = Py_None; | |
7631 | return resultobj; | |
7632 | fail: | |
7633 | return NULL; | |
7634 | } | |
7635 | ||
7636 | ||
7637 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7638 | PyObject *resultobj; | |
7639 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7640 | int result; | |
7641 | PyObject * obj0 = 0 ; | |
7642 | char *kwnames[] = { | |
7643 | (char *) "self", NULL | |
7644 | }; | |
7645 | ||
7646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail; | |
7647 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7648 | { | |
7649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7650 | result = (int)(arg1)->GetEdgeColumn(); | |
7651 | ||
7652 | wxPyEndAllowThreads(__tstate); | |
7653 | if (PyErr_Occurred()) SWIG_fail; | |
7654 | } | |
7655 | resultobj = PyInt_FromLong((long)result); | |
7656 | return resultobj; | |
7657 | fail: | |
7658 | return NULL; | |
7659 | } | |
7660 | ||
7661 | ||
7662 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7663 | PyObject *resultobj; | |
7664 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7665 | int arg2 ; | |
7666 | PyObject * obj0 = 0 ; | |
7667 | char *kwnames[] = { | |
7668 | (char *) "self",(char *) "column", NULL | |
7669 | }; | |
7670 | ||
7671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&arg2)) goto fail; | |
7672 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7673 | { | |
7674 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7675 | (arg1)->SetEdgeColumn(arg2); | |
7676 | ||
7677 | wxPyEndAllowThreads(__tstate); | |
7678 | if (PyErr_Occurred()) SWIG_fail; | |
7679 | } | |
7680 | Py_INCREF(Py_None); resultobj = Py_None; | |
7681 | return resultobj; | |
7682 | fail: | |
7683 | return NULL; | |
7684 | } | |
7685 | ||
7686 | ||
7687 | static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7688 | PyObject *resultobj; | |
7689 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7690 | int result; | |
7691 | PyObject * obj0 = 0 ; | |
7692 | char *kwnames[] = { | |
7693 | (char *) "self", NULL | |
7694 | }; | |
7695 | ||
7696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail; | |
7697 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7698 | { | |
7699 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7700 | result = (int)(arg1)->GetEdgeMode(); | |
7701 | ||
7702 | wxPyEndAllowThreads(__tstate); | |
7703 | if (PyErr_Occurred()) SWIG_fail; | |
7704 | } | |
7705 | resultobj = PyInt_FromLong((long)result); | |
7706 | return resultobj; | |
7707 | fail: | |
7708 | return NULL; | |
7709 | } | |
7710 | ||
7711 | ||
7712 | static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7713 | PyObject *resultobj; | |
7714 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7715 | int arg2 ; | |
7716 | PyObject * obj0 = 0 ; | |
7717 | char *kwnames[] = { | |
7718 | (char *) "self",(char *) "mode", NULL | |
7719 | }; | |
7720 | ||
7721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&arg2)) goto fail; | |
7722 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7723 | { | |
7724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7725 | (arg1)->SetEdgeMode(arg2); | |
7726 | ||
7727 | wxPyEndAllowThreads(__tstate); | |
7728 | if (PyErr_Occurred()) SWIG_fail; | |
7729 | } | |
7730 | Py_INCREF(Py_None); resultobj = Py_None; | |
7731 | return resultobj; | |
7732 | fail: | |
7733 | return NULL; | |
7734 | } | |
7735 | ||
7736 | ||
7737 | static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7738 | PyObject *resultobj; | |
7739 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7740 | wxColour result; | |
7741 | PyObject * obj0 = 0 ; | |
7742 | char *kwnames[] = { | |
7743 | (char *) "self", NULL | |
7744 | }; | |
7745 | ||
7746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail; | |
7747 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7748 | { | |
7749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7750 | result = (arg1)->GetEdgeColour(); | |
7751 | ||
7752 | wxPyEndAllowThreads(__tstate); | |
7753 | if (PyErr_Occurred()) SWIG_fail; | |
7754 | } | |
7755 | { | |
7756 | wxColour * resultptr; | |
7757 | resultptr = new wxColour((wxColour &) result); | |
7758 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
7759 | } | |
7760 | return resultobj; | |
7761 | fail: | |
7762 | return NULL; | |
7763 | } | |
7764 | ||
7765 | ||
7766 | static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7767 | PyObject *resultobj; | |
7768 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7769 | wxColour *arg2 = 0 ; | |
7770 | wxColour temp2 ; | |
7771 | PyObject * obj0 = 0 ; | |
7772 | PyObject * obj1 = 0 ; | |
7773 | char *kwnames[] = { | |
7774 | (char *) "self",(char *) "edgeColour", NULL | |
7775 | }; | |
7776 | ||
7777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail; | |
7778 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7779 | { | |
7780 | arg2 = &temp2; | |
7781 | if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail; | |
7782 | } | |
7783 | { | |
7784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7785 | (arg1)->SetEdgeColour((wxColour const &)*arg2); | |
7786 | ||
7787 | wxPyEndAllowThreads(__tstate); | |
7788 | if (PyErr_Occurred()) SWIG_fail; | |
7789 | } | |
7790 | Py_INCREF(Py_None); resultobj = Py_None; | |
7791 | return resultobj; | |
7792 | fail: | |
7793 | return NULL; | |
7794 | } | |
7795 | ||
7796 | ||
7797 | static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7798 | PyObject *resultobj; | |
7799 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7800 | PyObject * obj0 = 0 ; | |
7801 | char *kwnames[] = { | |
7802 | (char *) "self", NULL | |
7803 | }; | |
7804 | ||
7805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail; | |
7806 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7807 | { | |
7808 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7809 | (arg1)->SearchAnchor(); | |
7810 | ||
7811 | wxPyEndAllowThreads(__tstate); | |
7812 | if (PyErr_Occurred()) SWIG_fail; | |
7813 | } | |
7814 | Py_INCREF(Py_None); resultobj = Py_None; | |
7815 | return resultobj; | |
7816 | fail: | |
7817 | return NULL; | |
7818 | } | |
7819 | ||
7820 | ||
7821 | static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7822 | PyObject *resultobj; | |
7823 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7824 | int arg2 ; | |
7825 | wxString *arg3 = 0 ; | |
7826 | int result; | |
e811c8ce | 7827 | bool temp3 = False ; |
d14a1e28 RD |
7828 | PyObject * obj0 = 0 ; |
7829 | PyObject * obj2 = 0 ; | |
7830 | char *kwnames[] = { | |
7831 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
7832 | }; | |
7833 | ||
7834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SearchNext",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
7835 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7836 | { | |
7837 | arg3 = wxString_in_helper(obj2); | |
7838 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 7839 | temp3 = True; |
d14a1e28 RD |
7840 | } |
7841 | { | |
7842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7843 | result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3); | |
7844 | ||
7845 | wxPyEndAllowThreads(__tstate); | |
7846 | if (PyErr_Occurred()) SWIG_fail; | |
7847 | } | |
7848 | resultobj = PyInt_FromLong((long)result); | |
7849 | { | |
7850 | if (temp3) | |
7851 | delete arg3; | |
7852 | } | |
7853 | return resultobj; | |
7854 | fail: | |
7855 | { | |
7856 | if (temp3) | |
7857 | delete arg3; | |
7858 | } | |
7859 | return NULL; | |
7860 | } | |
7861 | ||
7862 | ||
7863 | static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7864 | PyObject *resultobj; | |
7865 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7866 | int arg2 ; | |
7867 | wxString *arg3 = 0 ; | |
7868 | int result; | |
e811c8ce | 7869 | bool temp3 = False ; |
d14a1e28 RD |
7870 | PyObject * obj0 = 0 ; |
7871 | PyObject * obj2 = 0 ; | |
7872 | char *kwnames[] = { | |
7873 | (char *) "self",(char *) "flags",(char *) "text", NULL | |
7874 | }; | |
7875 | ||
7876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
7877 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7878 | { | |
7879 | arg3 = wxString_in_helper(obj2); | |
7880 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 7881 | temp3 = True; |
d14a1e28 RD |
7882 | } |
7883 | { | |
7884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7885 | result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3); | |
7886 | ||
7887 | wxPyEndAllowThreads(__tstate); | |
7888 | if (PyErr_Occurred()) SWIG_fail; | |
7889 | } | |
7890 | resultobj = PyInt_FromLong((long)result); | |
7891 | { | |
7892 | if (temp3) | |
7893 | delete arg3; | |
7894 | } | |
7895 | return resultobj; | |
7896 | fail: | |
7897 | { | |
7898 | if (temp3) | |
7899 | delete arg3; | |
7900 | } | |
7901 | return NULL; | |
7902 | } | |
7903 | ||
7904 | ||
7905 | static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7906 | PyObject *resultobj; | |
7907 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7908 | int result; | |
7909 | PyObject * obj0 = 0 ; | |
7910 | char *kwnames[] = { | |
7911 | (char *) "self", NULL | |
7912 | }; | |
7913 | ||
7914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail; | |
7915 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7916 | { | |
7917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7918 | result = (int)(arg1)->LinesOnScreen(); | |
7919 | ||
7920 | wxPyEndAllowThreads(__tstate); | |
7921 | if (PyErr_Occurred()) SWIG_fail; | |
7922 | } | |
7923 | resultobj = PyInt_FromLong((long)result); | |
7924 | return resultobj; | |
7925 | fail: | |
7926 | return NULL; | |
7927 | } | |
7928 | ||
7929 | ||
7930 | static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7931 | PyObject *resultobj; | |
7932 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7933 | bool arg2 ; | |
7934 | PyObject * obj0 = 0 ; | |
7935 | PyObject * obj1 = 0 ; | |
7936 | char *kwnames[] = { | |
7937 | (char *) "self",(char *) "allowPopUp", NULL | |
7938 | }; | |
7939 | ||
7940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail; | |
7941 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7942 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
7943 | if (PyErr_Occurred()) SWIG_fail; | |
7944 | { | |
7945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7946 | (arg1)->UsePopUp(arg2); | |
7947 | ||
7948 | wxPyEndAllowThreads(__tstate); | |
7949 | if (PyErr_Occurred()) SWIG_fail; | |
7950 | } | |
7951 | Py_INCREF(Py_None); resultobj = Py_None; | |
7952 | return resultobj; | |
7953 | fail: | |
7954 | return NULL; | |
7955 | } | |
7956 | ||
7957 | ||
7958 | static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7959 | PyObject *resultobj; | |
7960 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7961 | bool result; | |
7962 | PyObject * obj0 = 0 ; | |
7963 | char *kwnames[] = { | |
7964 | (char *) "self", NULL | |
7965 | }; | |
7966 | ||
7967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail; | |
7968 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7969 | { | |
7970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7971 | result = (bool)(arg1)->SelectionIsRectangle(); | |
7972 | ||
7973 | wxPyEndAllowThreads(__tstate); | |
7974 | if (PyErr_Occurred()) SWIG_fail; | |
7975 | } | |
7976 | resultobj = PyInt_FromLong((long)result); | |
7977 | return resultobj; | |
7978 | fail: | |
7979 | return NULL; | |
7980 | } | |
7981 | ||
7982 | ||
7983 | static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7984 | PyObject *resultobj; | |
7985 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
7986 | int arg2 ; | |
7987 | PyObject * obj0 = 0 ; | |
7988 | char *kwnames[] = { | |
7989 | (char *) "self",(char *) "zoom", NULL | |
7990 | }; | |
7991 | ||
7992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetZoom",kwnames,&obj0,&arg2)) goto fail; | |
7993 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
7994 | { | |
7995 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7996 | (arg1)->SetZoom(arg2); | |
7997 | ||
7998 | wxPyEndAllowThreads(__tstate); | |
7999 | if (PyErr_Occurred()) SWIG_fail; | |
8000 | } | |
8001 | Py_INCREF(Py_None); resultobj = Py_None; | |
8002 | return resultobj; | |
8003 | fail: | |
8004 | return NULL; | |
8005 | } | |
8006 | ||
8007 | ||
8008 | static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8009 | PyObject *resultobj; | |
8010 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8011 | int result; | |
8012 | PyObject * obj0 = 0 ; | |
8013 | char *kwnames[] = { | |
8014 | (char *) "self", NULL | |
8015 | }; | |
8016 | ||
8017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail; | |
8018 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8019 | { | |
8020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8021 | result = (int)(arg1)->GetZoom(); | |
8022 | ||
8023 | wxPyEndAllowThreads(__tstate); | |
8024 | if (PyErr_Occurred()) SWIG_fail; | |
8025 | } | |
8026 | resultobj = PyInt_FromLong((long)result); | |
8027 | return resultobj; | |
8028 | fail: | |
8029 | return NULL; | |
8030 | } | |
8031 | ||
8032 | ||
8033 | static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8034 | PyObject *resultobj; | |
8035 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8036 | void *result; | |
8037 | PyObject * obj0 = 0 ; | |
8038 | char *kwnames[] = { | |
8039 | (char *) "self", NULL | |
8040 | }; | |
8041 | ||
8042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail; | |
8043 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8044 | { | |
8045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8046 | result = (void *)(arg1)->CreateDocument(); | |
8047 | ||
8048 | wxPyEndAllowThreads(__tstate); | |
8049 | if (PyErr_Occurred()) SWIG_fail; | |
8050 | } | |
8051 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0); | |
8052 | return resultobj; | |
8053 | fail: | |
8054 | return NULL; | |
8055 | } | |
8056 | ||
8057 | ||
8058 | static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8059 | PyObject *resultobj; | |
8060 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8061 | void *arg2 = (void *) 0 ; | |
8062 | PyObject * obj0 = 0 ; | |
8063 | PyObject * obj1 = 0 ; | |
8064 | char *kwnames[] = { | |
8065 | (char *) "self",(char *) "docPointer", NULL | |
8066 | }; | |
8067 | ||
8068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail; | |
8069 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8070 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8071 | { | |
8072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8073 | (arg1)->AddRefDocument(arg2); | |
8074 | ||
8075 | wxPyEndAllowThreads(__tstate); | |
8076 | if (PyErr_Occurred()) SWIG_fail; | |
8077 | } | |
8078 | Py_INCREF(Py_None); resultobj = Py_None; | |
8079 | return resultobj; | |
8080 | fail: | |
8081 | return NULL; | |
8082 | } | |
8083 | ||
8084 | ||
8085 | static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8086 | PyObject *resultobj; | |
8087 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8088 | void *arg2 = (void *) 0 ; | |
8089 | PyObject * obj0 = 0 ; | |
8090 | PyObject * obj1 = 0 ; | |
8091 | char *kwnames[] = { | |
8092 | (char *) "self",(char *) "docPointer", NULL | |
8093 | }; | |
8094 | ||
8095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail; | |
8096 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8097 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8098 | { | |
8099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8100 | (arg1)->ReleaseDocument(arg2); | |
8101 | ||
8102 | wxPyEndAllowThreads(__tstate); | |
8103 | if (PyErr_Occurred()) SWIG_fail; | |
8104 | } | |
8105 | Py_INCREF(Py_None); resultobj = Py_None; | |
8106 | return resultobj; | |
8107 | fail: | |
8108 | return NULL; | |
8109 | } | |
8110 | ||
8111 | ||
8112 | static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8113 | PyObject *resultobj; | |
8114 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8115 | int result; | |
8116 | PyObject * obj0 = 0 ; | |
8117 | char *kwnames[] = { | |
8118 | (char *) "self", NULL | |
8119 | }; | |
8120 | ||
8121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail; | |
8122 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8123 | { | |
8124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8125 | result = (int)(arg1)->GetModEventMask(); | |
8126 | ||
8127 | wxPyEndAllowThreads(__tstate); | |
8128 | if (PyErr_Occurred()) SWIG_fail; | |
8129 | } | |
8130 | resultobj = PyInt_FromLong((long)result); | |
8131 | return resultobj; | |
8132 | fail: | |
8133 | return NULL; | |
8134 | } | |
8135 | ||
8136 | ||
8137 | static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8138 | PyObject *resultobj; | |
8139 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8140 | bool arg2 ; | |
8141 | PyObject * obj0 = 0 ; | |
8142 | PyObject * obj1 = 0 ; | |
8143 | char *kwnames[] = { | |
8144 | (char *) "self",(char *) "focus", NULL | |
8145 | }; | |
8146 | ||
8147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail; | |
8148 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8149 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
8150 | if (PyErr_Occurred()) SWIG_fail; | |
8151 | { | |
8152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8153 | (arg1)->SetSTCFocus(arg2); | |
8154 | ||
8155 | wxPyEndAllowThreads(__tstate); | |
8156 | if (PyErr_Occurred()) SWIG_fail; | |
8157 | } | |
8158 | Py_INCREF(Py_None); resultobj = Py_None; | |
8159 | return resultobj; | |
8160 | fail: | |
8161 | return NULL; | |
8162 | } | |
8163 | ||
8164 | ||
8165 | static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8166 | PyObject *resultobj; | |
8167 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8168 | bool result; | |
8169 | PyObject * obj0 = 0 ; | |
8170 | char *kwnames[] = { | |
8171 | (char *) "self", NULL | |
8172 | }; | |
8173 | ||
8174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail; | |
8175 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8176 | { | |
8177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8178 | result = (bool)(arg1)->GetSTCFocus(); | |
8179 | ||
8180 | wxPyEndAllowThreads(__tstate); | |
8181 | if (PyErr_Occurred()) SWIG_fail; | |
8182 | } | |
8183 | resultobj = PyInt_FromLong((long)result); | |
8184 | return resultobj; | |
8185 | fail: | |
8186 | return NULL; | |
8187 | } | |
8188 | ||
8189 | ||
8190 | static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8191 | PyObject *resultobj; | |
8192 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8193 | int arg2 ; | |
8194 | PyObject * obj0 = 0 ; | |
8195 | char *kwnames[] = { | |
8196 | (char *) "self",(char *) "statusCode", NULL | |
8197 | }; | |
8198 | ||
8199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetStatus",kwnames,&obj0,&arg2)) goto fail; | |
8200 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8201 | { | |
8202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8203 | (arg1)->SetStatus(arg2); | |
8204 | ||
8205 | wxPyEndAllowThreads(__tstate); | |
8206 | if (PyErr_Occurred()) SWIG_fail; | |
8207 | } | |
8208 | Py_INCREF(Py_None); resultobj = Py_None; | |
8209 | return resultobj; | |
8210 | fail: | |
8211 | return NULL; | |
8212 | } | |
8213 | ||
8214 | ||
8215 | static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8216 | PyObject *resultobj; | |
8217 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8218 | int result; | |
8219 | PyObject * obj0 = 0 ; | |
8220 | char *kwnames[] = { | |
8221 | (char *) "self", NULL | |
8222 | }; | |
8223 | ||
8224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail; | |
8225 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8226 | { | |
8227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8228 | result = (int)(arg1)->GetStatus(); | |
8229 | ||
8230 | wxPyEndAllowThreads(__tstate); | |
8231 | if (PyErr_Occurred()) SWIG_fail; | |
8232 | } | |
8233 | resultobj = PyInt_FromLong((long)result); | |
8234 | return resultobj; | |
8235 | fail: | |
8236 | return NULL; | |
8237 | } | |
8238 | ||
8239 | ||
8240 | static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8241 | PyObject *resultobj; | |
8242 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8243 | bool arg2 ; | |
8244 | PyObject * obj0 = 0 ; | |
8245 | PyObject * obj1 = 0 ; | |
8246 | char *kwnames[] = { | |
8247 | (char *) "self",(char *) "captures", NULL | |
8248 | }; | |
8249 | ||
8250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail; | |
8251 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8252 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
8253 | if (PyErr_Occurred()) SWIG_fail; | |
8254 | { | |
8255 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8256 | (arg1)->SetMouseDownCaptures(arg2); | |
8257 | ||
8258 | wxPyEndAllowThreads(__tstate); | |
8259 | if (PyErr_Occurred()) SWIG_fail; | |
8260 | } | |
8261 | Py_INCREF(Py_None); resultobj = Py_None; | |
8262 | return resultobj; | |
8263 | fail: | |
8264 | return NULL; | |
8265 | } | |
8266 | ||
8267 | ||
8268 | static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8269 | PyObject *resultobj; | |
8270 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8271 | bool result; | |
8272 | PyObject * obj0 = 0 ; | |
8273 | char *kwnames[] = { | |
8274 | (char *) "self", NULL | |
8275 | }; | |
8276 | ||
8277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail; | |
8278 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8279 | { | |
8280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8281 | result = (bool)(arg1)->GetMouseDownCaptures(); | |
8282 | ||
8283 | wxPyEndAllowThreads(__tstate); | |
8284 | if (PyErr_Occurred()) SWIG_fail; | |
8285 | } | |
8286 | resultobj = PyInt_FromLong((long)result); | |
8287 | return resultobj; | |
8288 | fail: | |
8289 | return NULL; | |
8290 | } | |
8291 | ||
8292 | ||
8293 | static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8294 | PyObject *resultobj; | |
8295 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8296 | int arg2 ; | |
8297 | PyObject * obj0 = 0 ; | |
8298 | char *kwnames[] = { | |
8299 | (char *) "self",(char *) "cursorType", NULL | |
8300 | }; | |
8301 | ||
8302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&arg2)) goto fail; | |
8303 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8304 | { | |
8305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8306 | (arg1)->SetSTCCursor(arg2); | |
8307 | ||
8308 | wxPyEndAllowThreads(__tstate); | |
8309 | if (PyErr_Occurred()) SWIG_fail; | |
8310 | } | |
8311 | Py_INCREF(Py_None); resultobj = Py_None; | |
8312 | return resultobj; | |
8313 | fail: | |
8314 | return NULL; | |
8315 | } | |
8316 | ||
8317 | ||
8318 | static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8319 | PyObject *resultobj; | |
8320 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8321 | int result; | |
8322 | PyObject * obj0 = 0 ; | |
8323 | char *kwnames[] = { | |
8324 | (char *) "self", NULL | |
8325 | }; | |
8326 | ||
8327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail; | |
8328 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8329 | { | |
8330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8331 | result = (int)(arg1)->GetSTCCursor(); | |
8332 | ||
8333 | wxPyEndAllowThreads(__tstate); | |
8334 | if (PyErr_Occurred()) SWIG_fail; | |
8335 | } | |
8336 | resultobj = PyInt_FromLong((long)result); | |
8337 | return resultobj; | |
8338 | fail: | |
8339 | return NULL; | |
8340 | } | |
8341 | ||
8342 | ||
8343 | static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8344 | PyObject *resultobj; | |
8345 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8346 | int arg2 ; | |
8347 | PyObject * obj0 = 0 ; | |
8348 | char *kwnames[] = { | |
8349 | (char *) "self",(char *) "symbol", NULL | |
8350 | }; | |
8351 | ||
8352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&arg2)) goto fail; | |
8353 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8354 | { | |
8355 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8356 | (arg1)->SetControlCharSymbol(arg2); | |
8357 | ||
8358 | wxPyEndAllowThreads(__tstate); | |
8359 | if (PyErr_Occurred()) SWIG_fail; | |
8360 | } | |
8361 | Py_INCREF(Py_None); resultobj = Py_None; | |
8362 | return resultobj; | |
8363 | fail: | |
8364 | return NULL; | |
8365 | } | |
8366 | ||
8367 | ||
8368 | static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8369 | PyObject *resultobj; | |
8370 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8371 | int result; | |
8372 | PyObject * obj0 = 0 ; | |
8373 | char *kwnames[] = { | |
8374 | (char *) "self", NULL | |
8375 | }; | |
8376 | ||
8377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail; | |
8378 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8379 | { | |
8380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8381 | result = (int)(arg1)->GetControlCharSymbol(); | |
8382 | ||
8383 | wxPyEndAllowThreads(__tstate); | |
8384 | if (PyErr_Occurred()) SWIG_fail; | |
8385 | } | |
8386 | resultobj = PyInt_FromLong((long)result); | |
8387 | return resultobj; | |
8388 | fail: | |
8389 | return NULL; | |
8390 | } | |
8391 | ||
8392 | ||
8393 | static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8394 | PyObject *resultobj; | |
8395 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8396 | PyObject * obj0 = 0 ; | |
8397 | char *kwnames[] = { | |
8398 | (char *) "self", NULL | |
8399 | }; | |
8400 | ||
8401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail; | |
8402 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8403 | { | |
8404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8405 | (arg1)->WordPartLeft(); | |
8406 | ||
8407 | wxPyEndAllowThreads(__tstate); | |
8408 | if (PyErr_Occurred()) SWIG_fail; | |
8409 | } | |
8410 | Py_INCREF(Py_None); resultobj = Py_None; | |
8411 | return resultobj; | |
8412 | fail: | |
8413 | return NULL; | |
8414 | } | |
8415 | ||
8416 | ||
8417 | static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8418 | PyObject *resultobj; | |
8419 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8420 | PyObject * obj0 = 0 ; | |
8421 | char *kwnames[] = { | |
8422 | (char *) "self", NULL | |
8423 | }; | |
8424 | ||
8425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail; | |
8426 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8427 | { | |
8428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8429 | (arg1)->WordPartLeftExtend(); | |
8430 | ||
8431 | wxPyEndAllowThreads(__tstate); | |
8432 | if (PyErr_Occurred()) SWIG_fail; | |
8433 | } | |
8434 | Py_INCREF(Py_None); resultobj = Py_None; | |
8435 | return resultobj; | |
8436 | fail: | |
8437 | return NULL; | |
8438 | } | |
8439 | ||
8440 | ||
8441 | static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8442 | PyObject *resultobj; | |
8443 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8444 | PyObject * obj0 = 0 ; | |
8445 | char *kwnames[] = { | |
8446 | (char *) "self", NULL | |
8447 | }; | |
8448 | ||
8449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail; | |
8450 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8451 | { | |
8452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8453 | (arg1)->WordPartRight(); | |
8454 | ||
8455 | wxPyEndAllowThreads(__tstate); | |
8456 | if (PyErr_Occurred()) SWIG_fail; | |
8457 | } | |
8458 | Py_INCREF(Py_None); resultobj = Py_None; | |
8459 | return resultobj; | |
8460 | fail: | |
8461 | return NULL; | |
8462 | } | |
8463 | ||
8464 | ||
8465 | static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8466 | PyObject *resultobj; | |
8467 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8468 | PyObject * obj0 = 0 ; | |
8469 | char *kwnames[] = { | |
8470 | (char *) "self", NULL | |
8471 | }; | |
8472 | ||
8473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail; | |
8474 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8475 | { | |
8476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8477 | (arg1)->WordPartRightExtend(); | |
8478 | ||
8479 | wxPyEndAllowThreads(__tstate); | |
8480 | if (PyErr_Occurred()) SWIG_fail; | |
8481 | } | |
8482 | Py_INCREF(Py_None); resultobj = Py_None; | |
8483 | return resultobj; | |
8484 | fail: | |
8485 | return NULL; | |
8486 | } | |
8487 | ||
8488 | ||
8489 | static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8490 | PyObject *resultobj; | |
8491 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8492 | int arg2 ; | |
8493 | int arg3 ; | |
8494 | PyObject * obj0 = 0 ; | |
8495 | char *kwnames[] = { | |
8496 | (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL | |
8497 | }; | |
8498 | ||
8499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
8500 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8501 | { | |
8502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8503 | (arg1)->SetVisiblePolicy(arg2,arg3); | |
8504 | ||
8505 | wxPyEndAllowThreads(__tstate); | |
8506 | if (PyErr_Occurred()) SWIG_fail; | |
8507 | } | |
8508 | Py_INCREF(Py_None); resultobj = Py_None; | |
8509 | return resultobj; | |
8510 | fail: | |
8511 | return NULL; | |
8512 | } | |
8513 | ||
8514 | ||
8515 | static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8516 | PyObject *resultobj; | |
8517 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8518 | PyObject * obj0 = 0 ; | |
8519 | char *kwnames[] = { | |
8520 | (char *) "self", NULL | |
8521 | }; | |
8522 | ||
8523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail; | |
8524 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8525 | { | |
8526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8527 | (arg1)->DelLineLeft(); | |
8528 | ||
8529 | wxPyEndAllowThreads(__tstate); | |
8530 | if (PyErr_Occurred()) SWIG_fail; | |
8531 | } | |
8532 | Py_INCREF(Py_None); resultobj = Py_None; | |
8533 | return resultobj; | |
8534 | fail: | |
8535 | return NULL; | |
8536 | } | |
8537 | ||
8538 | ||
8539 | static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8540 | PyObject *resultobj; | |
8541 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8542 | PyObject * obj0 = 0 ; | |
8543 | char *kwnames[] = { | |
8544 | (char *) "self", NULL | |
8545 | }; | |
8546 | ||
8547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail; | |
8548 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8549 | { | |
8550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8551 | (arg1)->DelLineRight(); | |
8552 | ||
8553 | wxPyEndAllowThreads(__tstate); | |
8554 | if (PyErr_Occurred()) SWIG_fail; | |
8555 | } | |
8556 | Py_INCREF(Py_None); resultobj = Py_None; | |
8557 | return resultobj; | |
8558 | fail: | |
8559 | return NULL; | |
8560 | } | |
8561 | ||
8562 | ||
8563 | static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8564 | PyObject *resultobj; | |
8565 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8566 | int arg2 ; | |
8567 | PyObject * obj0 = 0 ; | |
8568 | char *kwnames[] = { | |
8569 | (char *) "self",(char *) "newOffset", NULL | |
8570 | }; | |
8571 | ||
8572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetXOffset",kwnames,&obj0,&arg2)) goto fail; | |
8573 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8574 | { | |
8575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8576 | (arg1)->SetXOffset(arg2); | |
8577 | ||
8578 | wxPyEndAllowThreads(__tstate); | |
8579 | if (PyErr_Occurred()) SWIG_fail; | |
8580 | } | |
8581 | Py_INCREF(Py_None); resultobj = Py_None; | |
8582 | return resultobj; | |
8583 | fail: | |
8584 | return NULL; | |
8585 | } | |
8586 | ||
8587 | ||
8588 | static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8589 | PyObject *resultobj; | |
8590 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8591 | int result; | |
8592 | PyObject * obj0 = 0 ; | |
8593 | char *kwnames[] = { | |
8594 | (char *) "self", NULL | |
8595 | }; | |
8596 | ||
8597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail; | |
8598 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8599 | { | |
8600 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8601 | result = (int)(arg1)->GetXOffset(); | |
8602 | ||
8603 | wxPyEndAllowThreads(__tstate); | |
8604 | if (PyErr_Occurred()) SWIG_fail; | |
8605 | } | |
8606 | resultobj = PyInt_FromLong((long)result); | |
8607 | return resultobj; | |
8608 | fail: | |
8609 | return NULL; | |
8610 | } | |
8611 | ||
8612 | ||
8613 | static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8614 | PyObject *resultobj; | |
8615 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8616 | PyObject * obj0 = 0 ; | |
8617 | char *kwnames[] = { | |
8618 | (char *) "self", NULL | |
8619 | }; | |
8620 | ||
8621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail; | |
8622 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8623 | { | |
8624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8625 | (arg1)->ChooseCaretX(); | |
8626 | ||
8627 | wxPyEndAllowThreads(__tstate); | |
8628 | if (PyErr_Occurred()) SWIG_fail; | |
8629 | } | |
8630 | Py_INCREF(Py_None); resultobj = Py_None; | |
8631 | return resultobj; | |
8632 | fail: | |
8633 | return NULL; | |
8634 | } | |
8635 | ||
8636 | ||
8637 | static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8638 | PyObject *resultobj; | |
8639 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8640 | int arg2 ; | |
8641 | int arg3 ; | |
8642 | PyObject * obj0 = 0 ; | |
8643 | char *kwnames[] = { | |
8644 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
8645 | }; | |
8646 | ||
8647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
8648 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8649 | { | |
8650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8651 | (arg1)->SetXCaretPolicy(arg2,arg3); | |
8652 | ||
8653 | wxPyEndAllowThreads(__tstate); | |
8654 | if (PyErr_Occurred()) SWIG_fail; | |
8655 | } | |
8656 | Py_INCREF(Py_None); resultobj = Py_None; | |
8657 | return resultobj; | |
8658 | fail: | |
8659 | return NULL; | |
8660 | } | |
8661 | ||
8662 | ||
8663 | static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8664 | PyObject *resultobj; | |
8665 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8666 | int arg2 ; | |
8667 | int arg3 ; | |
8668 | PyObject * obj0 = 0 ; | |
8669 | char *kwnames[] = { | |
8670 | (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL | |
8671 | }; | |
8672 | ||
8673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
8674 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8675 | { | |
8676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8677 | (arg1)->SetYCaretPolicy(arg2,arg3); | |
8678 | ||
8679 | wxPyEndAllowThreads(__tstate); | |
8680 | if (PyErr_Occurred()) SWIG_fail; | |
8681 | } | |
8682 | Py_INCREF(Py_None); resultobj = Py_None; | |
8683 | return resultobj; | |
8684 | fail: | |
8685 | return NULL; | |
8686 | } | |
8687 | ||
8688 | ||
8689 | static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8690 | PyObject *resultobj; | |
8691 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8692 | int arg2 ; | |
8693 | PyObject * obj0 = 0 ; | |
8694 | char *kwnames[] = { | |
8695 | (char *) "self",(char *) "mode", NULL | |
8696 | }; | |
8697 | ||
8698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&arg2)) goto fail; | |
8699 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8700 | { | |
8701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8702 | (arg1)->SetPrintWrapMode(arg2); | |
8703 | ||
8704 | wxPyEndAllowThreads(__tstate); | |
8705 | if (PyErr_Occurred()) SWIG_fail; | |
8706 | } | |
8707 | Py_INCREF(Py_None); resultobj = Py_None; | |
8708 | return resultobj; | |
8709 | fail: | |
8710 | return NULL; | |
8711 | } | |
8712 | ||
8713 | ||
8714 | static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8715 | PyObject *resultobj; | |
8716 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8717 | int result; | |
8718 | PyObject * obj0 = 0 ; | |
8719 | char *kwnames[] = { | |
8720 | (char *) "self", NULL | |
8721 | }; | |
8722 | ||
8723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail; | |
8724 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8725 | { | |
8726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8727 | result = (int)(arg1)->GetPrintWrapMode(); | |
8728 | ||
8729 | wxPyEndAllowThreads(__tstate); | |
8730 | if (PyErr_Occurred()) SWIG_fail; | |
8731 | } | |
8732 | resultobj = PyInt_FromLong((long)result); | |
8733 | return resultobj; | |
8734 | fail: | |
8735 | return NULL; | |
8736 | } | |
8737 | ||
8738 | ||
8739 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8740 | PyObject *resultobj; | |
8741 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8742 | bool arg2 ; | |
8743 | wxColour *arg3 = 0 ; | |
8744 | wxColour temp3 ; | |
8745 | PyObject * obj0 = 0 ; | |
8746 | PyObject * obj1 = 0 ; | |
8747 | PyObject * obj2 = 0 ; | |
8748 | char *kwnames[] = { | |
8749 | (char *) "self",(char *) "useSetting",(char *) "fore", NULL | |
8750 | }; | |
8751 | ||
8752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8753 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8754 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
8755 | if (PyErr_Occurred()) SWIG_fail; | |
8756 | { | |
8757 | arg3 = &temp3; | |
8758 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8759 | } | |
8760 | { | |
8761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8762 | (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3); | |
8763 | ||
8764 | wxPyEndAllowThreads(__tstate); | |
8765 | if (PyErr_Occurred()) SWIG_fail; | |
8766 | } | |
8767 | Py_INCREF(Py_None); resultobj = Py_None; | |
8768 | return resultobj; | |
8769 | fail: | |
8770 | return NULL; | |
8771 | } | |
8772 | ||
8773 | ||
8774 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8775 | PyObject *resultobj; | |
8776 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8777 | bool arg2 ; | |
8778 | wxColour *arg3 = 0 ; | |
8779 | wxColour temp3 ; | |
8780 | PyObject * obj0 = 0 ; | |
8781 | PyObject * obj1 = 0 ; | |
8782 | PyObject * obj2 = 0 ; | |
8783 | char *kwnames[] = { | |
8784 | (char *) "self",(char *) "useSetting",(char *) "back", NULL | |
8785 | }; | |
8786 | ||
8787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8788 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8789 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
8790 | if (PyErr_Occurred()) SWIG_fail; | |
8791 | { | |
8792 | arg3 = &temp3; | |
8793 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8794 | } | |
8795 | { | |
8796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8797 | (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3); | |
8798 | ||
8799 | wxPyEndAllowThreads(__tstate); | |
8800 | if (PyErr_Occurred()) SWIG_fail; | |
8801 | } | |
8802 | Py_INCREF(Py_None); resultobj = Py_None; | |
8803 | return resultobj; | |
8804 | fail: | |
8805 | return NULL; | |
8806 | } | |
8807 | ||
8808 | ||
8809 | static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8810 | PyObject *resultobj; | |
8811 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8812 | bool arg2 ; | |
8813 | PyObject * obj0 = 0 ; | |
8814 | PyObject * obj1 = 0 ; | |
8815 | char *kwnames[] = { | |
8816 | (char *) "self",(char *) "underline", NULL | |
8817 | }; | |
8818 | ||
8819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail; | |
8820 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8821 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
8822 | if (PyErr_Occurred()) SWIG_fail; | |
8823 | { | |
8824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8825 | (arg1)->SetHotspotActiveUnderline(arg2); | |
8826 | ||
8827 | wxPyEndAllowThreads(__tstate); | |
8828 | if (PyErr_Occurred()) SWIG_fail; | |
8829 | } | |
8830 | Py_INCREF(Py_None); resultobj = Py_None; | |
8831 | return resultobj; | |
8832 | fail: | |
8833 | return NULL; | |
8834 | } | |
8835 | ||
8836 | ||
8837 | static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8838 | PyObject *resultobj; | |
8839 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8840 | int arg2 ; | |
8841 | int result; | |
8842 | PyObject * obj0 = 0 ; | |
8843 | char *kwnames[] = { | |
8844 | (char *) "self",(char *) "pos", NULL | |
8845 | }; | |
8846 | ||
8847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionBefore",kwnames,&obj0,&arg2)) goto fail; | |
8848 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8849 | { | |
8850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8851 | result = (int)(arg1)->PositionBefore(arg2); | |
8852 | ||
8853 | wxPyEndAllowThreads(__tstate); | |
8854 | if (PyErr_Occurred()) SWIG_fail; | |
8855 | } | |
8856 | resultobj = PyInt_FromLong((long)result); | |
8857 | return resultobj; | |
8858 | fail: | |
8859 | return NULL; | |
8860 | } | |
8861 | ||
8862 | ||
8863 | static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8864 | PyObject *resultobj; | |
8865 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8866 | int arg2 ; | |
8867 | int result; | |
8868 | PyObject * obj0 = 0 ; | |
8869 | char *kwnames[] = { | |
8870 | (char *) "self",(char *) "pos", NULL | |
8871 | }; | |
8872 | ||
8873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PositionAfter",kwnames,&obj0,&arg2)) goto fail; | |
8874 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8875 | { | |
8876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8877 | result = (int)(arg1)->PositionAfter(arg2); | |
8878 | ||
8879 | wxPyEndAllowThreads(__tstate); | |
8880 | if (PyErr_Occurred()) SWIG_fail; | |
8881 | } | |
8882 | resultobj = PyInt_FromLong((long)result); | |
8883 | return resultobj; | |
8884 | fail: | |
8885 | return NULL; | |
8886 | } | |
8887 | ||
8888 | ||
8889 | static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8890 | PyObject *resultobj; | |
8891 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8892 | int arg2 ; | |
8893 | int arg3 ; | |
8894 | PyObject * obj0 = 0 ; | |
8895 | char *kwnames[] = { | |
8896 | (char *) "self",(char *) "start",(char *) "end", NULL | |
8897 | }; | |
8898 | ||
8899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_CopyRange",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
8900 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8901 | { | |
8902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8903 | (arg1)->CopyRange(arg2,arg3); | |
8904 | ||
8905 | wxPyEndAllowThreads(__tstate); | |
8906 | if (PyErr_Occurred()) SWIG_fail; | |
8907 | } | |
8908 | Py_INCREF(Py_None); resultobj = Py_None; | |
8909 | return resultobj; | |
8910 | fail: | |
8911 | return NULL; | |
8912 | } | |
8913 | ||
8914 | ||
8915 | static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8916 | PyObject *resultobj; | |
8917 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8918 | int arg2 ; | |
8919 | wxString *arg3 = 0 ; | |
e811c8ce | 8920 | bool temp3 = False ; |
d14a1e28 RD |
8921 | PyObject * obj0 = 0 ; |
8922 | PyObject * obj2 = 0 ; | |
8923 | char *kwnames[] = { | |
8924 | (char *) "self",(char *) "length",(char *) "text", NULL | |
8925 | }; | |
8926 | ||
8927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_CopyText",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
8928 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8929 | { | |
8930 | arg3 = wxString_in_helper(obj2); | |
8931 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 8932 | temp3 = True; |
d14a1e28 RD |
8933 | } |
8934 | { | |
8935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8936 | (arg1)->CopyText(arg2,(wxString const &)*arg3); | |
8937 | ||
8938 | wxPyEndAllowThreads(__tstate); | |
8939 | if (PyErr_Occurred()) SWIG_fail; | |
8940 | } | |
8941 | Py_INCREF(Py_None); resultobj = Py_None; | |
8942 | { | |
8943 | if (temp3) | |
8944 | delete arg3; | |
8945 | } | |
8946 | return resultobj; | |
8947 | fail: | |
8948 | { | |
8949 | if (temp3) | |
8950 | delete arg3; | |
8951 | } | |
8952 | return NULL; | |
8953 | } | |
8954 | ||
8955 | ||
8956 | static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8957 | PyObject *resultobj; | |
8958 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8959 | PyObject * obj0 = 0 ; | |
8960 | char *kwnames[] = { | |
8961 | (char *) "self", NULL | |
8962 | }; | |
8963 | ||
8964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail; | |
8965 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8966 | { | |
8967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8968 | (arg1)->StartRecord(); | |
8969 | ||
8970 | wxPyEndAllowThreads(__tstate); | |
8971 | if (PyErr_Occurred()) SWIG_fail; | |
8972 | } | |
8973 | Py_INCREF(Py_None); resultobj = Py_None; | |
8974 | return resultobj; | |
8975 | fail: | |
8976 | return NULL; | |
8977 | } | |
8978 | ||
8979 | ||
8980 | static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8981 | PyObject *resultobj; | |
8982 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
8983 | PyObject * obj0 = 0 ; | |
8984 | char *kwnames[] = { | |
8985 | (char *) "self", NULL | |
8986 | }; | |
8987 | ||
8988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail; | |
8989 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
8990 | { | |
8991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8992 | (arg1)->StopRecord(); | |
8993 | ||
8994 | wxPyEndAllowThreads(__tstate); | |
8995 | if (PyErr_Occurred()) SWIG_fail; | |
8996 | } | |
8997 | Py_INCREF(Py_None); resultobj = Py_None; | |
8998 | return resultobj; | |
8999 | fail: | |
9000 | return NULL; | |
9001 | } | |
9002 | ||
9003 | ||
9004 | static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9005 | PyObject *resultobj; | |
9006 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9007 | int arg2 ; | |
9008 | PyObject * obj0 = 0 ; | |
9009 | char *kwnames[] = { | |
9010 | (char *) "self",(char *) "lexer", NULL | |
9011 | }; | |
9012 | ||
9013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_SetLexer",kwnames,&obj0,&arg2)) goto fail; | |
9014 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9015 | { | |
9016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9017 | (arg1)->SetLexer(arg2); | |
9018 | ||
9019 | wxPyEndAllowThreads(__tstate); | |
9020 | if (PyErr_Occurred()) SWIG_fail; | |
9021 | } | |
9022 | Py_INCREF(Py_None); resultobj = Py_None; | |
9023 | return resultobj; | |
9024 | fail: | |
9025 | return NULL; | |
9026 | } | |
9027 | ||
9028 | ||
9029 | static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9030 | PyObject *resultobj; | |
9031 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9032 | int result; | |
9033 | PyObject * obj0 = 0 ; | |
9034 | char *kwnames[] = { | |
9035 | (char *) "self", NULL | |
9036 | }; | |
9037 | ||
9038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail; | |
9039 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9040 | { | |
9041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9042 | result = (int)(arg1)->GetLexer(); | |
9043 | ||
9044 | wxPyEndAllowThreads(__tstate); | |
9045 | if (PyErr_Occurred()) SWIG_fail; | |
9046 | } | |
9047 | resultobj = PyInt_FromLong((long)result); | |
9048 | return resultobj; | |
9049 | fail: | |
9050 | return NULL; | |
9051 | } | |
9052 | ||
9053 | ||
9054 | static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9055 | PyObject *resultobj; | |
9056 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9057 | int arg2 ; | |
9058 | int arg3 ; | |
9059 | PyObject * obj0 = 0 ; | |
9060 | char *kwnames[] = { | |
9061 | (char *) "self",(char *) "start",(char *) "end", NULL | |
9062 | }; | |
9063 | ||
9064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_Colourise",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
9065 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9066 | { | |
9067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9068 | (arg1)->Colourise(arg2,arg3); | |
9069 | ||
9070 | wxPyEndAllowThreads(__tstate); | |
9071 | if (PyErr_Occurred()) SWIG_fail; | |
9072 | } | |
9073 | Py_INCREF(Py_None); resultobj = Py_None; | |
9074 | return resultobj; | |
9075 | fail: | |
9076 | return NULL; | |
9077 | } | |
9078 | ||
9079 | ||
9080 | static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9081 | PyObject *resultobj; | |
9082 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9083 | wxString *arg2 = 0 ; | |
9084 | wxString *arg3 = 0 ; | |
e811c8ce RD |
9085 | bool temp2 = False ; |
9086 | bool temp3 = False ; | |
d14a1e28 RD |
9087 | PyObject * obj0 = 0 ; |
9088 | PyObject * obj1 = 0 ; | |
9089 | PyObject * obj2 = 0 ; | |
9090 | char *kwnames[] = { | |
9091 | (char *) "self",(char *) "key",(char *) "value", NULL | |
9092 | }; | |
9093 | ||
9094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
9095 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9096 | { | |
9097 | arg2 = wxString_in_helper(obj1); | |
9098 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9099 | temp2 = True; |
d14a1e28 RD |
9100 | } |
9101 | { | |
9102 | arg3 = wxString_in_helper(obj2); | |
9103 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 9104 | temp3 = True; |
d14a1e28 RD |
9105 | } |
9106 | { | |
9107 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9108 | (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3); | |
9109 | ||
9110 | wxPyEndAllowThreads(__tstate); | |
9111 | if (PyErr_Occurred()) SWIG_fail; | |
9112 | } | |
9113 | Py_INCREF(Py_None); resultobj = Py_None; | |
9114 | { | |
9115 | if (temp2) | |
9116 | delete arg2; | |
9117 | } | |
9118 | { | |
9119 | if (temp3) | |
9120 | delete arg3; | |
9121 | } | |
9122 | return resultobj; | |
9123 | fail: | |
9124 | { | |
9125 | if (temp2) | |
9126 | delete arg2; | |
9127 | } | |
9128 | { | |
9129 | if (temp3) | |
9130 | delete arg3; | |
9131 | } | |
9132 | return NULL; | |
9133 | } | |
9134 | ||
9135 | ||
9136 | static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9137 | PyObject *resultobj; | |
9138 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9139 | int arg2 ; | |
9140 | wxString *arg3 = 0 ; | |
e811c8ce | 9141 | bool temp3 = False ; |
d14a1e28 RD |
9142 | PyObject * obj0 = 0 ; |
9143 | PyObject * obj2 = 0 ; | |
9144 | char *kwnames[] = { | |
9145 | (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL | |
9146 | }; | |
9147 | ||
9148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
9149 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9150 | { | |
9151 | arg3 = wxString_in_helper(obj2); | |
9152 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 9153 | temp3 = True; |
d14a1e28 RD |
9154 | } |
9155 | { | |
9156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9157 | (arg1)->SetKeyWords(arg2,(wxString const &)*arg3); | |
9158 | ||
9159 | wxPyEndAllowThreads(__tstate); | |
9160 | if (PyErr_Occurred()) SWIG_fail; | |
9161 | } | |
9162 | Py_INCREF(Py_None); resultobj = Py_None; | |
9163 | { | |
9164 | if (temp3) | |
9165 | delete arg3; | |
9166 | } | |
9167 | return resultobj; | |
9168 | fail: | |
9169 | { | |
9170 | if (temp3) | |
9171 | delete arg3; | |
9172 | } | |
9173 | return NULL; | |
9174 | } | |
9175 | ||
9176 | ||
9177 | static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9178 | PyObject *resultobj; | |
9179 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9180 | wxString *arg2 = 0 ; | |
e811c8ce | 9181 | bool temp2 = False ; |
d14a1e28 RD |
9182 | PyObject * obj0 = 0 ; |
9183 | PyObject * obj1 = 0 ; | |
9184 | char *kwnames[] = { | |
9185 | (char *) "self",(char *) "language", NULL | |
9186 | }; | |
9187 | ||
9188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail; | |
9189 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9190 | { | |
9191 | arg2 = wxString_in_helper(obj1); | |
9192 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9193 | temp2 = True; |
d14a1e28 RD |
9194 | } |
9195 | { | |
9196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9197 | (arg1)->SetLexerLanguage((wxString const &)*arg2); | |
9198 | ||
9199 | wxPyEndAllowThreads(__tstate); | |
9200 | if (PyErr_Occurred()) SWIG_fail; | |
9201 | } | |
9202 | Py_INCREF(Py_None); resultobj = Py_None; | |
9203 | { | |
9204 | if (temp2) | |
9205 | delete arg2; | |
9206 | } | |
9207 | return resultobj; | |
9208 | fail: | |
9209 | { | |
9210 | if (temp2) | |
9211 | delete arg2; | |
9212 | } | |
9213 | return NULL; | |
9214 | } | |
9215 | ||
9216 | ||
9217 | static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9218 | PyObject *resultobj; | |
9219 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9220 | int result; | |
9221 | PyObject * obj0 = 0 ; | |
9222 | char *kwnames[] = { | |
9223 | (char *) "self", NULL | |
9224 | }; | |
9225 | ||
9226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail; | |
9227 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9228 | { | |
9229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9230 | result = (int)(arg1)->GetCurrentLine(); | |
9231 | ||
9232 | wxPyEndAllowThreads(__tstate); | |
9233 | if (PyErr_Occurred()) SWIG_fail; | |
9234 | } | |
9235 | resultobj = PyInt_FromLong((long)result); | |
9236 | return resultobj; | |
9237 | fail: | |
9238 | return NULL; | |
9239 | } | |
9240 | ||
9241 | ||
9242 | static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9243 | PyObject *resultobj; | |
9244 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9245 | int arg2 ; | |
9246 | wxString *arg3 = 0 ; | |
e811c8ce | 9247 | bool temp3 = False ; |
d14a1e28 RD |
9248 | PyObject * obj0 = 0 ; |
9249 | PyObject * obj2 = 0 ; | |
9250 | char *kwnames[] = { | |
9251 | (char *) "self",(char *) "styleNum",(char *) "spec", NULL | |
9252 | }; | |
9253 | ||
9254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
9255 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9256 | { | |
9257 | arg3 = wxString_in_helper(obj2); | |
9258 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 9259 | temp3 = True; |
d14a1e28 RD |
9260 | } |
9261 | { | |
9262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9263 | (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3); | |
9264 | ||
9265 | wxPyEndAllowThreads(__tstate); | |
9266 | if (PyErr_Occurred()) SWIG_fail; | |
9267 | } | |
9268 | Py_INCREF(Py_None); resultobj = Py_None; | |
9269 | { | |
9270 | if (temp3) | |
9271 | delete arg3; | |
9272 | } | |
9273 | return resultobj; | |
9274 | fail: | |
9275 | { | |
9276 | if (temp3) | |
9277 | delete arg3; | |
9278 | } | |
9279 | return NULL; | |
9280 | } | |
9281 | ||
9282 | ||
9283 | static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9284 | PyObject *resultobj; | |
9285 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9286 | int arg2 ; | |
9287 | wxFont *arg3 = 0 ; | |
9288 | PyObject * obj0 = 0 ; | |
9289 | PyObject * obj2 = 0 ; | |
9290 | char *kwnames[] = { | |
9291 | (char *) "self",(char *) "styleNum",(char *) "font", NULL | |
9292 | }; | |
9293 | ||
9294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
9295 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9296 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9297 | if (arg3 == NULL) { | |
9298 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
9299 | } | |
9300 | { | |
9301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9302 | (arg1)->StyleSetFont(arg2,*arg3); | |
9303 | ||
9304 | wxPyEndAllowThreads(__tstate); | |
9305 | if (PyErr_Occurred()) SWIG_fail; | |
9306 | } | |
9307 | Py_INCREF(Py_None); resultobj = Py_None; | |
9308 | return resultobj; | |
9309 | fail: | |
9310 | return NULL; | |
9311 | } | |
9312 | ||
9313 | ||
9314 | static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9315 | PyObject *resultobj; | |
9316 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9317 | int arg2 ; | |
9318 | int arg3 ; | |
9319 | wxString *arg4 = 0 ; | |
9320 | bool arg5 ; | |
9321 | bool arg6 ; | |
9322 | bool arg7 ; | |
e811c8ce | 9323 | bool temp4 = False ; |
d14a1e28 RD |
9324 | PyObject * obj0 = 0 ; |
9325 | PyObject * obj3 = 0 ; | |
9326 | PyObject * obj4 = 0 ; | |
9327 | PyObject * obj5 = 0 ; | |
9328 | PyObject * obj6 = 0 ; | |
9329 | char *kwnames[] = { | |
9330 | (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL | |
9331 | }; | |
9332 | ||
9333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
9334 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9335 | { | |
9336 | arg4 = wxString_in_helper(obj3); | |
9337 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 9338 | temp4 = True; |
d14a1e28 RD |
9339 | } |
9340 | arg5 = PyInt_AsLong(obj4) ? true : false; | |
9341 | if (PyErr_Occurred()) SWIG_fail; | |
9342 | arg6 = PyInt_AsLong(obj5) ? true : false; | |
9343 | if (PyErr_Occurred()) SWIG_fail; | |
9344 | arg7 = PyInt_AsLong(obj6) ? true : false; | |
9345 | if (PyErr_Occurred()) SWIG_fail; | |
9346 | { | |
9347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9348 | (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
9349 | ||
9350 | wxPyEndAllowThreads(__tstate); | |
9351 | if (PyErr_Occurred()) SWIG_fail; | |
9352 | } | |
9353 | Py_INCREF(Py_None); resultobj = Py_None; | |
9354 | { | |
9355 | if (temp4) | |
9356 | delete arg4; | |
9357 | } | |
9358 | return resultobj; | |
9359 | fail: | |
9360 | { | |
9361 | if (temp4) | |
9362 | delete arg4; | |
9363 | } | |
9364 | return NULL; | |
9365 | } | |
9366 | ||
9367 | ||
9368 | static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9369 | PyObject *resultobj; | |
9370 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9371 | int arg2 ; | |
9372 | PyObject * obj0 = 0 ; | |
9373 | char *kwnames[] = { | |
9374 | (char *) "self",(char *) "cmd", NULL | |
9375 | }; | |
9376 | ||
9377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&arg2)) goto fail; | |
9378 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9379 | { | |
9380 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9381 | (arg1)->CmdKeyExecute(arg2); | |
9382 | ||
9383 | wxPyEndAllowThreads(__tstate); | |
9384 | if (PyErr_Occurred()) SWIG_fail; | |
9385 | } | |
9386 | Py_INCREF(Py_None); resultobj = Py_None; | |
9387 | return resultobj; | |
9388 | fail: | |
9389 | return NULL; | |
9390 | } | |
9391 | ||
9392 | ||
9393 | static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9394 | PyObject *resultobj; | |
9395 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9396 | int arg2 ; | |
9397 | int arg3 ; | |
9398 | PyObject * obj0 = 0 ; | |
9399 | char *kwnames[] = { | |
9400 | (char *) "self",(char *) "left",(char *) "right", NULL | |
9401 | }; | |
9402 | ||
9403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:StyledTextCtrl_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
9404 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9405 | { | |
9406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9407 | (arg1)->SetMargins(arg2,arg3); | |
9408 | ||
9409 | wxPyEndAllowThreads(__tstate); | |
9410 | if (PyErr_Occurred()) SWIG_fail; | |
9411 | } | |
9412 | Py_INCREF(Py_None); resultobj = Py_None; | |
9413 | return resultobj; | |
9414 | fail: | |
9415 | return NULL; | |
9416 | } | |
9417 | ||
9418 | ||
9419 | static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9420 | PyObject *resultobj; | |
9421 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9422 | int *arg2 = (int *) 0 ; | |
9423 | int *arg3 = (int *) 0 ; | |
9424 | int temp2 ; | |
9425 | int temp3 ; | |
9426 | PyObject * obj0 = 0 ; | |
9427 | char *kwnames[] = { | |
9428 | (char *) "self", NULL | |
9429 | }; | |
9430 | ||
9431 | arg2 = &temp2; | |
9432 | arg3 = &temp3; | |
9433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail; | |
9434 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9435 | { | |
9436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9437 | (arg1)->GetSelection(arg2,arg3); | |
9438 | ||
9439 | wxPyEndAllowThreads(__tstate); | |
9440 | if (PyErr_Occurred()) SWIG_fail; | |
9441 | } | |
9442 | Py_INCREF(Py_None); resultobj = Py_None; | |
9443 | { | |
9444 | PyObject *o = PyInt_FromLong((long) (*arg2)); | |
9445 | resultobj = t_output_helper(resultobj,o); | |
9446 | } | |
9447 | { | |
9448 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
9449 | resultobj = t_output_helper(resultobj,o); | |
9450 | } | |
9451 | return resultobj; | |
9452 | fail: | |
9453 | return NULL; | |
9454 | } | |
9455 | ||
9456 | ||
9457 | static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9458 | PyObject *resultobj; | |
9459 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9460 | int arg2 ; | |
9461 | wxPoint result; | |
9462 | PyObject * obj0 = 0 ; | |
9463 | char *kwnames[] = { | |
9464 | (char *) "self",(char *) "pos", NULL | |
9465 | }; | |
9466 | ||
9467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&arg2)) goto fail; | |
9468 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9469 | { | |
9470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9471 | result = (arg1)->PointFromPosition(arg2); | |
9472 | ||
9473 | wxPyEndAllowThreads(__tstate); | |
9474 | if (PyErr_Occurred()) SWIG_fail; | |
9475 | } | |
9476 | { | |
9477 | wxPoint * resultptr; | |
9478 | resultptr = new wxPoint((wxPoint &) result); | |
9479 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1); | |
9480 | } | |
9481 | return resultobj; | |
9482 | fail: | |
9483 | return NULL; | |
9484 | } | |
9485 | ||
9486 | ||
9487 | static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9488 | PyObject *resultobj; | |
9489 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9490 | int arg2 ; | |
9491 | PyObject * obj0 = 0 ; | |
9492 | char *kwnames[] = { | |
9493 | (char *) "self",(char *) "line", NULL | |
9494 | }; | |
9495 | ||
9496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&arg2)) goto fail; | |
9497 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9498 | { | |
9499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9500 | (arg1)->ScrollToLine(arg2); | |
9501 | ||
9502 | wxPyEndAllowThreads(__tstate); | |
9503 | if (PyErr_Occurred()) SWIG_fail; | |
9504 | } | |
9505 | Py_INCREF(Py_None); resultobj = Py_None; | |
9506 | return resultobj; | |
9507 | fail: | |
9508 | return NULL; | |
9509 | } | |
9510 | ||
9511 | ||
9512 | static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9513 | PyObject *resultobj; | |
9514 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9515 | int arg2 ; | |
9516 | PyObject * obj0 = 0 ; | |
9517 | char *kwnames[] = { | |
9518 | (char *) "self",(char *) "column", NULL | |
9519 | }; | |
9520 | ||
9521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&arg2)) goto fail; | |
9522 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9523 | { | |
9524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9525 | (arg1)->ScrollToColumn(arg2); | |
9526 | ||
9527 | wxPyEndAllowThreads(__tstate); | |
9528 | if (PyErr_Occurred()) SWIG_fail; | |
9529 | } | |
9530 | Py_INCREF(Py_None); resultobj = Py_None; | |
9531 | return resultobj; | |
9532 | fail: | |
9533 | return NULL; | |
9534 | } | |
9535 | ||
9536 | ||
9537 | static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9538 | PyObject *resultobj; | |
9539 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9540 | int arg2 ; | |
9541 | long arg3 = (long) 0 ; | |
9542 | long arg4 = (long) 0 ; | |
9543 | long result; | |
9544 | PyObject * obj0 = 0 ; | |
9545 | char *kwnames[] = { | |
9546 | (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL | |
9547 | }; | |
9548 | ||
9549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|ll:StyledTextCtrl_SendMsg",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail; | |
9550 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9551 | { | |
9552 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9553 | result = (long)(arg1)->SendMsg(arg2,arg3,arg4); | |
9554 | ||
9555 | wxPyEndAllowThreads(__tstate); | |
9556 | if (PyErr_Occurred()) SWIG_fail; | |
9557 | } | |
9558 | resultobj = PyInt_FromLong((long)result); | |
9559 | return resultobj; | |
9560 | fail: | |
9561 | return NULL; | |
9562 | } | |
9563 | ||
9564 | ||
9565 | static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9566 | PyObject *resultobj; | |
9567 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9568 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
9569 | PyObject * obj0 = 0 ; | |
9570 | PyObject * obj1 = 0 ; | |
9571 | char *kwnames[] = { | |
9572 | (char *) "self",(char *) "bar", NULL | |
9573 | }; | |
9574 | ||
9575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
9576 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9577 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9578 | { | |
9579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9580 | (arg1)->SetVScrollBar(arg2); | |
9581 | ||
9582 | wxPyEndAllowThreads(__tstate); | |
9583 | if (PyErr_Occurred()) SWIG_fail; | |
9584 | } | |
9585 | Py_INCREF(Py_None); resultobj = Py_None; | |
9586 | return resultobj; | |
9587 | fail: | |
9588 | return NULL; | |
9589 | } | |
9590 | ||
9591 | ||
9592 | static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9593 | PyObject *resultobj; | |
9594 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9595 | wxScrollBar *arg2 = (wxScrollBar *) 0 ; | |
9596 | PyObject * obj0 = 0 ; | |
9597 | PyObject * obj1 = 0 ; | |
9598 | char *kwnames[] = { | |
9599 | (char *) "self",(char *) "bar", NULL | |
9600 | }; | |
9601 | ||
9602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
9603 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9604 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9605 | { | |
9606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9607 | (arg1)->SetHScrollBar(arg2); | |
9608 | ||
9609 | wxPyEndAllowThreads(__tstate); | |
9610 | if (PyErr_Occurred()) SWIG_fail; | |
9611 | } | |
9612 | Py_INCREF(Py_None); resultobj = Py_None; | |
9613 | return resultobj; | |
9614 | fail: | |
9615 | return NULL; | |
9616 | } | |
9617 | ||
9618 | ||
9619 | static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9620 | PyObject *resultobj; | |
9621 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9622 | bool result; | |
9623 | PyObject * obj0 = 0 ; | |
9624 | char *kwnames[] = { | |
9625 | (char *) "self", NULL | |
9626 | }; | |
9627 | ||
9628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail; | |
9629 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9630 | { | |
9631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9632 | result = (bool)(arg1)->GetLastKeydownProcessed(); | |
9633 | ||
9634 | wxPyEndAllowThreads(__tstate); | |
9635 | if (PyErr_Occurred()) SWIG_fail; | |
9636 | } | |
9637 | resultobj = PyInt_FromLong((long)result); | |
9638 | return resultobj; | |
9639 | fail: | |
9640 | return NULL; | |
9641 | } | |
9642 | ||
9643 | ||
9644 | static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9645 | PyObject *resultobj; | |
9646 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9647 | bool arg2 ; | |
9648 | PyObject * obj0 = 0 ; | |
9649 | PyObject * obj1 = 0 ; | |
9650 | char *kwnames[] = { | |
9651 | (char *) "self",(char *) "val", NULL | |
9652 | }; | |
9653 | ||
9654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail; | |
9655 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9656 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
9657 | if (PyErr_Occurred()) SWIG_fail; | |
9658 | { | |
9659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9660 | (arg1)->SetLastKeydownProcessed(arg2); | |
9661 | ||
9662 | wxPyEndAllowThreads(__tstate); | |
9663 | if (PyErr_Occurred()) SWIG_fail; | |
9664 | } | |
9665 | Py_INCREF(Py_None); resultobj = Py_None; | |
9666 | return resultobj; | |
9667 | fail: | |
9668 | return NULL; | |
9669 | } | |
9670 | ||
9671 | ||
9672 | static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9673 | PyObject *resultobj; | |
9674 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9675 | wxString *arg2 = 0 ; | |
9676 | bool result; | |
e811c8ce | 9677 | bool temp2 = False ; |
d14a1e28 RD |
9678 | PyObject * obj0 = 0 ; |
9679 | PyObject * obj1 = 0 ; | |
9680 | char *kwnames[] = { | |
9681 | (char *) "self",(char *) "filename", NULL | |
9682 | }; | |
9683 | ||
9684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail; | |
9685 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9686 | { | |
9687 | arg2 = wxString_in_helper(obj1); | |
9688 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9689 | temp2 = True; |
d14a1e28 RD |
9690 | } |
9691 | { | |
9692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9693 | result = (bool)(arg1)->SaveFile((wxString const &)*arg2); | |
9694 | ||
9695 | wxPyEndAllowThreads(__tstate); | |
9696 | if (PyErr_Occurred()) SWIG_fail; | |
9697 | } | |
9698 | resultobj = PyInt_FromLong((long)result); | |
9699 | { | |
9700 | if (temp2) | |
9701 | delete arg2; | |
9702 | } | |
9703 | return resultobj; | |
9704 | fail: | |
9705 | { | |
9706 | if (temp2) | |
9707 | delete arg2; | |
9708 | } | |
9709 | return NULL; | |
9710 | } | |
9711 | ||
9712 | ||
9713 | static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9714 | PyObject *resultobj; | |
9715 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9716 | wxString *arg2 = 0 ; | |
9717 | bool result; | |
e811c8ce | 9718 | bool temp2 = False ; |
d14a1e28 RD |
9719 | PyObject * obj0 = 0 ; |
9720 | PyObject * obj1 = 0 ; | |
9721 | char *kwnames[] = { | |
9722 | (char *) "self",(char *) "filename", NULL | |
9723 | }; | |
9724 | ||
9725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail; | |
9726 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9727 | { | |
9728 | arg2 = wxString_in_helper(obj1); | |
9729 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 9730 | temp2 = True; |
d14a1e28 RD |
9731 | } |
9732 | { | |
9733 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9734 | result = (bool)(arg1)->LoadFile((wxString const &)*arg2); | |
9735 | ||
9736 | wxPyEndAllowThreads(__tstate); | |
9737 | if (PyErr_Occurred()) SWIG_fail; | |
9738 | } | |
9739 | resultobj = PyInt_FromLong((long)result); | |
9740 | { | |
9741 | if (temp2) | |
9742 | delete arg2; | |
9743 | } | |
9744 | return resultobj; | |
9745 | fail: | |
9746 | { | |
9747 | if (temp2) | |
9748 | delete arg2; | |
9749 | } | |
9750 | return NULL; | |
9751 | } | |
9752 | ||
9753 | ||
9754 | static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9755 | PyObject *resultobj; | |
9756 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
e811c8ce RD |
9757 | int arg2 ; |
9758 | int arg3 ; | |
d14a1e28 RD |
9759 | wxDragResult arg4 ; |
9760 | wxDragResult result; | |
9761 | wxDragResult *argp4 ; | |
9762 | PyObject * obj0 = 0 ; | |
9763 | PyObject * obj3 = 0 ; | |
9764 | char *kwnames[] = { | |
9765 | (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL | |
9766 | }; | |
9767 | ||
9768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiiO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; | |
9769 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9770 | if ((SWIG_ConvertPtr(obj3,(void **) &argp4, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
9771 | arg4 = *argp4; | |
9772 | { | |
9773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9774 | result = (arg1)->DoDragOver(arg2,arg3,arg4); | |
9775 | ||
9776 | wxPyEndAllowThreads(__tstate); | |
9777 | if (PyErr_Occurred()) SWIG_fail; | |
9778 | } | |
9779 | { | |
9780 | wxDragResult * resultptr; | |
9781 | resultptr = new wxDragResult((wxDragResult &) result); | |
9782 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1); | |
9783 | } | |
9784 | return resultobj; | |
9785 | fail: | |
9786 | return NULL; | |
9787 | } | |
9788 | ||
9789 | ||
9790 | static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9791 | PyObject *resultobj; | |
9792 | wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ; | |
9793 | long arg2 ; | |
9794 | long arg3 ; | |
9795 | wxString *arg4 = 0 ; | |
9796 | bool result; | |
e811c8ce | 9797 | bool temp4 = False ; |
d14a1e28 RD |
9798 | PyObject * obj0 = 0 ; |
9799 | PyObject * obj3 = 0 ; | |
9800 | char *kwnames[] = { | |
9801 | (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL | |
9802 | }; | |
9803 | ||
9804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:StyledTextCtrl_DoDropText",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail; | |
9805 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9806 | { | |
9807 | arg4 = wxString_in_helper(obj3); | |
9808 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 9809 | temp4 = True; |
d14a1e28 RD |
9810 | } |
9811 | { | |
9812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9813 | result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4); | |
9814 | ||
9815 | wxPyEndAllowThreads(__tstate); | |
9816 | if (PyErr_Occurred()) SWIG_fail; | |
9817 | } | |
9818 | resultobj = PyInt_FromLong((long)result); | |
9819 | { | |
9820 | if (temp4) | |
9821 | delete arg4; | |
9822 | } | |
9823 | return resultobj; | |
9824 | fail: | |
9825 | { | |
9826 | if (temp4) | |
9827 | delete arg4; | |
9828 | } | |
9829 | return NULL; | |
9830 | } | |
9831 | ||
9832 | ||
9833 | static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) { | |
9834 | PyObject *obj; | |
9835 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
9836 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj); | |
9837 | Py_INCREF(obj); | |
9838 | return Py_BuildValue((char *)""); | |
9839 | } | |
9840 | static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9841 | PyObject *resultobj; | |
9842 | wxEventType arg1 = (wxEventType) 0 ; | |
9843 | int arg2 = (int) 0 ; | |
9844 | wxStyledTextEvent *result; | |
9845 | char *kwnames[] = { | |
9846 | (char *) "commandType",(char *) "id", NULL | |
9847 | }; | |
9848 | ||
9849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_StyledTextEvent",kwnames,&arg1,&arg2)) goto fail; | |
9850 | { | |
9851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9852 | result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2); | |
9853 | ||
9854 | wxPyEndAllowThreads(__tstate); | |
9855 | if (PyErr_Occurred()) SWIG_fail; | |
9856 | } | |
9857 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStyledTextEvent, 1); | |
9858 | return resultobj; | |
9859 | fail: | |
9860 | return NULL; | |
9861 | } | |
9862 | ||
9863 | ||
9864 | static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9865 | PyObject *resultobj; | |
9866 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
9867 | PyObject * obj0 = 0 ; | |
9868 | char *kwnames[] = { | |
9869 | (char *) "self", NULL | |
9870 | }; | |
9871 | ||
9872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail; | |
9873 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9874 | { | |
9875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9876 | delete arg1; | |
9877 | ||
9878 | wxPyEndAllowThreads(__tstate); | |
9879 | if (PyErr_Occurred()) SWIG_fail; | |
9880 | } | |
9881 | Py_INCREF(Py_None); resultobj = Py_None; | |
9882 | return resultobj; | |
9883 | fail: | |
9884 | return NULL; | |
9885 | } | |
9886 | ||
9887 | ||
9888 | static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9889 | PyObject *resultobj; | |
9890 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
9891 | int arg2 ; | |
9892 | PyObject * obj0 = 0 ; | |
9893 | char *kwnames[] = { | |
9894 | (char *) "self",(char *) "pos", NULL | |
9895 | }; | |
9896 | ||
9897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail; | |
9898 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9899 | { | |
9900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9901 | (arg1)->SetPosition(arg2); | |
9902 | ||
9903 | wxPyEndAllowThreads(__tstate); | |
9904 | if (PyErr_Occurred()) SWIG_fail; | |
9905 | } | |
9906 | Py_INCREF(Py_None); resultobj = Py_None; | |
9907 | return resultobj; | |
9908 | fail: | |
9909 | return NULL; | |
9910 | } | |
9911 | ||
9912 | ||
9913 | static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9914 | PyObject *resultobj; | |
9915 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
9916 | int arg2 ; | |
9917 | PyObject * obj0 = 0 ; | |
9918 | char *kwnames[] = { | |
9919 | (char *) "self",(char *) "k", NULL | |
9920 | }; | |
9921 | ||
9922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetKey",kwnames,&obj0,&arg2)) goto fail; | |
9923 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9924 | { | |
9925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9926 | (arg1)->SetKey(arg2); | |
9927 | ||
9928 | wxPyEndAllowThreads(__tstate); | |
9929 | if (PyErr_Occurred()) SWIG_fail; | |
9930 | } | |
9931 | Py_INCREF(Py_None); resultobj = Py_None; | |
9932 | return resultobj; | |
9933 | fail: | |
9934 | return NULL; | |
9935 | } | |
9936 | ||
9937 | ||
9938 | static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9939 | PyObject *resultobj; | |
9940 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
9941 | int arg2 ; | |
9942 | PyObject * obj0 = 0 ; | |
9943 | char *kwnames[] = { | |
9944 | (char *) "self",(char *) "m", NULL | |
9945 | }; | |
9946 | ||
9947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetModifiers",kwnames,&obj0,&arg2)) goto fail; | |
9948 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9949 | { | |
9950 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9951 | (arg1)->SetModifiers(arg2); | |
9952 | ||
9953 | wxPyEndAllowThreads(__tstate); | |
9954 | if (PyErr_Occurred()) SWIG_fail; | |
9955 | } | |
9956 | Py_INCREF(Py_None); resultobj = Py_None; | |
9957 | return resultobj; | |
9958 | fail: | |
9959 | return NULL; | |
9960 | } | |
9961 | ||
9962 | ||
9963 | static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9964 | PyObject *resultobj; | |
9965 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
9966 | int arg2 ; | |
9967 | PyObject * obj0 = 0 ; | |
9968 | char *kwnames[] = { | |
9969 | (char *) "self",(char *) "t", NULL | |
9970 | }; | |
9971 | ||
9972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetModificationType",kwnames,&obj0,&arg2)) goto fail; | |
9973 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
9974 | { | |
9975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9976 | (arg1)->SetModificationType(arg2); | |
9977 | ||
9978 | wxPyEndAllowThreads(__tstate); | |
9979 | if (PyErr_Occurred()) SWIG_fail; | |
9980 | } | |
9981 | Py_INCREF(Py_None); resultobj = Py_None; | |
9982 | return resultobj; | |
9983 | fail: | |
9984 | return NULL; | |
9985 | } | |
9986 | ||
9987 | ||
9988 | static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9989 | PyObject *resultobj; | |
9990 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
9991 | wxString *arg2 = 0 ; | |
e811c8ce | 9992 | bool temp2 = False ; |
d14a1e28 RD |
9993 | PyObject * obj0 = 0 ; |
9994 | PyObject * obj1 = 0 ; | |
9995 | char *kwnames[] = { | |
9996 | (char *) "self",(char *) "t", NULL | |
9997 | }; | |
9998 | ||
9999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail; | |
10000 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10001 | { | |
10002 | arg2 = wxString_in_helper(obj1); | |
10003 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 10004 | temp2 = True; |
d14a1e28 RD |
10005 | } |
10006 | { | |
10007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10008 | (arg1)->SetText((wxString const &)*arg2); | |
10009 | ||
10010 | wxPyEndAllowThreads(__tstate); | |
10011 | if (PyErr_Occurred()) SWIG_fail; | |
10012 | } | |
10013 | Py_INCREF(Py_None); resultobj = Py_None; | |
10014 | { | |
10015 | if (temp2) | |
10016 | delete arg2; | |
10017 | } | |
10018 | return resultobj; | |
10019 | fail: | |
10020 | { | |
10021 | if (temp2) | |
10022 | delete arg2; | |
10023 | } | |
10024 | return NULL; | |
10025 | } | |
10026 | ||
10027 | ||
10028 | static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10029 | PyObject *resultobj; | |
10030 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10031 | int arg2 ; | |
10032 | PyObject * obj0 = 0 ; | |
10033 | char *kwnames[] = { | |
10034 | (char *) "self",(char *) "len", NULL | |
10035 | }; | |
10036 | ||
10037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLength",kwnames,&obj0,&arg2)) goto fail; | |
10038 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10039 | { | |
10040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10041 | (arg1)->SetLength(arg2); | |
10042 | ||
10043 | wxPyEndAllowThreads(__tstate); | |
10044 | if (PyErr_Occurred()) SWIG_fail; | |
10045 | } | |
10046 | Py_INCREF(Py_None); resultobj = Py_None; | |
10047 | return resultobj; | |
10048 | fail: | |
10049 | return NULL; | |
10050 | } | |
10051 | ||
10052 | ||
10053 | static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10054 | PyObject *resultobj; | |
10055 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10056 | int arg2 ; | |
10057 | PyObject * obj0 = 0 ; | |
10058 | char *kwnames[] = { | |
10059 | (char *) "self",(char *) "num", NULL | |
10060 | }; | |
10061 | ||
10062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&arg2)) goto fail; | |
10063 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10064 | { | |
10065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10066 | (arg1)->SetLinesAdded(arg2); | |
10067 | ||
10068 | wxPyEndAllowThreads(__tstate); | |
10069 | if (PyErr_Occurred()) SWIG_fail; | |
10070 | } | |
10071 | Py_INCREF(Py_None); resultobj = Py_None; | |
10072 | return resultobj; | |
10073 | fail: | |
10074 | return NULL; | |
10075 | } | |
10076 | ||
10077 | ||
10078 | static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10079 | PyObject *resultobj; | |
10080 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10081 | int arg2 ; | |
10082 | PyObject * obj0 = 0 ; | |
10083 | char *kwnames[] = { | |
10084 | (char *) "self",(char *) "val", NULL | |
10085 | }; | |
10086 | ||
10087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLine",kwnames,&obj0,&arg2)) goto fail; | |
10088 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10089 | { | |
10090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10091 | (arg1)->SetLine(arg2); | |
10092 | ||
10093 | wxPyEndAllowThreads(__tstate); | |
10094 | if (PyErr_Occurred()) SWIG_fail; | |
10095 | } | |
10096 | Py_INCREF(Py_None); resultobj = Py_None; | |
10097 | return resultobj; | |
10098 | fail: | |
10099 | return NULL; | |
10100 | } | |
10101 | ||
10102 | ||
10103 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10104 | PyObject *resultobj; | |
10105 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10106 | int arg2 ; | |
10107 | PyObject * obj0 = 0 ; | |
10108 | char *kwnames[] = { | |
10109 | (char *) "self",(char *) "val", NULL | |
10110 | }; | |
10111 | ||
10112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&arg2)) goto fail; | |
10113 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10114 | { | |
10115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10116 | (arg1)->SetFoldLevelNow(arg2); | |
10117 | ||
10118 | wxPyEndAllowThreads(__tstate); | |
10119 | if (PyErr_Occurred()) SWIG_fail; | |
10120 | } | |
10121 | Py_INCREF(Py_None); resultobj = Py_None; | |
10122 | return resultobj; | |
10123 | fail: | |
10124 | return NULL; | |
10125 | } | |
10126 | ||
10127 | ||
10128 | static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10129 | PyObject *resultobj; | |
10130 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10131 | int arg2 ; | |
10132 | PyObject * obj0 = 0 ; | |
10133 | char *kwnames[] = { | |
10134 | (char *) "self",(char *) "val", NULL | |
10135 | }; | |
10136 | ||
10137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&arg2)) goto fail; | |
10138 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10139 | { | |
10140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10141 | (arg1)->SetFoldLevelPrev(arg2); | |
10142 | ||
10143 | wxPyEndAllowThreads(__tstate); | |
10144 | if (PyErr_Occurred()) SWIG_fail; | |
10145 | } | |
10146 | Py_INCREF(Py_None); resultobj = Py_None; | |
10147 | return resultobj; | |
10148 | fail: | |
10149 | return NULL; | |
10150 | } | |
10151 | ||
10152 | ||
10153 | static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10154 | PyObject *resultobj; | |
10155 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10156 | int arg2 ; | |
10157 | PyObject * obj0 = 0 ; | |
10158 | char *kwnames[] = { | |
10159 | (char *) "self",(char *) "val", NULL | |
10160 | }; | |
10161 | ||
10162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetMargin",kwnames,&obj0,&arg2)) goto fail; | |
10163 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10164 | { | |
10165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10166 | (arg1)->SetMargin(arg2); | |
10167 | ||
10168 | wxPyEndAllowThreads(__tstate); | |
10169 | if (PyErr_Occurred()) SWIG_fail; | |
10170 | } | |
10171 | Py_INCREF(Py_None); resultobj = Py_None; | |
10172 | return resultobj; | |
10173 | fail: | |
10174 | return NULL; | |
10175 | } | |
10176 | ||
10177 | ||
10178 | static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10179 | PyObject *resultobj; | |
10180 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10181 | int arg2 ; | |
10182 | PyObject * obj0 = 0 ; | |
10183 | char *kwnames[] = { | |
10184 | (char *) "self",(char *) "val", NULL | |
10185 | }; | |
10186 | ||
10187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetMessage",kwnames,&obj0,&arg2)) goto fail; | |
10188 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10189 | { | |
10190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10191 | (arg1)->SetMessage(arg2); | |
10192 | ||
10193 | wxPyEndAllowThreads(__tstate); | |
10194 | if (PyErr_Occurred()) SWIG_fail; | |
10195 | } | |
10196 | Py_INCREF(Py_None); resultobj = Py_None; | |
10197 | return resultobj; | |
10198 | fail: | |
10199 | return NULL; | |
10200 | } | |
10201 | ||
10202 | ||
10203 | static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10204 | PyObject *resultobj; | |
10205 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10206 | int arg2 ; | |
10207 | PyObject * obj0 = 0 ; | |
10208 | char *kwnames[] = { | |
10209 | (char *) "self",(char *) "val", NULL | |
10210 | }; | |
10211 | ||
10212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetWParam",kwnames,&obj0,&arg2)) goto fail; | |
10213 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10214 | { | |
10215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10216 | (arg1)->SetWParam(arg2); | |
10217 | ||
10218 | wxPyEndAllowThreads(__tstate); | |
10219 | if (PyErr_Occurred()) SWIG_fail; | |
10220 | } | |
10221 | Py_INCREF(Py_None); resultobj = Py_None; | |
10222 | return resultobj; | |
10223 | fail: | |
10224 | return NULL; | |
10225 | } | |
10226 | ||
10227 | ||
10228 | static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10229 | PyObject *resultobj; | |
10230 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10231 | int arg2 ; | |
10232 | PyObject * obj0 = 0 ; | |
10233 | char *kwnames[] = { | |
10234 | (char *) "self",(char *) "val", NULL | |
10235 | }; | |
10236 | ||
10237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetLParam",kwnames,&obj0,&arg2)) goto fail; | |
10238 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10239 | { | |
10240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10241 | (arg1)->SetLParam(arg2); | |
10242 | ||
10243 | wxPyEndAllowThreads(__tstate); | |
10244 | if (PyErr_Occurred()) SWIG_fail; | |
10245 | } | |
10246 | Py_INCREF(Py_None); resultobj = Py_None; | |
10247 | return resultobj; | |
10248 | fail: | |
10249 | return NULL; | |
10250 | } | |
10251 | ||
10252 | ||
10253 | static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10254 | PyObject *resultobj; | |
10255 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10256 | int arg2 ; | |
10257 | PyObject * obj0 = 0 ; | |
10258 | char *kwnames[] = { | |
10259 | (char *) "self",(char *) "val", NULL | |
10260 | }; | |
10261 | ||
10262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetListType",kwnames,&obj0,&arg2)) goto fail; | |
10263 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10264 | { | |
10265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10266 | (arg1)->SetListType(arg2); | |
10267 | ||
10268 | wxPyEndAllowThreads(__tstate); | |
10269 | if (PyErr_Occurred()) SWIG_fail; | |
10270 | } | |
10271 | Py_INCREF(Py_None); resultobj = Py_None; | |
10272 | return resultobj; | |
10273 | fail: | |
10274 | return NULL; | |
10275 | } | |
10276 | ||
10277 | ||
10278 | static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10279 | PyObject *resultobj; | |
10280 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10281 | int arg2 ; | |
10282 | PyObject * obj0 = 0 ; | |
10283 | char *kwnames[] = { | |
10284 | (char *) "self",(char *) "val", NULL | |
10285 | }; | |
10286 | ||
10287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetX",kwnames,&obj0,&arg2)) goto fail; | |
10288 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10289 | { | |
10290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10291 | (arg1)->SetX(arg2); | |
10292 | ||
10293 | wxPyEndAllowThreads(__tstate); | |
10294 | if (PyErr_Occurred()) SWIG_fail; | |
10295 | } | |
10296 | Py_INCREF(Py_None); resultobj = Py_None; | |
10297 | return resultobj; | |
10298 | fail: | |
10299 | return NULL; | |
10300 | } | |
10301 | ||
10302 | ||
10303 | static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10304 | PyObject *resultobj; | |
10305 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10306 | int arg2 ; | |
10307 | PyObject * obj0 = 0 ; | |
10308 | char *kwnames[] = { | |
10309 | (char *) "self",(char *) "val", NULL | |
10310 | }; | |
10311 | ||
10312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StyledTextEvent_SetY",kwnames,&obj0,&arg2)) goto fail; | |
10313 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10314 | { | |
10315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10316 | (arg1)->SetY(arg2); | |
10317 | ||
10318 | wxPyEndAllowThreads(__tstate); | |
10319 | if (PyErr_Occurred()) SWIG_fail; | |
10320 | } | |
10321 | Py_INCREF(Py_None); resultobj = Py_None; | |
10322 | return resultobj; | |
10323 | fail: | |
10324 | return NULL; | |
10325 | } | |
10326 | ||
10327 | ||
10328 | static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10329 | PyObject *resultobj; | |
10330 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10331 | wxString *arg2 = 0 ; | |
e811c8ce | 10332 | bool temp2 = False ; |
d14a1e28 RD |
10333 | PyObject * obj0 = 0 ; |
10334 | PyObject * obj1 = 0 ; | |
10335 | char *kwnames[] = { | |
10336 | (char *) "self",(char *) "val", NULL | |
10337 | }; | |
10338 | ||
10339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail; | |
10340 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10341 | { | |
10342 | arg2 = wxString_in_helper(obj1); | |
10343 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 10344 | temp2 = True; |
d14a1e28 RD |
10345 | } |
10346 | { | |
10347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10348 | (arg1)->SetDragText((wxString const &)*arg2); | |
10349 | ||
10350 | wxPyEndAllowThreads(__tstate); | |
10351 | if (PyErr_Occurred()) SWIG_fail; | |
10352 | } | |
10353 | Py_INCREF(Py_None); resultobj = Py_None; | |
10354 | { | |
10355 | if (temp2) | |
10356 | delete arg2; | |
10357 | } | |
10358 | return resultobj; | |
10359 | fail: | |
10360 | { | |
10361 | if (temp2) | |
10362 | delete arg2; | |
10363 | } | |
10364 | return NULL; | |
10365 | } | |
10366 | ||
10367 | ||
10368 | static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10369 | PyObject *resultobj; | |
10370 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10371 | bool arg2 ; | |
10372 | PyObject * obj0 = 0 ; | |
10373 | PyObject * obj1 = 0 ; | |
10374 | char *kwnames[] = { | |
10375 | (char *) "self",(char *) "val", NULL | |
10376 | }; | |
10377 | ||
10378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail; | |
10379 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10380 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
10381 | if (PyErr_Occurred()) SWIG_fail; | |
10382 | { | |
10383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10384 | (arg1)->SetDragAllowMove(arg2); | |
10385 | ||
10386 | wxPyEndAllowThreads(__tstate); | |
10387 | if (PyErr_Occurred()) SWIG_fail; | |
10388 | } | |
10389 | Py_INCREF(Py_None); resultobj = Py_None; | |
10390 | return resultobj; | |
10391 | fail: | |
10392 | return NULL; | |
10393 | } | |
10394 | ||
10395 | ||
10396 | static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10397 | PyObject *resultobj; | |
10398 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10399 | wxDragResult arg2 ; | |
10400 | wxDragResult *argp2 ; | |
10401 | PyObject * obj0 = 0 ; | |
10402 | PyObject * obj1 = 0 ; | |
10403 | char *kwnames[] = { | |
10404 | (char *) "self",(char *) "val", NULL | |
10405 | }; | |
10406 | ||
10407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail; | |
10408 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10409 | if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxDragResult,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail; | |
10410 | arg2 = *argp2; | |
10411 | { | |
10412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10413 | (arg1)->SetDragResult(arg2); | |
10414 | ||
10415 | wxPyEndAllowThreads(__tstate); | |
10416 | if (PyErr_Occurred()) SWIG_fail; | |
10417 | } | |
10418 | Py_INCREF(Py_None); resultobj = Py_None; | |
10419 | return resultobj; | |
10420 | fail: | |
10421 | return NULL; | |
10422 | } | |
10423 | ||
10424 | ||
10425 | static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10426 | PyObject *resultobj; | |
10427 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10428 | int result; | |
10429 | PyObject * obj0 = 0 ; | |
10430 | char *kwnames[] = { | |
10431 | (char *) "self", NULL | |
10432 | }; | |
10433 | ||
10434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail; | |
10435 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10436 | { | |
10437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10438 | result = (int)((wxStyledTextEvent const *)arg1)->GetPosition(); | |
10439 | ||
10440 | wxPyEndAllowThreads(__tstate); | |
10441 | if (PyErr_Occurred()) SWIG_fail; | |
10442 | } | |
10443 | resultobj = PyInt_FromLong((long)result); | |
10444 | return resultobj; | |
10445 | fail: | |
10446 | return NULL; | |
10447 | } | |
10448 | ||
10449 | ||
10450 | static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10451 | PyObject *resultobj; | |
10452 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10453 | int result; | |
10454 | PyObject * obj0 = 0 ; | |
10455 | char *kwnames[] = { | |
10456 | (char *) "self", NULL | |
10457 | }; | |
10458 | ||
10459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail; | |
10460 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10461 | { | |
10462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10463 | result = (int)((wxStyledTextEvent const *)arg1)->GetKey(); | |
10464 | ||
10465 | wxPyEndAllowThreads(__tstate); | |
10466 | if (PyErr_Occurred()) SWIG_fail; | |
10467 | } | |
10468 | resultobj = PyInt_FromLong((long)result); | |
10469 | return resultobj; | |
10470 | fail: | |
10471 | return NULL; | |
10472 | } | |
10473 | ||
10474 | ||
10475 | static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10476 | PyObject *resultobj; | |
10477 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10478 | int result; | |
10479 | PyObject * obj0 = 0 ; | |
10480 | char *kwnames[] = { | |
10481 | (char *) "self", NULL | |
10482 | }; | |
10483 | ||
10484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail; | |
10485 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10486 | { | |
10487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10488 | result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers(); | |
10489 | ||
10490 | wxPyEndAllowThreads(__tstate); | |
10491 | if (PyErr_Occurred()) SWIG_fail; | |
10492 | } | |
10493 | resultobj = PyInt_FromLong((long)result); | |
10494 | return resultobj; | |
10495 | fail: | |
10496 | return NULL; | |
10497 | } | |
10498 | ||
10499 | ||
10500 | static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10501 | PyObject *resultobj; | |
10502 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10503 | int result; | |
10504 | PyObject * obj0 = 0 ; | |
10505 | char *kwnames[] = { | |
10506 | (char *) "self", NULL | |
10507 | }; | |
10508 | ||
10509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail; | |
10510 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10511 | { | |
10512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10513 | result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType(); | |
10514 | ||
10515 | wxPyEndAllowThreads(__tstate); | |
10516 | if (PyErr_Occurred()) SWIG_fail; | |
10517 | } | |
10518 | resultobj = PyInt_FromLong((long)result); | |
10519 | return resultobj; | |
10520 | fail: | |
10521 | return NULL; | |
10522 | } | |
10523 | ||
10524 | ||
10525 | static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10526 | PyObject *resultobj; | |
10527 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10528 | wxString result; | |
10529 | PyObject * obj0 = 0 ; | |
10530 | char *kwnames[] = { | |
10531 | (char *) "self", NULL | |
10532 | }; | |
10533 | ||
10534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail; | |
10535 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10536 | { | |
10537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10538 | result = ((wxStyledTextEvent const *)arg1)->GetText(); | |
10539 | ||
10540 | wxPyEndAllowThreads(__tstate); | |
10541 | if (PyErr_Occurred()) SWIG_fail; | |
10542 | } | |
10543 | { | |
10544 | #if wxUSE_UNICODE | |
10545 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10546 | #else | |
10547 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10548 | #endif | |
10549 | } | |
10550 | return resultobj; | |
10551 | fail: | |
10552 | return NULL; | |
10553 | } | |
10554 | ||
10555 | ||
10556 | static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10557 | PyObject *resultobj; | |
10558 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10559 | int result; | |
10560 | PyObject * obj0 = 0 ; | |
10561 | char *kwnames[] = { | |
10562 | (char *) "self", NULL | |
10563 | }; | |
10564 | ||
10565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail; | |
10566 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10567 | { | |
10568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10569 | result = (int)((wxStyledTextEvent const *)arg1)->GetLength(); | |
10570 | ||
10571 | wxPyEndAllowThreads(__tstate); | |
10572 | if (PyErr_Occurred()) SWIG_fail; | |
10573 | } | |
10574 | resultobj = PyInt_FromLong((long)result); | |
10575 | return resultobj; | |
10576 | fail: | |
10577 | return NULL; | |
10578 | } | |
10579 | ||
10580 | ||
10581 | static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10582 | PyObject *resultobj; | |
10583 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10584 | int result; | |
10585 | PyObject * obj0 = 0 ; | |
10586 | char *kwnames[] = { | |
10587 | (char *) "self", NULL | |
10588 | }; | |
10589 | ||
10590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail; | |
10591 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10592 | { | |
10593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10594 | result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded(); | |
10595 | ||
10596 | wxPyEndAllowThreads(__tstate); | |
10597 | if (PyErr_Occurred()) SWIG_fail; | |
10598 | } | |
10599 | resultobj = PyInt_FromLong((long)result); | |
10600 | return resultobj; | |
10601 | fail: | |
10602 | return NULL; | |
10603 | } | |
10604 | ||
10605 | ||
10606 | static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10607 | PyObject *resultobj; | |
10608 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10609 | int result; | |
10610 | PyObject * obj0 = 0 ; | |
10611 | char *kwnames[] = { | |
10612 | (char *) "self", NULL | |
10613 | }; | |
10614 | ||
10615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail; | |
10616 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10617 | { | |
10618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10619 | result = (int)((wxStyledTextEvent const *)arg1)->GetLine(); | |
10620 | ||
10621 | wxPyEndAllowThreads(__tstate); | |
10622 | if (PyErr_Occurred()) SWIG_fail; | |
10623 | } | |
10624 | resultobj = PyInt_FromLong((long)result); | |
10625 | return resultobj; | |
10626 | fail: | |
10627 | return NULL; | |
10628 | } | |
10629 | ||
10630 | ||
10631 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10632 | PyObject *resultobj; | |
10633 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10634 | int result; | |
10635 | PyObject * obj0 = 0 ; | |
10636 | char *kwnames[] = { | |
10637 | (char *) "self", NULL | |
10638 | }; | |
10639 | ||
10640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail; | |
10641 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10642 | { | |
10643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10644 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow(); | |
10645 | ||
10646 | wxPyEndAllowThreads(__tstate); | |
10647 | if (PyErr_Occurred()) SWIG_fail; | |
10648 | } | |
10649 | resultobj = PyInt_FromLong((long)result); | |
10650 | return resultobj; | |
10651 | fail: | |
10652 | return NULL; | |
10653 | } | |
10654 | ||
10655 | ||
10656 | static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10657 | PyObject *resultobj; | |
10658 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10659 | int result; | |
10660 | PyObject * obj0 = 0 ; | |
10661 | char *kwnames[] = { | |
10662 | (char *) "self", NULL | |
10663 | }; | |
10664 | ||
10665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail; | |
10666 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10667 | { | |
10668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10669 | result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev(); | |
10670 | ||
10671 | wxPyEndAllowThreads(__tstate); | |
10672 | if (PyErr_Occurred()) SWIG_fail; | |
10673 | } | |
10674 | resultobj = PyInt_FromLong((long)result); | |
10675 | return resultobj; | |
10676 | fail: | |
10677 | return NULL; | |
10678 | } | |
10679 | ||
10680 | ||
10681 | static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10682 | PyObject *resultobj; | |
10683 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10684 | int result; | |
10685 | PyObject * obj0 = 0 ; | |
10686 | char *kwnames[] = { | |
10687 | (char *) "self", NULL | |
10688 | }; | |
10689 | ||
10690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail; | |
10691 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10692 | { | |
10693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10694 | result = (int)((wxStyledTextEvent const *)arg1)->GetMargin(); | |
10695 | ||
10696 | wxPyEndAllowThreads(__tstate); | |
10697 | if (PyErr_Occurred()) SWIG_fail; | |
10698 | } | |
10699 | resultobj = PyInt_FromLong((long)result); | |
10700 | return resultobj; | |
10701 | fail: | |
10702 | return NULL; | |
10703 | } | |
10704 | ||
10705 | ||
10706 | static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10707 | PyObject *resultobj; | |
10708 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10709 | int result; | |
10710 | PyObject * obj0 = 0 ; | |
10711 | char *kwnames[] = { | |
10712 | (char *) "self", NULL | |
10713 | }; | |
10714 | ||
10715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail; | |
10716 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10717 | { | |
10718 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10719 | result = (int)((wxStyledTextEvent const *)arg1)->GetMessage(); | |
10720 | ||
10721 | wxPyEndAllowThreads(__tstate); | |
10722 | if (PyErr_Occurred()) SWIG_fail; | |
10723 | } | |
10724 | resultobj = PyInt_FromLong((long)result); | |
10725 | return resultobj; | |
10726 | fail: | |
10727 | return NULL; | |
10728 | } | |
10729 | ||
10730 | ||
10731 | static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10732 | PyObject *resultobj; | |
10733 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10734 | int result; | |
10735 | PyObject * obj0 = 0 ; | |
10736 | char *kwnames[] = { | |
10737 | (char *) "self", NULL | |
10738 | }; | |
10739 | ||
10740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail; | |
10741 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10742 | { | |
10743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10744 | result = (int)((wxStyledTextEvent const *)arg1)->GetWParam(); | |
10745 | ||
10746 | wxPyEndAllowThreads(__tstate); | |
10747 | if (PyErr_Occurred()) SWIG_fail; | |
10748 | } | |
10749 | resultobj = PyInt_FromLong((long)result); | |
10750 | return resultobj; | |
10751 | fail: | |
10752 | return NULL; | |
10753 | } | |
10754 | ||
10755 | ||
10756 | static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10757 | PyObject *resultobj; | |
10758 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10759 | int result; | |
10760 | PyObject * obj0 = 0 ; | |
10761 | char *kwnames[] = { | |
10762 | (char *) "self", NULL | |
10763 | }; | |
10764 | ||
10765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail; | |
10766 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10767 | { | |
10768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10769 | result = (int)((wxStyledTextEvent const *)arg1)->GetLParam(); | |
10770 | ||
10771 | wxPyEndAllowThreads(__tstate); | |
10772 | if (PyErr_Occurred()) SWIG_fail; | |
10773 | } | |
10774 | resultobj = PyInt_FromLong((long)result); | |
10775 | return resultobj; | |
10776 | fail: | |
10777 | return NULL; | |
10778 | } | |
10779 | ||
10780 | ||
10781 | static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10782 | PyObject *resultobj; | |
10783 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10784 | int result; | |
10785 | PyObject * obj0 = 0 ; | |
10786 | char *kwnames[] = { | |
10787 | (char *) "self", NULL | |
10788 | }; | |
10789 | ||
10790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail; | |
10791 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10792 | { | |
10793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10794 | result = (int)((wxStyledTextEvent const *)arg1)->GetListType(); | |
10795 | ||
10796 | wxPyEndAllowThreads(__tstate); | |
10797 | if (PyErr_Occurred()) SWIG_fail; | |
10798 | } | |
10799 | resultobj = PyInt_FromLong((long)result); | |
10800 | return resultobj; | |
10801 | fail: | |
10802 | return NULL; | |
10803 | } | |
10804 | ||
10805 | ||
10806 | static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10807 | PyObject *resultobj; | |
10808 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10809 | int result; | |
10810 | PyObject * obj0 = 0 ; | |
10811 | char *kwnames[] = { | |
10812 | (char *) "self", NULL | |
10813 | }; | |
10814 | ||
10815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail; | |
10816 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10817 | { | |
10818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10819 | result = (int)((wxStyledTextEvent const *)arg1)->GetX(); | |
10820 | ||
10821 | wxPyEndAllowThreads(__tstate); | |
10822 | if (PyErr_Occurred()) SWIG_fail; | |
10823 | } | |
10824 | resultobj = PyInt_FromLong((long)result); | |
10825 | return resultobj; | |
10826 | fail: | |
10827 | return NULL; | |
10828 | } | |
10829 | ||
10830 | ||
10831 | static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10832 | PyObject *resultobj; | |
10833 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10834 | int result; | |
10835 | PyObject * obj0 = 0 ; | |
10836 | char *kwnames[] = { | |
10837 | (char *) "self", NULL | |
10838 | }; | |
10839 | ||
10840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail; | |
10841 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10842 | { | |
10843 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10844 | result = (int)((wxStyledTextEvent const *)arg1)->GetY(); | |
10845 | ||
10846 | wxPyEndAllowThreads(__tstate); | |
10847 | if (PyErr_Occurred()) SWIG_fail; | |
10848 | } | |
10849 | resultobj = PyInt_FromLong((long)result); | |
10850 | return resultobj; | |
10851 | fail: | |
10852 | return NULL; | |
10853 | } | |
10854 | ||
10855 | ||
10856 | static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10857 | PyObject *resultobj; | |
10858 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10859 | wxString result; | |
10860 | PyObject * obj0 = 0 ; | |
10861 | char *kwnames[] = { | |
10862 | (char *) "self", NULL | |
10863 | }; | |
10864 | ||
10865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail; | |
10866 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10867 | { | |
10868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10869 | result = (arg1)->GetDragText(); | |
10870 | ||
10871 | wxPyEndAllowThreads(__tstate); | |
10872 | if (PyErr_Occurred()) SWIG_fail; | |
10873 | } | |
10874 | { | |
10875 | #if wxUSE_UNICODE | |
10876 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
10877 | #else | |
10878 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
10879 | #endif | |
10880 | } | |
10881 | return resultobj; | |
10882 | fail: | |
10883 | return NULL; | |
10884 | } | |
10885 | ||
10886 | ||
10887 | static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10888 | PyObject *resultobj; | |
10889 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10890 | bool result; | |
10891 | PyObject * obj0 = 0 ; | |
10892 | char *kwnames[] = { | |
10893 | (char *) "self", NULL | |
10894 | }; | |
10895 | ||
10896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail; | |
10897 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10898 | { | |
10899 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10900 | result = (bool)(arg1)->GetDragAllowMove(); | |
10901 | ||
10902 | wxPyEndAllowThreads(__tstate); | |
10903 | if (PyErr_Occurred()) SWIG_fail; | |
10904 | } | |
10905 | resultobj = PyInt_FromLong((long)result); | |
10906 | return resultobj; | |
10907 | fail: | |
10908 | return NULL; | |
10909 | } | |
10910 | ||
10911 | ||
10912 | static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10913 | PyObject *resultobj; | |
10914 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10915 | wxDragResult result; | |
10916 | PyObject * obj0 = 0 ; | |
10917 | char *kwnames[] = { | |
10918 | (char *) "self", NULL | |
10919 | }; | |
10920 | ||
10921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail; | |
10922 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10923 | { | |
10924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10925 | result = (arg1)->GetDragResult(); | |
10926 | ||
10927 | wxPyEndAllowThreads(__tstate); | |
10928 | if (PyErr_Occurred()) SWIG_fail; | |
10929 | } | |
10930 | { | |
10931 | wxDragResult * resultptr; | |
10932 | resultptr = new wxDragResult((wxDragResult &) result); | |
10933 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxDragResult, 1); | |
10934 | } | |
10935 | return resultobj; | |
10936 | fail: | |
10937 | return NULL; | |
10938 | } | |
10939 | ||
10940 | ||
10941 | static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10942 | PyObject *resultobj; | |
10943 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10944 | bool result; | |
10945 | PyObject * obj0 = 0 ; | |
10946 | char *kwnames[] = { | |
10947 | (char *) "self", NULL | |
10948 | }; | |
10949 | ||
10950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail; | |
10951 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10952 | { | |
10953 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10954 | result = (bool)((wxStyledTextEvent const *)arg1)->GetShift(); | |
10955 | ||
10956 | wxPyEndAllowThreads(__tstate); | |
10957 | if (PyErr_Occurred()) SWIG_fail; | |
10958 | } | |
10959 | resultobj = PyInt_FromLong((long)result); | |
10960 | return resultobj; | |
10961 | fail: | |
10962 | return NULL; | |
10963 | } | |
10964 | ||
10965 | ||
10966 | static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10967 | PyObject *resultobj; | |
10968 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10969 | bool result; | |
10970 | PyObject * obj0 = 0 ; | |
10971 | char *kwnames[] = { | |
10972 | (char *) "self", NULL | |
10973 | }; | |
10974 | ||
10975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail; | |
10976 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
10977 | { | |
10978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10979 | result = (bool)((wxStyledTextEvent const *)arg1)->GetControl(); | |
10980 | ||
10981 | wxPyEndAllowThreads(__tstate); | |
10982 | if (PyErr_Occurred()) SWIG_fail; | |
10983 | } | |
10984 | resultobj = PyInt_FromLong((long)result); | |
10985 | return resultobj; | |
10986 | fail: | |
10987 | return NULL; | |
10988 | } | |
10989 | ||
10990 | ||
10991 | static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10992 | PyObject *resultobj; | |
10993 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
10994 | bool result; | |
10995 | PyObject * obj0 = 0 ; | |
10996 | char *kwnames[] = { | |
10997 | (char *) "self", NULL | |
10998 | }; | |
10999 | ||
11000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail; | |
11001 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11002 | { | |
11003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11004 | result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt(); | |
11005 | ||
11006 | wxPyEndAllowThreads(__tstate); | |
11007 | if (PyErr_Occurred()) SWIG_fail; | |
11008 | } | |
11009 | resultobj = PyInt_FromLong((long)result); | |
11010 | return resultobj; | |
11011 | fail: | |
11012 | return NULL; | |
11013 | } | |
11014 | ||
11015 | ||
11016 | static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11017 | PyObject *resultobj; | |
11018 | wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ; | |
11019 | wxEvent *result; | |
11020 | PyObject * obj0 = 0 ; | |
11021 | char *kwnames[] = { | |
11022 | (char *) "self", NULL | |
11023 | }; | |
11024 | ||
11025 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail; | |
11026 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStyledTextEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
11027 | { | |
11028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11029 | result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone(); | |
11030 | ||
11031 | wxPyEndAllowThreads(__tstate); | |
11032 | if (PyErr_Occurred()) SWIG_fail; | |
11033 | } | |
11034 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEvent, 0); | |
11035 | return resultobj; | |
11036 | fail: | |
11037 | return NULL; | |
11038 | } | |
11039 | ||
11040 | ||
11041 | static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) { | |
11042 | PyObject *obj; | |
11043 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
11044 | SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj); | |
11045 | Py_INCREF(obj); | |
11046 | return Py_BuildValue((char *)""); | |
11047 | } | |
11048 | static PyMethodDef SwigMethods[] = { | |
11049 | { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, | |
11050 | { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, | |
11051 | { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS }, | |
11052 | { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS }, | |
11053 | { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS }, | |
11054 | { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
11055 | { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, | |
11056 | { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS }, | |
11057 | { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
11058 | { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS }, | |
11059 | { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
11060 | { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
11061 | { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS }, | |
11062 | { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, | |
11063 | { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
11064 | { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
11065 | { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS }, | |
11066 | { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS }, | |
11067 | { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, | |
11068 | { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS }, | |
11069 | { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS }, | |
11070 | { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
11071 | { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
11072 | { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
11073 | { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS }, | |
11074 | { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS }, | |
11075 | { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS }, | |
11076 | { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS }, | |
11077 | { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
11078 | { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS }, | |
11079 | { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS }, | |
11080 | { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS }, | |
11081 | { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
11082 | { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
11083 | { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS }, | |
11084 | { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS }, | |
11085 | { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
11086 | { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
11087 | { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
11088 | { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
11089 | { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
11090 | { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS }, | |
11091 | { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
11092 | { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
11093 | { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS }, | |
11094 | { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS }, | |
11095 | { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS }, | |
11096 | { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS }, | |
11097 | { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS }, | |
11098 | { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS }, | |
11099 | { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS }, | |
11100 | { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
11101 | { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
11102 | { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
11103 | { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
11104 | { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
11105 | { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
11106 | { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
11107 | { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
11108 | { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS }, | |
11109 | { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
11110 | { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
11111 | { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS }, | |
11112 | { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS }, | |
11113 | { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS }, | |
11114 | { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS }, | |
11115 | { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS }, | |
11116 | { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS }, | |
11117 | { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS }, | |
11118 | { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS }, | |
11119 | { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS }, | |
11120 | { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS }, | |
11121 | { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS }, | |
11122 | { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS }, | |
11123 | { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
11124 | { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS }, | |
11125 | { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS }, | |
11126 | { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS }, | |
11127 | { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS }, | |
11128 | { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS }, | |
11129 | { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
11130 | { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
11131 | { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS }, | |
11132 | { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
11133 | { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
11134 | { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS }, | |
11135 | { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS }, | |
11136 | { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
11137 | { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS }, | |
11138 | { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS }, | |
11139 | { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS }, | |
11140 | { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
11141 | { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
11142 | { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS }, | |
11143 | { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS }, | |
11144 | { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS }, | |
11145 | { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
11146 | { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
11147 | { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, | |
11148 | { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, | |
11149 | { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS }, | |
11150 | { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS }, | |
11151 | { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS }, | |
11152 | { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS }, | |
11153 | { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS }, | |
11154 | { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS }, | |
11155 | { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS }, | |
11156 | { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
11157 | { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
11158 | { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS }, | |
11159 | { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
11160 | { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
11161 | { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS }, | |
11162 | { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
11163 | { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
11164 | { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
11165 | { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
11166 | { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS }, | |
11167 | { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS }, | |
11168 | { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS }, | |
11169 | { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, | |
11170 | { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, | |
11171 | { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS }, | |
11172 | { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS }, | |
11173 | { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS }, | |
11174 | { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS }, | |
11175 | { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
11176 | { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
11177 | { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
11178 | { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
11179 | { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
11180 | { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
11181 | { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS }, | |
11182 | { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
11183 | { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
11184 | { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
11185 | { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
11186 | { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
11187 | { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
11188 | { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
11189 | { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
11190 | { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
11191 | { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
11192 | { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
11193 | { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
11194 | { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
11195 | { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
11196 | { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
11197 | { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
11198 | { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
11199 | { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
11200 | { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
11201 | { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
11202 | { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS }, | |
11203 | { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS }, | |
11204 | { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
11205 | { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
11206 | { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
11207 | { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
11208 | { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
11209 | { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
11210 | { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
11211 | { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS }, | |
11212 | { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
11213 | { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS }, | |
11214 | { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS }, | |
11215 | { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS }, | |
11216 | { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
11217 | { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS }, | |
11218 | { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS }, | |
11219 | { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS }, | |
11220 | { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS }, | |
11221 | { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
11222 | { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
11223 | { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
11224 | { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS }, | |
11225 | { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
11226 | { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
11227 | { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
11228 | { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
11229 | { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
11230 | { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS }, | |
11231 | { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS }, | |
11232 | { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS }, | |
11233 | { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
11234 | { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
11235 | { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
11236 | { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
11237 | { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
11238 | { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
11239 | { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
11240 | { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
11241 | { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS }, | |
11242 | { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS }, | |
11243 | { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS }, | |
11244 | { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
11245 | { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
11246 | { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS }, | |
11247 | { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS }, | |
11248 | { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS }, | |
11249 | { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS }, | |
11250 | { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
11251 | { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
11252 | { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
11253 | { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS }, | |
11254 | { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS }, | |
11255 | { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS }, | |
11256 | { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
11257 | { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
11258 | { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
11259 | { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS }, | |
11260 | { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS }, | |
11261 | { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS }, | |
11262 | { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
11263 | { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
11264 | { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
11265 | { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS }, | |
11266 | { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
11267 | { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS }, | |
11268 | { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS }, | |
11269 | { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
11270 | { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
11271 | { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
11272 | { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
11273 | { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, | |
11274 | { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, | |
11275 | { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS }, | |
11276 | { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
11277 | { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
11278 | { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
11279 | { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
11280 | { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
11281 | { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS }, | |
11282 | { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS }, | |
11283 | { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS }, | |
11284 | { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS }, | |
11285 | { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS }, | |
11286 | { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS }, | |
11287 | { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
11288 | { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
11289 | { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS }, | |
11290 | { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS }, | |
11291 | { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS }, | |
11292 | { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS }, | |
11293 | { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS }, | |
11294 | { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS }, | |
11295 | { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS }, | |
11296 | { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS }, | |
11297 | { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS }, | |
11298 | { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS }, | |
11299 | { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS }, | |
11300 | { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS }, | |
11301 | { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS }, | |
11302 | { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS }, | |
11303 | { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS }, | |
11304 | { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS }, | |
11305 | { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS }, | |
11306 | { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS }, | |
11307 | { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS }, | |
11308 | { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
11309 | { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
11310 | { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
11311 | { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
11312 | { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
11313 | { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
11314 | { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
11315 | { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
11316 | { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
11317 | { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
11318 | { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
11319 | { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS }, | |
11320 | { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS }, | |
11321 | { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS }, | |
11322 | { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS }, | |
11323 | { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS }, | |
11324 | { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS }, | |
11325 | { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
11326 | { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
11327 | { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS }, | |
11328 | { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS }, | |
11329 | { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS }, | |
11330 | { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
11331 | { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
11332 | { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
11333 | { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS }, | |
11334 | { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS }, | |
11335 | { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
11336 | { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
11337 | { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS }, | |
11338 | { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS }, | |
11339 | { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, | |
11340 | { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, | |
11341 | { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS }, | |
11342 | { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
11343 | { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS }, | |
11344 | { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
11345 | { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS }, | |
11346 | { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS }, | |
11347 | { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS }, | |
11348 | { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
11349 | { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
11350 | { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS }, | |
11351 | { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
11352 | { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
11353 | { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
11354 | { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
11355 | { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS }, | |
11356 | { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS }, | |
11357 | { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS }, | |
11358 | { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS }, | |
11359 | { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS }, | |
11360 | { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS }, | |
11361 | { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS }, | |
11362 | { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, | |
11363 | { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, | |
11364 | { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, | |
11365 | { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS }, | |
11366 | { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS }, | |
11367 | { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS }, | |
11368 | { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS }, | |
11369 | { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS }, | |
11370 | { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS }, | |
11371 | { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS }, | |
11372 | { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS }, | |
11373 | { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS }, | |
11374 | { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS }, | |
11375 | { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
11376 | { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
11377 | { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
11378 | { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
11379 | { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS }, | |
11380 | { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS }, | |
11381 | { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
11382 | { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
11383 | { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, | |
11384 | { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, | |
11385 | { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS }, | |
11386 | { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS }, | |
11387 | { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS }, | |
11388 | { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS }, | |
11389 | { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS }, | |
11390 | { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
11391 | { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
11392 | { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
11393 | { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS }, | |
11394 | { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
11395 | { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
11396 | { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
11397 | { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS }, | |
11398 | { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
11399 | { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS }, | |
11400 | { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
11401 | { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
11402 | { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS }, | |
11403 | { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
11404 | { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS }, | |
11405 | { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS }, | |
11406 | { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS }, | |
11407 | { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS }, | |
11408 | { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS }, | |
11409 | { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS }, | |
11410 | { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
11411 | { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS }, | |
11412 | { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
11413 | { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS }, | |
11414 | { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
11415 | { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
11416 | { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
11417 | { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
11418 | { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
11419 | { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
11420 | { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
11421 | { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
11422 | { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS }, | |
11423 | { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
11424 | { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS }, | |
11425 | { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS }, | |
11426 | { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS }, | |
11427 | { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
11428 | { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
11429 | { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS }, | |
11430 | { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
11431 | { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS }, | |
11432 | { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS }, | |
11433 | { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
11434 | { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS }, | |
11435 | { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS }, | |
11436 | { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS }, | |
11437 | { NULL, NULL } | |
11438 | }; | |
11439 | ||
11440 | ||
11441 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
11442 | ||
11443 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
11444 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
11445 | } | |
11446 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
11447 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
11448 | } | |
11449 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
11450 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
11451 | } | |
11452 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
11453 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
11454 | } | |
11455 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
11456 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
11457 | } | |
11458 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
11459 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
11460 | } | |
11461 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
11462 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
11463 | } | |
11464 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
11465 | return (void *)((wxObject *) ((wxSizer *) x)); | |
11466 | } | |
11467 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
11468 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
11469 | } | |
11470 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
11471 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
11472 | } | |
11473 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
11474 | return (void *)((wxObject *) ((wxEvent *) x)); | |
11475 | } | |
11476 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
11477 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
11478 | } | |
11479 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
11480 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
11481 | } | |
11482 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
11483 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
11484 | } | |
d14a1e28 RD |
11485 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
11486 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
11487 | } | |
11488 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
11489 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
11490 | } | |
0df68c9f RD |
11491 | static void *_p_wxStyledTextEventTo_p_wxObject(void *x) { |
11492 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
11493 | } | |
d14a1e28 RD |
11494 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
11495 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
11496 | } | |
11497 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
11498 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
11499 | } | |
11500 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
11501 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
11502 | } | |
11503 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
11504 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
11505 | } | |
11506 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
11507 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
11508 | } | |
11509 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
11510 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
11511 | } | |
11512 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
11513 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
11514 | } | |
11515 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
11516 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
11517 | } | |
11518 | static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) { | |
11519 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
11520 | } | |
11521 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
11522 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
11523 | } | |
11524 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
11525 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
11526 | } | |
11527 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
11528 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
11529 | } | |
11530 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
11531 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
11532 | } | |
11533 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
11534 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
11535 | } | |
11536 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
11537 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
11538 | } | |
11539 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
11540 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
11541 | } | |
11542 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
11543 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
11544 | } | |
11545 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
11546 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
11547 | } | |
11548 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
11549 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
11550 | } | |
11551 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
11552 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
11553 | } | |
11554 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
11555 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
11556 | } | |
11557 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
11558 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
11559 | } | |
11560 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
11561 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
11562 | } | |
11563 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
11564 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
11565 | } | |
11566 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
11567 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
11568 | } | |
11569 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
11570 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
11571 | } | |
11572 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
11573 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
11574 | } | |
11575 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
11576 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
11577 | } | |
11578 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
11579 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
11580 | } | |
11581 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
11582 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
11583 | } | |
11584 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
11585 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
11586 | } | |
11587 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
11588 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
11589 | } | |
11590 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
11591 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
11592 | } | |
11593 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
11594 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
11595 | } | |
0df68c9f RD |
11596 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
11597 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
11598 | } | |
d14a1e28 RD |
11599 | static void *_p_wxImageTo_p_wxObject(void *x) { |
11600 | return (void *)((wxObject *) ((wxImage *) x)); | |
11601 | } | |
11602 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
11603 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
11604 | } | |
11605 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
11606 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
11607 | } | |
11608 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
11609 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
11610 | } | |
11611 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
11612 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
11613 | } | |
11614 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
11615 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
11616 | } | |
11617 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
11618 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
11619 | } | |
11620 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
11621 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
11622 | } | |
11623 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
11624 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
11625 | } | |
11626 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
11627 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
11628 | } | |
11629 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
11630 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
11631 | } | |
11632 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
11633 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
11634 | } | |
11635 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
11636 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
11637 | } | |
11638 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
11639 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
11640 | } | |
11641 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
11642 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
11643 | } | |
11644 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
11645 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
11646 | } | |
11647 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
11648 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
11649 | } | |
11650 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
11651 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
11652 | } | |
11653 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
11654 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
11655 | } | |
11656 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
11657 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
11658 | } | |
11659 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
11660 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
11661 | } | |
11662 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
11663 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
11664 | } | |
11665 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
11666 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
11667 | } | |
11668 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
11669 | return (void *)((wxWindow *) ((wxControl *) x)); | |
11670 | } | |
11671 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
11672 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
11673 | } | |
11674 | static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) { | |
11675 | return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x)); | |
11676 | } | |
11677 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
11678 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
11679 | } | |
11680 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
11681 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
11682 | } | |
11683 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
11684 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
11685 | } | |
11686 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
11687 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
11688 | } | |
11689 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
11690 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
11691 | } | |
11692 | static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) { | |
11693 | return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
11694 | } | |
11695 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
11696 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
11697 | } | |
11698 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
11699 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
11700 | } | |
11701 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
11702 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
11703 | } | |
11704 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
11705 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
11706 | } | |
11707 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
11708 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
11709 | } | |
11710 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
11711 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
11712 | } | |
11713 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
11714 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
11715 | } | |
11716 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
11717 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
11718 | } | |
11719 | static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) { | |
11720 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x)); | |
11721 | } | |
11722 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
11723 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
11724 | } | |
11725 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
11726 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
11727 | } | |
11728 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
11729 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
11730 | } | |
11731 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
11732 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
11733 | } | |
11734 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
11735 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
11736 | } | |
11737 | static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) { | |
11738 | return (void *)((wxControl *) ((wxStyledTextCtrl *) x)); | |
11739 | } | |
11740 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
11741 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
11742 | } | |
11743 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
11744 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
11745 | } | |
11746 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
11747 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
11748 | } | |
11749 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
11750 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
11751 | } | |
11752 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
11753 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
11754 | } | |
11755 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
11756 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
11757 | } | |
11758 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
11759 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
11760 | } | |
11761 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
11762 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
11763 | } | |
11764 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
11765 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
11766 | } | |
11767 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
11768 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
11769 | } | |
11770 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
11771 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
11772 | } | |
11773 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
11774 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
11775 | } | |
11776 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
11777 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
11778 | } | |
11779 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
11780 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
11781 | } | |
11782 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
11783 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
11784 | } | |
11785 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
11786 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
11787 | } | |
11788 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
11789 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
11790 | } | |
11791 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
11792 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
11793 | } | |
11794 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
11795 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
11796 | } | |
11797 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
11798 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
11799 | } | |
11800 | static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) { | |
11801 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x)); | |
11802 | } | |
11803 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
11804 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
11805 | } | |
11806 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
11807 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
11808 | } | |
11809 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
11810 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
11811 | } | |
11812 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
11813 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
11814 | } | |
11815 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
11816 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
11817 | } | |
11818 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
11819 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
11820 | } | |
11821 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
11822 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
11823 | } | |
11824 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
11825 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
11826 | } | |
11827 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
11828 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
11829 | } | |
11830 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
11831 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
11832 | } | |
11833 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
11834 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
11835 | } | |
11836 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
11837 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
11838 | } | |
11839 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
11840 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
11841 | } | |
11842 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
11843 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
11844 | } | |
11845 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
11846 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
11847 | } | |
11848 | static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}}; | |
11849 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; | |
0df68c9f | 11850 | 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}}; |
d14a1e28 RD |
11851 | static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}}; |
11852 | static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0},{"_p_wxStyledTextEvent"},{0}}; | |
11853 | 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}}; | |
11854 | 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}}; | |
11855 | static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}}; | |
11856 | static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}}; | |
11857 | static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}}; | |
11858 | static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}}; | |
11859 | static swig_type_info _swigt__p_wxDragResult[] = {{"_p_wxDragResult", 0, "wxDragResult *", 0},{"_p_wxDragResult"},{0}}; | |
11860 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; | |
11861 | 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}}; | |
11862 | static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0},{"_p_wxStyledTextCtrl"},{0}}; | |
11863 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}}; | |
11864 | 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}}; | |
11865 | 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}}; | |
11866 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; | |
11867 | static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0},{"_p_wxMemoryBuffer"},{0}}; | |
11868 | ||
11869 | static swig_type_info *swig_types_initial[] = { | |
11870 | _swigt__p_wxRect, | |
11871 | _swigt__p_wxColour, | |
11872 | _swigt__p_wxObject, | |
11873 | _swigt__p_wxScrollBar, | |
11874 | _swigt__p_wxStyledTextEvent, | |
11875 | _swigt__p_wxWindow, | |
11876 | _swigt__p_wxCommandEvent, | |
11877 | _swigt__p_wxBitmap, | |
11878 | _swigt__p_void, | |
11879 | _swigt__p_wxPoint, | |
11880 | _swigt__p_wxDC, | |
11881 | _swigt__p_wxDragResult, | |
11882 | _swigt__p_wxString, | |
11883 | _swigt__p_wxEvtHandler, | |
11884 | _swigt__p_wxStyledTextCtrl, | |
11885 | _swigt__p_wxFont, | |
11886 | _swigt__p_wxControl, | |
11887 | _swigt__p_wxEvent, | |
11888 | _swigt__p_int, | |
11889 | _swigt__p_wxMemoryBuffer, | |
11890 | 0 | |
11891 | }; | |
11892 | ||
11893 | ||
11894 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
11895 | ||
11896 | static swig_const_info swig_const_table[] = { | |
11897 | { SWIG_PY_INT, (char *)"STC_USE_DND", (long) 1, 0, 0, 0}, | |
11898 | { SWIG_PY_INT, (char *)"STC_USE_POPUP", (long) 1, 0, 0, 0}, | |
11899 | { SWIG_PY_INT, (char *)"STC_INVALID_POSITION", (long) -1, 0, 0, 0}, | |
11900 | { SWIG_PY_INT, (char *)"STC_START", (long) 2000, 0, 0, 0}, | |
11901 | { SWIG_PY_INT, (char *)"STC_OPTIONAL_START", (long) 3000, 0, 0, 0}, | |
11902 | { SWIG_PY_INT, (char *)"STC_LEXER_START", (long) 4000, 0, 0, 0}, | |
11903 | { SWIG_PY_INT, (char *)"STC_WS_INVISIBLE", (long) 0, 0, 0, 0}, | |
11904 | { SWIG_PY_INT, (char *)"STC_WS_VISIBLEALWAYS", (long) 1, 0, 0, 0}, | |
11905 | { SWIG_PY_INT, (char *)"STC_WS_VISIBLEAFTERINDENT", (long) 2, 0, 0, 0}, | |
11906 | { SWIG_PY_INT, (char *)"STC_EOL_CRLF", (long) 0, 0, 0, 0}, | |
11907 | { SWIG_PY_INT, (char *)"STC_EOL_CR", (long) 1, 0, 0, 0}, | |
11908 | { SWIG_PY_INT, (char *)"STC_EOL_LF", (long) 2, 0, 0, 0}, | |
11909 | { SWIG_PY_INT, (char *)"STC_CP_UTF8", (long) 65001, 0, 0, 0}, | |
11910 | { SWIG_PY_INT, (char *)"STC_CP_DBCS", (long) 1, 0, 0, 0}, | |
11911 | { SWIG_PY_INT, (char *)"STC_MARKER_MAX", (long) 31, 0, 0, 0}, | |
11912 | { SWIG_PY_INT, (char *)"STC_MARK_CIRCLE", (long) 0, 0, 0, 0}, | |
11913 | { SWIG_PY_INT, (char *)"STC_MARK_ROUNDRECT", (long) 1, 0, 0, 0}, | |
11914 | { SWIG_PY_INT, (char *)"STC_MARK_ARROW", (long) 2, 0, 0, 0}, | |
11915 | { SWIG_PY_INT, (char *)"STC_MARK_SMALLRECT", (long) 3, 0, 0, 0}, | |
11916 | { SWIG_PY_INT, (char *)"STC_MARK_SHORTARROW", (long) 4, 0, 0, 0}, | |
11917 | { SWIG_PY_INT, (char *)"STC_MARK_EMPTY", (long) 5, 0, 0, 0}, | |
11918 | { SWIG_PY_INT, (char *)"STC_MARK_ARROWDOWN", (long) 6, 0, 0, 0}, | |
11919 | { SWIG_PY_INT, (char *)"STC_MARK_MINUS", (long) 7, 0, 0, 0}, | |
11920 | { SWIG_PY_INT, (char *)"STC_MARK_PLUS", (long) 8, 0, 0, 0}, | |
11921 | { SWIG_PY_INT, (char *)"STC_MARK_VLINE", (long) 9, 0, 0, 0}, | |
11922 | { SWIG_PY_INT, (char *)"STC_MARK_LCORNER", (long) 10, 0, 0, 0}, | |
11923 | { SWIG_PY_INT, (char *)"STC_MARK_TCORNER", (long) 11, 0, 0, 0}, | |
11924 | { SWIG_PY_INT, (char *)"STC_MARK_BOXPLUS", (long) 12, 0, 0, 0}, | |
11925 | { SWIG_PY_INT, (char *)"STC_MARK_BOXPLUSCONNECTED", (long) 13, 0, 0, 0}, | |
11926 | { SWIG_PY_INT, (char *)"STC_MARK_BOXMINUS", (long) 14, 0, 0, 0}, | |
11927 | { SWIG_PY_INT, (char *)"STC_MARK_BOXMINUSCONNECTED", (long) 15, 0, 0, 0}, | |
11928 | { SWIG_PY_INT, (char *)"STC_MARK_LCORNERCURVE", (long) 16, 0, 0, 0}, | |
11929 | { SWIG_PY_INT, (char *)"STC_MARK_TCORNERCURVE", (long) 17, 0, 0, 0}, | |
11930 | { SWIG_PY_INT, (char *)"STC_MARK_CIRCLEPLUS", (long) 18, 0, 0, 0}, | |
11931 | { SWIG_PY_INT, (char *)"STC_MARK_CIRCLEPLUSCONNECTED", (long) 19, 0, 0, 0}, | |
11932 | { SWIG_PY_INT, (char *)"STC_MARK_CIRCLEMINUS", (long) 20, 0, 0, 0}, | |
11933 | { SWIG_PY_INT, (char *)"STC_MARK_CIRCLEMINUSCONNECTED", (long) 21, 0, 0, 0}, | |
11934 | { SWIG_PY_INT, (char *)"STC_MARK_BACKGROUND", (long) 22, 0, 0, 0}, | |
11935 | { SWIG_PY_INT, (char *)"STC_MARK_DOTDOTDOT", (long) 23, 0, 0, 0}, | |
11936 | { SWIG_PY_INT, (char *)"STC_MARK_ARROWS", (long) 24, 0, 0, 0}, | |
11937 | { SWIG_PY_INT, (char *)"STC_MARK_PIXMAP", (long) 25, 0, 0, 0}, | |
11938 | { SWIG_PY_INT, (char *)"STC_MARK_CHARACTER", (long) 10000, 0, 0, 0}, | |
11939 | { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEREND", (long) 25, 0, 0, 0}, | |
11940 | { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEROPENMID", (long) 26, 0, 0, 0}, | |
11941 | { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERMIDTAIL", (long) 27, 0, 0, 0}, | |
11942 | { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERTAIL", (long) 28, 0, 0, 0}, | |
11943 | { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDERSUB", (long) 29, 0, 0, 0}, | |
11944 | { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDER", (long) 30, 0, 0, 0}, | |
11945 | { SWIG_PY_INT, (char *)"STC_MARKNUM_FOLDEROPEN", (long) 31, 0, 0, 0}, | |
11946 | { SWIG_PY_INT, (char *)"STC_MASK_FOLDERS", (long) 0xFE000000, 0, 0, 0}, | |
11947 | { SWIG_PY_INT, (char *)"STC_MARGIN_SYMBOL", (long) 0, 0, 0, 0}, | |
11948 | { SWIG_PY_INT, (char *)"STC_MARGIN_NUMBER", (long) 1, 0, 0, 0}, | |
11949 | { SWIG_PY_INT, (char *)"STC_STYLE_DEFAULT", (long) 32, 0, 0, 0}, | |
11950 | { SWIG_PY_INT, (char *)"STC_STYLE_LINENUMBER", (long) 33, 0, 0, 0}, | |
11951 | { SWIG_PY_INT, (char *)"STC_STYLE_BRACELIGHT", (long) 34, 0, 0, 0}, | |
11952 | { SWIG_PY_INT, (char *)"STC_STYLE_BRACEBAD", (long) 35, 0, 0, 0}, | |
11953 | { SWIG_PY_INT, (char *)"STC_STYLE_CONTROLCHAR", (long) 36, 0, 0, 0}, | |
11954 | { SWIG_PY_INT, (char *)"STC_STYLE_INDENTGUIDE", (long) 37, 0, 0, 0}, | |
11955 | { SWIG_PY_INT, (char *)"STC_STYLE_LASTPREDEFINED", (long) 39, 0, 0, 0}, | |
11956 | { SWIG_PY_INT, (char *)"STC_STYLE_MAX", (long) 127, 0, 0, 0}, | |
11957 | { SWIG_PY_INT, (char *)"STC_CHARSET_ANSI", (long) 0, 0, 0, 0}, | |
11958 | { SWIG_PY_INT, (char *)"STC_CHARSET_DEFAULT", (long) 1, 0, 0, 0}, | |
11959 | { SWIG_PY_INT, (char *)"STC_CHARSET_BALTIC", (long) 186, 0, 0, 0}, | |
11960 | { SWIG_PY_INT, (char *)"STC_CHARSET_CHINESEBIG5", (long) 136, 0, 0, 0}, | |
11961 | { SWIG_PY_INT, (char *)"STC_CHARSET_EASTEUROPE", (long) 238, 0, 0, 0}, | |
11962 | { SWIG_PY_INT, (char *)"STC_CHARSET_GB2312", (long) 134, 0, 0, 0}, | |
11963 | { SWIG_PY_INT, (char *)"STC_CHARSET_GREEK", (long) 161, 0, 0, 0}, | |
11964 | { SWIG_PY_INT, (char *)"STC_CHARSET_HANGUL", (long) 129, 0, 0, 0}, | |
11965 | { SWIG_PY_INT, (char *)"STC_CHARSET_MAC", (long) 77, 0, 0, 0}, | |
11966 | { SWIG_PY_INT, (char *)"STC_CHARSET_OEM", (long) 255, 0, 0, 0}, | |
11967 | { SWIG_PY_INT, (char *)"STC_CHARSET_RUSSIAN", (long) 204, 0, 0, 0}, | |
11968 | { SWIG_PY_INT, (char *)"STC_CHARSET_SHIFTJIS", (long) 128, 0, 0, 0}, | |
11969 | { SWIG_PY_INT, (char *)"STC_CHARSET_SYMBOL", (long) 2, 0, 0, 0}, | |
11970 | { SWIG_PY_INT, (char *)"STC_CHARSET_TURKISH", (long) 162, 0, 0, 0}, | |
11971 | { SWIG_PY_INT, (char *)"STC_CHARSET_JOHAB", (long) 130, 0, 0, 0}, | |
11972 | { SWIG_PY_INT, (char *)"STC_CHARSET_HEBREW", (long) 177, 0, 0, 0}, | |
11973 | { SWIG_PY_INT, (char *)"STC_CHARSET_ARABIC", (long) 178, 0, 0, 0}, | |
11974 | { SWIG_PY_INT, (char *)"STC_CHARSET_VIETNAMESE", (long) 163, 0, 0, 0}, | |
11975 | { SWIG_PY_INT, (char *)"STC_CHARSET_THAI", (long) 222, 0, 0, 0}, | |
11976 | { SWIG_PY_INT, (char *)"STC_CASE_MIXED", (long) 0, 0, 0, 0}, | |
11977 | { SWIG_PY_INT, (char *)"STC_CASE_UPPER", (long) 1, 0, 0, 0}, | |
11978 | { SWIG_PY_INT, (char *)"STC_CASE_LOWER", (long) 2, 0, 0, 0}, | |
11979 | { SWIG_PY_INT, (char *)"STC_INDIC_MAX", (long) 7, 0, 0, 0}, | |
11980 | { SWIG_PY_INT, (char *)"STC_INDIC_PLAIN", (long) 0, 0, 0, 0}, | |
11981 | { SWIG_PY_INT, (char *)"STC_INDIC_SQUIGGLE", (long) 1, 0, 0, 0}, | |
11982 | { SWIG_PY_INT, (char *)"STC_INDIC_TT", (long) 2, 0, 0, 0}, | |
11983 | { SWIG_PY_INT, (char *)"STC_INDIC_DIAGONAL", (long) 3, 0, 0, 0}, | |
11984 | { SWIG_PY_INT, (char *)"STC_INDIC_STRIKE", (long) 4, 0, 0, 0}, | |
11985 | { SWIG_PY_INT, (char *)"STC_INDIC_HIDDEN", (long) 5, 0, 0, 0}, | |
11986 | { SWIG_PY_INT, (char *)"STC_INDIC0_MASK", (long) 0x20, 0, 0, 0}, | |
11987 | { SWIG_PY_INT, (char *)"STC_INDIC1_MASK", (long) 0x40, 0, 0, 0}, | |
11988 | { SWIG_PY_INT, (char *)"STC_INDIC2_MASK", (long) 0x80, 0, 0, 0}, | |
11989 | { SWIG_PY_INT, (char *)"STC_INDICS_MASK", (long) 0xE0, 0, 0, 0}, | |
11990 | { SWIG_PY_INT, (char *)"STC_PRINT_NORMAL", (long) 0, 0, 0, 0}, | |
11991 | { SWIG_PY_INT, (char *)"STC_PRINT_INVERTLIGHT", (long) 1, 0, 0, 0}, | |
11992 | { SWIG_PY_INT, (char *)"STC_PRINT_BLACKONWHITE", (long) 2, 0, 0, 0}, | |
11993 | { SWIG_PY_INT, (char *)"STC_PRINT_COLOURONWHITE", (long) 3, 0, 0, 0}, | |
11994 | { SWIG_PY_INT, (char *)"STC_PRINT_COLOURONWHITEDEFAULTBG", (long) 4, 0, 0, 0}, | |
11995 | { SWIG_PY_INT, (char *)"STC_FIND_WHOLEWORD", (long) 2, 0, 0, 0}, | |
11996 | { SWIG_PY_INT, (char *)"STC_FIND_MATCHCASE", (long) 4, 0, 0, 0}, | |
11997 | { SWIG_PY_INT, (char *)"STC_FIND_WORDSTART", (long) 0x00100000, 0, 0, 0}, | |
11998 | { SWIG_PY_INT, (char *)"STC_FIND_REGEXP", (long) 0x00200000, 0, 0, 0}, | |
11999 | { SWIG_PY_INT, (char *)"STC_FIND_POSIX", (long) 0x00400000, 0, 0, 0}, | |
12000 | { SWIG_PY_INT, (char *)"STC_FOLDLEVELBASE", (long) 0x400, 0, 0, 0}, | |
12001 | { SWIG_PY_INT, (char *)"STC_FOLDLEVELWHITEFLAG", (long) 0x1000, 0, 0, 0}, | |
12002 | { SWIG_PY_INT, (char *)"STC_FOLDLEVELHEADERFLAG", (long) 0x2000, 0, 0, 0}, | |
12003 | { SWIG_PY_INT, (char *)"STC_FOLDLEVELBOXHEADERFLAG", (long) 0x4000, 0, 0, 0}, | |
12004 | { SWIG_PY_INT, (char *)"STC_FOLDLEVELBOXFOOTERFLAG", (long) 0x8000, 0, 0, 0}, | |
12005 | { SWIG_PY_INT, (char *)"STC_FOLDLEVELCONTRACTED", (long) 0x10000, 0, 0, 0}, | |
12006 | { SWIG_PY_INT, (char *)"STC_FOLDLEVELUNINDENT", (long) 0x20000, 0, 0, 0}, | |
12007 | { SWIG_PY_INT, (char *)"STC_FOLDLEVELNUMBERMASK", (long) 0x0FFF, 0, 0, 0}, | |
12008 | { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEBEFORE_EXPANDED", (long) 0x0002, 0, 0, 0}, | |
12009 | { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", (long) 0x0004, 0, 0, 0}, | |
12010 | { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEAFTER_EXPANDED", (long) 0x0008, 0, 0, 0}, | |
12011 | { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LINEAFTER_CONTRACTED", (long) 0x0010, 0, 0, 0}, | |
12012 | { SWIG_PY_INT, (char *)"STC_FOLDFLAG_LEVELNUMBERS", (long) 0x0040, 0, 0, 0}, | |
12013 | { SWIG_PY_INT, (char *)"STC_FOLDFLAG_BOX", (long) 0x0001, 0, 0, 0}, | |
12014 | { SWIG_PY_INT, (char *)"STC_TIME_FOREVER", (long) 10000000, 0, 0, 0}, | |
12015 | { SWIG_PY_INT, (char *)"STC_WRAP_NONE", (long) 0, 0, 0, 0}, | |
12016 | { SWIG_PY_INT, (char *)"STC_WRAP_WORD", (long) 1, 0, 0, 0}, | |
12017 | { SWIG_PY_INT, (char *)"STC_CACHE_NONE", (long) 0, 0, 0, 0}, | |
12018 | { SWIG_PY_INT, (char *)"STC_CACHE_CARET", (long) 1, 0, 0, 0}, | |
12019 | { SWIG_PY_INT, (char *)"STC_CACHE_PAGE", (long) 2, 0, 0, 0}, | |
12020 | { SWIG_PY_INT, (char *)"STC_CACHE_DOCUMENT", (long) 3, 0, 0, 0}, | |
12021 | { SWIG_PY_INT, (char *)"STC_EDGE_NONE", (long) 0, 0, 0, 0}, | |
12022 | { SWIG_PY_INT, (char *)"STC_EDGE_LINE", (long) 1, 0, 0, 0}, | |
12023 | { SWIG_PY_INT, (char *)"STC_EDGE_BACKGROUND", (long) 2, 0, 0, 0}, | |
12024 | { SWIG_PY_INT, (char *)"STC_CURSORNORMAL", (long) -1, 0, 0, 0}, | |
12025 | { SWIG_PY_INT, (char *)"STC_CURSORWAIT", (long) 4, 0, 0, 0}, | |
12026 | { SWIG_PY_INT, (char *)"STC_VISIBLE_SLOP", (long) 0x01, 0, 0, 0}, | |
12027 | { SWIG_PY_INT, (char *)"STC_VISIBLE_STRICT", (long) 0x04, 0, 0, 0}, | |
12028 | { SWIG_PY_INT, (char *)"STC_CARET_SLOP", (long) 0x01, 0, 0, 0}, | |
12029 | { SWIG_PY_INT, (char *)"STC_CARET_STRICT", (long) 0x04, 0, 0, 0}, | |
12030 | { SWIG_PY_INT, (char *)"STC_CARET_JUMPS", (long) 0x10, 0, 0, 0}, | |
12031 | { SWIG_PY_INT, (char *)"STC_CARET_EVEN", (long) 0x08, 0, 0, 0}, | |
12032 | { SWIG_PY_INT, (char *)"STC_KEYWORDSET_MAX", (long) 8, 0, 0, 0}, | |
12033 | { SWIG_PY_INT, (char *)"STC_MOD_INSERTTEXT", (long) 0x1, 0, 0, 0}, | |
12034 | { SWIG_PY_INT, (char *)"STC_MOD_DELETETEXT", (long) 0x2, 0, 0, 0}, | |
12035 | { SWIG_PY_INT, (char *)"STC_MOD_CHANGESTYLE", (long) 0x4, 0, 0, 0}, | |
12036 | { SWIG_PY_INT, (char *)"STC_MOD_CHANGEFOLD", (long) 0x8, 0, 0, 0}, | |
12037 | { SWIG_PY_INT, (char *)"STC_PERFORMED_USER", (long) 0x10, 0, 0, 0}, | |
12038 | { SWIG_PY_INT, (char *)"STC_PERFORMED_UNDO", (long) 0x20, 0, 0, 0}, | |
12039 | { SWIG_PY_INT, (char *)"STC_PERFORMED_REDO", (long) 0x40, 0, 0, 0}, | |
12040 | { SWIG_PY_INT, (char *)"STC_LASTSTEPINUNDOREDO", (long) 0x100, 0, 0, 0}, | |
12041 | { SWIG_PY_INT, (char *)"STC_MOD_CHANGEMARKER", (long) 0x200, 0, 0, 0}, | |
12042 | { SWIG_PY_INT, (char *)"STC_MOD_BEFOREINSERT", (long) 0x400, 0, 0, 0}, | |
12043 | { SWIG_PY_INT, (char *)"STC_MOD_BEFOREDELETE", (long) 0x800, 0, 0, 0}, | |
12044 | { SWIG_PY_INT, (char *)"STC_MODEVENTMASKALL", (long) 0xF77, 0, 0, 0}, | |
12045 | { SWIG_PY_INT, (char *)"STC_KEY_DOWN", (long) 300, 0, 0, 0}, | |
12046 | { SWIG_PY_INT, (char *)"STC_KEY_UP", (long) 301, 0, 0, 0}, | |
12047 | { SWIG_PY_INT, (char *)"STC_KEY_LEFT", (long) 302, 0, 0, 0}, | |
12048 | { SWIG_PY_INT, (char *)"STC_KEY_RIGHT", (long) 303, 0, 0, 0}, | |
12049 | { SWIG_PY_INT, (char *)"STC_KEY_HOME", (long) 304, 0, 0, 0}, | |
12050 | { SWIG_PY_INT, (char *)"STC_KEY_END", (long) 305, 0, 0, 0}, | |
12051 | { SWIG_PY_INT, (char *)"STC_KEY_PRIOR", (long) 306, 0, 0, 0}, | |
12052 | { SWIG_PY_INT, (char *)"STC_KEY_NEXT", (long) 307, 0, 0, 0}, | |
12053 | { SWIG_PY_INT, (char *)"STC_KEY_DELETE", (long) 308, 0, 0, 0}, | |
12054 | { SWIG_PY_INT, (char *)"STC_KEY_INSERT", (long) 309, 0, 0, 0}, | |
12055 | { SWIG_PY_INT, (char *)"STC_KEY_ESCAPE", (long) 7, 0, 0, 0}, | |
12056 | { SWIG_PY_INT, (char *)"STC_KEY_BACK", (long) 8, 0, 0, 0}, | |
12057 | { SWIG_PY_INT, (char *)"STC_KEY_TAB", (long) 9, 0, 0, 0}, | |
12058 | { SWIG_PY_INT, (char *)"STC_KEY_RETURN", (long) 13, 0, 0, 0}, | |
12059 | { SWIG_PY_INT, (char *)"STC_KEY_ADD", (long) 310, 0, 0, 0}, | |
12060 | { SWIG_PY_INT, (char *)"STC_KEY_SUBTRACT", (long) 311, 0, 0, 0}, | |
12061 | { SWIG_PY_INT, (char *)"STC_KEY_DIVIDE", (long) 312, 0, 0, 0}, | |
12062 | { SWIG_PY_INT, (char *)"STC_SCMOD_SHIFT", (long) 1, 0, 0, 0}, | |
12063 | { SWIG_PY_INT, (char *)"STC_SCMOD_CTRL", (long) 2, 0, 0, 0}, | |
12064 | { SWIG_PY_INT, (char *)"STC_SCMOD_ALT", (long) 4, 0, 0, 0}, | |
12065 | { SWIG_PY_INT, (char *)"STC_LEX_CONTAINER", (long) 0, 0, 0, 0}, | |
12066 | { SWIG_PY_INT, (char *)"STC_LEX_NULL", (long) 1, 0, 0, 0}, | |
12067 | { SWIG_PY_INT, (char *)"STC_LEX_PYTHON", (long) 2, 0, 0, 0}, | |
12068 | { SWIG_PY_INT, (char *)"STC_LEX_CPP", (long) 3, 0, 0, 0}, | |
12069 | { SWIG_PY_INT, (char *)"STC_LEX_HTML", (long) 4, 0, 0, 0}, | |
12070 | { SWIG_PY_INT, (char *)"STC_LEX_XML", (long) 5, 0, 0, 0}, | |
12071 | { SWIG_PY_INT, (char *)"STC_LEX_PERL", (long) 6, 0, 0, 0}, | |
12072 | { SWIG_PY_INT, (char *)"STC_LEX_SQL", (long) 7, 0, 0, 0}, | |
12073 | { SWIG_PY_INT, (char *)"STC_LEX_VB", (long) 8, 0, 0, 0}, | |
12074 | { SWIG_PY_INT, (char *)"STC_LEX_PROPERTIES", (long) 9, 0, 0, 0}, | |
12075 | { SWIG_PY_INT, (char *)"STC_LEX_ERRORLIST", (long) 10, 0, 0, 0}, | |
12076 | { SWIG_PY_INT, (char *)"STC_LEX_MAKEFILE", (long) 11, 0, 0, 0}, | |
12077 | { SWIG_PY_INT, (char *)"STC_LEX_BATCH", (long) 12, 0, 0, 0}, | |
12078 | { SWIG_PY_INT, (char *)"STC_LEX_XCODE", (long) 13, 0, 0, 0}, | |
12079 | { SWIG_PY_INT, (char *)"STC_LEX_LATEX", (long) 14, 0, 0, 0}, | |
12080 | { SWIG_PY_INT, (char *)"STC_LEX_LUA", (long) 15, 0, 0, 0}, | |
12081 | { SWIG_PY_INT, (char *)"STC_LEX_DIFF", (long) 16, 0, 0, 0}, | |
12082 | { SWIG_PY_INT, (char *)"STC_LEX_CONF", (long) 17, 0, 0, 0}, | |
12083 | { SWIG_PY_INT, (char *)"STC_LEX_PASCAL", (long) 18, 0, 0, 0}, | |
12084 | { SWIG_PY_INT, (char *)"STC_LEX_AVE", (long) 19, 0, 0, 0}, | |
12085 | { SWIG_PY_INT, (char *)"STC_LEX_ADA", (long) 20, 0, 0, 0}, | |
12086 | { SWIG_PY_INT, (char *)"STC_LEX_LISP", (long) 21, 0, 0, 0}, | |
12087 | { SWIG_PY_INT, (char *)"STC_LEX_RUBY", (long) 22, 0, 0, 0}, | |
12088 | { SWIG_PY_INT, (char *)"STC_LEX_EIFFEL", (long) 23, 0, 0, 0}, | |
12089 | { SWIG_PY_INT, (char *)"STC_LEX_EIFFELKW", (long) 24, 0, 0, 0}, | |
12090 | { SWIG_PY_INT, (char *)"STC_LEX_TCL", (long) 25, 0, 0, 0}, | |
12091 | { SWIG_PY_INT, (char *)"STC_LEX_NNCRONTAB", (long) 26, 0, 0, 0}, | |
12092 | { SWIG_PY_INT, (char *)"STC_LEX_BULLANT", (long) 27, 0, 0, 0}, | |
12093 | { SWIG_PY_INT, (char *)"STC_LEX_VBSCRIPT", (long) 28, 0, 0, 0}, | |
12094 | { SWIG_PY_INT, (char *)"STC_LEX_ASP", (long) 29, 0, 0, 0}, | |
12095 | { SWIG_PY_INT, (char *)"STC_LEX_PHP", (long) 30, 0, 0, 0}, | |
12096 | { SWIG_PY_INT, (char *)"STC_LEX_BAAN", (long) 31, 0, 0, 0}, | |
12097 | { SWIG_PY_INT, (char *)"STC_LEX_MATLAB", (long) 32, 0, 0, 0}, | |
12098 | { SWIG_PY_INT, (char *)"STC_LEX_SCRIPTOL", (long) 33, 0, 0, 0}, | |
12099 | { SWIG_PY_INT, (char *)"STC_LEX_ASM", (long) 34, 0, 0, 0}, | |
12100 | { SWIG_PY_INT, (char *)"STC_LEX_CPPNOCASE", (long) 35, 0, 0, 0}, | |
12101 | { SWIG_PY_INT, (char *)"STC_LEX_FORTRAN", (long) 36, 0, 0, 0}, | |
12102 | { SWIG_PY_INT, (char *)"STC_LEX_F77", (long) 37, 0, 0, 0}, | |
12103 | { SWIG_PY_INT, (char *)"STC_LEX_CSS", (long) 38, 0, 0, 0}, | |
12104 | { SWIG_PY_INT, (char *)"STC_LEX_POV", (long) 39, 0, 0, 0}, | |
12105 | { SWIG_PY_INT, (char *)"STC_LEX_LOUT", (long) 40, 0, 0, 0}, | |
12106 | { SWIG_PY_INT, (char *)"STC_LEX_ESCRIPT", (long) 41, 0, 0, 0}, | |
12107 | { SWIG_PY_INT, (char *)"STC_LEX_PS", (long) 42, 0, 0, 0}, | |
12108 | { SWIG_PY_INT, (char *)"STC_LEX_NSIS", (long) 43, 0, 0, 0}, | |
12109 | { SWIG_PY_INT, (char *)"STC_LEX_MMIXAL", (long) 44, 0, 0, 0}, | |
12110 | { SWIG_PY_INT, (char *)"STC_LEX_AUTOMATIC", (long) 1000, 0, 0, 0}, | |
12111 | { SWIG_PY_INT, (char *)"STC_P_DEFAULT", (long) 0, 0, 0, 0}, | |
12112 | { SWIG_PY_INT, (char *)"STC_P_COMMENTLINE", (long) 1, 0, 0, 0}, | |
12113 | { SWIG_PY_INT, (char *)"STC_P_NUMBER", (long) 2, 0, 0, 0}, | |
12114 | { SWIG_PY_INT, (char *)"STC_P_STRING", (long) 3, 0, 0, 0}, | |
12115 | { SWIG_PY_INT, (char *)"STC_P_CHARACTER", (long) 4, 0, 0, 0}, | |
12116 | { SWIG_PY_INT, (char *)"STC_P_WORD", (long) 5, 0, 0, 0}, | |
12117 | { SWIG_PY_INT, (char *)"STC_P_TRIPLE", (long) 6, 0, 0, 0}, | |
12118 | { SWIG_PY_INT, (char *)"STC_P_TRIPLEDOUBLE", (long) 7, 0, 0, 0}, | |
12119 | { SWIG_PY_INT, (char *)"STC_P_CLASSNAME", (long) 8, 0, 0, 0}, | |
12120 | { SWIG_PY_INT, (char *)"STC_P_DEFNAME", (long) 9, 0, 0, 0}, | |
12121 | { SWIG_PY_INT, (char *)"STC_P_OPERATOR", (long) 10, 0, 0, 0}, | |
12122 | { SWIG_PY_INT, (char *)"STC_P_IDENTIFIER", (long) 11, 0, 0, 0}, | |
12123 | { SWIG_PY_INT, (char *)"STC_P_COMMENTBLOCK", (long) 12, 0, 0, 0}, | |
12124 | { SWIG_PY_INT, (char *)"STC_P_STRINGEOL", (long) 13, 0, 0, 0}, | |
12125 | { SWIG_PY_INT, (char *)"STC_C_DEFAULT", (long) 0, 0, 0, 0}, | |
12126 | { SWIG_PY_INT, (char *)"STC_C_COMMENT", (long) 1, 0, 0, 0}, | |
12127 | { SWIG_PY_INT, (char *)"STC_C_COMMENTLINE", (long) 2, 0, 0, 0}, | |
12128 | { SWIG_PY_INT, (char *)"STC_C_COMMENTDOC", (long) 3, 0, 0, 0}, | |
12129 | { SWIG_PY_INT, (char *)"STC_C_NUMBER", (long) 4, 0, 0, 0}, | |
12130 | { SWIG_PY_INT, (char *)"STC_C_WORD", (long) 5, 0, 0, 0}, | |
12131 | { SWIG_PY_INT, (char *)"STC_C_STRING", (long) 6, 0, 0, 0}, | |
12132 | { SWIG_PY_INT, (char *)"STC_C_CHARACTER", (long) 7, 0, 0, 0}, | |
12133 | { SWIG_PY_INT, (char *)"STC_C_UUID", (long) 8, 0, 0, 0}, | |
12134 | { SWIG_PY_INT, (char *)"STC_C_PREPROCESSOR", (long) 9, 0, 0, 0}, | |
12135 | { SWIG_PY_INT, (char *)"STC_C_OPERATOR", (long) 10, 0, 0, 0}, | |
12136 | { SWIG_PY_INT, (char *)"STC_C_IDENTIFIER", (long) 11, 0, 0, 0}, | |
12137 | { SWIG_PY_INT, (char *)"STC_C_STRINGEOL", (long) 12, 0, 0, 0}, | |
12138 | { SWIG_PY_INT, (char *)"STC_C_VERBATIM", (long) 13, 0, 0, 0}, | |
12139 | { SWIG_PY_INT, (char *)"STC_C_REGEX", (long) 14, 0, 0, 0}, | |
12140 | { SWIG_PY_INT, (char *)"STC_C_COMMENTLINEDOC", (long) 15, 0, 0, 0}, | |
12141 | { SWIG_PY_INT, (char *)"STC_C_WORD2", (long) 16, 0, 0, 0}, | |
12142 | { SWIG_PY_INT, (char *)"STC_C_COMMENTDOCKEYWORD", (long) 17, 0, 0, 0}, | |
12143 | { SWIG_PY_INT, (char *)"STC_C_COMMENTDOCKEYWORDERROR", (long) 18, 0, 0, 0}, | |
12144 | { SWIG_PY_INT, (char *)"STC_C_GLOBALCLASS", (long) 19, 0, 0, 0}, | |
12145 | { SWIG_PY_INT, (char *)"STC_H_DEFAULT", (long) 0, 0, 0, 0}, | |
12146 | { SWIG_PY_INT, (char *)"STC_H_TAG", (long) 1, 0, 0, 0}, | |
12147 | { SWIG_PY_INT, (char *)"STC_H_TAGUNKNOWN", (long) 2, 0, 0, 0}, | |
12148 | { SWIG_PY_INT, (char *)"STC_H_ATTRIBUTE", (long) 3, 0, 0, 0}, | |
12149 | { SWIG_PY_INT, (char *)"STC_H_ATTRIBUTEUNKNOWN", (long) 4, 0, 0, 0}, | |
12150 | { SWIG_PY_INT, (char *)"STC_H_NUMBER", (long) 5, 0, 0, 0}, | |
12151 | { SWIG_PY_INT, (char *)"STC_H_DOUBLESTRING", (long) 6, 0, 0, 0}, | |
12152 | { SWIG_PY_INT, (char *)"STC_H_SINGLESTRING", (long) 7, 0, 0, 0}, | |
12153 | { SWIG_PY_INT, (char *)"STC_H_OTHER", (long) 8, 0, 0, 0}, | |
12154 | { SWIG_PY_INT, (char *)"STC_H_COMMENT", (long) 9, 0, 0, 0}, | |
12155 | { SWIG_PY_INT, (char *)"STC_H_ENTITY", (long) 10, 0, 0, 0}, | |
12156 | { SWIG_PY_INT, (char *)"STC_H_TAGEND", (long) 11, 0, 0, 0}, | |
12157 | { SWIG_PY_INT, (char *)"STC_H_XMLSTART", (long) 12, 0, 0, 0}, | |
12158 | { SWIG_PY_INT, (char *)"STC_H_XMLEND", (long) 13, 0, 0, 0}, | |
12159 | { SWIG_PY_INT, (char *)"STC_H_SCRIPT", (long) 14, 0, 0, 0}, | |
12160 | { SWIG_PY_INT, (char *)"STC_H_ASP", (long) 15, 0, 0, 0}, | |
12161 | { SWIG_PY_INT, (char *)"STC_H_ASPAT", (long) 16, 0, 0, 0}, | |
12162 | { SWIG_PY_INT, (char *)"STC_H_CDATA", (long) 17, 0, 0, 0}, | |
12163 | { SWIG_PY_INT, (char *)"STC_H_QUESTION", (long) 18, 0, 0, 0}, | |
12164 | { SWIG_PY_INT, (char *)"STC_H_VALUE", (long) 19, 0, 0, 0}, | |
12165 | { SWIG_PY_INT, (char *)"STC_H_XCCOMMENT", (long) 20, 0, 0, 0}, | |
12166 | { SWIG_PY_INT, (char *)"STC_H_SGML_DEFAULT", (long) 21, 0, 0, 0}, | |
12167 | { SWIG_PY_INT, (char *)"STC_H_SGML_COMMAND", (long) 22, 0, 0, 0}, | |
12168 | { SWIG_PY_INT, (char *)"STC_H_SGML_1ST_PARAM", (long) 23, 0, 0, 0}, | |
12169 | { SWIG_PY_INT, (char *)"STC_H_SGML_DOUBLESTRING", (long) 24, 0, 0, 0}, | |
12170 | { SWIG_PY_INT, (char *)"STC_H_SGML_SIMPLESTRING", (long) 25, 0, 0, 0}, | |
12171 | { SWIG_PY_INT, (char *)"STC_H_SGML_ERROR", (long) 26, 0, 0, 0}, | |
12172 | { SWIG_PY_INT, (char *)"STC_H_SGML_SPECIAL", (long) 27, 0, 0, 0}, | |
12173 | { SWIG_PY_INT, (char *)"STC_H_SGML_ENTITY", (long) 28, 0, 0, 0}, | |
12174 | { SWIG_PY_INT, (char *)"STC_H_SGML_COMMENT", (long) 29, 0, 0, 0}, | |
12175 | { SWIG_PY_INT, (char *)"STC_H_SGML_1ST_PARAM_COMMENT", (long) 30, 0, 0, 0}, | |
12176 | { SWIG_PY_INT, (char *)"STC_H_SGML_BLOCK_DEFAULT", (long) 31, 0, 0, 0}, | |
12177 | { SWIG_PY_INT, (char *)"STC_HJ_START", (long) 40, 0, 0, 0}, | |
12178 | { SWIG_PY_INT, (char *)"STC_HJ_DEFAULT", (long) 41, 0, 0, 0}, | |
12179 | { SWIG_PY_INT, (char *)"STC_HJ_COMMENT", (long) 42, 0, 0, 0}, | |
12180 | { SWIG_PY_INT, (char *)"STC_HJ_COMMENTLINE", (long) 43, 0, 0, 0}, | |
12181 | { SWIG_PY_INT, (char *)"STC_HJ_COMMENTDOC", (long) 44, 0, 0, 0}, | |
12182 | { SWIG_PY_INT, (char *)"STC_HJ_NUMBER", (long) 45, 0, 0, 0}, | |
12183 | { SWIG_PY_INT, (char *)"STC_HJ_WORD", (long) 46, 0, 0, 0}, | |
12184 | { SWIG_PY_INT, (char *)"STC_HJ_KEYWORD", (long) 47, 0, 0, 0}, | |
12185 | { SWIG_PY_INT, (char *)"STC_HJ_DOUBLESTRING", (long) 48, 0, 0, 0}, | |
12186 | { SWIG_PY_INT, (char *)"STC_HJ_SINGLESTRING", (long) 49, 0, 0, 0}, | |
12187 | { SWIG_PY_INT, (char *)"STC_HJ_SYMBOLS", (long) 50, 0, 0, 0}, | |
12188 | { SWIG_PY_INT, (char *)"STC_HJ_STRINGEOL", (long) 51, 0, 0, 0}, | |
12189 | { SWIG_PY_INT, (char *)"STC_HJ_REGEX", (long) 52, 0, 0, 0}, | |
12190 | { SWIG_PY_INT, (char *)"STC_HJA_START", (long) 55, 0, 0, 0}, | |
12191 | { SWIG_PY_INT, (char *)"STC_HJA_DEFAULT", (long) 56, 0, 0, 0}, | |
12192 | { SWIG_PY_INT, (char *)"STC_HJA_COMMENT", (long) 57, 0, 0, 0}, | |
12193 | { SWIG_PY_INT, (char *)"STC_HJA_COMMENTLINE", (long) 58, 0, 0, 0}, | |
12194 | { SWIG_PY_INT, (char *)"STC_HJA_COMMENTDOC", (long) 59, 0, 0, 0}, | |
12195 | { SWIG_PY_INT, (char *)"STC_HJA_NUMBER", (long) 60, 0, 0, 0}, | |
12196 | { SWIG_PY_INT, (char *)"STC_HJA_WORD", (long) 61, 0, 0, 0}, | |
12197 | { SWIG_PY_INT, (char *)"STC_HJA_KEYWORD", (long) 62, 0, 0, 0}, | |
12198 | { SWIG_PY_INT, (char *)"STC_HJA_DOUBLESTRING", (long) 63, 0, 0, 0}, | |
12199 | { SWIG_PY_INT, (char *)"STC_HJA_SINGLESTRING", (long) 64, 0, 0, 0}, | |
12200 | { SWIG_PY_INT, (char *)"STC_HJA_SYMBOLS", (long) 65, 0, 0, 0}, | |
12201 | { SWIG_PY_INT, (char *)"STC_HJA_STRINGEOL", (long) 66, 0, 0, 0}, | |
12202 | { SWIG_PY_INT, (char *)"STC_HJA_REGEX", (long) 67, 0, 0, 0}, | |
12203 | { SWIG_PY_INT, (char *)"STC_HB_START", (long) 70, 0, 0, 0}, | |
12204 | { SWIG_PY_INT, (char *)"STC_HB_DEFAULT", (long) 71, 0, 0, 0}, | |
12205 | { SWIG_PY_INT, (char *)"STC_HB_COMMENTLINE", (long) 72, 0, 0, 0}, | |
12206 | { SWIG_PY_INT, (char *)"STC_HB_NUMBER", (long) 73, 0, 0, 0}, | |
12207 | { SWIG_PY_INT, (char *)"STC_HB_WORD", (long) 74, 0, 0, 0}, | |
12208 | { SWIG_PY_INT, (char *)"STC_HB_STRING", (long) 75, 0, 0, 0}, | |
12209 | { SWIG_PY_INT, (char *)"STC_HB_IDENTIFIER", (long) 76, 0, 0, 0}, | |
12210 | { SWIG_PY_INT, (char *)"STC_HB_STRINGEOL", (long) 77, 0, 0, 0}, | |
12211 | { SWIG_PY_INT, (char *)"STC_HBA_START", (long) 80, 0, 0, 0}, | |
12212 | { SWIG_PY_INT, (char *)"STC_HBA_DEFAULT", (long) 81, 0, 0, 0}, | |
12213 | { SWIG_PY_INT, (char *)"STC_HBA_COMMENTLINE", (long) 82, 0, 0, 0}, | |
12214 | { SWIG_PY_INT, (char *)"STC_HBA_NUMBER", (long) 83, 0, 0, 0}, | |
12215 | { SWIG_PY_INT, (char *)"STC_HBA_WORD", (long) 84, 0, 0, 0}, | |
12216 | { SWIG_PY_INT, (char *)"STC_HBA_STRING", (long) 85, 0, 0, 0}, | |
12217 | { SWIG_PY_INT, (char *)"STC_HBA_IDENTIFIER", (long) 86, 0, 0, 0}, | |
12218 | { SWIG_PY_INT, (char *)"STC_HBA_STRINGEOL", (long) 87, 0, 0, 0}, | |
12219 | { SWIG_PY_INT, (char *)"STC_HP_START", (long) 90, 0, 0, 0}, | |
12220 | { SWIG_PY_INT, (char *)"STC_HP_DEFAULT", (long) 91, 0, 0, 0}, | |
12221 | { SWIG_PY_INT, (char *)"STC_HP_COMMENTLINE", (long) 92, 0, 0, 0}, | |
12222 | { SWIG_PY_INT, (char *)"STC_HP_NUMBER", (long) 93, 0, 0, 0}, | |
12223 | { SWIG_PY_INT, (char *)"STC_HP_STRING", (long) 94, 0, 0, 0}, | |
12224 | { SWIG_PY_INT, (char *)"STC_HP_CHARACTER", (long) 95, 0, 0, 0}, | |
12225 | { SWIG_PY_INT, (char *)"STC_HP_WORD", (long) 96, 0, 0, 0}, | |
12226 | { SWIG_PY_INT, (char *)"STC_HP_TRIPLE", (long) 97, 0, 0, 0}, | |
12227 | { SWIG_PY_INT, (char *)"STC_HP_TRIPLEDOUBLE", (long) 98, 0, 0, 0}, | |
12228 | { SWIG_PY_INT, (char *)"STC_HP_CLASSNAME", (long) 99, 0, 0, 0}, | |
12229 | { SWIG_PY_INT, (char *)"STC_HP_DEFNAME", (long) 100, 0, 0, 0}, | |
12230 | { SWIG_PY_INT, (char *)"STC_HP_OPERATOR", (long) 101, 0, 0, 0}, | |
12231 | { SWIG_PY_INT, (char *)"STC_HP_IDENTIFIER", (long) 102, 0, 0, 0}, | |
12232 | { SWIG_PY_INT, (char *)"STC_HPA_START", (long) 105, 0, 0, 0}, | |
12233 | { SWIG_PY_INT, (char *)"STC_HPA_DEFAULT", (long) 106, 0, 0, 0}, | |
12234 | { SWIG_PY_INT, (char *)"STC_HPA_COMMENTLINE", (long) 107, 0, 0, 0}, | |
12235 | { SWIG_PY_INT, (char *)"STC_HPA_NUMBER", (long) 108, 0, 0, 0}, | |
12236 | { SWIG_PY_INT, (char *)"STC_HPA_STRING", (long) 109, 0, 0, 0}, | |
12237 | { SWIG_PY_INT, (char *)"STC_HPA_CHARACTER", (long) 110, 0, 0, 0}, | |
12238 | { SWIG_PY_INT, (char *)"STC_HPA_WORD", (long) 111, 0, 0, 0}, | |
12239 | { SWIG_PY_INT, (char *)"STC_HPA_TRIPLE", (long) 112, 0, 0, 0}, | |
12240 | { SWIG_PY_INT, (char *)"STC_HPA_TRIPLEDOUBLE", (long) 113, 0, 0, 0}, | |
12241 | { SWIG_PY_INT, (char *)"STC_HPA_CLASSNAME", (long) 114, 0, 0, 0}, | |
12242 | { SWIG_PY_INT, (char *)"STC_HPA_DEFNAME", (long) 115, 0, 0, 0}, | |
12243 | { SWIG_PY_INT, (char *)"STC_HPA_OPERATOR", (long) 116, 0, 0, 0}, | |
12244 | { SWIG_PY_INT, (char *)"STC_HPA_IDENTIFIER", (long) 117, 0, 0, 0}, | |
12245 | { SWIG_PY_INT, (char *)"STC_HPHP_DEFAULT", (long) 118, 0, 0, 0}, | |
12246 | { SWIG_PY_INT, (char *)"STC_HPHP_HSTRING", (long) 119, 0, 0, 0}, | |
12247 | { SWIG_PY_INT, (char *)"STC_HPHP_SIMPLESTRING", (long) 120, 0, 0, 0}, | |
12248 | { SWIG_PY_INT, (char *)"STC_HPHP_WORD", (long) 121, 0, 0, 0}, | |
12249 | { SWIG_PY_INT, (char *)"STC_HPHP_NUMBER", (long) 122, 0, 0, 0}, | |
12250 | { SWIG_PY_INT, (char *)"STC_HPHP_VARIABLE", (long) 123, 0, 0, 0}, | |
12251 | { SWIG_PY_INT, (char *)"STC_HPHP_COMMENT", (long) 124, 0, 0, 0}, | |
12252 | { SWIG_PY_INT, (char *)"STC_HPHP_COMMENTLINE", (long) 125, 0, 0, 0}, | |
12253 | { SWIG_PY_INT, (char *)"STC_HPHP_HSTRING_VARIABLE", (long) 126, 0, 0, 0}, | |
12254 | { SWIG_PY_INT, (char *)"STC_HPHP_OPERATOR", (long) 127, 0, 0, 0}, | |
12255 | { SWIG_PY_INT, (char *)"STC_PL_DEFAULT", (long) 0, 0, 0, 0}, | |
12256 | { SWIG_PY_INT, (char *)"STC_PL_ERROR", (long) 1, 0, 0, 0}, | |
12257 | { SWIG_PY_INT, (char *)"STC_PL_COMMENTLINE", (long) 2, 0, 0, 0}, | |
12258 | { SWIG_PY_INT, (char *)"STC_PL_POD", (long) 3, 0, 0, 0}, | |
12259 | { SWIG_PY_INT, (char *)"STC_PL_NUMBER", (long) 4, 0, 0, 0}, | |
12260 | { SWIG_PY_INT, (char *)"STC_PL_WORD", (long) 5, 0, 0, 0}, | |
12261 | { SWIG_PY_INT, (char *)"STC_PL_STRING", (long) 6, 0, 0, 0}, | |
12262 | { SWIG_PY_INT, (char *)"STC_PL_CHARACTER", (long) 7, 0, 0, 0}, | |
12263 | { SWIG_PY_INT, (char *)"STC_PL_PUNCTUATION", (long) 8, 0, 0, 0}, | |
12264 | { SWIG_PY_INT, (char *)"STC_PL_PREPROCESSOR", (long) 9, 0, 0, 0}, | |
12265 | { SWIG_PY_INT, (char *)"STC_PL_OPERATOR", (long) 10, 0, 0, 0}, | |
12266 | { SWIG_PY_INT, (char *)"STC_PL_IDENTIFIER", (long) 11, 0, 0, 0}, | |
12267 | { SWIG_PY_INT, (char *)"STC_PL_SCALAR", (long) 12, 0, 0, 0}, | |
12268 | { SWIG_PY_INT, (char *)"STC_PL_ARRAY", (long) 13, 0, 0, 0}, | |
12269 | { SWIG_PY_INT, (char *)"STC_PL_HASH", (long) 14, 0, 0, 0}, | |
12270 | { SWIG_PY_INT, (char *)"STC_PL_SYMBOLTABLE", (long) 15, 0, 0, 0}, | |
12271 | { SWIG_PY_INT, (char *)"STC_PL_REGEX", (long) 17, 0, 0, 0}, | |
12272 | { SWIG_PY_INT, (char *)"STC_PL_REGSUBST", (long) 18, 0, 0, 0}, | |
12273 | { SWIG_PY_INT, (char *)"STC_PL_LONGQUOTE", (long) 19, 0, 0, 0}, | |
12274 | { SWIG_PY_INT, (char *)"STC_PL_BACKTICKS", (long) 20, 0, 0, 0}, | |
12275 | { SWIG_PY_INT, (char *)"STC_PL_DATASECTION", (long) 21, 0, 0, 0}, | |
12276 | { SWIG_PY_INT, (char *)"STC_PL_HERE_DELIM", (long) 22, 0, 0, 0}, | |
12277 | { SWIG_PY_INT, (char *)"STC_PL_HERE_Q", (long) 23, 0, 0, 0}, | |
12278 | { SWIG_PY_INT, (char *)"STC_PL_HERE_QQ", (long) 24, 0, 0, 0}, | |
12279 | { SWIG_PY_INT, (char *)"STC_PL_HERE_QX", (long) 25, 0, 0, 0}, | |
12280 | { SWIG_PY_INT, (char *)"STC_PL_STRING_Q", (long) 26, 0, 0, 0}, | |
12281 | { SWIG_PY_INT, (char *)"STC_PL_STRING_QQ", (long) 27, 0, 0, 0}, | |
12282 | { SWIG_PY_INT, (char *)"STC_PL_STRING_QX", (long) 28, 0, 0, 0}, | |
12283 | { SWIG_PY_INT, (char *)"STC_PL_STRING_QR", (long) 29, 0, 0, 0}, | |
12284 | { SWIG_PY_INT, (char *)"STC_PL_STRING_QW", (long) 30, 0, 0, 0}, | |
12285 | { SWIG_PY_INT, (char *)"STC_B_DEFAULT", (long) 0, 0, 0, 0}, | |
12286 | { SWIG_PY_INT, (char *)"STC_B_COMMENT", (long) 1, 0, 0, 0}, | |
12287 | { SWIG_PY_INT, (char *)"STC_B_NUMBER", (long) 2, 0, 0, 0}, | |
12288 | { SWIG_PY_INT, (char *)"STC_B_KEYWORD", (long) 3, 0, 0, 0}, | |
12289 | { SWIG_PY_INT, (char *)"STC_B_STRING", (long) 4, 0, 0, 0}, | |
12290 | { SWIG_PY_INT, (char *)"STC_B_PREPROCESSOR", (long) 5, 0, 0, 0}, | |
12291 | { SWIG_PY_INT, (char *)"STC_B_OPERATOR", (long) 6, 0, 0, 0}, | |
12292 | { SWIG_PY_INT, (char *)"STC_B_IDENTIFIER", (long) 7, 0, 0, 0}, | |
12293 | { SWIG_PY_INT, (char *)"STC_B_DATE", (long) 8, 0, 0, 0}, | |
12294 | { SWIG_PY_INT, (char *)"STC_PROPS_DEFAULT", (long) 0, 0, 0, 0}, | |
12295 | { SWIG_PY_INT, (char *)"STC_PROPS_COMMENT", (long) 1, 0, 0, 0}, | |
12296 | { SWIG_PY_INT, (char *)"STC_PROPS_SECTION", (long) 2, 0, 0, 0}, | |
12297 | { SWIG_PY_INT, (char *)"STC_PROPS_ASSIGNMENT", (long) 3, 0, 0, 0}, | |
12298 | { SWIG_PY_INT, (char *)"STC_PROPS_DEFVAL", (long) 4, 0, 0, 0}, | |
12299 | { SWIG_PY_INT, (char *)"STC_L_DEFAULT", (long) 0, 0, 0, 0}, | |
12300 | { SWIG_PY_INT, (char *)"STC_L_COMMAND", (long) 1, 0, 0, 0}, | |
12301 | { SWIG_PY_INT, (char *)"STC_L_TAG", (long) 2, 0, 0, 0}, | |
12302 | { SWIG_PY_INT, (char *)"STC_L_MATH", (long) 3, 0, 0, 0}, | |
12303 | { SWIG_PY_INT, (char *)"STC_L_COMMENT", (long) 4, 0, 0, 0}, | |
12304 | { SWIG_PY_INT, (char *)"STC_LUA_DEFAULT", (long) 0, 0, 0, 0}, | |
12305 | { SWIG_PY_INT, (char *)"STC_LUA_COMMENT", (long) 1, 0, 0, 0}, | |
12306 | { SWIG_PY_INT, (char *)"STC_LUA_COMMENTLINE", (long) 2, 0, 0, 0}, | |
12307 | { SWIG_PY_INT, (char *)"STC_LUA_COMMENTDOC", (long) 3, 0, 0, 0}, | |
12308 | { SWIG_PY_INT, (char *)"STC_LUA_NUMBER", (long) 4, 0, 0, 0}, | |
12309 | { SWIG_PY_INT, (char *)"STC_LUA_WORD", (long) 5, 0, 0, 0}, | |
12310 | { SWIG_PY_INT, (char *)"STC_LUA_STRING", (long) 6, 0, 0, 0}, | |
12311 | { SWIG_PY_INT, (char *)"STC_LUA_CHARACTER", (long) 7, 0, 0, 0}, | |
12312 | { SWIG_PY_INT, (char *)"STC_LUA_LITERALSTRING", (long) 8, 0, 0, 0}, | |
12313 | { SWIG_PY_INT, (char *)"STC_LUA_PREPROCESSOR", (long) 9, 0, 0, 0}, | |
12314 | { SWIG_PY_INT, (char *)"STC_LUA_OPERATOR", (long) 10, 0, 0, 0}, | |
12315 | { SWIG_PY_INT, (char *)"STC_LUA_IDENTIFIER", (long) 11, 0, 0, 0}, | |
12316 | { SWIG_PY_INT, (char *)"STC_LUA_STRINGEOL", (long) 12, 0, 0, 0}, | |
12317 | { SWIG_PY_INT, (char *)"STC_LUA_WORD2", (long) 13, 0, 0, 0}, | |
12318 | { SWIG_PY_INT, (char *)"STC_LUA_WORD3", (long) 14, 0, 0, 0}, | |
12319 | { SWIG_PY_INT, (char *)"STC_LUA_WORD4", (long) 15, 0, 0, 0}, | |
12320 | { SWIG_PY_INT, (char *)"STC_LUA_WORD5", (long) 16, 0, 0, 0}, | |
12321 | { SWIG_PY_INT, (char *)"STC_LUA_WORD6", (long) 17, 0, 0, 0}, | |
12322 | { SWIG_PY_INT, (char *)"STC_LUA_WORD7", (long) 18, 0, 0, 0}, | |
12323 | { SWIG_PY_INT, (char *)"STC_LUA_WORD8", (long) 19, 0, 0, 0}, | |
12324 | { SWIG_PY_INT, (char *)"STC_ERR_DEFAULT", (long) 0, 0, 0, 0}, | |
12325 | { SWIG_PY_INT, (char *)"STC_ERR_PYTHON", (long) 1, 0, 0, 0}, | |
12326 | { SWIG_PY_INT, (char *)"STC_ERR_GCC", (long) 2, 0, 0, 0}, | |
12327 | { SWIG_PY_INT, (char *)"STC_ERR_MS", (long) 3, 0, 0, 0}, | |
12328 | { SWIG_PY_INT, (char *)"STC_ERR_CMD", (long) 4, 0, 0, 0}, | |
12329 | { SWIG_PY_INT, (char *)"STC_ERR_BORLAND", (long) 5, 0, 0, 0}, | |
12330 | { SWIG_PY_INT, (char *)"STC_ERR_PERL", (long) 6, 0, 0, 0}, | |
12331 | { SWIG_PY_INT, (char *)"STC_ERR_NET", (long) 7, 0, 0, 0}, | |
12332 | { SWIG_PY_INT, (char *)"STC_ERR_LUA", (long) 8, 0, 0, 0}, | |
12333 | { SWIG_PY_INT, (char *)"STC_ERR_CTAG", (long) 9, 0, 0, 0}, | |
12334 | { SWIG_PY_INT, (char *)"STC_ERR_DIFF_CHANGED", (long) 10, 0, 0, 0}, | |
12335 | { SWIG_PY_INT, (char *)"STC_ERR_DIFF_ADDITION", (long) 11, 0, 0, 0}, | |
12336 | { SWIG_PY_INT, (char *)"STC_ERR_DIFF_DELETION", (long) 12, 0, 0, 0}, | |
12337 | { SWIG_PY_INT, (char *)"STC_ERR_DIFF_MESSAGE", (long) 13, 0, 0, 0}, | |
12338 | { SWIG_PY_INT, (char *)"STC_ERR_PHP", (long) 14, 0, 0, 0}, | |
12339 | { SWIG_PY_INT, (char *)"STC_ERR_ELF", (long) 15, 0, 0, 0}, | |
12340 | { SWIG_PY_INT, (char *)"STC_ERR_IFC", (long) 16, 0, 0, 0}, | |
12341 | { SWIG_PY_INT, (char *)"STC_BAT_DEFAULT", (long) 0, 0, 0, 0}, | |
12342 | { SWIG_PY_INT, (char *)"STC_BAT_COMMENT", (long) 1, 0, 0, 0}, | |
12343 | { SWIG_PY_INT, (char *)"STC_BAT_WORD", (long) 2, 0, 0, 0}, | |
12344 | { SWIG_PY_INT, (char *)"STC_BAT_LABEL", (long) 3, 0, 0, 0}, | |
12345 | { SWIG_PY_INT, (char *)"STC_BAT_HIDE", (long) 4, 0, 0, 0}, | |
12346 | { SWIG_PY_INT, (char *)"STC_BAT_COMMAND", (long) 5, 0, 0, 0}, | |
12347 | { SWIG_PY_INT, (char *)"STC_BAT_IDENTIFIER", (long) 6, 0, 0, 0}, | |
12348 | { SWIG_PY_INT, (char *)"STC_BAT_OPERATOR", (long) 7, 0, 0, 0}, | |
12349 | { SWIG_PY_INT, (char *)"STC_MAKE_DEFAULT", (long) 0, 0, 0, 0}, | |
12350 | { SWIG_PY_INT, (char *)"STC_MAKE_COMMENT", (long) 1, 0, 0, 0}, | |
12351 | { SWIG_PY_INT, (char *)"STC_MAKE_PREPROCESSOR", (long) 2, 0, 0, 0}, | |
12352 | { SWIG_PY_INT, (char *)"STC_MAKE_IDENTIFIER", (long) 3, 0, 0, 0}, | |
12353 | { SWIG_PY_INT, (char *)"STC_MAKE_OPERATOR", (long) 4, 0, 0, 0}, | |
12354 | { SWIG_PY_INT, (char *)"STC_MAKE_TARGET", (long) 5, 0, 0, 0}, | |
12355 | { SWIG_PY_INT, (char *)"STC_MAKE_IDEOL", (long) 9, 0, 0, 0}, | |
12356 | { SWIG_PY_INT, (char *)"STC_DIFF_DEFAULT", (long) 0, 0, 0, 0}, | |
12357 | { SWIG_PY_INT, (char *)"STC_DIFF_COMMENT", (long) 1, 0, 0, 0}, | |
12358 | { SWIG_PY_INT, (char *)"STC_DIFF_COMMAND", (long) 2, 0, 0, 0}, | |
12359 | { SWIG_PY_INT, (char *)"STC_DIFF_HEADER", (long) 3, 0, 0, 0}, | |
12360 | { SWIG_PY_INT, (char *)"STC_DIFF_POSITION", (long) 4, 0, 0, 0}, | |
12361 | { SWIG_PY_INT, (char *)"STC_DIFF_DELETED", (long) 5, 0, 0, 0}, | |
12362 | { SWIG_PY_INT, (char *)"STC_DIFF_ADDED", (long) 6, 0, 0, 0}, | |
12363 | { SWIG_PY_INT, (char *)"STC_CONF_DEFAULT", (long) 0, 0, 0, 0}, | |
12364 | { SWIG_PY_INT, (char *)"STC_CONF_COMMENT", (long) 1, 0, 0, 0}, | |
12365 | { SWIG_PY_INT, (char *)"STC_CONF_NUMBER", (long) 2, 0, 0, 0}, | |
12366 | { SWIG_PY_INT, (char *)"STC_CONF_IDENTIFIER", (long) 3, 0, 0, 0}, | |
12367 | { SWIG_PY_INT, (char *)"STC_CONF_EXTENSION", (long) 4, 0, 0, 0}, | |
12368 | { SWIG_PY_INT, (char *)"STC_CONF_PARAMETER", (long) 5, 0, 0, 0}, | |
12369 | { SWIG_PY_INT, (char *)"STC_CONF_STRING", (long) 6, 0, 0, 0}, | |
12370 | { SWIG_PY_INT, (char *)"STC_CONF_OPERATOR", (long) 7, 0, 0, 0}, | |
12371 | { SWIG_PY_INT, (char *)"STC_CONF_IP", (long) 8, 0, 0, 0}, | |
12372 | { SWIG_PY_INT, (char *)"STC_CONF_DIRECTIVE", (long) 9, 0, 0, 0}, | |
12373 | { SWIG_PY_INT, (char *)"STC_AVE_DEFAULT", (long) 0, 0, 0, 0}, | |
12374 | { SWIG_PY_INT, (char *)"STC_AVE_COMMENT", (long) 1, 0, 0, 0}, | |
12375 | { SWIG_PY_INT, (char *)"STC_AVE_NUMBER", (long) 2, 0, 0, 0}, | |
12376 | { SWIG_PY_INT, (char *)"STC_AVE_WORD", (long) 3, 0, 0, 0}, | |
12377 | { SWIG_PY_INT, (char *)"STC_AVE_STRING", (long) 6, 0, 0, 0}, | |
12378 | { SWIG_PY_INT, (char *)"STC_AVE_ENUM", (long) 7, 0, 0, 0}, | |
12379 | { SWIG_PY_INT, (char *)"STC_AVE_STRINGEOL", (long) 8, 0, 0, 0}, | |
12380 | { SWIG_PY_INT, (char *)"STC_AVE_IDENTIFIER", (long) 9, 0, 0, 0}, | |
12381 | { SWIG_PY_INT, (char *)"STC_AVE_OPERATOR", (long) 10, 0, 0, 0}, | |
12382 | { SWIG_PY_INT, (char *)"STC_AVE_WORD1", (long) 11, 0, 0, 0}, | |
12383 | { SWIG_PY_INT, (char *)"STC_AVE_WORD2", (long) 12, 0, 0, 0}, | |
12384 | { SWIG_PY_INT, (char *)"STC_AVE_WORD3", (long) 13, 0, 0, 0}, | |
12385 | { SWIG_PY_INT, (char *)"STC_AVE_WORD4", (long) 14, 0, 0, 0}, | |
12386 | { SWIG_PY_INT, (char *)"STC_AVE_WORD5", (long) 15, 0, 0, 0}, | |
12387 | { SWIG_PY_INT, (char *)"STC_AVE_WORD6", (long) 16, 0, 0, 0}, | |
12388 | { SWIG_PY_INT, (char *)"STC_ADA_DEFAULT", (long) 0, 0, 0, 0}, | |
12389 | { SWIG_PY_INT, (char *)"STC_ADA_WORD", (long) 1, 0, 0, 0}, | |
12390 | { SWIG_PY_INT, (char *)"STC_ADA_IDENTIFIER", (long) 2, 0, 0, 0}, | |
12391 | { SWIG_PY_INT, (char *)"STC_ADA_NUMBER", (long) 3, 0, 0, 0}, | |
12392 | { SWIG_PY_INT, (char *)"STC_ADA_DELIMITER", (long) 4, 0, 0, 0}, | |
12393 | { SWIG_PY_INT, (char *)"STC_ADA_CHARACTER", (long) 5, 0, 0, 0}, | |
12394 | { SWIG_PY_INT, (char *)"STC_ADA_CHARACTEREOL", (long) 6, 0, 0, 0}, | |
12395 | { SWIG_PY_INT, (char *)"STC_ADA_STRING", (long) 7, 0, 0, 0}, | |
12396 | { SWIG_PY_INT, (char *)"STC_ADA_STRINGEOL", (long) 8, 0, 0, 0}, | |
12397 | { SWIG_PY_INT, (char *)"STC_ADA_LABEL", (long) 9, 0, 0, 0}, | |
12398 | { SWIG_PY_INT, (char *)"STC_ADA_COMMENTLINE", (long) 10, 0, 0, 0}, | |
12399 | { SWIG_PY_INT, (char *)"STC_ADA_ILLEGAL", (long) 11, 0, 0, 0}, | |
12400 | { SWIG_PY_INT, (char *)"STC_BAAN_DEFAULT", (long) 0, 0, 0, 0}, | |
12401 | { SWIG_PY_INT, (char *)"STC_BAAN_COMMENT", (long) 1, 0, 0, 0}, | |
12402 | { SWIG_PY_INT, (char *)"STC_BAAN_COMMENTDOC", (long) 2, 0, 0, 0}, | |
12403 | { SWIG_PY_INT, (char *)"STC_BAAN_NUMBER", (long) 3, 0, 0, 0}, | |
12404 | { SWIG_PY_INT, (char *)"STC_BAAN_WORD", (long) 4, 0, 0, 0}, | |
12405 | { SWIG_PY_INT, (char *)"STC_BAAN_STRING", (long) 5, 0, 0, 0}, | |
12406 | { SWIG_PY_INT, (char *)"STC_BAAN_PREPROCESSOR", (long) 6, 0, 0, 0}, | |
12407 | { SWIG_PY_INT, (char *)"STC_BAAN_OPERATOR", (long) 7, 0, 0, 0}, | |
12408 | { SWIG_PY_INT, (char *)"STC_BAAN_IDENTIFIER", (long) 8, 0, 0, 0}, | |
12409 | { SWIG_PY_INT, (char *)"STC_BAAN_STRINGEOL", (long) 9, 0, 0, 0}, | |
12410 | { SWIG_PY_INT, (char *)"STC_BAAN_WORD2", (long) 10, 0, 0, 0}, | |
12411 | { SWIG_PY_INT, (char *)"STC_LISP_DEFAULT", (long) 0, 0, 0, 0}, | |
12412 | { SWIG_PY_INT, (char *)"STC_LISP_COMMENT", (long) 1, 0, 0, 0}, | |
12413 | { SWIG_PY_INT, (char *)"STC_LISP_NUMBER", (long) 2, 0, 0, 0}, | |
12414 | { SWIG_PY_INT, (char *)"STC_LISP_KEYWORD", (long) 3, 0, 0, 0}, | |
12415 | { SWIG_PY_INT, (char *)"STC_LISP_STRING", (long) 6, 0, 0, 0}, | |
12416 | { SWIG_PY_INT, (char *)"STC_LISP_STRINGEOL", (long) 8, 0, 0, 0}, | |
12417 | { SWIG_PY_INT, (char *)"STC_LISP_IDENTIFIER", (long) 9, 0, 0, 0}, | |
12418 | { SWIG_PY_INT, (char *)"STC_LISP_OPERATOR", (long) 10, 0, 0, 0}, | |
12419 | { SWIG_PY_INT, (char *)"STC_EIFFEL_DEFAULT", (long) 0, 0, 0, 0}, | |
12420 | { SWIG_PY_INT, (char *)"STC_EIFFEL_COMMENTLINE", (long) 1, 0, 0, 0}, | |
12421 | { SWIG_PY_INT, (char *)"STC_EIFFEL_NUMBER", (long) 2, 0, 0, 0}, | |
12422 | { SWIG_PY_INT, (char *)"STC_EIFFEL_WORD", (long) 3, 0, 0, 0}, | |
12423 | { SWIG_PY_INT, (char *)"STC_EIFFEL_STRING", (long) 4, 0, 0, 0}, | |
12424 | { SWIG_PY_INT, (char *)"STC_EIFFEL_CHARACTER", (long) 5, 0, 0, 0}, | |
12425 | { SWIG_PY_INT, (char *)"STC_EIFFEL_OPERATOR", (long) 6, 0, 0, 0}, | |
12426 | { SWIG_PY_INT, (char *)"STC_EIFFEL_IDENTIFIER", (long) 7, 0, 0, 0}, | |
12427 | { SWIG_PY_INT, (char *)"STC_EIFFEL_STRINGEOL", (long) 8, 0, 0, 0}, | |
12428 | { SWIG_PY_INT, (char *)"STC_NNCRONTAB_DEFAULT", (long) 0, 0, 0, 0}, | |
12429 | { SWIG_PY_INT, (char *)"STC_NNCRONTAB_COMMENT", (long) 1, 0, 0, 0}, | |
12430 | { SWIG_PY_INT, (char *)"STC_NNCRONTAB_TASK", (long) 2, 0, 0, 0}, | |
12431 | { SWIG_PY_INT, (char *)"STC_NNCRONTAB_SECTION", (long) 3, 0, 0, 0}, | |
12432 | { SWIG_PY_INT, (char *)"STC_NNCRONTAB_KEYWORD", (long) 4, 0, 0, 0}, | |
12433 | { SWIG_PY_INT, (char *)"STC_NNCRONTAB_MODIFIER", (long) 5, 0, 0, 0}, | |
12434 | { SWIG_PY_INT, (char *)"STC_NNCRONTAB_ASTERISK", (long) 6, 0, 0, 0}, | |
12435 | { SWIG_PY_INT, (char *)"STC_NNCRONTAB_NUMBER", (long) 7, 0, 0, 0}, | |
12436 | { SWIG_PY_INT, (char *)"STC_NNCRONTAB_STRING", (long) 8, 0, 0, 0}, | |
12437 | { SWIG_PY_INT, (char *)"STC_NNCRONTAB_ENVIRONMENT", (long) 9, 0, 0, 0}, | |
12438 | { SWIG_PY_INT, (char *)"STC_NNCRONTAB_IDENTIFIER", (long) 10, 0, 0, 0}, | |
12439 | { SWIG_PY_INT, (char *)"STC_MATLAB_DEFAULT", (long) 0, 0, 0, 0}, | |
12440 | { SWIG_PY_INT, (char *)"STC_MATLAB_COMMENT", (long) 1, 0, 0, 0}, | |
12441 | { SWIG_PY_INT, (char *)"STC_MATLAB_COMMAND", (long) 2, 0, 0, 0}, | |
12442 | { SWIG_PY_INT, (char *)"STC_MATLAB_NUMBER", (long) 3, 0, 0, 0}, | |
12443 | { SWIG_PY_INT, (char *)"STC_MATLAB_KEYWORD", (long) 4, 0, 0, 0}, | |
12444 | { SWIG_PY_INT, (char *)"STC_MATLAB_STRING", (long) 5, 0, 0, 0}, | |
12445 | { SWIG_PY_INT, (char *)"STC_MATLAB_OPERATOR", (long) 6, 0, 0, 0}, | |
12446 | { SWIG_PY_INT, (char *)"STC_MATLAB_IDENTIFIER", (long) 7, 0, 0, 0}, | |
12447 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_DEFAULT", (long) 0, 0, 0, 0}, | |
12448 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENT", (long) 1, 0, 0, 0}, | |
12449 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTLINE", (long) 2, 0, 0, 0}, | |
12450 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOC", (long) 3, 0, 0, 0}, | |
12451 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_NUMBER", (long) 4, 0, 0, 0}, | |
12452 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_WORD", (long) 5, 0, 0, 0}, | |
12453 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_STRING", (long) 6, 0, 0, 0}, | |
12454 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_CHARACTER", (long) 7, 0, 0, 0}, | |
12455 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_UUID", (long) 8, 0, 0, 0}, | |
12456 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_PREPROCESSOR", (long) 9, 0, 0, 0}, | |
12457 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_OPERATOR", (long) 10, 0, 0, 0}, | |
12458 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_IDENTIFIER", (long) 11, 0, 0, 0}, | |
12459 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_STRINGEOL", (long) 12, 0, 0, 0}, | |
12460 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_VERBATIM", (long) 13, 0, 0, 0}, | |
12461 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_REGEX", (long) 14, 0, 0, 0}, | |
12462 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTLINEDOC", (long) 15, 0, 0, 0}, | |
12463 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_WORD2", (long) 16, 0, 0, 0}, | |
12464 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOCKEYWORD", (long) 17, 0, 0, 0}, | |
12465 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTDOCKEYWORDERROR", (long) 18, 0, 0, 0}, | |
12466 | { SWIG_PY_INT, (char *)"STC_SCRIPTOL_COMMENTBASIC", (long) 19, 0, 0, 0}, | |
12467 | { SWIG_PY_INT, (char *)"STC_ASM_DEFAULT", (long) 0, 0, 0, 0}, | |
12468 | { SWIG_PY_INT, (char *)"STC_ASM_COMMENT", (long) 1, 0, 0, 0}, | |
12469 | { SWIG_PY_INT, (char *)"STC_ASM_NUMBER", (long) 2, 0, 0, 0}, | |
12470 | { SWIG_PY_INT, (char *)"STC_ASM_STRING", (long) 3, 0, 0, 0}, | |
12471 | { SWIG_PY_INT, (char *)"STC_ASM_OPERATOR", (long) 4, 0, 0, 0}, | |
12472 | { SWIG_PY_INT, (char *)"STC_ASM_IDENTIFIER", (long) 5, 0, 0, 0}, | |
12473 | { SWIG_PY_INT, (char *)"STC_ASM_CPUINSTRUCTION", (long) 6, 0, 0, 0}, | |
12474 | { SWIG_PY_INT, (char *)"STC_ASM_MATHINSTRUCTION", (long) 7, 0, 0, 0}, | |
12475 | { SWIG_PY_INT, (char *)"STC_ASM_REGISTER", (long) 8, 0, 0, 0}, | |
12476 | { SWIG_PY_INT, (char *)"STC_ASM_DIRECTIVE", (long) 9, 0, 0, 0}, | |
12477 | { SWIG_PY_INT, (char *)"STC_ASM_DIRECTIVEOPERAND", (long) 10, 0, 0, 0}, | |
12478 | { SWIG_PY_INT, (char *)"STC_F_DEFAULT", (long) 0, 0, 0, 0}, | |
12479 | { SWIG_PY_INT, (char *)"STC_F_COMMENT", (long) 1, 0, 0, 0}, | |
12480 | { SWIG_PY_INT, (char *)"STC_F_NUMBER", (long) 2, 0, 0, 0}, | |
12481 | { SWIG_PY_INT, (char *)"STC_F_STRING1", (long) 3, 0, 0, 0}, | |
12482 | { SWIG_PY_INT, (char *)"STC_F_STRING2", (long) 4, 0, 0, 0}, | |
12483 | { SWIG_PY_INT, (char *)"STC_F_STRINGEOL", (long) 5, 0, 0, 0}, | |
12484 | { SWIG_PY_INT, (char *)"STC_F_OPERATOR", (long) 6, 0, 0, 0}, | |
12485 | { SWIG_PY_INT, (char *)"STC_F_IDENTIFIER", (long) 7, 0, 0, 0}, | |
12486 | { SWIG_PY_INT, (char *)"STC_F_WORD", (long) 8, 0, 0, 0}, | |
12487 | { SWIG_PY_INT, (char *)"STC_F_WORD2", (long) 9, 0, 0, 0}, | |
12488 | { SWIG_PY_INT, (char *)"STC_F_WORD3", (long) 10, 0, 0, 0}, | |
12489 | { SWIG_PY_INT, (char *)"STC_F_PREPROCESSOR", (long) 11, 0, 0, 0}, | |
12490 | { SWIG_PY_INT, (char *)"STC_F_OPERATOR2", (long) 12, 0, 0, 0}, | |
12491 | { SWIG_PY_INT, (char *)"STC_F_LABEL", (long) 13, 0, 0, 0}, | |
12492 | { SWIG_PY_INT, (char *)"STC_F_CONTINUATION", (long) 14, 0, 0, 0}, | |
12493 | { SWIG_PY_INT, (char *)"STC_CSS_DEFAULT", (long) 0, 0, 0, 0}, | |
12494 | { SWIG_PY_INT, (char *)"STC_CSS_TAG", (long) 1, 0, 0, 0}, | |
12495 | { SWIG_PY_INT, (char *)"STC_CSS_CLASS", (long) 2, 0, 0, 0}, | |
12496 | { SWIG_PY_INT, (char *)"STC_CSS_PSEUDOCLASS", (long) 3, 0, 0, 0}, | |
12497 | { SWIG_PY_INT, (char *)"STC_CSS_UNKNOWN_PSEUDOCLASS", (long) 4, 0, 0, 0}, | |
12498 | { SWIG_PY_INT, (char *)"STC_CSS_OPERATOR", (long) 5, 0, 0, 0}, | |
12499 | { SWIG_PY_INT, (char *)"STC_CSS_IDENTIFIER", (long) 6, 0, 0, 0}, | |
12500 | { SWIG_PY_INT, (char *)"STC_CSS_UNKNOWN_IDENTIFIER", (long) 7, 0, 0, 0}, | |
12501 | { SWIG_PY_INT, (char *)"STC_CSS_VALUE", (long) 8, 0, 0, 0}, | |
12502 | { SWIG_PY_INT, (char *)"STC_CSS_COMMENT", (long) 9, 0, 0, 0}, | |
12503 | { SWIG_PY_INT, (char *)"STC_CSS_ID", (long) 10, 0, 0, 0}, | |
12504 | { SWIG_PY_INT, (char *)"STC_CSS_IMPORTANT", (long) 11, 0, 0, 0}, | |
12505 | { SWIG_PY_INT, (char *)"STC_CSS_DIRECTIVE", (long) 12, 0, 0, 0}, | |
12506 | { SWIG_PY_INT, (char *)"STC_CSS_DOUBLESTRING", (long) 13, 0, 0, 0}, | |
12507 | { SWIG_PY_INT, (char *)"STC_CSS_SINGLESTRING", (long) 14, 0, 0, 0}, | |
12508 | { SWIG_PY_INT, (char *)"STC_POV_DEFAULT", (long) 0, 0, 0, 0}, | |
12509 | { SWIG_PY_INT, (char *)"STC_POV_COMMENT", (long) 1, 0, 0, 0}, | |
12510 | { SWIG_PY_INT, (char *)"STC_POV_COMMENTLINE", (long) 2, 0, 0, 0}, | |
12511 | { SWIG_PY_INT, (char *)"STC_POV_NUMBER", (long) 3, 0, 0, 0}, | |
12512 | { SWIG_PY_INT, (char *)"STC_POV_OPERATOR", (long) 4, 0, 0, 0}, | |
12513 | { SWIG_PY_INT, (char *)"STC_POV_IDENTIFIER", (long) 5, 0, 0, 0}, | |
12514 | { SWIG_PY_INT, (char *)"STC_POV_STRING", (long) 6, 0, 0, 0}, | |
12515 | { SWIG_PY_INT, (char *)"STC_POV_STRINGEOL", (long) 7, 0, 0, 0}, | |
12516 | { SWIG_PY_INT, (char *)"STC_POV_DIRECTIVE", (long) 8, 0, 0, 0}, | |
12517 | { SWIG_PY_INT, (char *)"STC_POV_BADDIRECTIVE", (long) 9, 0, 0, 0}, | |
12518 | { SWIG_PY_INT, (char *)"STC_POV_WORD2", (long) 10, 0, 0, 0}, | |
12519 | { SWIG_PY_INT, (char *)"STC_POV_WORD3", (long) 11, 0, 0, 0}, | |
12520 | { SWIG_PY_INT, (char *)"STC_POV_WORD4", (long) 12, 0, 0, 0}, | |
12521 | { SWIG_PY_INT, (char *)"STC_POV_WORD5", (long) 13, 0, 0, 0}, | |
12522 | { SWIG_PY_INT, (char *)"STC_POV_WORD6", (long) 14, 0, 0, 0}, | |
12523 | { SWIG_PY_INT, (char *)"STC_POV_WORD7", (long) 15, 0, 0, 0}, | |
12524 | { SWIG_PY_INT, (char *)"STC_POV_WORD8", (long) 16, 0, 0, 0}, | |
12525 | { SWIG_PY_INT, (char *)"STC_LOUT_DEFAULT", (long) 0, 0, 0, 0}, | |
12526 | { SWIG_PY_INT, (char *)"STC_LOUT_COMMENT", (long) 1, 0, 0, 0}, | |
12527 | { SWIG_PY_INT, (char *)"STC_LOUT_NUMBER", (long) 2, 0, 0, 0}, | |
12528 | { SWIG_PY_INT, (char *)"STC_LOUT_WORD", (long) 3, 0, 0, 0}, | |
12529 | { SWIG_PY_INT, (char *)"STC_LOUT_WORD2", (long) 4, 0, 0, 0}, | |
12530 | { SWIG_PY_INT, (char *)"STC_LOUT_WORD3", (long) 5, 0, 0, 0}, | |
12531 | { SWIG_PY_INT, (char *)"STC_LOUT_WORD4", (long) 6, 0, 0, 0}, | |
12532 | { SWIG_PY_INT, (char *)"STC_LOUT_STRING", (long) 7, 0, 0, 0}, | |
12533 | { SWIG_PY_INT, (char *)"STC_LOUT_OPERATOR", (long) 8, 0, 0, 0}, | |
12534 | { SWIG_PY_INT, (char *)"STC_LOUT_IDENTIFIER", (long) 9, 0, 0, 0}, | |
12535 | { SWIG_PY_INT, (char *)"STC_LOUT_STRINGEOL", (long) 10, 0, 0, 0}, | |
12536 | { SWIG_PY_INT, (char *)"STC_ESCRIPT_DEFAULT", (long) 0, 0, 0, 0}, | |
12537 | { SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENT", (long) 1, 0, 0, 0}, | |
12538 | { SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENTLINE", (long) 2, 0, 0, 0}, | |
12539 | { SWIG_PY_INT, (char *)"STC_ESCRIPT_COMMENTDOC", (long) 3, 0, 0, 0}, | |
12540 | { SWIG_PY_INT, (char *)"STC_ESCRIPT_NUMBER", (long) 4, 0, 0, 0}, | |
12541 | { SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD", (long) 5, 0, 0, 0}, | |
12542 | { SWIG_PY_INT, (char *)"STC_ESCRIPT_STRING", (long) 6, 0, 0, 0}, | |
12543 | { SWIG_PY_INT, (char *)"STC_ESCRIPT_OPERATOR", (long) 7, 0, 0, 0}, | |
12544 | { SWIG_PY_INT, (char *)"STC_ESCRIPT_IDENTIFIER", (long) 8, 0, 0, 0}, | |
12545 | { SWIG_PY_INT, (char *)"STC_ESCRIPT_BRACE", (long) 9, 0, 0, 0}, | |
12546 | { SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD2", (long) 10, 0, 0, 0}, | |
12547 | { SWIG_PY_INT, (char *)"STC_ESCRIPT_WORD3", (long) 11, 0, 0, 0}, | |
12548 | { SWIG_PY_INT, (char *)"STC_PS_DEFAULT", (long) 0, 0, 0, 0}, | |
12549 | { SWIG_PY_INT, (char *)"STC_PS_COMMENT", (long) 1, 0, 0, 0}, | |
12550 | { SWIG_PY_INT, (char *)"STC_PS_DSC_COMMENT", (long) 2, 0, 0, 0}, | |
12551 | { SWIG_PY_INT, (char *)"STC_PS_DSC_VALUE", (long) 3, 0, 0, 0}, | |
12552 | { SWIG_PY_INT, (char *)"STC_PS_NUMBER", (long) 4, 0, 0, 0}, | |
12553 | { SWIG_PY_INT, (char *)"STC_PS_NAME", (long) 5, 0, 0, 0}, | |
12554 | { SWIG_PY_INT, (char *)"STC_PS_KEYWORD", (long) 6, 0, 0, 0}, | |
12555 | { SWIG_PY_INT, (char *)"STC_PS_LITERAL", (long) 7, 0, 0, 0}, | |
12556 | { SWIG_PY_INT, (char *)"STC_PS_IMMEVAL", (long) 8, 0, 0, 0}, | |
12557 | { SWIG_PY_INT, (char *)"STC_PS_PAREN_ARRAY", (long) 9, 0, 0, 0}, | |
12558 | { SWIG_PY_INT, (char *)"STC_PS_PAREN_DICT", (long) 10, 0, 0, 0}, | |
12559 | { SWIG_PY_INT, (char *)"STC_PS_PAREN_PROC", (long) 11, 0, 0, 0}, | |
12560 | { SWIG_PY_INT, (char *)"STC_PS_TEXT", (long) 12, 0, 0, 0}, | |
12561 | { SWIG_PY_INT, (char *)"STC_PS_HEXSTRING", (long) 13, 0, 0, 0}, | |
12562 | { SWIG_PY_INT, (char *)"STC_PS_BASE85STRING", (long) 14, 0, 0, 0}, | |
12563 | { SWIG_PY_INT, (char *)"STC_PS_BADSTRINGCHAR", (long) 15, 0, 0, 0}, | |
12564 | { SWIG_PY_INT, (char *)"STC_NSIS_DEFAULT", (long) 0, 0, 0, 0}, | |
12565 | { SWIG_PY_INT, (char *)"STC_NSIS_COMMENT", (long) 1, 0, 0, 0}, | |
12566 | { SWIG_PY_INT, (char *)"STC_NSIS_STRINGDQ", (long) 2, 0, 0, 0}, | |
12567 | { SWIG_PY_INT, (char *)"STC_NSIS_STRINGLQ", (long) 3, 0, 0, 0}, | |
12568 | { SWIG_PY_INT, (char *)"STC_NSIS_STRINGRQ", (long) 4, 0, 0, 0}, | |
12569 | { SWIG_PY_INT, (char *)"STC_NSIS_FUNCTION", (long) 5, 0, 0, 0}, | |
12570 | { SWIG_PY_INT, (char *)"STC_NSIS_VARIABLE", (long) 6, 0, 0, 0}, | |
12571 | { SWIG_PY_INT, (char *)"STC_NSIS_LABEL", (long) 7, 0, 0, 0}, | |
12572 | { SWIG_PY_INT, (char *)"STC_NSIS_USERDEFINED", (long) 8, 0, 0, 0}, | |
12573 | { SWIG_PY_INT, (char *)"STC_NSIS_SECTIONDEF", (long) 9, 0, 0, 0}, | |
12574 | { SWIG_PY_INT, (char *)"STC_NSIS_SUBSECTIONDEF", (long) 10, 0, 0, 0}, | |
12575 | { SWIG_PY_INT, (char *)"STC_NSIS_IFDEFINEDEF", (long) 11, 0, 0, 0}, | |
12576 | { SWIG_PY_INT, (char *)"STC_NSIS_MACRODEF", (long) 12, 0, 0, 0}, | |
12577 | { SWIG_PY_INT, (char *)"STC_NSIS_STRINGVAR", (long) 13, 0, 0, 0}, | |
12578 | { SWIG_PY_INT, (char *)"STC_MMIXAL_LEADWS", (long) 0, 0, 0, 0}, | |
12579 | { SWIG_PY_INT, (char *)"STC_MMIXAL_COMMENT", (long) 1, 0, 0, 0}, | |
12580 | { SWIG_PY_INT, (char *)"STC_MMIXAL_LABEL", (long) 2, 0, 0, 0}, | |
12581 | { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE", (long) 3, 0, 0, 0}, | |
12582 | { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_PRE", (long) 4, 0, 0, 0}, | |
12583 | { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_VALID", (long) 5, 0, 0, 0}, | |
12584 | { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_UNKNOWN", (long) 6, 0, 0, 0}, | |
12585 | { SWIG_PY_INT, (char *)"STC_MMIXAL_OPCODE_POST", (long) 7, 0, 0, 0}, | |
12586 | { SWIG_PY_INT, (char *)"STC_MMIXAL_OPERANDS", (long) 8, 0, 0, 0}, | |
12587 | { SWIG_PY_INT, (char *)"STC_MMIXAL_NUMBER", (long) 9, 0, 0, 0}, | |
12588 | { SWIG_PY_INT, (char *)"STC_MMIXAL_REF", (long) 10, 0, 0, 0}, | |
12589 | { SWIG_PY_INT, (char *)"STC_MMIXAL_CHAR", (long) 11, 0, 0, 0}, | |
12590 | { SWIG_PY_INT, (char *)"STC_MMIXAL_STRING", (long) 12, 0, 0, 0}, | |
12591 | { SWIG_PY_INT, (char *)"STC_MMIXAL_REGISTER", (long) 13, 0, 0, 0}, | |
12592 | { SWIG_PY_INT, (char *)"STC_MMIXAL_HEX", (long) 14, 0, 0, 0}, | |
12593 | { SWIG_PY_INT, (char *)"STC_MMIXAL_OPERATOR", (long) 15, 0, 0, 0}, | |
12594 | { SWIG_PY_INT, (char *)"STC_MMIXAL_SYMBOL", (long) 16, 0, 0, 0}, | |
12595 | { SWIG_PY_INT, (char *)"STC_MMIXAL_INCLUDE", (long) 17, 0, 0, 0}, | |
12596 | { SWIG_PY_INT, (char *)"STC_CMD_REDO", (long) 2011, 0, 0, 0}, | |
12597 | { SWIG_PY_INT, (char *)"STC_CMD_SELECTALL", (long) 2013, 0, 0, 0}, | |
12598 | { SWIG_PY_INT, (char *)"STC_CMD_UNDO", (long) 2176, 0, 0, 0}, | |
12599 | { SWIG_PY_INT, (char *)"STC_CMD_CUT", (long) 2177, 0, 0, 0}, | |
12600 | { SWIG_PY_INT, (char *)"STC_CMD_COPY", (long) 2178, 0, 0, 0}, | |
12601 | { SWIG_PY_INT, (char *)"STC_CMD_PASTE", (long) 2179, 0, 0, 0}, | |
12602 | { SWIG_PY_INT, (char *)"STC_CMD_CLEAR", (long) 2180, 0, 0, 0}, | |
12603 | { SWIG_PY_INT, (char *)"STC_CMD_LINEDOWN", (long) 2300, 0, 0, 0}, | |
12604 | { SWIG_PY_INT, (char *)"STC_CMD_LINEDOWNEXTEND", (long) 2301, 0, 0, 0}, | |
12605 | { SWIG_PY_INT, (char *)"STC_CMD_LINEUP", (long) 2302, 0, 0, 0}, | |
12606 | { SWIG_PY_INT, (char *)"STC_CMD_LINEUPEXTEND", (long) 2303, 0, 0, 0}, | |
12607 | { SWIG_PY_INT, (char *)"STC_CMD_CHARLEFT", (long) 2304, 0, 0, 0}, | |
12608 | { SWIG_PY_INT, (char *)"STC_CMD_CHARLEFTEXTEND", (long) 2305, 0, 0, 0}, | |
12609 | { SWIG_PY_INT, (char *)"STC_CMD_CHARRIGHT", (long) 2306, 0, 0, 0}, | |
12610 | { SWIG_PY_INT, (char *)"STC_CMD_CHARRIGHTEXTEND", (long) 2307, 0, 0, 0}, | |
12611 | { SWIG_PY_INT, (char *)"STC_CMD_WORDLEFT", (long) 2308, 0, 0, 0}, | |
12612 | { SWIG_PY_INT, (char *)"STC_CMD_WORDLEFTEXTEND", (long) 2309, 0, 0, 0}, | |
12613 | { SWIG_PY_INT, (char *)"STC_CMD_WORDRIGHT", (long) 2310, 0, 0, 0}, | |
12614 | { SWIG_PY_INT, (char *)"STC_CMD_WORDRIGHTEXTEND", (long) 2311, 0, 0, 0}, | |
12615 | { SWIG_PY_INT, (char *)"STC_CMD_HOME", (long) 2312, 0, 0, 0}, | |
12616 | { SWIG_PY_INT, (char *)"STC_CMD_HOMEEXTEND", (long) 2313, 0, 0, 0}, | |
12617 | { SWIG_PY_INT, (char *)"STC_CMD_LINEEND", (long) 2314, 0, 0, 0}, | |
12618 | { SWIG_PY_INT, (char *)"STC_CMD_LINEENDEXTEND", (long) 2315, 0, 0, 0}, | |
12619 | { SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTSTART", (long) 2316, 0, 0, 0}, | |
12620 | { SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTSTARTEXTEND", (long) 2317, 0, 0, 0}, | |
12621 | { SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTEND", (long) 2318, 0, 0, 0}, | |
12622 | { SWIG_PY_INT, (char *)"STC_CMD_DOCUMENTENDEXTEND", (long) 2319, 0, 0, 0}, | |
12623 | { SWIG_PY_INT, (char *)"STC_CMD_PAGEUP", (long) 2320, 0, 0, 0}, | |
12624 | { SWIG_PY_INT, (char *)"STC_CMD_PAGEUPEXTEND", (long) 2321, 0, 0, 0}, | |
12625 | { SWIG_PY_INT, (char *)"STC_CMD_PAGEDOWN", (long) 2322, 0, 0, 0}, | |
12626 | { SWIG_PY_INT, (char *)"STC_CMD_PAGEDOWNEXTEND", (long) 2323, 0, 0, 0}, | |
12627 | { SWIG_PY_INT, (char *)"STC_CMD_EDITTOGGLEOVERTYPE", (long) 2324, 0, 0, 0}, | |
12628 | { SWIG_PY_INT, (char *)"STC_CMD_CANCEL", (long) 2325, 0, 0, 0}, | |
12629 | { SWIG_PY_INT, (char *)"STC_CMD_DELETEBACK", (long) 2326, 0, 0, 0}, | |
12630 | { SWIG_PY_INT, (char *)"STC_CMD_TAB", (long) 2327, 0, 0, 0}, | |
12631 | { SWIG_PY_INT, (char *)"STC_CMD_BACKTAB", (long) 2328, 0, 0, 0}, | |
12632 | { SWIG_PY_INT, (char *)"STC_CMD_NEWLINE", (long) 2329, 0, 0, 0}, | |
12633 | { SWIG_PY_INT, (char *)"STC_CMD_FORMFEED", (long) 2330, 0, 0, 0}, | |
12634 | { SWIG_PY_INT, (char *)"STC_CMD_VCHOME", (long) 2331, 0, 0, 0}, | |
12635 | { SWIG_PY_INT, (char *)"STC_CMD_VCHOMEEXTEND", (long) 2332, 0, 0, 0}, | |
12636 | { SWIG_PY_INT, (char *)"STC_CMD_ZOOMIN", (long) 2333, 0, 0, 0}, | |
12637 | { SWIG_PY_INT, (char *)"STC_CMD_ZOOMOUT", (long) 2334, 0, 0, 0}, | |
12638 | { SWIG_PY_INT, (char *)"STC_CMD_DELWORDLEFT", (long) 2335, 0, 0, 0}, | |
12639 | { SWIG_PY_INT, (char *)"STC_CMD_DELWORDRIGHT", (long) 2336, 0, 0, 0}, | |
12640 | { SWIG_PY_INT, (char *)"STC_CMD_LINECUT", (long) 2337, 0, 0, 0}, | |
12641 | { SWIG_PY_INT, (char *)"STC_CMD_LINEDELETE", (long) 2338, 0, 0, 0}, | |
12642 | { SWIG_PY_INT, (char *)"STC_CMD_LINETRANSPOSE", (long) 2339, 0, 0, 0}, | |
12643 | { SWIG_PY_INT, (char *)"STC_CMD_LINEDUPLICATE", (long) 2404, 0, 0, 0}, | |
12644 | { SWIG_PY_INT, (char *)"STC_CMD_LOWERCASE", (long) 2340, 0, 0, 0}, | |
12645 | { SWIG_PY_INT, (char *)"STC_CMD_UPPERCASE", (long) 2341, 0, 0, 0}, | |
12646 | { SWIG_PY_INT, (char *)"STC_CMD_LINESCROLLDOWN", (long) 2342, 0, 0, 0}, | |
12647 | { SWIG_PY_INT, (char *)"STC_CMD_LINESCROLLUP", (long) 2343, 0, 0, 0}, | |
12648 | { SWIG_PY_INT, (char *)"STC_CMD_DELETEBACKNOTLINE", (long) 2344, 0, 0, 0}, | |
12649 | { SWIG_PY_INT, (char *)"STC_CMD_HOMEDISPLAY", (long) 2345, 0, 0, 0}, | |
12650 | { SWIG_PY_INT, (char *)"STC_CMD_HOMEDISPLAYEXTEND", (long) 2346, 0, 0, 0}, | |
12651 | { SWIG_PY_INT, (char *)"STC_CMD_LINEENDDISPLAY", (long) 2347, 0, 0, 0}, | |
12652 | { SWIG_PY_INT, (char *)"STC_CMD_LINEENDDISPLAYEXTEND", (long) 2348, 0, 0, 0}, | |
12653 | { SWIG_PY_INT, (char *)"STC_CMD_HOMEWRAP", (long) 2349, 0, 0, 0}, | |
12654 | { SWIG_PY_INT, (char *)"STC_CMD_HOMEWRAPEXTEND", (long) 2450, 0, 0, 0}, | |
12655 | { SWIG_PY_INT, (char *)"STC_CMD_LINEENDWRAP", (long) 2451, 0, 0, 0}, | |
12656 | { SWIG_PY_INT, (char *)"STC_CMD_LINEENDWRAPEXTEND", (long) 2452, 0, 0, 0}, | |
12657 | { SWIG_PY_INT, (char *)"STC_CMD_VCHOMEWRAP", (long) 2453, 0, 0, 0}, | |
12658 | { SWIG_PY_INT, (char *)"STC_CMD_VCHOMEWRAPEXTEND", (long) 2454, 0, 0, 0}, | |
12659 | { SWIG_PY_INT, (char *)"STC_CMD_WORDPARTLEFT", (long) 2390, 0, 0, 0}, | |
12660 | { SWIG_PY_INT, (char *)"STC_CMD_WORDPARTLEFTEXTEND", (long) 2391, 0, 0, 0}, | |
12661 | { SWIG_PY_INT, (char *)"STC_CMD_WORDPARTRIGHT", (long) 2392, 0, 0, 0}, | |
12662 | { SWIG_PY_INT, (char *)"STC_CMD_WORDPARTRIGHTEXTEND", (long) 2393, 0, 0, 0}, | |
12663 | { SWIG_PY_INT, (char *)"STC_CMD_DELLINELEFT", (long) 2395, 0, 0, 0}, | |
12664 | { SWIG_PY_INT, (char *)"STC_CMD_DELLINERIGHT", (long) 2396, 0, 0, 0}, | |
12665 | { SWIG_PY_INT, (char *)"STC_CMD_PARADOWN", (long) 2413, 0, 0, 0}, | |
12666 | { SWIG_PY_INT, (char *)"STC_CMD_PARADOWNEXTEND", (long) 2414, 0, 0, 0}, | |
12667 | { SWIG_PY_INT, (char *)"STC_CMD_PARAUP", (long) 2415, 0, 0, 0}, | |
12668 | { SWIG_PY_INT, (char *)"STC_CMD_PARAUPEXTEND", (long) 2416, 0, 0, 0}, | |
12669 | { SWIG_PY_INT, (char *)"wxEVT_STC_CHANGE", (long) wxEVT_STC_CHANGE, 0, 0, 0}, | |
12670 | { SWIG_PY_INT, (char *)"wxEVT_STC_STYLENEEDED", (long) wxEVT_STC_STYLENEEDED, 0, 0, 0}, | |
12671 | { SWIG_PY_INT, (char *)"wxEVT_STC_CHARADDED", (long) wxEVT_STC_CHARADDED, 0, 0, 0}, | |
12672 | { SWIG_PY_INT, (char *)"wxEVT_STC_SAVEPOINTREACHED", (long) wxEVT_STC_SAVEPOINTREACHED, 0, 0, 0}, | |
12673 | { SWIG_PY_INT, (char *)"wxEVT_STC_SAVEPOINTLEFT", (long) wxEVT_STC_SAVEPOINTLEFT, 0, 0, 0}, | |
12674 | { SWIG_PY_INT, (char *)"wxEVT_STC_ROMODIFYATTEMPT", (long) wxEVT_STC_ROMODIFYATTEMPT, 0, 0, 0}, | |
12675 | { SWIG_PY_INT, (char *)"wxEVT_STC_KEY", (long) wxEVT_STC_KEY, 0, 0, 0}, | |
12676 | { SWIG_PY_INT, (char *)"wxEVT_STC_DOUBLECLICK", (long) wxEVT_STC_DOUBLECLICK, 0, 0, 0}, | |
12677 | { SWIG_PY_INT, (char *)"wxEVT_STC_UPDATEUI", (long) wxEVT_STC_UPDATEUI, 0, 0, 0}, | |
12678 | { SWIG_PY_INT, (char *)"wxEVT_STC_MODIFIED", (long) wxEVT_STC_MODIFIED, 0, 0, 0}, | |
12679 | { SWIG_PY_INT, (char *)"wxEVT_STC_MACRORECORD", (long) wxEVT_STC_MACRORECORD, 0, 0, 0}, | |
12680 | { SWIG_PY_INT, (char *)"wxEVT_STC_MARGINCLICK", (long) wxEVT_STC_MARGINCLICK, 0, 0, 0}, | |
12681 | { SWIG_PY_INT, (char *)"wxEVT_STC_NEEDSHOWN", (long) wxEVT_STC_NEEDSHOWN, 0, 0, 0}, | |
12682 | { SWIG_PY_INT, (char *)"wxEVT_STC_POSCHANGED", (long) wxEVT_STC_POSCHANGED, 0, 0, 0}, | |
12683 | { SWIG_PY_INT, (char *)"wxEVT_STC_PAINTED", (long) wxEVT_STC_PAINTED, 0, 0, 0}, | |
12684 | { SWIG_PY_INT, (char *)"wxEVT_STC_USERLISTSELECTION", (long) wxEVT_STC_USERLISTSELECTION, 0, 0, 0}, | |
12685 | { SWIG_PY_INT, (char *)"wxEVT_STC_URIDROPPED", (long) wxEVT_STC_URIDROPPED, 0, 0, 0}, | |
12686 | { SWIG_PY_INT, (char *)"wxEVT_STC_DWELLSTART", (long) wxEVT_STC_DWELLSTART, 0, 0, 0}, | |
12687 | { SWIG_PY_INT, (char *)"wxEVT_STC_DWELLEND", (long) wxEVT_STC_DWELLEND, 0, 0, 0}, | |
12688 | { SWIG_PY_INT, (char *)"wxEVT_STC_START_DRAG", (long) wxEVT_STC_START_DRAG, 0, 0, 0}, | |
12689 | { SWIG_PY_INT, (char *)"wxEVT_STC_DRAG_OVER", (long) wxEVT_STC_DRAG_OVER, 0, 0, 0}, | |
12690 | { SWIG_PY_INT, (char *)"wxEVT_STC_DO_DROP", (long) wxEVT_STC_DO_DROP, 0, 0, 0}, | |
12691 | { SWIG_PY_INT, (char *)"wxEVT_STC_ZOOM", (long) wxEVT_STC_ZOOM, 0, 0, 0}, | |
12692 | { SWIG_PY_INT, (char *)"wxEVT_STC_HOTSPOT_CLICK", (long) wxEVT_STC_HOTSPOT_CLICK, 0, 0, 0}, | |
12693 | { SWIG_PY_INT, (char *)"wxEVT_STC_HOTSPOT_DCLICK", (long) wxEVT_STC_HOTSPOT_DCLICK, 0, 0, 0}, | |
12694 | { SWIG_PY_INT, (char *)"wxEVT_STC_CALLTIP_CLICK", (long) wxEVT_STC_CALLTIP_CLICK, 0, 0, 0}, | |
12695 | {0}}; | |
12696 | ||
12697 | #ifdef __cplusplus | |
12698 | } | |
12699 | #endif | |
12700 | ||
12701 | #ifdef __cplusplus | |
12702 | extern "C" | |
12703 | #endif | |
12704 | SWIGEXPORT(void) SWIG_init(void) { | |
12705 | static PyObject *SWIG_globals = 0; | |
12706 | static int typeinit = 0; | |
12707 | PyObject *m, *d; | |
12708 | int i; | |
12709 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
12710 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
12711 | d = PyModule_GetDict(m); | |
12712 | ||
12713 | if (!typeinit) { | |
12714 | for (i = 0; swig_types_initial[i]; i++) { | |
12715 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
12716 | } | |
12717 | typeinit = 1; | |
12718 | } | |
12719 | SWIG_InstallConstants(d,swig_const_table); | |
12720 | ||
12721 | ||
12722 | ||
12723 | } | |
12724 |