]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/msw/stc_wrap.cpp
fixed paste error
[wxWidgets.git] / wxPython / contrib / stc / msw / stc_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
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
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
33 # else
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
35 # endif
36 #endif
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
52
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
68 # define SWIGINLINE
69 #endif
70 #endif
71
72 /*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79 */
80 #ifndef SWIGRUNTIME
81 #define SWIGRUNTIME static
82 #endif
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
104 /*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110 */
111 SWIGRUNTIME int
112 SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120 }
121
122 /*
123 Check type equivalence in a name list like <name1>|<name2>|...
124 */
125 SWIGRUNTIME int
126 SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138 }
139
140 /*
141 Register a type mapping with the type-checking
142 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189 }
190
191 /*
192 Check the typename
193 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225 }
226
227 /*
228 Dynamic pointer casting. Down an inheritance hierarchy
229 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239 }
240
241 /*
242 Return the name associated with this type
243 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247 }
248
249 /*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252 */
253 SWIGRUNTIME const char *
254 SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268 }
269
270 /*
271 Search for a swig_type_info structure
272 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305 }
306
307 /*
308 Pack binary data into a string
309 */
310 SWIGRUNTIME char *
311 SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322 }
323
324 /*
325 Unpack binary data from a string
326 */
327 SWIGRUNTIME const char *
328 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350 }
351
352 /*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357 */
358 SWIGRUNTIME void
359 SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374 }
375
376 /*
377 Pack 'void *' into a string buffer.
378 */
379 SWIGRUNTIME char *
380 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388 }
389
390 SWIGRUNTIME const char *
391 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401 }
402
403 SWIGRUNTIME char *
404 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416 }
417
418 SWIGRUNTIME const char *
419 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
449
450
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
454 # else
455 # define SWIGEXPORT(a) a
456 # endif
457 #else
458 # define SWIGEXPORT(a) a
459 #endif
460
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491 }
492
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
497 */
498 static void
499 SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501 }
502
503 #ifdef __cplusplus
504 }
505 #endif
506
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511 #ifdef __cplusplus
512 extern "C" {
513 #endif
514
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519 #ifndef SWIGINTERN
520 #define SWIGINTERN static
521 #endif
522
523 #ifndef SWIGINTERNSHORT
524 #ifdef __cplusplus
525 #define SWIGINTERNSHORT static inline
526 #else /* C case */
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
529 #endif
530
531
532 /*
533 Exception handling in wrappers
534 */
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542 /*
543 Contract support
544 */
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552 /* Constant Types */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
558
559 /* Constant information structure */
560 typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567 } swig_const_info;
568
569
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577 #ifdef __cplusplus
578 }
579 #endif
580
581
582 /***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
596
597
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
601
602
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606 /*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610 */
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
613 #endif
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "C" {
622 #endif
623
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
630 #endif
631
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648 {
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656 }
657
658 SWIGRUNTIME PyObject *
659 PySwigObject_repr(PySwigObject *v)
660 {
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664 }
665
666 SWIGRUNTIME PyObject *
667 PySwigObject_str(PySwigObject *v)
668 {
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672 }
673
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_oct(PySwigObject *v)
682 {
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690 }
691
692 SWIGRUNTIME PyObject *
693 PySwigObject_hex(PySwigObject *v)
694 {
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698 }
699
700 SWIGRUNTIME int
701 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702 {
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711 }
712
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750 #endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782 #endif
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786 #endif
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789 #endif
790 #if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792 #endif
793 #ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807 {
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846 {
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856 }
857
858 SWIGRUNTIME PyObject *
859 PySwigPacked_repr(PySwigPacked *v)
860 {
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_str(PySwigPacked *v)
871 {
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878 }
879
880 SWIGRUNTIME int
881 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882 {
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892 }
893
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934 #endif
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938 #endif
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941 #endif
942 #if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944 #endif
945 #ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947 #endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957 }
958
959 SWIGRUNTIME PyObject *
960 PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961 {
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973 }
974
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977 {
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982 }
983
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994 }
995
996 #else
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006 #endif
1007
1008 #endif
1009
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048 }
1049
1050 SWIGRUNTIMEINLINE void
1051 SWIG_Python_NullRef(const char *type)
1052 {
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058 }
1059
1060 SWIGRUNTIME int
1061 SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062 {
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083 }
1084
1085 SWIGRUNTIME int
1086 SWIG_Python_ArgFail(int argnum)
1087 {
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096 }
1097
1098
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103 /* Convert a pointer value */
1104 SWIGRUNTIME int
1105 SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136 #else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154 #endif
1155
1156 type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171 type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194 }
1195
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1197 SWIGRUNTIME void *
1198 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208 }
1209
1210 /* Convert a packed value value */
1211 SWIGRUNTIME int
1212 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218 #else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223 #endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231 type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241 }
1242
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject *
1245 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253 #else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259 #endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275 }
1276
1277 SWIGRUNTIME PyObject *
1278 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286 #else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292 #endif
1293 return robj;
1294 }
1295
1296 /* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1302 #endif
1303
1304 SWIGRUNTIME swig_type_info **
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311 #else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319 #endif
1320 return (swig_type_info **) type_pointer;
1321 }
1322
1323 /*
1324 Search for a swig_type_info structure
1325 */
1326 SWIGRUNTIMEINLINE swig_type_info *
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330 }
1331
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1333
1334 #ifdef __cplusplus
1335 }
1336 #endif
1337
1338
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1340
1341 #define SWIGTYPE_p_wxRect swig_types[0]
1342 #define SWIGTYPE_p_wxObject swig_types[1]
1343 #define SWIGTYPE_p_unsigned_char swig_types[2]
1344 #define SWIGTYPE_p_wxColour swig_types[3]
1345 #define SWIGTYPE_p_wxScrollBar swig_types[4]
1346 #define SWIGTYPE_p_wxStyledTextEvent swig_types[5]
1347 #define SWIGTYPE_p_wxWindow swig_types[6]
1348 #define SWIGTYPE_p_wxCommandEvent swig_types[7]
1349 #define SWIGTYPE_p_unsigned_long swig_types[8]
1350 #define SWIGTYPE_p_wxBitmap swig_types[9]
1351 #define SWIGTYPE_p_unsigned_int swig_types[10]
1352 #define SWIGTYPE_unsigned_int swig_types[11]
1353 #define SWIGTYPE_p_form_ops_t swig_types[12]
1354 #define SWIGTYPE_p_wxDuplexMode swig_types[13]
1355 #define SWIGTYPE_p_void swig_types[14]
1356 #define SWIGTYPE_p_char swig_types[15]
1357 #define SWIGTYPE_p_wxPoint swig_types[16]
1358 #define SWIGTYPE_p_wxDC swig_types[17]
1359 #define SWIGTYPE_p_wxEvtHandler swig_types[18]
1360 #define SWIGTYPE_std__ptrdiff_t swig_types[19]
1361 #define SWIGTYPE_ptrdiff_t swig_types[20]
1362 #define SWIGTYPE_p_wxStyledTextCtrl swig_types[21]
1363 #define SWIGTYPE_p_wxFont swig_types[22]
1364 #define SWIGTYPE_p_wxControl swig_types[23]
1365 #define SWIGTYPE_p_wxEvent swig_types[24]
1366 #define SWIGTYPE_p_wxPaperSize swig_types[25]
1367 #define SWIGTYPE_p_int swig_types[26]
1368 #define SWIGTYPE_p_wxMemoryBuffer swig_types[27]
1369 static swig_type_info *swig_types[29];
1370
1371 /* -------- TYPES TABLE (END) -------- */
1372
1373
1374 /*-----------------------------------------------
1375 @(target):= _stc.so
1376 ------------------------------------------------*/
1377 #define SWIG_init init_stc
1378
1379 #define SWIG_name "_stc"
1380
1381 #include "wx/wxPython/wxPython.h"
1382 #include "wx/wxPython/pyclasses.h"
1383 #include <wx/stc/stc.h>
1384
1385
1386 static const wxString wxPySTCNameStr(wxSTCNameStr);
1387
1388 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1389 #define SWIG_From_int PyInt_FromLong
1390 /*@@*/
1391
1392
1393 #include <limits.h>
1394
1395
1396 SWIGINTERN int
1397 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1398 const char *errmsg)
1399 {
1400 if (value < min_value) {
1401 if (errmsg) {
1402 PyErr_Format(PyExc_OverflowError,
1403 "value %ld is less than '%s' minimum %ld",
1404 value, errmsg, min_value);
1405 }
1406 return 0;
1407 } else if (value > max_value) {
1408 if (errmsg) {
1409 PyErr_Format(PyExc_OverflowError,
1410 "value %ld is greater than '%s' maximum %ld",
1411 value, errmsg, max_value);
1412 }
1413 return 0;
1414 }
1415 return 1;
1416 }
1417
1418
1419 SWIGINTERN int
1420 SWIG_AsVal_long(PyObject* obj, long* val)
1421 {
1422 if (PyNumber_Check(obj)) {
1423 if (val) *val = PyInt_AsLong(obj);
1424 return 1;
1425 }
1426 else {
1427 SWIG_type_error("number", obj);
1428 }
1429 return 0;
1430 }
1431
1432
1433 #if INT_MAX != LONG_MAX
1434 SWIGINTERN int
1435 SWIG_AsVal_int(PyObject *obj, int *val)
1436 {
1437 const char* errmsg = val ? "int" : (char*)0;
1438 long v;
1439 if (SWIG_AsVal_long(obj, &v)) {
1440 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1441 if (val) *val = (int)(v);
1442 return 1;
1443 } else {
1444 return 0;
1445 }
1446 } else {
1447 PyErr_Clear();
1448 }
1449 if (val) {
1450 SWIG_type_error(errmsg, obj);
1451 }
1452 return 0;
1453 }
1454 #else
1455 SWIGINTERNSHORT int
1456 SWIG_AsVal_int(PyObject *obj, int *val)
1457 {
1458 return SWIG_AsVal_long(obj,(long*)val);
1459 }
1460 #endif
1461
1462
1463 SWIGINTERNSHORT int
1464 SWIG_As_int(PyObject* obj)
1465 {
1466 int v;
1467 if (!SWIG_AsVal_int(obj, &v)) {
1468 /*
1469 this is needed to make valgrind/purify happier.
1470 */
1471 memset((void*)&v, 0, sizeof(int));
1472 }
1473 return v;
1474 }
1475
1476
1477 SWIGINTERNSHORT long
1478 SWIG_As_long(PyObject* obj)
1479 {
1480 long v;
1481 if (!SWIG_AsVal_long(obj, &v)) {
1482 /*
1483 this is needed to make valgrind/purify happier.
1484 */
1485 memset((void*)&v, 0, sizeof(long));
1486 }
1487 return v;
1488 }
1489
1490
1491 SWIGINTERNSHORT int
1492 SWIG_Check_int(PyObject* obj)
1493 {
1494 return SWIG_AsVal_int(obj, (int*)0);
1495 }
1496
1497
1498 SWIGINTERNSHORT int
1499 SWIG_Check_long(PyObject* obj)
1500 {
1501 return SWIG_AsVal_long(obj, (long*)0);
1502 }
1503
1504
1505 SWIGINTERN int
1506 SWIG_AsVal_bool(PyObject *obj, bool *val)
1507 {
1508 if (obj == Py_True) {
1509 if (val) *val = true;
1510 return 1;
1511 }
1512 if (obj == Py_False) {
1513 if (val) *val = false;
1514 return 1;
1515 }
1516 int res = 0;
1517 if (SWIG_AsVal_int(obj, &res)) {
1518 if (val) *val = res ? true : false;
1519 return 1;
1520 } else {
1521 PyErr_Clear();
1522 }
1523 if (val) {
1524 SWIG_type_error("bool", obj);
1525 }
1526 return 0;
1527 }
1528
1529
1530 SWIGINTERNSHORT bool
1531 SWIG_As_bool(PyObject* obj)
1532 {
1533 bool v;
1534 if (!SWIG_AsVal_bool(obj, &v)) {
1535 /*
1536 this is needed to make valgrind/purify happier.
1537 */
1538 memset((void*)&v, 0, sizeof(bool));
1539 }
1540 return v;
1541 }
1542
1543
1544 SWIGINTERNSHORT int
1545 SWIG_Check_bool(PyObject* obj)
1546 {
1547 return SWIG_AsVal_bool(obj, (bool*)0);
1548 }
1549
1550
1551 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1552 PyObject* o2;
1553 PyObject* o3;
1554
1555 if (!target) {
1556 target = o;
1557 } else if (target == Py_None) {
1558 Py_DECREF(Py_None);
1559 target = o;
1560 } else {
1561 if (!PyTuple_Check(target)) {
1562 o2 = target;
1563 target = PyTuple_New(1);
1564 PyTuple_SetItem(target, 0, o2);
1565 }
1566 o3 = PyTuple_New(1);
1567 PyTuple_SetItem(o3, 0, o);
1568
1569 o2 = target;
1570 target = PySequence_Concat(o2, o3);
1571 Py_DECREF(o2);
1572 Py_DECREF(o3);
1573 }
1574 return target;
1575 }
1576
1577
1578
1579 /* returns SWIG_OLDOBJ if the input is a raw char*, SWIG_PYSTR if is a PyString */
1580 SWIGINTERN int
1581 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize)
1582 {
1583 static swig_type_info* pchar_info = 0;
1584 char* vptr = 0;
1585 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
1586 if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_info, 0) != -1) {
1587 if (cptr) *cptr = vptr;
1588 if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
1589 return SWIG_OLDOBJ;
1590 } else {
1591 PyErr_Clear();
1592 if (PyString_Check(obj)) {
1593 if (cptr) {
1594 *cptr = PyString_AS_STRING(obj);
1595 if (psize) {
1596 *psize = PyString_GET_SIZE(obj) + 1;
1597 }
1598 }
1599 return SWIG_PYSTR;
1600 }
1601 }
1602 if (cptr) {
1603 SWIG_type_error("char *", obj);
1604 }
1605 return 0;
1606 }
1607
1608
1609 SWIGINTERNSHORT int
1610 SWIG_AsCharPtr(PyObject *obj, char **val)
1611 {
1612 if (SWIG_AsCharPtrAndSize(obj, val, (size_t*)(0))) {
1613 return 1;
1614 }
1615 if (val) {
1616 PyErr_Clear();
1617 SWIG_type_error("char *", obj);
1618 }
1619 return 0;
1620 }
1621
1622
1623 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1624 #define SWIG_From_long PyInt_FromLong
1625 /*@@*/
1626
1627 #ifdef __cplusplus
1628 extern "C" {
1629 #endif
1630 static int _wrap_STCNameStr_set(PyObject *) {
1631 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
1632 return 1;
1633 }
1634
1635
1636 static PyObject *_wrap_STCNameStr_get(void) {
1637 PyObject *pyobj;
1638
1639 {
1640 #if wxUSE_UNICODE
1641 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
1642 #else
1643 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
1644 #endif
1645 }
1646 return pyobj;
1647 }
1648
1649
1650 static PyObject *_wrap_new_StyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
1651 PyObject *resultobj;
1652 wxWindow *arg1 = (wxWindow *) 0 ;
1653 int arg2 = (int) wxID_ANY ;
1654 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1655 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1656 wxSize const &arg4_defvalue = wxDefaultSize ;
1657 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1658 long arg5 = (long) 0 ;
1659 wxString const &arg6_defvalue = wxPySTCNameStr ;
1660 wxString *arg6 = (wxString *) &arg6_defvalue ;
1661 wxStyledTextCtrl *result;
1662 wxPoint temp3 ;
1663 wxSize temp4 ;
1664 bool temp6 = false ;
1665 PyObject * obj0 = 0 ;
1666 PyObject * obj1 = 0 ;
1667 PyObject * obj2 = 0 ;
1668 PyObject * obj3 = 0 ;
1669 PyObject * obj4 = 0 ;
1670 PyObject * obj5 = 0 ;
1671 char *kwnames[] = {
1672 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1673 };
1674
1675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
1677 if (SWIG_arg_fail(1)) SWIG_fail;
1678 if (obj1) {
1679 {
1680 arg2 = (int)(SWIG_As_int(obj1));
1681 if (SWIG_arg_fail(2)) SWIG_fail;
1682 }
1683 }
1684 if (obj2) {
1685 {
1686 arg3 = &temp3;
1687 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1688 }
1689 }
1690 if (obj3) {
1691 {
1692 arg4 = &temp4;
1693 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1694 }
1695 }
1696 if (obj4) {
1697 {
1698 arg5 = (long)(SWIG_As_long(obj4));
1699 if (SWIG_arg_fail(5)) SWIG_fail;
1700 }
1701 }
1702 if (obj5) {
1703 {
1704 arg6 = wxString_in_helper(obj5);
1705 if (arg6 == NULL) SWIG_fail;
1706 temp6 = true;
1707 }
1708 }
1709 {
1710 if (!wxPyCheckForApp()) SWIG_fail;
1711 PyThreadState* __tstate = wxPyBeginAllowThreads();
1712 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1713
1714 wxPyEndAllowThreads(__tstate);
1715 if (PyErr_Occurred()) SWIG_fail;
1716 }
1717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
1718 {
1719 if (temp6)
1720 delete arg6;
1721 }
1722 return resultobj;
1723 fail:
1724 {
1725 if (temp6)
1726 delete arg6;
1727 }
1728 return NULL;
1729 }
1730
1731
1732 static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
1733 PyObject *resultobj;
1734 wxStyledTextCtrl *result;
1735 char *kwnames[] = {
1736 NULL
1737 };
1738
1739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
1740 {
1741 if (!wxPyCheckForApp()) SWIG_fail;
1742 PyThreadState* __tstate = wxPyBeginAllowThreads();
1743 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
1744
1745 wxPyEndAllowThreads(__tstate);
1746 if (PyErr_Occurred()) SWIG_fail;
1747 }
1748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
1749 return resultobj;
1750 fail:
1751 return NULL;
1752 }
1753
1754
1755 static PyObject *_wrap_StyledTextCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
1756 PyObject *resultobj;
1757 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1758 wxWindow *arg2 = (wxWindow *) 0 ;
1759 int arg3 = (int) wxID_ANY ;
1760 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1761 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1762 wxSize const &arg5_defvalue = wxDefaultSize ;
1763 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1764 long arg6 = (long) 0 ;
1765 wxString const &arg7_defvalue = wxSTCNameStr ;
1766 wxString *arg7 = (wxString *) &arg7_defvalue ;
1767 wxPoint temp4 ;
1768 wxSize temp5 ;
1769 bool temp7 = false ;
1770 PyObject * obj0 = 0 ;
1771 PyObject * obj1 = 0 ;
1772 PyObject * obj2 = 0 ;
1773 PyObject * obj3 = 0 ;
1774 PyObject * obj4 = 0 ;
1775 PyObject * obj5 = 0 ;
1776 PyObject * obj6 = 0 ;
1777 char *kwnames[] = {
1778 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1782 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1783 if (SWIG_arg_fail(1)) SWIG_fail;
1784 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
1785 if (SWIG_arg_fail(2)) SWIG_fail;
1786 if (obj2) {
1787 {
1788 arg3 = (int)(SWIG_As_int(obj2));
1789 if (SWIG_arg_fail(3)) SWIG_fail;
1790 }
1791 }
1792 if (obj3) {
1793 {
1794 arg4 = &temp4;
1795 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1796 }
1797 }
1798 if (obj4) {
1799 {
1800 arg5 = &temp5;
1801 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1802 }
1803 }
1804 if (obj5) {
1805 {
1806 arg6 = (long)(SWIG_As_long(obj5));
1807 if (SWIG_arg_fail(6)) SWIG_fail;
1808 }
1809 }
1810 if (obj6) {
1811 {
1812 arg7 = wxString_in_helper(obj6);
1813 if (arg7 == NULL) SWIG_fail;
1814 temp7 = true;
1815 }
1816 }
1817 {
1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
1819 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1820
1821 wxPyEndAllowThreads(__tstate);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
1824 Py_INCREF(Py_None); resultobj = Py_None;
1825 {
1826 if (temp7)
1827 delete arg7;
1828 }
1829 return resultobj;
1830 fail:
1831 {
1832 if (temp7)
1833 delete arg7;
1834 }
1835 return NULL;
1836 }
1837
1838
1839 static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *, PyObject *args, PyObject *kwargs) {
1840 PyObject *resultobj;
1841 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1842 wxString *arg2 = 0 ;
1843 bool temp2 = false ;
1844 PyObject * obj0 = 0 ;
1845 PyObject * obj1 = 0 ;
1846 char *kwnames[] = {
1847 (char *) "self",(char *) "text", NULL
1848 };
1849
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
1851 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1852 if (SWIG_arg_fail(1)) SWIG_fail;
1853 {
1854 arg2 = wxString_in_helper(obj1);
1855 if (arg2 == NULL) SWIG_fail;
1856 temp2 = true;
1857 }
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 (arg1)->AddText((wxString const &)*arg2);
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 Py_INCREF(Py_None); resultobj = Py_None;
1866 {
1867 if (temp2)
1868 delete arg2;
1869 }
1870 return resultobj;
1871 fail:
1872 {
1873 if (temp2)
1874 delete arg2;
1875 }
1876 return NULL;
1877 }
1878
1879
1880 static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
1881 PyObject *resultobj;
1882 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1883 wxMemoryBuffer *arg2 = 0 ;
1884 bool temp2 = false ;
1885 PyObject * obj0 = 0 ;
1886 PyObject * obj1 = 0 ;
1887 char *kwnames[] = {
1888 (char *) "self",(char *) "data", NULL
1889 };
1890
1891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
1892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1893 if (SWIG_arg_fail(1)) SWIG_fail;
1894 {
1895 if (!PyString_Check(obj1)) {
1896 PyErr_SetString(PyExc_TypeError, "String buffer expected");
1897 SWIG_fail;
1898 }
1899 char* str = PyString_AS_STRING(obj1);
1900 int len = PyString_GET_SIZE(obj1);
1901 arg2 = new wxMemoryBuffer(len);
1902 temp2 = true;
1903 memcpy(arg2->GetData(), str, len);
1904 arg2->SetDataLen(len);
1905 }
1906 {
1907 PyThreadState* __tstate = wxPyBeginAllowThreads();
1908 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
1909
1910 wxPyEndAllowThreads(__tstate);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 }
1913 Py_INCREF(Py_None); resultobj = Py_None;
1914 {
1915 if (temp2) delete arg2;
1916 }
1917 return resultobj;
1918 fail:
1919 {
1920 if (temp2) delete arg2;
1921 }
1922 return NULL;
1923 }
1924
1925
1926 static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *, PyObject *args, PyObject *kwargs) {
1927 PyObject *resultobj;
1928 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1929 int arg2 ;
1930 wxString *arg3 = 0 ;
1931 bool temp3 = false ;
1932 PyObject * obj0 = 0 ;
1933 PyObject * obj1 = 0 ;
1934 PyObject * obj2 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self",(char *) "pos",(char *) "text", NULL
1937 };
1938
1939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
1940 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1941 if (SWIG_arg_fail(1)) SWIG_fail;
1942 {
1943 arg2 = (int)(SWIG_As_int(obj1));
1944 if (SWIG_arg_fail(2)) SWIG_fail;
1945 }
1946 {
1947 arg3 = wxString_in_helper(obj2);
1948 if (arg3 == NULL) SWIG_fail;
1949 temp3 = true;
1950 }
1951 {
1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
1953 (arg1)->InsertText(arg2,(wxString const &)*arg3);
1954
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 }
1958 Py_INCREF(Py_None); resultobj = Py_None;
1959 {
1960 if (temp3)
1961 delete arg3;
1962 }
1963 return resultobj;
1964 fail:
1965 {
1966 if (temp3)
1967 delete arg3;
1968 }
1969 return NULL;
1970 }
1971
1972
1973 static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
1974 PyObject *resultobj;
1975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1976 PyObject * obj0 = 0 ;
1977 char *kwnames[] = {
1978 (char *) "self", NULL
1979 };
1980
1981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
1982 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
1983 if (SWIG_arg_fail(1)) SWIG_fail;
1984 {
1985 PyThreadState* __tstate = wxPyBeginAllowThreads();
1986 (arg1)->ClearAll();
1987
1988 wxPyEndAllowThreads(__tstate);
1989 if (PyErr_Occurred()) SWIG_fail;
1990 }
1991 Py_INCREF(Py_None); resultobj = Py_None;
1992 return resultobj;
1993 fail:
1994 return NULL;
1995 }
1996
1997
1998 static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *, PyObject *args, PyObject *kwargs) {
1999 PyObject *resultobj;
2000 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2001 PyObject * obj0 = 0 ;
2002 char *kwnames[] = {
2003 (char *) "self", NULL
2004 };
2005
2006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
2007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2008 if (SWIG_arg_fail(1)) SWIG_fail;
2009 {
2010 PyThreadState* __tstate = wxPyBeginAllowThreads();
2011 (arg1)->ClearDocumentStyle();
2012
2013 wxPyEndAllowThreads(__tstate);
2014 if (PyErr_Occurred()) SWIG_fail;
2015 }
2016 Py_INCREF(Py_None); resultobj = Py_None;
2017 return resultobj;
2018 fail:
2019 return NULL;
2020 }
2021
2022
2023 static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
2024 PyObject *resultobj;
2025 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2026 int result;
2027 PyObject * obj0 = 0 ;
2028 char *kwnames[] = {
2029 (char *) "self", NULL
2030 };
2031
2032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
2033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2034 if (SWIG_arg_fail(1)) SWIG_fail;
2035 {
2036 PyThreadState* __tstate = wxPyBeginAllowThreads();
2037 result = (int)(arg1)->GetLength();
2038
2039 wxPyEndAllowThreads(__tstate);
2040 if (PyErr_Occurred()) SWIG_fail;
2041 }
2042 {
2043 resultobj = SWIG_From_int((int)(result));
2044 }
2045 return resultobj;
2046 fail:
2047 return NULL;
2048 }
2049
2050
2051 static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *, PyObject *args, PyObject *kwargs) {
2052 PyObject *resultobj;
2053 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2054 int arg2 ;
2055 int result;
2056 PyObject * obj0 = 0 ;
2057 PyObject * obj1 = 0 ;
2058 char *kwnames[] = {
2059 (char *) "self",(char *) "pos", NULL
2060 };
2061
2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
2063 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2064 if (SWIG_arg_fail(1)) SWIG_fail;
2065 {
2066 arg2 = (int)(SWIG_As_int(obj1));
2067 if (SWIG_arg_fail(2)) SWIG_fail;
2068 }
2069 {
2070 PyThreadState* __tstate = wxPyBeginAllowThreads();
2071 result = (int)(arg1)->GetCharAt(arg2);
2072
2073 wxPyEndAllowThreads(__tstate);
2074 if (PyErr_Occurred()) SWIG_fail;
2075 }
2076 {
2077 resultobj = SWIG_From_int((int)(result));
2078 }
2079 return resultobj;
2080 fail:
2081 return NULL;
2082 }
2083
2084
2085 static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
2086 PyObject *resultobj;
2087 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2088 int result;
2089 PyObject * obj0 = 0 ;
2090 char *kwnames[] = {
2091 (char *) "self", NULL
2092 };
2093
2094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
2095 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2096 if (SWIG_arg_fail(1)) SWIG_fail;
2097 {
2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
2099 result = (int)(arg1)->GetCurrentPos();
2100
2101 wxPyEndAllowThreads(__tstate);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 }
2104 {
2105 resultobj = SWIG_From_int((int)(result));
2106 }
2107 return resultobj;
2108 fail:
2109 return NULL;
2110 }
2111
2112
2113 static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
2114 PyObject *resultobj;
2115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2116 int result;
2117 PyObject * obj0 = 0 ;
2118 char *kwnames[] = {
2119 (char *) "self", NULL
2120 };
2121
2122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
2123 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2124 if (SWIG_arg_fail(1)) SWIG_fail;
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
2127 result = (int)(arg1)->GetAnchor();
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
2132 {
2133 resultobj = SWIG_From_int((int)(result));
2134 }
2135 return resultobj;
2136 fail:
2137 return NULL;
2138 }
2139
2140
2141 static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *, PyObject *args, PyObject *kwargs) {
2142 PyObject *resultobj;
2143 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2144 int arg2 ;
2145 int result;
2146 PyObject * obj0 = 0 ;
2147 PyObject * obj1 = 0 ;
2148 char *kwnames[] = {
2149 (char *) "self",(char *) "pos", NULL
2150 };
2151
2152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
2153 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2154 if (SWIG_arg_fail(1)) SWIG_fail;
2155 {
2156 arg2 = (int)(SWIG_As_int(obj1));
2157 if (SWIG_arg_fail(2)) SWIG_fail;
2158 }
2159 {
2160 PyThreadState* __tstate = wxPyBeginAllowThreads();
2161 result = (int)(arg1)->GetStyleAt(arg2);
2162
2163 wxPyEndAllowThreads(__tstate);
2164 if (PyErr_Occurred()) SWIG_fail;
2165 }
2166 {
2167 resultobj = SWIG_From_int((int)(result));
2168 }
2169 return resultobj;
2170 fail:
2171 return NULL;
2172 }
2173
2174
2175 static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *, PyObject *args, PyObject *kwargs) {
2176 PyObject *resultobj;
2177 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2178 PyObject * obj0 = 0 ;
2179 char *kwnames[] = {
2180 (char *) "self", NULL
2181 };
2182
2183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
2184 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2185 if (SWIG_arg_fail(1)) SWIG_fail;
2186 {
2187 PyThreadState* __tstate = wxPyBeginAllowThreads();
2188 (arg1)->Redo();
2189
2190 wxPyEndAllowThreads(__tstate);
2191 if (PyErr_Occurred()) SWIG_fail;
2192 }
2193 Py_INCREF(Py_None); resultobj = Py_None;
2194 return resultobj;
2195 fail:
2196 return NULL;
2197 }
2198
2199
2200 static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
2201 PyObject *resultobj;
2202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2203 bool arg2 ;
2204 PyObject * obj0 = 0 ;
2205 PyObject * obj1 = 0 ;
2206 char *kwnames[] = {
2207 (char *) "self",(char *) "collectUndo", NULL
2208 };
2209
2210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
2211 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2212 if (SWIG_arg_fail(1)) SWIG_fail;
2213 {
2214 arg2 = (bool)(SWIG_As_bool(obj1));
2215 if (SWIG_arg_fail(2)) SWIG_fail;
2216 }
2217 {
2218 PyThreadState* __tstate = wxPyBeginAllowThreads();
2219 (arg1)->SetUndoCollection(arg2);
2220
2221 wxPyEndAllowThreads(__tstate);
2222 if (PyErr_Occurred()) SWIG_fail;
2223 }
2224 Py_INCREF(Py_None); resultobj = Py_None;
2225 return resultobj;
2226 fail:
2227 return NULL;
2228 }
2229
2230
2231 static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
2232 PyObject *resultobj;
2233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2234 PyObject * obj0 = 0 ;
2235 char *kwnames[] = {
2236 (char *) "self", NULL
2237 };
2238
2239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
2240 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2241 if (SWIG_arg_fail(1)) SWIG_fail;
2242 {
2243 PyThreadState* __tstate = wxPyBeginAllowThreads();
2244 (arg1)->SelectAll();
2245
2246 wxPyEndAllowThreads(__tstate);
2247 if (PyErr_Occurred()) SWIG_fail;
2248 }
2249 Py_INCREF(Py_None); resultobj = Py_None;
2250 return resultobj;
2251 fail:
2252 return NULL;
2253 }
2254
2255
2256 static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *, PyObject *args, PyObject *kwargs) {
2257 PyObject *resultobj;
2258 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2259 PyObject * obj0 = 0 ;
2260 char *kwnames[] = {
2261 (char *) "self", NULL
2262 };
2263
2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
2265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2266 if (SWIG_arg_fail(1)) SWIG_fail;
2267 {
2268 PyThreadState* __tstate = wxPyBeginAllowThreads();
2269 (arg1)->SetSavePoint();
2270
2271 wxPyEndAllowThreads(__tstate);
2272 if (PyErr_Occurred()) SWIG_fail;
2273 }
2274 Py_INCREF(Py_None); resultobj = Py_None;
2275 return resultobj;
2276 fail:
2277 return NULL;
2278 }
2279
2280
2281 static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *, PyObject *args, PyObject *kwargs) {
2282 PyObject *resultobj;
2283 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2284 int arg2 ;
2285 int arg3 ;
2286 wxMemoryBuffer result;
2287 PyObject * obj0 = 0 ;
2288 PyObject * obj1 = 0 ;
2289 PyObject * obj2 = 0 ;
2290 char *kwnames[] = {
2291 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
2292 };
2293
2294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
2295 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2296 if (SWIG_arg_fail(1)) SWIG_fail;
2297 {
2298 arg2 = (int)(SWIG_As_int(obj1));
2299 if (SWIG_arg_fail(2)) SWIG_fail;
2300 }
2301 {
2302 arg3 = (int)(SWIG_As_int(obj2));
2303 if (SWIG_arg_fail(3)) SWIG_fail;
2304 }
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 result = (arg1)->GetStyledText(arg2,arg3);
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 {
2313 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
2314 }
2315 return resultobj;
2316 fail:
2317 return NULL;
2318 }
2319
2320
2321 static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *, PyObject *args, PyObject *kwargs) {
2322 PyObject *resultobj;
2323 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2324 bool result;
2325 PyObject * obj0 = 0 ;
2326 char *kwnames[] = {
2327 (char *) "self", NULL
2328 };
2329
2330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
2331 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2332 if (SWIG_arg_fail(1)) SWIG_fail;
2333 {
2334 PyThreadState* __tstate = wxPyBeginAllowThreads();
2335 result = (bool)(arg1)->CanRedo();
2336
2337 wxPyEndAllowThreads(__tstate);
2338 if (PyErr_Occurred()) SWIG_fail;
2339 }
2340 {
2341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2342 }
2343 return resultobj;
2344 fail:
2345 return NULL;
2346 }
2347
2348
2349 static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *, PyObject *args, PyObject *kwargs) {
2350 PyObject *resultobj;
2351 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2352 int arg2 ;
2353 int result;
2354 PyObject * obj0 = 0 ;
2355 PyObject * obj1 = 0 ;
2356 char *kwnames[] = {
2357 (char *) "self",(char *) "handle", NULL
2358 };
2359
2360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
2361 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2362 if (SWIG_arg_fail(1)) SWIG_fail;
2363 {
2364 arg2 = (int)(SWIG_As_int(obj1));
2365 if (SWIG_arg_fail(2)) SWIG_fail;
2366 }
2367 {
2368 PyThreadState* __tstate = wxPyBeginAllowThreads();
2369 result = (int)(arg1)->MarkerLineFromHandle(arg2);
2370
2371 wxPyEndAllowThreads(__tstate);
2372 if (PyErr_Occurred()) SWIG_fail;
2373 }
2374 {
2375 resultobj = SWIG_From_int((int)(result));
2376 }
2377 return resultobj;
2378 fail:
2379 return NULL;
2380 }
2381
2382
2383 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *, PyObject *args, PyObject *kwargs) {
2384 PyObject *resultobj;
2385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2386 int arg2 ;
2387 PyObject * obj0 = 0 ;
2388 PyObject * obj1 = 0 ;
2389 char *kwnames[] = {
2390 (char *) "self",(char *) "handle", NULL
2391 };
2392
2393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
2394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2395 if (SWIG_arg_fail(1)) SWIG_fail;
2396 {
2397 arg2 = (int)(SWIG_As_int(obj1));
2398 if (SWIG_arg_fail(2)) SWIG_fail;
2399 }
2400 {
2401 PyThreadState* __tstate = wxPyBeginAllowThreads();
2402 (arg1)->MarkerDeleteHandle(arg2);
2403
2404 wxPyEndAllowThreads(__tstate);
2405 if (PyErr_Occurred()) SWIG_fail;
2406 }
2407 Py_INCREF(Py_None); resultobj = Py_None;
2408 return resultobj;
2409 fail:
2410 return NULL;
2411 }
2412
2413
2414 static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *, PyObject *args, PyObject *kwargs) {
2415 PyObject *resultobj;
2416 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2417 bool result;
2418 PyObject * obj0 = 0 ;
2419 char *kwnames[] = {
2420 (char *) "self", NULL
2421 };
2422
2423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
2424 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2425 if (SWIG_arg_fail(1)) SWIG_fail;
2426 {
2427 PyThreadState* __tstate = wxPyBeginAllowThreads();
2428 result = (bool)(arg1)->GetUndoCollection();
2429
2430 wxPyEndAllowThreads(__tstate);
2431 if (PyErr_Occurred()) SWIG_fail;
2432 }
2433 {
2434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2435 }
2436 return resultobj;
2437 fail:
2438 return NULL;
2439 }
2440
2441
2442 static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
2443 PyObject *resultobj;
2444 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2445 int result;
2446 PyObject * obj0 = 0 ;
2447 char *kwnames[] = {
2448 (char *) "self", NULL
2449 };
2450
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
2452 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2453 if (SWIG_arg_fail(1)) SWIG_fail;
2454 {
2455 PyThreadState* __tstate = wxPyBeginAllowThreads();
2456 result = (int)(arg1)->GetViewWhiteSpace();
2457
2458 wxPyEndAllowThreads(__tstate);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 }
2461 {
2462 resultobj = SWIG_From_int((int)(result));
2463 }
2464 return resultobj;
2465 fail:
2466 return NULL;
2467 }
2468
2469
2470 static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *, PyObject *args, PyObject *kwargs) {
2471 PyObject *resultobj;
2472 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2473 int arg2 ;
2474 PyObject * obj0 = 0 ;
2475 PyObject * obj1 = 0 ;
2476 char *kwnames[] = {
2477 (char *) "self",(char *) "viewWS", NULL
2478 };
2479
2480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
2481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2482 if (SWIG_arg_fail(1)) SWIG_fail;
2483 {
2484 arg2 = (int)(SWIG_As_int(obj1));
2485 if (SWIG_arg_fail(2)) SWIG_fail;
2486 }
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 (arg1)->SetViewWhiteSpace(arg2);
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
2494 Py_INCREF(Py_None); resultobj = Py_None;
2495 return resultobj;
2496 fail:
2497 return NULL;
2498 }
2499
2500
2501 static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
2502 PyObject *resultobj;
2503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2504 wxPoint arg2 ;
2505 int result;
2506 PyObject * obj0 = 0 ;
2507 PyObject * obj1 = 0 ;
2508 char *kwnames[] = {
2509 (char *) "self",(char *) "pt", NULL
2510 };
2511
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
2513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2514 if (SWIG_arg_fail(1)) SWIG_fail;
2515 {
2516 wxPoint * argp;
2517 SWIG_Python_ConvertPtr(obj1, (void **)&argp, SWIGTYPE_p_wxPoint, SWIG_POINTER_EXCEPTION);
2518 if (SWIG_arg_fail(2)) SWIG_fail;
2519 if (argp == NULL) {
2520 SWIG_null_ref("wxPoint");
2521 }
2522 if (SWIG_arg_fail(2)) SWIG_fail;
2523 arg2 = *argp;
2524 }
2525 {
2526 PyThreadState* __tstate = wxPyBeginAllowThreads();
2527 result = (int)(arg1)->PositionFromPoint(arg2);
2528
2529 wxPyEndAllowThreads(__tstate);
2530 if (PyErr_Occurred()) SWIG_fail;
2531 }
2532 {
2533 resultobj = SWIG_From_int((int)(result));
2534 }
2535 return resultobj;
2536 fail:
2537 return NULL;
2538 }
2539
2540
2541 static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *, PyObject *args, PyObject *kwargs) {
2542 PyObject *resultobj;
2543 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2544 int arg2 ;
2545 int arg3 ;
2546 int result;
2547 PyObject * obj0 = 0 ;
2548 PyObject * obj1 = 0 ;
2549 PyObject * obj2 = 0 ;
2550 char *kwnames[] = {
2551 (char *) "self",(char *) "x",(char *) "y", NULL
2552 };
2553
2554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
2555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2556 if (SWIG_arg_fail(1)) SWIG_fail;
2557 {
2558 arg2 = (int)(SWIG_As_int(obj1));
2559 if (SWIG_arg_fail(2)) SWIG_fail;
2560 }
2561 {
2562 arg3 = (int)(SWIG_As_int(obj2));
2563 if (SWIG_arg_fail(3)) SWIG_fail;
2564 }
2565 {
2566 PyThreadState* __tstate = wxPyBeginAllowThreads();
2567 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
2568
2569 wxPyEndAllowThreads(__tstate);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 {
2573 resultobj = SWIG_From_int((int)(result));
2574 }
2575 return resultobj;
2576 fail:
2577 return NULL;
2578 }
2579
2580
2581 static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *, PyObject *args, PyObject *kwargs) {
2582 PyObject *resultobj;
2583 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2584 int arg2 ;
2585 PyObject * obj0 = 0 ;
2586 PyObject * obj1 = 0 ;
2587 char *kwnames[] = {
2588 (char *) "self",(char *) "line", NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
2592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2593 if (SWIG_arg_fail(1)) SWIG_fail;
2594 {
2595 arg2 = (int)(SWIG_As_int(obj1));
2596 if (SWIG_arg_fail(2)) SWIG_fail;
2597 }
2598 {
2599 PyThreadState* __tstate = wxPyBeginAllowThreads();
2600 (arg1)->GotoLine(arg2);
2601
2602 wxPyEndAllowThreads(__tstate);
2603 if (PyErr_Occurred()) SWIG_fail;
2604 }
2605 Py_INCREF(Py_None); resultobj = Py_None;
2606 return resultobj;
2607 fail:
2608 return NULL;
2609 }
2610
2611
2612 static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *, PyObject *args, PyObject *kwargs) {
2613 PyObject *resultobj;
2614 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2615 int arg2 ;
2616 PyObject * obj0 = 0 ;
2617 PyObject * obj1 = 0 ;
2618 char *kwnames[] = {
2619 (char *) "self",(char *) "pos", NULL
2620 };
2621
2622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
2623 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2624 if (SWIG_arg_fail(1)) SWIG_fail;
2625 {
2626 arg2 = (int)(SWIG_As_int(obj1));
2627 if (SWIG_arg_fail(2)) SWIG_fail;
2628 }
2629 {
2630 PyThreadState* __tstate = wxPyBeginAllowThreads();
2631 (arg1)->GotoPos(arg2);
2632
2633 wxPyEndAllowThreads(__tstate);
2634 if (PyErr_Occurred()) SWIG_fail;
2635 }
2636 Py_INCREF(Py_None); resultobj = Py_None;
2637 return resultobj;
2638 fail:
2639 return NULL;
2640 }
2641
2642
2643 static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
2644 PyObject *resultobj;
2645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2646 int arg2 ;
2647 PyObject * obj0 = 0 ;
2648 PyObject * obj1 = 0 ;
2649 char *kwnames[] = {
2650 (char *) "self",(char *) "posAnchor", NULL
2651 };
2652
2653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
2654 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2655 if (SWIG_arg_fail(1)) SWIG_fail;
2656 {
2657 arg2 = (int)(SWIG_As_int(obj1));
2658 if (SWIG_arg_fail(2)) SWIG_fail;
2659 }
2660 {
2661 PyThreadState* __tstate = wxPyBeginAllowThreads();
2662 (arg1)->SetAnchor(arg2);
2663
2664 wxPyEndAllowThreads(__tstate);
2665 if (PyErr_Occurred()) SWIG_fail;
2666 }
2667 Py_INCREF(Py_None); resultobj = Py_None;
2668 return resultobj;
2669 fail:
2670 return NULL;
2671 }
2672
2673
2674 static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *, PyObject *args, PyObject *kwargs) {
2675 PyObject *resultobj;
2676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2677 int *arg2 = (int *) 0 ;
2678 wxString result;
2679 int temp2 ;
2680 int res2 = 0 ;
2681 PyObject * obj0 = 0 ;
2682 char *kwnames[] = {
2683 (char *) "self", NULL
2684 };
2685
2686 arg2 = &temp2; res2 = SWIG_NEWOBJ;
2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
2688 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2689 if (SWIG_arg_fail(1)) SWIG_fail;
2690 {
2691 PyThreadState* __tstate = wxPyBeginAllowThreads();
2692 result = (arg1)->GetCurLine(arg2);
2693
2694 wxPyEndAllowThreads(__tstate);
2695 if (PyErr_Occurred()) SWIG_fail;
2696 }
2697 {
2698 #if wxUSE_UNICODE
2699 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2700 #else
2701 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2702 #endif
2703 }
2704 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
2705 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
2706 return resultobj;
2707 fail:
2708 return NULL;
2709 }
2710
2711
2712 static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *, PyObject *args, PyObject *kwargs) {
2713 PyObject *resultobj;
2714 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2715 int result;
2716 PyObject * obj0 = 0 ;
2717 char *kwnames[] = {
2718 (char *) "self", NULL
2719 };
2720
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
2722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2723 if (SWIG_arg_fail(1)) SWIG_fail;
2724 {
2725 PyThreadState* __tstate = wxPyBeginAllowThreads();
2726 result = (int)(arg1)->GetEndStyled();
2727
2728 wxPyEndAllowThreads(__tstate);
2729 if (PyErr_Occurred()) SWIG_fail;
2730 }
2731 {
2732 resultobj = SWIG_From_int((int)(result));
2733 }
2734 return resultobj;
2735 fail:
2736 return NULL;
2737 }
2738
2739
2740 static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *, PyObject *args, PyObject *kwargs) {
2741 PyObject *resultobj;
2742 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2743 int arg2 ;
2744 PyObject * obj0 = 0 ;
2745 PyObject * obj1 = 0 ;
2746 char *kwnames[] = {
2747 (char *) "self",(char *) "eolMode", NULL
2748 };
2749
2750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
2751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2752 if (SWIG_arg_fail(1)) SWIG_fail;
2753 {
2754 arg2 = (int)(SWIG_As_int(obj1));
2755 if (SWIG_arg_fail(2)) SWIG_fail;
2756 }
2757 {
2758 PyThreadState* __tstate = wxPyBeginAllowThreads();
2759 (arg1)->ConvertEOLs(arg2);
2760
2761 wxPyEndAllowThreads(__tstate);
2762 if (PyErr_Occurred()) SWIG_fail;
2763 }
2764 Py_INCREF(Py_None); resultobj = Py_None;
2765 return resultobj;
2766 fail:
2767 return NULL;
2768 }
2769
2770
2771 static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
2772 PyObject *resultobj;
2773 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2774 int result;
2775 PyObject * obj0 = 0 ;
2776 char *kwnames[] = {
2777 (char *) "self", NULL
2778 };
2779
2780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
2781 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2782 if (SWIG_arg_fail(1)) SWIG_fail;
2783 {
2784 PyThreadState* __tstate = wxPyBeginAllowThreads();
2785 result = (int)(arg1)->GetEOLMode();
2786
2787 wxPyEndAllowThreads(__tstate);
2788 if (PyErr_Occurred()) SWIG_fail;
2789 }
2790 {
2791 resultobj = SWIG_From_int((int)(result));
2792 }
2793 return resultobj;
2794 fail:
2795 return NULL;
2796 }
2797
2798
2799 static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *, PyObject *args, PyObject *kwargs) {
2800 PyObject *resultobj;
2801 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2802 int arg2 ;
2803 PyObject * obj0 = 0 ;
2804 PyObject * obj1 = 0 ;
2805 char *kwnames[] = {
2806 (char *) "self",(char *) "eolMode", NULL
2807 };
2808
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
2810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2811 if (SWIG_arg_fail(1)) SWIG_fail;
2812 {
2813 arg2 = (int)(SWIG_As_int(obj1));
2814 if (SWIG_arg_fail(2)) SWIG_fail;
2815 }
2816 {
2817 PyThreadState* __tstate = wxPyBeginAllowThreads();
2818 (arg1)->SetEOLMode(arg2);
2819
2820 wxPyEndAllowThreads(__tstate);
2821 if (PyErr_Occurred()) SWIG_fail;
2822 }
2823 Py_INCREF(Py_None); resultobj = Py_None;
2824 return resultobj;
2825 fail:
2826 return NULL;
2827 }
2828
2829
2830 static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *, PyObject *args, PyObject *kwargs) {
2831 PyObject *resultobj;
2832 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2833 int arg2 ;
2834 int arg3 ;
2835 PyObject * obj0 = 0 ;
2836 PyObject * obj1 = 0 ;
2837 PyObject * obj2 = 0 ;
2838 char *kwnames[] = {
2839 (char *) "self",(char *) "pos",(char *) "mask", NULL
2840 };
2841
2842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2843 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2844 if (SWIG_arg_fail(1)) SWIG_fail;
2845 {
2846 arg2 = (int)(SWIG_As_int(obj1));
2847 if (SWIG_arg_fail(2)) SWIG_fail;
2848 }
2849 {
2850 arg3 = (int)(SWIG_As_int(obj2));
2851 if (SWIG_arg_fail(3)) SWIG_fail;
2852 }
2853 {
2854 PyThreadState* __tstate = wxPyBeginAllowThreads();
2855 (arg1)->StartStyling(arg2,arg3);
2856
2857 wxPyEndAllowThreads(__tstate);
2858 if (PyErr_Occurred()) SWIG_fail;
2859 }
2860 Py_INCREF(Py_None); resultobj = Py_None;
2861 return resultobj;
2862 fail:
2863 return NULL;
2864 }
2865
2866
2867 static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *, PyObject *args, PyObject *kwargs) {
2868 PyObject *resultobj;
2869 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2870 int arg2 ;
2871 int arg3 ;
2872 PyObject * obj0 = 0 ;
2873 PyObject * obj1 = 0 ;
2874 PyObject * obj2 = 0 ;
2875 char *kwnames[] = {
2876 (char *) "self",(char *) "length",(char *) "style", NULL
2877 };
2878
2879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
2880 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2881 if (SWIG_arg_fail(1)) SWIG_fail;
2882 {
2883 arg2 = (int)(SWIG_As_int(obj1));
2884 if (SWIG_arg_fail(2)) SWIG_fail;
2885 }
2886 {
2887 arg3 = (int)(SWIG_As_int(obj2));
2888 if (SWIG_arg_fail(3)) SWIG_fail;
2889 }
2890 {
2891 PyThreadState* __tstate = wxPyBeginAllowThreads();
2892 (arg1)->SetStyling(arg2,arg3);
2893
2894 wxPyEndAllowThreads(__tstate);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 }
2897 Py_INCREF(Py_None); resultobj = Py_None;
2898 return resultobj;
2899 fail:
2900 return NULL;
2901 }
2902
2903
2904 static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
2905 PyObject *resultobj;
2906 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2907 bool result;
2908 PyObject * obj0 = 0 ;
2909 char *kwnames[] = {
2910 (char *) "self", NULL
2911 };
2912
2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
2914 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2915 if (SWIG_arg_fail(1)) SWIG_fail;
2916 {
2917 PyThreadState* __tstate = wxPyBeginAllowThreads();
2918 result = (bool)(arg1)->GetBufferedDraw();
2919
2920 wxPyEndAllowThreads(__tstate);
2921 if (PyErr_Occurred()) SWIG_fail;
2922 }
2923 {
2924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2925 }
2926 return resultobj;
2927 fail:
2928 return NULL;
2929 }
2930
2931
2932 static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *, PyObject *args, PyObject *kwargs) {
2933 PyObject *resultobj;
2934 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2935 bool arg2 ;
2936 PyObject * obj0 = 0 ;
2937 PyObject * obj1 = 0 ;
2938 char *kwnames[] = {
2939 (char *) "self",(char *) "buffered", NULL
2940 };
2941
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
2943 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2944 if (SWIG_arg_fail(1)) SWIG_fail;
2945 {
2946 arg2 = (bool)(SWIG_As_bool(obj1));
2947 if (SWIG_arg_fail(2)) SWIG_fail;
2948 }
2949 {
2950 PyThreadState* __tstate = wxPyBeginAllowThreads();
2951 (arg1)->SetBufferedDraw(arg2);
2952
2953 wxPyEndAllowThreads(__tstate);
2954 if (PyErr_Occurred()) SWIG_fail;
2955 }
2956 Py_INCREF(Py_None); resultobj = Py_None;
2957 return resultobj;
2958 fail:
2959 return NULL;
2960 }
2961
2962
2963 static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2964 PyObject *resultobj;
2965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2966 int arg2 ;
2967 PyObject * obj0 = 0 ;
2968 PyObject * obj1 = 0 ;
2969 char *kwnames[] = {
2970 (char *) "self",(char *) "tabWidth", NULL
2971 };
2972
2973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
2974 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
2975 if (SWIG_arg_fail(1)) SWIG_fail;
2976 {
2977 arg2 = (int)(SWIG_As_int(obj1));
2978 if (SWIG_arg_fail(2)) SWIG_fail;
2979 }
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 (arg1)->SetTabWidth(arg2);
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 Py_INCREF(Py_None); resultobj = Py_None;
2988 return resultobj;
2989 fail:
2990 return NULL;
2991 }
2992
2993
2994 static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *, PyObject *args, PyObject *kwargs) {
2995 PyObject *resultobj;
2996 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2997 int result;
2998 PyObject * obj0 = 0 ;
2999 char *kwnames[] = {
3000 (char *) "self", NULL
3001 };
3002
3003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
3004 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3005 if (SWIG_arg_fail(1)) SWIG_fail;
3006 {
3007 PyThreadState* __tstate = wxPyBeginAllowThreads();
3008 result = (int)(arg1)->GetTabWidth();
3009
3010 wxPyEndAllowThreads(__tstate);
3011 if (PyErr_Occurred()) SWIG_fail;
3012 }
3013 {
3014 resultobj = SWIG_From_int((int)(result));
3015 }
3016 return resultobj;
3017 fail:
3018 return NULL;
3019 }
3020
3021
3022 static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
3023 PyObject *resultobj;
3024 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3025 int arg2 ;
3026 PyObject * obj0 = 0 ;
3027 PyObject * obj1 = 0 ;
3028 char *kwnames[] = {
3029 (char *) "self",(char *) "codePage", NULL
3030 };
3031
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
3033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3034 if (SWIG_arg_fail(1)) SWIG_fail;
3035 {
3036 arg2 = (int)(SWIG_As_int(obj1));
3037 if (SWIG_arg_fail(2)) SWIG_fail;
3038 }
3039 {
3040 PyThreadState* __tstate = wxPyBeginAllowThreads();
3041 (arg1)->SetCodePage(arg2);
3042
3043 wxPyEndAllowThreads(__tstate);
3044 if (PyErr_Occurred()) SWIG_fail;
3045 }
3046 Py_INCREF(Py_None); resultobj = Py_None;
3047 return resultobj;
3048 fail:
3049 return NULL;
3050 }
3051
3052
3053 static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *, PyObject *args, PyObject *kwargs) {
3054 PyObject *resultobj;
3055 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3056 int arg2 ;
3057 int arg3 ;
3058 wxColour const &arg4_defvalue = wxNullColour ;
3059 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
3060 wxColour const &arg5_defvalue = wxNullColour ;
3061 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
3062 wxColour temp4 ;
3063 wxColour temp5 ;
3064 PyObject * obj0 = 0 ;
3065 PyObject * obj1 = 0 ;
3066 PyObject * obj2 = 0 ;
3067 PyObject * obj3 = 0 ;
3068 PyObject * obj4 = 0 ;
3069 char *kwnames[] = {
3070 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
3071 };
3072
3073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3074 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3075 if (SWIG_arg_fail(1)) SWIG_fail;
3076 {
3077 arg2 = (int)(SWIG_As_int(obj1));
3078 if (SWIG_arg_fail(2)) SWIG_fail;
3079 }
3080 {
3081 arg3 = (int)(SWIG_As_int(obj2));
3082 if (SWIG_arg_fail(3)) SWIG_fail;
3083 }
3084 if (obj3) {
3085 {
3086 arg4 = &temp4;
3087 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
3088 }
3089 }
3090 if (obj4) {
3091 {
3092 arg5 = &temp5;
3093 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
3094 }
3095 }
3096 {
3097 PyThreadState* __tstate = wxPyBeginAllowThreads();
3098 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
3099
3100 wxPyEndAllowThreads(__tstate);
3101 if (PyErr_Occurred()) SWIG_fail;
3102 }
3103 Py_INCREF(Py_None); resultobj = Py_None;
3104 return resultobj;
3105 fail:
3106 return NULL;
3107 }
3108
3109
3110 static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
3111 PyObject *resultobj;
3112 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3113 int arg2 ;
3114 wxColour *arg3 = 0 ;
3115 wxColour temp3 ;
3116 PyObject * obj0 = 0 ;
3117 PyObject * obj1 = 0 ;
3118 PyObject * obj2 = 0 ;
3119 char *kwnames[] = {
3120 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
3121 };
3122
3123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3124 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3125 if (SWIG_arg_fail(1)) SWIG_fail;
3126 {
3127 arg2 = (int)(SWIG_As_int(obj1));
3128 if (SWIG_arg_fail(2)) SWIG_fail;
3129 }
3130 {
3131 arg3 = &temp3;
3132 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3133 }
3134 {
3135 PyThreadState* __tstate = wxPyBeginAllowThreads();
3136 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
3137
3138 wxPyEndAllowThreads(__tstate);
3139 if (PyErr_Occurred()) SWIG_fail;
3140 }
3141 Py_INCREF(Py_None); resultobj = Py_None;
3142 return resultobj;
3143 fail:
3144 return NULL;
3145 }
3146
3147
3148 static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
3149 PyObject *resultobj;
3150 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3151 int arg2 ;
3152 wxColour *arg3 = 0 ;
3153 wxColour temp3 ;
3154 PyObject * obj0 = 0 ;
3155 PyObject * obj1 = 0 ;
3156 PyObject * obj2 = 0 ;
3157 char *kwnames[] = {
3158 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
3159 };
3160
3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3163 if (SWIG_arg_fail(1)) SWIG_fail;
3164 {
3165 arg2 = (int)(SWIG_As_int(obj1));
3166 if (SWIG_arg_fail(2)) SWIG_fail;
3167 }
3168 {
3169 arg3 = &temp3;
3170 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3171 }
3172 {
3173 PyThreadState* __tstate = wxPyBeginAllowThreads();
3174 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
3175
3176 wxPyEndAllowThreads(__tstate);
3177 if (PyErr_Occurred()) SWIG_fail;
3178 }
3179 Py_INCREF(Py_None); resultobj = Py_None;
3180 return resultobj;
3181 fail:
3182 return NULL;
3183 }
3184
3185
3186 static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *, PyObject *args, PyObject *kwargs) {
3187 PyObject *resultobj;
3188 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3189 int arg2 ;
3190 int arg3 ;
3191 int result;
3192 PyObject * obj0 = 0 ;
3193 PyObject * obj1 = 0 ;
3194 PyObject * obj2 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
3200 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3201 if (SWIG_arg_fail(1)) SWIG_fail;
3202 {
3203 arg2 = (int)(SWIG_As_int(obj1));
3204 if (SWIG_arg_fail(2)) SWIG_fail;
3205 }
3206 {
3207 arg3 = (int)(SWIG_As_int(obj2));
3208 if (SWIG_arg_fail(3)) SWIG_fail;
3209 }
3210 {
3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
3212 result = (int)(arg1)->MarkerAdd(arg2,arg3);
3213
3214 wxPyEndAllowThreads(__tstate);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 }
3217 {
3218 resultobj = SWIG_From_int((int)(result));
3219 }
3220 return resultobj;
3221 fail:
3222 return NULL;
3223 }
3224
3225
3226 static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *, PyObject *args, PyObject *kwargs) {
3227 PyObject *resultobj;
3228 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3229 int arg2 ;
3230 int arg3 ;
3231 PyObject * obj0 = 0 ;
3232 PyObject * obj1 = 0 ;
3233 PyObject * obj2 = 0 ;
3234 char *kwnames[] = {
3235 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
3236 };
3237
3238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
3239 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3240 if (SWIG_arg_fail(1)) SWIG_fail;
3241 {
3242 arg2 = (int)(SWIG_As_int(obj1));
3243 if (SWIG_arg_fail(2)) SWIG_fail;
3244 }
3245 {
3246 arg3 = (int)(SWIG_As_int(obj2));
3247 if (SWIG_arg_fail(3)) SWIG_fail;
3248 }
3249 {
3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
3251 (arg1)->MarkerDelete(arg2,arg3);
3252
3253 wxPyEndAllowThreads(__tstate);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 }
3256 Py_INCREF(Py_None); resultobj = Py_None;
3257 return resultobj;
3258 fail:
3259 return NULL;
3260 }
3261
3262
3263 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *, PyObject *args, PyObject *kwargs) {
3264 PyObject *resultobj;
3265 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3266 int arg2 ;
3267 PyObject * obj0 = 0 ;
3268 PyObject * obj1 = 0 ;
3269 char *kwnames[] = {
3270 (char *) "self",(char *) "markerNumber", NULL
3271 };
3272
3273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
3274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3275 if (SWIG_arg_fail(1)) SWIG_fail;
3276 {
3277 arg2 = (int)(SWIG_As_int(obj1));
3278 if (SWIG_arg_fail(2)) SWIG_fail;
3279 }
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 (arg1)->MarkerDeleteAll(arg2);
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 Py_INCREF(Py_None); resultobj = Py_None;
3288 return resultobj;
3289 fail:
3290 return NULL;
3291 }
3292
3293
3294 static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *, PyObject *args, PyObject *kwargs) {
3295 PyObject *resultobj;
3296 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3297 int arg2 ;
3298 int result;
3299 PyObject * obj0 = 0 ;
3300 PyObject * obj1 = 0 ;
3301 char *kwnames[] = {
3302 (char *) "self",(char *) "line", NULL
3303 };
3304
3305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
3306 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3307 if (SWIG_arg_fail(1)) SWIG_fail;
3308 {
3309 arg2 = (int)(SWIG_As_int(obj1));
3310 if (SWIG_arg_fail(2)) SWIG_fail;
3311 }
3312 {
3313 PyThreadState* __tstate = wxPyBeginAllowThreads();
3314 result = (int)(arg1)->MarkerGet(arg2);
3315
3316 wxPyEndAllowThreads(__tstate);
3317 if (PyErr_Occurred()) SWIG_fail;
3318 }
3319 {
3320 resultobj = SWIG_From_int((int)(result));
3321 }
3322 return resultobj;
3323 fail:
3324 return NULL;
3325 }
3326
3327
3328 static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *, PyObject *args, PyObject *kwargs) {
3329 PyObject *resultobj;
3330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3331 int arg2 ;
3332 int arg3 ;
3333 int result;
3334 PyObject * obj0 = 0 ;
3335 PyObject * obj1 = 0 ;
3336 PyObject * obj2 = 0 ;
3337 char *kwnames[] = {
3338 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
3339 };
3340
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
3342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3343 if (SWIG_arg_fail(1)) SWIG_fail;
3344 {
3345 arg2 = (int)(SWIG_As_int(obj1));
3346 if (SWIG_arg_fail(2)) SWIG_fail;
3347 }
3348 {
3349 arg3 = (int)(SWIG_As_int(obj2));
3350 if (SWIG_arg_fail(3)) SWIG_fail;
3351 }
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 result = (int)(arg1)->MarkerNext(arg2,arg3);
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 {
3360 resultobj = SWIG_From_int((int)(result));
3361 }
3362 return resultobj;
3363 fail:
3364 return NULL;
3365 }
3366
3367
3368 static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *, PyObject *args, PyObject *kwargs) {
3369 PyObject *resultobj;
3370 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3371 int arg2 ;
3372 int arg3 ;
3373 int result;
3374 PyObject * obj0 = 0 ;
3375 PyObject * obj1 = 0 ;
3376 PyObject * obj2 = 0 ;
3377 char *kwnames[] = {
3378 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
3379 };
3380
3381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
3382 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3383 if (SWIG_arg_fail(1)) SWIG_fail;
3384 {
3385 arg2 = (int)(SWIG_As_int(obj1));
3386 if (SWIG_arg_fail(2)) SWIG_fail;
3387 }
3388 {
3389 arg3 = (int)(SWIG_As_int(obj2));
3390 if (SWIG_arg_fail(3)) SWIG_fail;
3391 }
3392 {
3393 PyThreadState* __tstate = wxPyBeginAllowThreads();
3394 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
3395
3396 wxPyEndAllowThreads(__tstate);
3397 if (PyErr_Occurred()) SWIG_fail;
3398 }
3399 {
3400 resultobj = SWIG_From_int((int)(result));
3401 }
3402 return resultobj;
3403 fail:
3404 return NULL;
3405 }
3406
3407
3408 static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
3409 PyObject *resultobj;
3410 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3411 int arg2 ;
3412 wxBitmap *arg3 = 0 ;
3413 PyObject * obj0 = 0 ;
3414 PyObject * obj1 = 0 ;
3415 PyObject * obj2 = 0 ;
3416 char *kwnames[] = {
3417 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
3418 };
3419
3420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
3421 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3422 if (SWIG_arg_fail(1)) SWIG_fail;
3423 {
3424 arg2 = (int)(SWIG_As_int(obj1));
3425 if (SWIG_arg_fail(2)) SWIG_fail;
3426 }
3427 {
3428 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
3429 if (SWIG_arg_fail(3)) SWIG_fail;
3430 if (arg3 == NULL) {
3431 SWIG_null_ref("wxBitmap");
3432 }
3433 if (SWIG_arg_fail(3)) SWIG_fail;
3434 }
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
3437 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
3442 Py_INCREF(Py_None); resultobj = Py_None;
3443 return resultobj;
3444 fail:
3445 return NULL;
3446 }
3447
3448
3449 static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
3450 PyObject *resultobj;
3451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3452 int arg2 ;
3453 int arg3 ;
3454 PyObject * obj0 = 0 ;
3455 PyObject * obj1 = 0 ;
3456 PyObject * obj2 = 0 ;
3457 char *kwnames[] = {
3458 (char *) "self",(char *) "margin",(char *) "marginType", NULL
3459 };
3460
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
3462 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3463 if (SWIG_arg_fail(1)) SWIG_fail;
3464 {
3465 arg2 = (int)(SWIG_As_int(obj1));
3466 if (SWIG_arg_fail(2)) SWIG_fail;
3467 }
3468 {
3469 arg3 = (int)(SWIG_As_int(obj2));
3470 if (SWIG_arg_fail(3)) SWIG_fail;
3471 }
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 (arg1)->SetMarginType(arg2,arg3);
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 Py_INCREF(Py_None); resultobj = Py_None;
3480 return resultobj;
3481 fail:
3482 return NULL;
3483 }
3484
3485
3486 static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *, PyObject *args, PyObject *kwargs) {
3487 PyObject *resultobj;
3488 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3489 int arg2 ;
3490 int result;
3491 PyObject * obj0 = 0 ;
3492 PyObject * obj1 = 0 ;
3493 char *kwnames[] = {
3494 (char *) "self",(char *) "margin", NULL
3495 };
3496
3497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
3498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3499 if (SWIG_arg_fail(1)) SWIG_fail;
3500 {
3501 arg2 = (int)(SWIG_As_int(obj1));
3502 if (SWIG_arg_fail(2)) SWIG_fail;
3503 }
3504 {
3505 PyThreadState* __tstate = wxPyBeginAllowThreads();
3506 result = (int)(arg1)->GetMarginType(arg2);
3507
3508 wxPyEndAllowThreads(__tstate);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 {
3512 resultobj = SWIG_From_int((int)(result));
3513 }
3514 return resultobj;
3515 fail:
3516 return NULL;
3517 }
3518
3519
3520 static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3521 PyObject *resultobj;
3522 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3523 int arg2 ;
3524 int arg3 ;
3525 PyObject * obj0 = 0 ;
3526 PyObject * obj1 = 0 ;
3527 PyObject * obj2 = 0 ;
3528 char *kwnames[] = {
3529 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
3530 };
3531
3532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
3533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3534 if (SWIG_arg_fail(1)) SWIG_fail;
3535 {
3536 arg2 = (int)(SWIG_As_int(obj1));
3537 if (SWIG_arg_fail(2)) SWIG_fail;
3538 }
3539 {
3540 arg3 = (int)(SWIG_As_int(obj2));
3541 if (SWIG_arg_fail(3)) SWIG_fail;
3542 }
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 (arg1)->SetMarginWidth(arg2,arg3);
3546
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 }
3550 Py_INCREF(Py_None); resultobj = Py_None;
3551 return resultobj;
3552 fail:
3553 return NULL;
3554 }
3555
3556
3557 static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
3558 PyObject *resultobj;
3559 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3560 int arg2 ;
3561 int result;
3562 PyObject * obj0 = 0 ;
3563 PyObject * obj1 = 0 ;
3564 char *kwnames[] = {
3565 (char *) "self",(char *) "margin", NULL
3566 };
3567
3568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
3569 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3570 if (SWIG_arg_fail(1)) SWIG_fail;
3571 {
3572 arg2 = (int)(SWIG_As_int(obj1));
3573 if (SWIG_arg_fail(2)) SWIG_fail;
3574 }
3575 {
3576 PyThreadState* __tstate = wxPyBeginAllowThreads();
3577 result = (int)(arg1)->GetMarginWidth(arg2);
3578
3579 wxPyEndAllowThreads(__tstate);
3580 if (PyErr_Occurred()) SWIG_fail;
3581 }
3582 {
3583 resultobj = SWIG_From_int((int)(result));
3584 }
3585 return resultobj;
3586 fail:
3587 return NULL;
3588 }
3589
3590
3591 static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3594 int arg2 ;
3595 int arg3 ;
3596 PyObject * obj0 = 0 ;
3597 PyObject * obj1 = 0 ;
3598 PyObject * obj2 = 0 ;
3599 char *kwnames[] = {
3600 (char *) "self",(char *) "margin",(char *) "mask", NULL
3601 };
3602
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
3604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3605 if (SWIG_arg_fail(1)) SWIG_fail;
3606 {
3607 arg2 = (int)(SWIG_As_int(obj1));
3608 if (SWIG_arg_fail(2)) SWIG_fail;
3609 }
3610 {
3611 arg3 = (int)(SWIG_As_int(obj2));
3612 if (SWIG_arg_fail(3)) SWIG_fail;
3613 }
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
3616 (arg1)->SetMarginMask(arg2,arg3);
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) SWIG_fail;
3620 }
3621 Py_INCREF(Py_None); resultobj = Py_None;
3622 return resultobj;
3623 fail:
3624 return NULL;
3625 }
3626
3627
3628 static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *, PyObject *args, PyObject *kwargs) {
3629 PyObject *resultobj;
3630 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3631 int arg2 ;
3632 int result;
3633 PyObject * obj0 = 0 ;
3634 PyObject * obj1 = 0 ;
3635 char *kwnames[] = {
3636 (char *) "self",(char *) "margin", NULL
3637 };
3638
3639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
3640 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3641 if (SWIG_arg_fail(1)) SWIG_fail;
3642 {
3643 arg2 = (int)(SWIG_As_int(obj1));
3644 if (SWIG_arg_fail(2)) SWIG_fail;
3645 }
3646 {
3647 PyThreadState* __tstate = wxPyBeginAllowThreads();
3648 result = (int)(arg1)->GetMarginMask(arg2);
3649
3650 wxPyEndAllowThreads(__tstate);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 {
3654 resultobj = SWIG_From_int((int)(result));
3655 }
3656 return resultobj;
3657 fail:
3658 return NULL;
3659 }
3660
3661
3662 static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
3663 PyObject *resultobj;
3664 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3665 int arg2 ;
3666 bool arg3 ;
3667 PyObject * obj0 = 0 ;
3668 PyObject * obj1 = 0 ;
3669 PyObject * obj2 = 0 ;
3670 char *kwnames[] = {
3671 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
3672 };
3673
3674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
3675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3676 if (SWIG_arg_fail(1)) SWIG_fail;
3677 {
3678 arg2 = (int)(SWIG_As_int(obj1));
3679 if (SWIG_arg_fail(2)) SWIG_fail;
3680 }
3681 {
3682 arg3 = (bool)(SWIG_As_bool(obj2));
3683 if (SWIG_arg_fail(3)) SWIG_fail;
3684 }
3685 {
3686 PyThreadState* __tstate = wxPyBeginAllowThreads();
3687 (arg1)->SetMarginSensitive(arg2,arg3);
3688
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 Py_INCREF(Py_None); resultobj = Py_None;
3693 return resultobj;
3694 fail:
3695 return NULL;
3696 }
3697
3698
3699 static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *, PyObject *args, PyObject *kwargs) {
3700 PyObject *resultobj;
3701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3702 int arg2 ;
3703 bool result;
3704 PyObject * obj0 = 0 ;
3705 PyObject * obj1 = 0 ;
3706 char *kwnames[] = {
3707 (char *) "self",(char *) "margin", NULL
3708 };
3709
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
3711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3712 if (SWIG_arg_fail(1)) SWIG_fail;
3713 {
3714 arg2 = (int)(SWIG_As_int(obj1));
3715 if (SWIG_arg_fail(2)) SWIG_fail;
3716 }
3717 {
3718 PyThreadState* __tstate = wxPyBeginAllowThreads();
3719 result = (bool)(arg1)->GetMarginSensitive(arg2);
3720
3721 wxPyEndAllowThreads(__tstate);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 }
3724 {
3725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3726 }
3727 return resultobj;
3728 fail:
3729 return NULL;
3730 }
3731
3732
3733 static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
3734 PyObject *resultobj;
3735 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3736 PyObject * obj0 = 0 ;
3737 char *kwnames[] = {
3738 (char *) "self", NULL
3739 };
3740
3741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
3742 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3743 if (SWIG_arg_fail(1)) SWIG_fail;
3744 {
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 (arg1)->StyleClearAll();
3747
3748 wxPyEndAllowThreads(__tstate);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 }
3751 Py_INCREF(Py_None); resultobj = Py_None;
3752 return resultobj;
3753 fail:
3754 return NULL;
3755 }
3756
3757
3758 static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
3759 PyObject *resultobj;
3760 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3761 int arg2 ;
3762 wxColour *arg3 = 0 ;
3763 wxColour temp3 ;
3764 PyObject * obj0 = 0 ;
3765 PyObject * obj1 = 0 ;
3766 PyObject * obj2 = 0 ;
3767 char *kwnames[] = {
3768 (char *) "self",(char *) "style",(char *) "fore", NULL
3769 };
3770
3771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3773 if (SWIG_arg_fail(1)) SWIG_fail;
3774 {
3775 arg2 = (int)(SWIG_As_int(obj1));
3776 if (SWIG_arg_fail(2)) SWIG_fail;
3777 }
3778 {
3779 arg3 = &temp3;
3780 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3781 }
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 Py_INCREF(Py_None); resultobj = Py_None;
3790 return resultobj;
3791 fail:
3792 return NULL;
3793 }
3794
3795
3796 static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj;
3798 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3799 int arg2 ;
3800 wxColour *arg3 = 0 ;
3801 wxColour temp3 ;
3802 PyObject * obj0 = 0 ;
3803 PyObject * obj1 = 0 ;
3804 PyObject * obj2 = 0 ;
3805 char *kwnames[] = {
3806 (char *) "self",(char *) "style",(char *) "back", NULL
3807 };
3808
3809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3810 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3811 if (SWIG_arg_fail(1)) SWIG_fail;
3812 {
3813 arg2 = (int)(SWIG_As_int(obj1));
3814 if (SWIG_arg_fail(2)) SWIG_fail;
3815 }
3816 {
3817 arg3 = &temp3;
3818 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3819 }
3820 {
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
3823
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 Py_INCREF(Py_None); resultobj = Py_None;
3828 return resultobj;
3829 fail:
3830 return NULL;
3831 }
3832
3833
3834 static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *, PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj;
3836 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3837 int arg2 ;
3838 bool arg3 ;
3839 PyObject * obj0 = 0 ;
3840 PyObject * obj1 = 0 ;
3841 PyObject * obj2 = 0 ;
3842 char *kwnames[] = {
3843 (char *) "self",(char *) "style",(char *) "bold", NULL
3844 };
3845
3846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
3847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3848 if (SWIG_arg_fail(1)) SWIG_fail;
3849 {
3850 arg2 = (int)(SWIG_As_int(obj1));
3851 if (SWIG_arg_fail(2)) SWIG_fail;
3852 }
3853 {
3854 arg3 = (bool)(SWIG_As_bool(obj2));
3855 if (SWIG_arg_fail(3)) SWIG_fail;
3856 }
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 (arg1)->StyleSetBold(arg2,arg3);
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 Py_INCREF(Py_None); resultobj = Py_None;
3865 return resultobj;
3866 fail:
3867 return NULL;
3868 }
3869
3870
3871 static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *, PyObject *args, PyObject *kwargs) {
3872 PyObject *resultobj;
3873 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3874 int arg2 ;
3875 bool arg3 ;
3876 PyObject * obj0 = 0 ;
3877 PyObject * obj1 = 0 ;
3878 PyObject * obj2 = 0 ;
3879 char *kwnames[] = {
3880 (char *) "self",(char *) "style",(char *) "italic", NULL
3881 };
3882
3883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
3884 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3885 if (SWIG_arg_fail(1)) SWIG_fail;
3886 {
3887 arg2 = (int)(SWIG_As_int(obj1));
3888 if (SWIG_arg_fail(2)) SWIG_fail;
3889 }
3890 {
3891 arg3 = (bool)(SWIG_As_bool(obj2));
3892 if (SWIG_arg_fail(3)) SWIG_fail;
3893 }
3894 {
3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
3896 (arg1)->StyleSetItalic(arg2,arg3);
3897
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 Py_INCREF(Py_None); resultobj = Py_None;
3902 return resultobj;
3903 fail:
3904 return NULL;
3905 }
3906
3907
3908 static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *, PyObject *args, PyObject *kwargs) {
3909 PyObject *resultobj;
3910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3911 int arg2 ;
3912 int arg3 ;
3913 PyObject * obj0 = 0 ;
3914 PyObject * obj1 = 0 ;
3915 PyObject * obj2 = 0 ;
3916 char *kwnames[] = {
3917 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
3918 };
3919
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
3921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3922 if (SWIG_arg_fail(1)) SWIG_fail;
3923 {
3924 arg2 = (int)(SWIG_As_int(obj1));
3925 if (SWIG_arg_fail(2)) SWIG_fail;
3926 }
3927 {
3928 arg3 = (int)(SWIG_As_int(obj2));
3929 if (SWIG_arg_fail(3)) SWIG_fail;
3930 }
3931 {
3932 PyThreadState* __tstate = wxPyBeginAllowThreads();
3933 (arg1)->StyleSetSize(arg2,arg3);
3934
3935 wxPyEndAllowThreads(__tstate);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 }
3938 Py_INCREF(Py_None); resultobj = Py_None;
3939 return resultobj;
3940 fail:
3941 return NULL;
3942 }
3943
3944
3945 static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *, PyObject *args, PyObject *kwargs) {
3946 PyObject *resultobj;
3947 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3948 int arg2 ;
3949 wxString *arg3 = 0 ;
3950 bool temp3 = false ;
3951 PyObject * obj0 = 0 ;
3952 PyObject * obj1 = 0 ;
3953 PyObject * obj2 = 0 ;
3954 char *kwnames[] = {
3955 (char *) "self",(char *) "style",(char *) "fontName", NULL
3956 };
3957
3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
3959 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
3960 if (SWIG_arg_fail(1)) SWIG_fail;
3961 {
3962 arg2 = (int)(SWIG_As_int(obj1));
3963 if (SWIG_arg_fail(2)) SWIG_fail;
3964 }
3965 {
3966 arg3 = wxString_in_helper(obj2);
3967 if (arg3 == NULL) SWIG_fail;
3968 temp3 = true;
3969 }
3970 {
3971 PyThreadState* __tstate = wxPyBeginAllowThreads();
3972 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
3973
3974 wxPyEndAllowThreads(__tstate);
3975 if (PyErr_Occurred()) SWIG_fail;
3976 }
3977 Py_INCREF(Py_None); resultobj = Py_None;
3978 {
3979 if (temp3)
3980 delete arg3;
3981 }
3982 return resultobj;
3983 fail:
3984 {
3985 if (temp3)
3986 delete arg3;
3987 }
3988 return NULL;
3989 }
3990
3991
3992 static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3995 int arg2 ;
3996 bool arg3 ;
3997 PyObject * obj0 = 0 ;
3998 PyObject * obj1 = 0 ;
3999 PyObject * obj2 = 0 ;
4000 char *kwnames[] = {
4001 (char *) "self",(char *) "style",(char *) "filled", NULL
4002 };
4003
4004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
4005 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4006 if (SWIG_arg_fail(1)) SWIG_fail;
4007 {
4008 arg2 = (int)(SWIG_As_int(obj1));
4009 if (SWIG_arg_fail(2)) SWIG_fail;
4010 }
4011 {
4012 arg3 = (bool)(SWIG_As_bool(obj2));
4013 if (SWIG_arg_fail(3)) SWIG_fail;
4014 }
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 (arg1)->StyleSetEOLFilled(arg2,arg3);
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 Py_INCREF(Py_None); resultobj = Py_None;
4023 return resultobj;
4024 fail:
4025 return NULL;
4026 }
4027
4028
4029 static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *, PyObject *args, PyObject *kwargs) {
4030 PyObject *resultobj;
4031 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4032 PyObject * obj0 = 0 ;
4033 char *kwnames[] = {
4034 (char *) "self", NULL
4035 };
4036
4037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
4038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4039 if (SWIG_arg_fail(1)) SWIG_fail;
4040 {
4041 PyThreadState* __tstate = wxPyBeginAllowThreads();
4042 (arg1)->StyleResetDefault();
4043
4044 wxPyEndAllowThreads(__tstate);
4045 if (PyErr_Occurred()) SWIG_fail;
4046 }
4047 Py_INCREF(Py_None); resultobj = Py_None;
4048 return resultobj;
4049 fail:
4050 return NULL;
4051 }
4052
4053
4054 static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
4055 PyObject *resultobj;
4056 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4057 int arg2 ;
4058 bool arg3 ;
4059 PyObject * obj0 = 0 ;
4060 PyObject * obj1 = 0 ;
4061 PyObject * obj2 = 0 ;
4062 char *kwnames[] = {
4063 (char *) "self",(char *) "style",(char *) "underline", NULL
4064 };
4065
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
4067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4068 if (SWIG_arg_fail(1)) SWIG_fail;
4069 {
4070 arg2 = (int)(SWIG_As_int(obj1));
4071 if (SWIG_arg_fail(2)) SWIG_fail;
4072 }
4073 {
4074 arg3 = (bool)(SWIG_As_bool(obj2));
4075 if (SWIG_arg_fail(3)) SWIG_fail;
4076 }
4077 {
4078 PyThreadState* __tstate = wxPyBeginAllowThreads();
4079 (arg1)->StyleSetUnderline(arg2,arg3);
4080
4081 wxPyEndAllowThreads(__tstate);
4082 if (PyErr_Occurred()) SWIG_fail;
4083 }
4084 Py_INCREF(Py_None); resultobj = Py_None;
4085 return resultobj;
4086 fail:
4087 return NULL;
4088 }
4089
4090
4091 static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *, PyObject *args, PyObject *kwargs) {
4092 PyObject *resultobj;
4093 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4094 int arg2 ;
4095 int arg3 ;
4096 PyObject * obj0 = 0 ;
4097 PyObject * obj1 = 0 ;
4098 PyObject * obj2 = 0 ;
4099 char *kwnames[] = {
4100 (char *) "self",(char *) "style",(char *) "caseForce", NULL
4101 };
4102
4103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
4104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4105 if (SWIG_arg_fail(1)) SWIG_fail;
4106 {
4107 arg2 = (int)(SWIG_As_int(obj1));
4108 if (SWIG_arg_fail(2)) SWIG_fail;
4109 }
4110 {
4111 arg3 = (int)(SWIG_As_int(obj2));
4112 if (SWIG_arg_fail(3)) SWIG_fail;
4113 }
4114 {
4115 PyThreadState* __tstate = wxPyBeginAllowThreads();
4116 (arg1)->StyleSetCase(arg2,arg3);
4117
4118 wxPyEndAllowThreads(__tstate);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 }
4121 Py_INCREF(Py_None); resultobj = Py_None;
4122 return resultobj;
4123 fail:
4124 return NULL;
4125 }
4126
4127
4128 static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *, PyObject *args, PyObject *kwargs) {
4129 PyObject *resultobj;
4130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4131 int arg2 ;
4132 int arg3 ;
4133 PyObject * obj0 = 0 ;
4134 PyObject * obj1 = 0 ;
4135 PyObject * obj2 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "self",(char *) "style",(char *) "characterSet", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
4141 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4142 if (SWIG_arg_fail(1)) SWIG_fail;
4143 {
4144 arg2 = (int)(SWIG_As_int(obj1));
4145 if (SWIG_arg_fail(2)) SWIG_fail;
4146 }
4147 {
4148 arg3 = (int)(SWIG_As_int(obj2));
4149 if (SWIG_arg_fail(3)) SWIG_fail;
4150 }
4151 {
4152 PyThreadState* __tstate = wxPyBeginAllowThreads();
4153 (arg1)->StyleSetCharacterSet(arg2,arg3);
4154
4155 wxPyEndAllowThreads(__tstate);
4156 if (PyErr_Occurred()) SWIG_fail;
4157 }
4158 Py_INCREF(Py_None); resultobj = Py_None;
4159 return resultobj;
4160 fail:
4161 return NULL;
4162 }
4163
4164
4165 static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *, PyObject *args, PyObject *kwargs) {
4166 PyObject *resultobj;
4167 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4168 int arg2 ;
4169 bool arg3 ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj1 = 0 ;
4172 PyObject * obj2 = 0 ;
4173 char *kwnames[] = {
4174 (char *) "self",(char *) "style",(char *) "hotspot", NULL
4175 };
4176
4177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
4178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4179 if (SWIG_arg_fail(1)) SWIG_fail;
4180 {
4181 arg2 = (int)(SWIG_As_int(obj1));
4182 if (SWIG_arg_fail(2)) SWIG_fail;
4183 }
4184 {
4185 arg3 = (bool)(SWIG_As_bool(obj2));
4186 if (SWIG_arg_fail(3)) SWIG_fail;
4187 }
4188 {
4189 PyThreadState* __tstate = wxPyBeginAllowThreads();
4190 (arg1)->StyleSetHotSpot(arg2,arg3);
4191
4192 wxPyEndAllowThreads(__tstate);
4193 if (PyErr_Occurred()) SWIG_fail;
4194 }
4195 Py_INCREF(Py_None); resultobj = Py_None;
4196 return resultobj;
4197 fail:
4198 return NULL;
4199 }
4200
4201
4202 static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj;
4204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4205 bool arg2 ;
4206 wxColour *arg3 = 0 ;
4207 wxColour temp3 ;
4208 PyObject * obj0 = 0 ;
4209 PyObject * obj1 = 0 ;
4210 PyObject * obj2 = 0 ;
4211 char *kwnames[] = {
4212 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
4213 };
4214
4215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4216 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4217 if (SWIG_arg_fail(1)) SWIG_fail;
4218 {
4219 arg2 = (bool)(SWIG_As_bool(obj1));
4220 if (SWIG_arg_fail(2)) SWIG_fail;
4221 }
4222 {
4223 arg3 = &temp3;
4224 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4225 }
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 Py_INCREF(Py_None); resultobj = Py_None;
4234 return resultobj;
4235 fail:
4236 return NULL;
4237 }
4238
4239
4240 static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *, PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj;
4242 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4243 bool arg2 ;
4244 wxColour *arg3 = 0 ;
4245 wxColour temp3 ;
4246 PyObject * obj0 = 0 ;
4247 PyObject * obj1 = 0 ;
4248 PyObject * obj2 = 0 ;
4249 char *kwnames[] = {
4250 (char *) "self",(char *) "useSetting",(char *) "back", NULL
4251 };
4252
4253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4254 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4255 if (SWIG_arg_fail(1)) SWIG_fail;
4256 {
4257 arg2 = (bool)(SWIG_As_bool(obj1));
4258 if (SWIG_arg_fail(2)) SWIG_fail;
4259 }
4260 {
4261 arg3 = &temp3;
4262 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4263 }
4264 {
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
4267
4268 wxPyEndAllowThreads(__tstate);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
4271 Py_INCREF(Py_None); resultobj = Py_None;
4272 return resultobj;
4273 fail:
4274 return NULL;
4275 }
4276
4277
4278 static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4279 PyObject *resultobj;
4280 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4281 wxColour *arg2 = 0 ;
4282 wxColour temp2 ;
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj1 = 0 ;
4285 char *kwnames[] = {
4286 (char *) "self",(char *) "fore", NULL
4287 };
4288
4289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
4290 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4291 if (SWIG_arg_fail(1)) SWIG_fail;
4292 {
4293 arg2 = &temp2;
4294 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
4295 }
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 (arg1)->SetCaretForeground((wxColour const &)*arg2);
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 Py_INCREF(Py_None); resultobj = Py_None;
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4313 int arg2 ;
4314 int arg3 ;
4315 int arg4 ;
4316 PyObject * obj0 = 0 ;
4317 PyObject * obj1 = 0 ;
4318 PyObject * obj2 = 0 ;
4319 PyObject * obj3 = 0 ;
4320 char *kwnames[] = {
4321 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4325 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4326 if (SWIG_arg_fail(1)) SWIG_fail;
4327 {
4328 arg2 = (int)(SWIG_As_int(obj1));
4329 if (SWIG_arg_fail(2)) SWIG_fail;
4330 }
4331 {
4332 arg3 = (int)(SWIG_As_int(obj2));
4333 if (SWIG_arg_fail(3)) SWIG_fail;
4334 }
4335 {
4336 arg4 = (int)(SWIG_As_int(obj3));
4337 if (SWIG_arg_fail(4)) SWIG_fail;
4338 }
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
4346 Py_INCREF(Py_None); resultobj = Py_None;
4347 return resultobj;
4348 fail:
4349 return NULL;
4350 }
4351
4352
4353 static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *, PyObject *args, PyObject *kwargs) {
4354 PyObject *resultobj;
4355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4356 int arg2 ;
4357 int arg3 ;
4358 PyObject * obj0 = 0 ;
4359 PyObject * obj1 = 0 ;
4360 PyObject * obj2 = 0 ;
4361 char *kwnames[] = {
4362 (char *) "self",(char *) "key",(char *) "modifiers", NULL
4363 };
4364
4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
4366 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4367 if (SWIG_arg_fail(1)) SWIG_fail;
4368 {
4369 arg2 = (int)(SWIG_As_int(obj1));
4370 if (SWIG_arg_fail(2)) SWIG_fail;
4371 }
4372 {
4373 arg3 = (int)(SWIG_As_int(obj2));
4374 if (SWIG_arg_fail(3)) SWIG_fail;
4375 }
4376 {
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 (arg1)->CmdKeyClear(arg2,arg3);
4379
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 Py_INCREF(Py_None); resultobj = Py_None;
4384 return resultobj;
4385 fail:
4386 return NULL;
4387 }
4388
4389
4390 static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *, PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj;
4392 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4393 PyObject * obj0 = 0 ;
4394 char *kwnames[] = {
4395 (char *) "self", NULL
4396 };
4397
4398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
4399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4400 if (SWIG_arg_fail(1)) SWIG_fail;
4401 {
4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
4403 (arg1)->CmdKeyClearAll();
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4408 Py_INCREF(Py_None); resultobj = Py_None;
4409 return resultobj;
4410 fail:
4411 return NULL;
4412 }
4413
4414
4415 static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *, PyObject *args, PyObject *kwargs) {
4416 PyObject *resultobj;
4417 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4418 int arg2 ;
4419 char *arg3 = (char *) 0 ;
4420 PyObject * obj0 = 0 ;
4421 PyObject * obj1 = 0 ;
4422 PyObject * obj2 = 0 ;
4423 char *kwnames[] = {
4424 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
4425 };
4426
4427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
4428 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4429 if (SWIG_arg_fail(1)) SWIG_fail;
4430 {
4431 arg2 = (int)(SWIG_As_int(obj1));
4432 if (SWIG_arg_fail(2)) SWIG_fail;
4433 }
4434 if (!SWIG_AsCharPtr(obj2, (char**)&arg3)) {
4435 SWIG_arg_fail(3);SWIG_fail;
4436 }
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 (arg1)->SetStyleBytes(arg2,arg3);
4440
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 Py_INCREF(Py_None); resultobj = Py_None;
4445 return resultobj;
4446 fail:
4447 return NULL;
4448 }
4449
4450
4451 static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *, PyObject *args, PyObject *kwargs) {
4452 PyObject *resultobj;
4453 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4454 int arg2 ;
4455 bool arg3 ;
4456 PyObject * obj0 = 0 ;
4457 PyObject * obj1 = 0 ;
4458 PyObject * obj2 = 0 ;
4459 char *kwnames[] = {
4460 (char *) "self",(char *) "style",(char *) "visible", NULL
4461 };
4462
4463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
4464 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4465 if (SWIG_arg_fail(1)) SWIG_fail;
4466 {
4467 arg2 = (int)(SWIG_As_int(obj1));
4468 if (SWIG_arg_fail(2)) SWIG_fail;
4469 }
4470 {
4471 arg3 = (bool)(SWIG_As_bool(obj2));
4472 if (SWIG_arg_fail(3)) SWIG_fail;
4473 }
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 (arg1)->StyleSetVisible(arg2,arg3);
4477
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4481 Py_INCREF(Py_None); resultobj = Py_None;
4482 return resultobj;
4483 fail:
4484 return NULL;
4485 }
4486
4487
4488 static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj;
4490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4491 int result;
4492 PyObject * obj0 = 0 ;
4493 char *kwnames[] = {
4494 (char *) "self", NULL
4495 };
4496
4497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
4498 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4499 if (SWIG_arg_fail(1)) SWIG_fail;
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 result = (int)(arg1)->GetCaretPeriod();
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 {
4508 resultobj = SWIG_From_int((int)(result));
4509 }
4510 return resultobj;
4511 fail:
4512 return NULL;
4513 }
4514
4515
4516 static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *, PyObject *args, PyObject *kwargs) {
4517 PyObject *resultobj;
4518 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4519 int arg2 ;
4520 PyObject * obj0 = 0 ;
4521 PyObject * obj1 = 0 ;
4522 char *kwnames[] = {
4523 (char *) "self",(char *) "periodMilliseconds", NULL
4524 };
4525
4526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
4527 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4528 if (SWIG_arg_fail(1)) SWIG_fail;
4529 {
4530 arg2 = (int)(SWIG_As_int(obj1));
4531 if (SWIG_arg_fail(2)) SWIG_fail;
4532 }
4533 {
4534 PyThreadState* __tstate = wxPyBeginAllowThreads();
4535 (arg1)->SetCaretPeriod(arg2);
4536
4537 wxPyEndAllowThreads(__tstate);
4538 if (PyErr_Occurred()) SWIG_fail;
4539 }
4540 Py_INCREF(Py_None); resultobj = Py_None;
4541 return resultobj;
4542 fail:
4543 return NULL;
4544 }
4545
4546
4547 static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *, PyObject *args, PyObject *kwargs) {
4548 PyObject *resultobj;
4549 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4550 wxString *arg2 = 0 ;
4551 bool temp2 = false ;
4552 PyObject * obj0 = 0 ;
4553 PyObject * obj1 = 0 ;
4554 char *kwnames[] = {
4555 (char *) "self",(char *) "characters", NULL
4556 };
4557
4558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
4559 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4560 if (SWIG_arg_fail(1)) SWIG_fail;
4561 {
4562 arg2 = wxString_in_helper(obj1);
4563 if (arg2 == NULL) SWIG_fail;
4564 temp2 = true;
4565 }
4566 {
4567 PyThreadState* __tstate = wxPyBeginAllowThreads();
4568 (arg1)->SetWordChars((wxString const &)*arg2);
4569
4570 wxPyEndAllowThreads(__tstate);
4571 if (PyErr_Occurred()) SWIG_fail;
4572 }
4573 Py_INCREF(Py_None); resultobj = Py_None;
4574 {
4575 if (temp2)
4576 delete arg2;
4577 }
4578 return resultobj;
4579 fail:
4580 {
4581 if (temp2)
4582 delete arg2;
4583 }
4584 return NULL;
4585 }
4586
4587
4588 static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj;
4590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4591 PyObject * obj0 = 0 ;
4592 char *kwnames[] = {
4593 (char *) "self", NULL
4594 };
4595
4596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
4597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4598 if (SWIG_arg_fail(1)) SWIG_fail;
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 (arg1)->BeginUndoAction();
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 Py_INCREF(Py_None); resultobj = Py_None;
4607 return resultobj;
4608 fail:
4609 return NULL;
4610 }
4611
4612
4613 static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *, PyObject *args, PyObject *kwargs) {
4614 PyObject *resultobj;
4615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4616 PyObject * obj0 = 0 ;
4617 char *kwnames[] = {
4618 (char *) "self", NULL
4619 };
4620
4621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
4622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4623 if (SWIG_arg_fail(1)) SWIG_fail;
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 (arg1)->EndUndoAction();
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 Py_INCREF(Py_None); resultobj = Py_None;
4632 return resultobj;
4633 fail:
4634 return NULL;
4635 }
4636
4637
4638 static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4639 PyObject *resultobj;
4640 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4641 int arg2 ;
4642 int arg3 ;
4643 PyObject * obj0 = 0 ;
4644 PyObject * obj1 = 0 ;
4645 PyObject * obj2 = 0 ;
4646 char *kwnames[] = {
4647 (char *) "self",(char *) "indic",(char *) "style", NULL
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
4651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4652 if (SWIG_arg_fail(1)) SWIG_fail;
4653 {
4654 arg2 = (int)(SWIG_As_int(obj1));
4655 if (SWIG_arg_fail(2)) SWIG_fail;
4656 }
4657 {
4658 arg3 = (int)(SWIG_As_int(obj2));
4659 if (SWIG_arg_fail(3)) SWIG_fail;
4660 }
4661 {
4662 PyThreadState* __tstate = wxPyBeginAllowThreads();
4663 (arg1)->IndicatorSetStyle(arg2,arg3);
4664
4665 wxPyEndAllowThreads(__tstate);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 Py_INCREF(Py_None); resultobj = Py_None;
4669 return resultobj;
4670 fail:
4671 return NULL;
4672 }
4673
4674
4675 static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj;
4677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4678 int arg2 ;
4679 int result;
4680 PyObject * obj0 = 0 ;
4681 PyObject * obj1 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "self",(char *) "indic", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
4687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4688 if (SWIG_arg_fail(1)) SWIG_fail;
4689 {
4690 arg2 = (int)(SWIG_As_int(obj1));
4691 if (SWIG_arg_fail(2)) SWIG_fail;
4692 }
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 result = (int)(arg1)->IndicatorGetStyle(arg2);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 {
4701 resultobj = SWIG_From_int((int)(result));
4702 }
4703 return resultobj;
4704 fail:
4705 return NULL;
4706 }
4707
4708
4709 static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4710 PyObject *resultobj;
4711 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4712 int arg2 ;
4713 wxColour *arg3 = 0 ;
4714 wxColour temp3 ;
4715 PyObject * obj0 = 0 ;
4716 PyObject * obj1 = 0 ;
4717 PyObject * obj2 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "self",(char *) "indic",(char *) "fore", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4724 if (SWIG_arg_fail(1)) SWIG_fail;
4725 {
4726 arg2 = (int)(SWIG_As_int(obj1));
4727 if (SWIG_arg_fail(2)) SWIG_fail;
4728 }
4729 {
4730 arg3 = &temp3;
4731 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4732 }
4733 {
4734 PyThreadState* __tstate = wxPyBeginAllowThreads();
4735 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
4736
4737 wxPyEndAllowThreads(__tstate);
4738 if (PyErr_Occurred()) SWIG_fail;
4739 }
4740 Py_INCREF(Py_None); resultobj = Py_None;
4741 return resultobj;
4742 fail:
4743 return NULL;
4744 }
4745
4746
4747 static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4748 PyObject *resultobj;
4749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4750 int arg2 ;
4751 wxColour result;
4752 PyObject * obj0 = 0 ;
4753 PyObject * obj1 = 0 ;
4754 char *kwnames[] = {
4755 (char *) "self",(char *) "indic", NULL
4756 };
4757
4758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
4759 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4760 if (SWIG_arg_fail(1)) SWIG_fail;
4761 {
4762 arg2 = (int)(SWIG_As_int(obj1));
4763 if (SWIG_arg_fail(2)) SWIG_fail;
4764 }
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = (arg1)->IndicatorGetForeground(arg2);
4768
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 }
4772 {
4773 wxColour * resultptr;
4774 resultptr = new wxColour((wxColour &)(result));
4775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4776 }
4777 return resultobj;
4778 fail:
4779 return NULL;
4780 }
4781
4782
4783 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *, PyObject *args, PyObject *kwargs) {
4784 PyObject *resultobj;
4785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4786 bool arg2 ;
4787 wxColour *arg3 = 0 ;
4788 wxColour temp3 ;
4789 PyObject * obj0 = 0 ;
4790 PyObject * obj1 = 0 ;
4791 PyObject * obj2 = 0 ;
4792 char *kwnames[] = {
4793 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
4794 };
4795
4796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4798 if (SWIG_arg_fail(1)) SWIG_fail;
4799 {
4800 arg2 = (bool)(SWIG_As_bool(obj1));
4801 if (SWIG_arg_fail(2)) SWIG_fail;
4802 }
4803 {
4804 arg3 = &temp3;
4805 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4806 }
4807 {
4808 PyThreadState* __tstate = wxPyBeginAllowThreads();
4809 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
4810
4811 wxPyEndAllowThreads(__tstate);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 Py_INCREF(Py_None); resultobj = Py_None;
4815 return resultobj;
4816 fail:
4817 return NULL;
4818 }
4819
4820
4821 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj;
4823 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4824 bool arg2 ;
4825 wxColour *arg3 = 0 ;
4826 wxColour temp3 ;
4827 PyObject * obj0 = 0 ;
4828 PyObject * obj1 = 0 ;
4829 PyObject * obj2 = 0 ;
4830 char *kwnames[] = {
4831 (char *) "self",(char *) "useSetting",(char *) "back", NULL
4832 };
4833
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
4835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4836 if (SWIG_arg_fail(1)) SWIG_fail;
4837 {
4838 arg2 = (bool)(SWIG_As_bool(obj1));
4839 if (SWIG_arg_fail(2)) SWIG_fail;
4840 }
4841 {
4842 arg3 = &temp3;
4843 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
4844 }
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
4848
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 Py_INCREF(Py_None); resultobj = Py_None;
4853 return resultobj;
4854 fail:
4855 return NULL;
4856 }
4857
4858
4859 static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
4860 PyObject *resultobj;
4861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4862 int arg2 ;
4863 PyObject * obj0 = 0 ;
4864 PyObject * obj1 = 0 ;
4865 char *kwnames[] = {
4866 (char *) "self",(char *) "bits", NULL
4867 };
4868
4869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
4870 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4871 if (SWIG_arg_fail(1)) SWIG_fail;
4872 {
4873 arg2 = (int)(SWIG_As_int(obj1));
4874 if (SWIG_arg_fail(2)) SWIG_fail;
4875 }
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 (arg1)->SetStyleBits(arg2);
4879
4880 wxPyEndAllowThreads(__tstate);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 }
4883 Py_INCREF(Py_None); resultobj = Py_None;
4884 return resultobj;
4885 fail:
4886 return NULL;
4887 }
4888
4889
4890 static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *, PyObject *args, PyObject *kwargs) {
4891 PyObject *resultobj;
4892 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4893 int result;
4894 PyObject * obj0 = 0 ;
4895 char *kwnames[] = {
4896 (char *) "self", NULL
4897 };
4898
4899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
4900 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4901 if (SWIG_arg_fail(1)) SWIG_fail;
4902 {
4903 PyThreadState* __tstate = wxPyBeginAllowThreads();
4904 result = (int)(arg1)->GetStyleBits();
4905
4906 wxPyEndAllowThreads(__tstate);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 {
4910 resultobj = SWIG_From_int((int)(result));
4911 }
4912 return resultobj;
4913 fail:
4914 return NULL;
4915 }
4916
4917
4918 static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
4919 PyObject *resultobj;
4920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4921 int arg2 ;
4922 int arg3 ;
4923 PyObject * obj0 = 0 ;
4924 PyObject * obj1 = 0 ;
4925 PyObject * obj2 = 0 ;
4926 char *kwnames[] = {
4927 (char *) "self",(char *) "line",(char *) "state", NULL
4928 };
4929
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
4931 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4932 if (SWIG_arg_fail(1)) SWIG_fail;
4933 {
4934 arg2 = (int)(SWIG_As_int(obj1));
4935 if (SWIG_arg_fail(2)) SWIG_fail;
4936 }
4937 {
4938 arg3 = (int)(SWIG_As_int(obj2));
4939 if (SWIG_arg_fail(3)) SWIG_fail;
4940 }
4941 {
4942 PyThreadState* __tstate = wxPyBeginAllowThreads();
4943 (arg1)->SetLineState(arg2,arg3);
4944
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 Py_INCREF(Py_None); resultobj = Py_None;
4949 return resultobj;
4950 fail:
4951 return NULL;
4952 }
4953
4954
4955 static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *, PyObject *args, PyObject *kwargs) {
4956 PyObject *resultobj;
4957 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4958 int arg2 ;
4959 int result;
4960 PyObject * obj0 = 0 ;
4961 PyObject * obj1 = 0 ;
4962 char *kwnames[] = {
4963 (char *) "self",(char *) "line", NULL
4964 };
4965
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
4967 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
4968 if (SWIG_arg_fail(1)) SWIG_fail;
4969 {
4970 arg2 = (int)(SWIG_As_int(obj1));
4971 if (SWIG_arg_fail(2)) SWIG_fail;
4972 }
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 result = (int)(arg1)->GetLineState(arg2);
4976
4977 wxPyEndAllowThreads(__tstate);
4978 if (PyErr_Occurred()) SWIG_fail;
4979 }
4980 {
4981 resultobj = SWIG_From_int((int)(result));
4982 }
4983 return resultobj;
4984 fail:
4985 return NULL;
4986 }
4987
4988
4989 static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *, PyObject *args, PyObject *kwargs) {
4990 PyObject *resultobj;
4991 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4992 int result;
4993 PyObject * obj0 = 0 ;
4994 char *kwnames[] = {
4995 (char *) "self", NULL
4996 };
4997
4998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
4999 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5000 if (SWIG_arg_fail(1)) SWIG_fail;
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 result = (int)(arg1)->GetMaxLineState();
5004
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 {
5009 resultobj = SWIG_From_int((int)(result));
5010 }
5011 return resultobj;
5012 fail:
5013 return NULL;
5014 }
5015
5016
5017 static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5018 PyObject *resultobj;
5019 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5020 bool result;
5021 PyObject * obj0 = 0 ;
5022 char *kwnames[] = {
5023 (char *) "self", NULL
5024 };
5025
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
5027 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5028 if (SWIG_arg_fail(1)) SWIG_fail;
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 result = (bool)(arg1)->GetCaretLineVisible();
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 {
5037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5038 }
5039 return resultobj;
5040 fail:
5041 return NULL;
5042 }
5043
5044
5045 static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
5046 PyObject *resultobj;
5047 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5048 bool arg2 ;
5049 PyObject * obj0 = 0 ;
5050 PyObject * obj1 = 0 ;
5051 char *kwnames[] = {
5052 (char *) "self",(char *) "show", NULL
5053 };
5054
5055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
5056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5057 if (SWIG_arg_fail(1)) SWIG_fail;
5058 {
5059 arg2 = (bool)(SWIG_As_bool(obj1));
5060 if (SWIG_arg_fail(2)) SWIG_fail;
5061 }
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 (arg1)->SetCaretLineVisible(arg2);
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 Py_INCREF(Py_None); resultobj = Py_None;
5070 return resultobj;
5071 fail:
5072 return NULL;
5073 }
5074
5075
5076 static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj;
5078 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5079 wxColour result;
5080 PyObject * obj0 = 0 ;
5081 char *kwnames[] = {
5082 (char *) "self", NULL
5083 };
5084
5085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
5086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5087 if (SWIG_arg_fail(1)) SWIG_fail;
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 result = (arg1)->GetCaretLineBack();
5091
5092 wxPyEndAllowThreads(__tstate);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 {
5096 wxColour * resultptr;
5097 resultptr = new wxColour((wxColour &)(result));
5098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5099 }
5100 return resultobj;
5101 fail:
5102 return NULL;
5103 }
5104
5105
5106 static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *, PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj;
5108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5109 wxColour *arg2 = 0 ;
5110 wxColour temp2 ;
5111 PyObject * obj0 = 0 ;
5112 PyObject * obj1 = 0 ;
5113 char *kwnames[] = {
5114 (char *) "self",(char *) "back", NULL
5115 };
5116
5117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
5118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5119 if (SWIG_arg_fail(1)) SWIG_fail;
5120 {
5121 arg2 = &temp2;
5122 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5123 }
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
5127
5128 wxPyEndAllowThreads(__tstate);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
5131 Py_INCREF(Py_None); resultobj = Py_None;
5132 return resultobj;
5133 fail:
5134 return NULL;
5135 }
5136
5137
5138 static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *, PyObject *args, PyObject *kwargs) {
5139 PyObject *resultobj;
5140 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5141 int arg2 ;
5142 bool arg3 ;
5143 PyObject * obj0 = 0 ;
5144 PyObject * obj1 = 0 ;
5145 PyObject * obj2 = 0 ;
5146 char *kwnames[] = {
5147 (char *) "self",(char *) "style",(char *) "changeable", NULL
5148 };
5149
5150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
5151 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5152 if (SWIG_arg_fail(1)) SWIG_fail;
5153 {
5154 arg2 = (int)(SWIG_As_int(obj1));
5155 if (SWIG_arg_fail(2)) SWIG_fail;
5156 }
5157 {
5158 arg3 = (bool)(SWIG_As_bool(obj2));
5159 if (SWIG_arg_fail(3)) SWIG_fail;
5160 }
5161 {
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 (arg1)->StyleSetChangeable(arg2,arg3);
5164
5165 wxPyEndAllowThreads(__tstate);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 }
5168 Py_INCREF(Py_None); resultobj = Py_None;
5169 return resultobj;
5170 fail:
5171 return NULL;
5172 }
5173
5174
5175 static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *, PyObject *args, PyObject *kwargs) {
5176 PyObject *resultobj;
5177 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5178 int arg2 ;
5179 wxString *arg3 = 0 ;
5180 bool temp3 = false ;
5181 PyObject * obj0 = 0 ;
5182 PyObject * obj1 = 0 ;
5183 PyObject * obj2 = 0 ;
5184 char *kwnames[] = {
5185 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
5186 };
5187
5188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5189 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5190 if (SWIG_arg_fail(1)) SWIG_fail;
5191 {
5192 arg2 = (int)(SWIG_As_int(obj1));
5193 if (SWIG_arg_fail(2)) SWIG_fail;
5194 }
5195 {
5196 arg3 = wxString_in_helper(obj2);
5197 if (arg3 == NULL) SWIG_fail;
5198 temp3 = true;
5199 }
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
5203
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 Py_INCREF(Py_None); resultobj = Py_None;
5208 {
5209 if (temp3)
5210 delete arg3;
5211 }
5212 return resultobj;
5213 fail:
5214 {
5215 if (temp3)
5216 delete arg3;
5217 }
5218 return NULL;
5219 }
5220
5221
5222 static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *, PyObject *args, PyObject *kwargs) {
5223 PyObject *resultobj;
5224 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5225 PyObject * obj0 = 0 ;
5226 char *kwnames[] = {
5227 (char *) "self", NULL
5228 };
5229
5230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
5231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5232 if (SWIG_arg_fail(1)) SWIG_fail;
5233 {
5234 PyThreadState* __tstate = wxPyBeginAllowThreads();
5235 (arg1)->AutoCompCancel();
5236
5237 wxPyEndAllowThreads(__tstate);
5238 if (PyErr_Occurred()) SWIG_fail;
5239 }
5240 Py_INCREF(Py_None); resultobj = Py_None;
5241 return resultobj;
5242 fail:
5243 return NULL;
5244 }
5245
5246
5247 static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *, PyObject *args, PyObject *kwargs) {
5248 PyObject *resultobj;
5249 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5250 bool result;
5251 PyObject * obj0 = 0 ;
5252 char *kwnames[] = {
5253 (char *) "self", NULL
5254 };
5255
5256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
5257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5258 if (SWIG_arg_fail(1)) SWIG_fail;
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 result = (bool)(arg1)->AutoCompActive();
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 {
5267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5268 }
5269 return resultobj;
5270 fail:
5271 return NULL;
5272 }
5273
5274
5275 static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *, PyObject *args, PyObject *kwargs) {
5276 PyObject *resultobj;
5277 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5278 int result;
5279 PyObject * obj0 = 0 ;
5280 char *kwnames[] = {
5281 (char *) "self", NULL
5282 };
5283
5284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
5285 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5286 if (SWIG_arg_fail(1)) SWIG_fail;
5287 {
5288 PyThreadState* __tstate = wxPyBeginAllowThreads();
5289 result = (int)(arg1)->AutoCompPosStart();
5290
5291 wxPyEndAllowThreads(__tstate);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 {
5295 resultobj = SWIG_From_int((int)(result));
5296 }
5297 return resultobj;
5298 fail:
5299 return NULL;
5300 }
5301
5302
5303 static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *, PyObject *args, PyObject *kwargs) {
5304 PyObject *resultobj;
5305 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5306 PyObject * obj0 = 0 ;
5307 char *kwnames[] = {
5308 (char *) "self", NULL
5309 };
5310
5311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
5312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5313 if (SWIG_arg_fail(1)) SWIG_fail;
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 (arg1)->AutoCompComplete();
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 Py_INCREF(Py_None); resultobj = Py_None;
5322 return resultobj;
5323 fail:
5324 return NULL;
5325 }
5326
5327
5328 static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *, PyObject *args, PyObject *kwargs) {
5329 PyObject *resultobj;
5330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5331 wxString *arg2 = 0 ;
5332 bool temp2 = false ;
5333 PyObject * obj0 = 0 ;
5334 PyObject * obj1 = 0 ;
5335 char *kwnames[] = {
5336 (char *) "self",(char *) "characterSet", NULL
5337 };
5338
5339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
5340 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5341 if (SWIG_arg_fail(1)) SWIG_fail;
5342 {
5343 arg2 = wxString_in_helper(obj1);
5344 if (arg2 == NULL) SWIG_fail;
5345 temp2 = true;
5346 }
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 (arg1)->AutoCompStops((wxString const &)*arg2);
5350
5351 wxPyEndAllowThreads(__tstate);
5352 if (PyErr_Occurred()) SWIG_fail;
5353 }
5354 Py_INCREF(Py_None); resultobj = Py_None;
5355 {
5356 if (temp2)
5357 delete arg2;
5358 }
5359 return resultobj;
5360 fail:
5361 {
5362 if (temp2)
5363 delete arg2;
5364 }
5365 return NULL;
5366 }
5367
5368
5369 static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj;
5371 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5372 int arg2 ;
5373 PyObject * obj0 = 0 ;
5374 PyObject * obj1 = 0 ;
5375 char *kwnames[] = {
5376 (char *) "self",(char *) "separatorCharacter", NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
5380 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5381 if (SWIG_arg_fail(1)) SWIG_fail;
5382 {
5383 arg2 = (int)(SWIG_As_int(obj1));
5384 if (SWIG_arg_fail(2)) SWIG_fail;
5385 }
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 (arg1)->AutoCompSetSeparator(arg2);
5389
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 Py_INCREF(Py_None); resultobj = Py_None;
5394 return resultobj;
5395 fail:
5396 return NULL;
5397 }
5398
5399
5400 static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5403 int result;
5404 PyObject * obj0 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "self", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
5410 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5411 if (SWIG_arg_fail(1)) SWIG_fail;
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 result = (int)(arg1)->AutoCompGetSeparator();
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 {
5420 resultobj = SWIG_From_int((int)(result));
5421 }
5422 return resultobj;
5423 fail:
5424 return NULL;
5425 }
5426
5427
5428 static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *, PyObject *args, PyObject *kwargs) {
5429 PyObject *resultobj;
5430 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5431 wxString *arg2 = 0 ;
5432 bool temp2 = false ;
5433 PyObject * obj0 = 0 ;
5434 PyObject * obj1 = 0 ;
5435 char *kwnames[] = {
5436 (char *) "self",(char *) "text", NULL
5437 };
5438
5439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
5440 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5441 if (SWIG_arg_fail(1)) SWIG_fail;
5442 {
5443 arg2 = wxString_in_helper(obj1);
5444 if (arg2 == NULL) SWIG_fail;
5445 temp2 = true;
5446 }
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 (arg1)->AutoCompSelect((wxString const &)*arg2);
5450
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 Py_INCREF(Py_None); resultobj = Py_None;
5455 {
5456 if (temp2)
5457 delete arg2;
5458 }
5459 return resultobj;
5460 fail:
5461 {
5462 if (temp2)
5463 delete arg2;
5464 }
5465 return NULL;
5466 }
5467
5468
5469 static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj;
5471 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5472 bool arg2 ;
5473 PyObject * obj0 = 0 ;
5474 PyObject * obj1 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "self",(char *) "cancel", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
5480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5481 if (SWIG_arg_fail(1)) SWIG_fail;
5482 {
5483 arg2 = (bool)(SWIG_As_bool(obj1));
5484 if (SWIG_arg_fail(2)) SWIG_fail;
5485 }
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 (arg1)->AutoCompSetCancelAtStart(arg2);
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 Py_INCREF(Py_None); resultobj = Py_None;
5494 return resultobj;
5495 fail:
5496 return NULL;
5497 }
5498
5499
5500 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
5501 PyObject *resultobj;
5502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5503 bool result;
5504 PyObject * obj0 = 0 ;
5505 char *kwnames[] = {
5506 (char *) "self", NULL
5507 };
5508
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
5510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5511 if (SWIG_arg_fail(1)) SWIG_fail;
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 result = (bool)(arg1)->AutoCompGetCancelAtStart();
5515
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 {
5520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5521 }
5522 return resultobj;
5523 fail:
5524 return NULL;
5525 }
5526
5527
5528 static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *, PyObject *args, PyObject *kwargs) {
5529 PyObject *resultobj;
5530 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5531 wxString *arg2 = 0 ;
5532 bool temp2 = false ;
5533 PyObject * obj0 = 0 ;
5534 PyObject * obj1 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "self",(char *) "characterSet", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
5540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5541 if (SWIG_arg_fail(1)) SWIG_fail;
5542 {
5543 arg2 = wxString_in_helper(obj1);
5544 if (arg2 == NULL) SWIG_fail;
5545 temp2 = true;
5546 }
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 Py_INCREF(Py_None); resultobj = Py_None;
5555 {
5556 if (temp2)
5557 delete arg2;
5558 }
5559 return resultobj;
5560 fail:
5561 {
5562 if (temp2)
5563 delete arg2;
5564 }
5565 return NULL;
5566 }
5567
5568
5569 static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
5570 PyObject *resultobj;
5571 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5572 bool arg2 ;
5573 PyObject * obj0 = 0 ;
5574 PyObject * obj1 = 0 ;
5575 char *kwnames[] = {
5576 (char *) "self",(char *) "chooseSingle", NULL
5577 };
5578
5579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
5580 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5581 if (SWIG_arg_fail(1)) SWIG_fail;
5582 {
5583 arg2 = (bool)(SWIG_As_bool(obj1));
5584 if (SWIG_arg_fail(2)) SWIG_fail;
5585 }
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 (arg1)->AutoCompSetChooseSingle(arg2);
5589
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 Py_INCREF(Py_None); resultobj = Py_None;
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *, PyObject *args, PyObject *kwargs) {
5601 PyObject *resultobj;
5602 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5603 bool result;
5604 PyObject * obj0 = 0 ;
5605 char *kwnames[] = {
5606 (char *) "self", NULL
5607 };
5608
5609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
5610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5611 if (SWIG_arg_fail(1)) SWIG_fail;
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 result = (bool)(arg1)->AutoCompGetChooseSingle();
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 {
5620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5621 }
5622 return resultobj;
5623 fail:
5624 return NULL;
5625 }
5626
5627
5628 static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
5629 PyObject *resultobj;
5630 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5631 bool arg2 ;
5632 PyObject * obj0 = 0 ;
5633 PyObject * obj1 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self",(char *) "ignoreCase", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
5639 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5640 if (SWIG_arg_fail(1)) SWIG_fail;
5641 {
5642 arg2 = (bool)(SWIG_As_bool(obj1));
5643 if (SWIG_arg_fail(2)) SWIG_fail;
5644 }
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 (arg1)->AutoCompSetIgnoreCase(arg2);
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 Py_INCREF(Py_None); resultobj = Py_None;
5653 return resultobj;
5654 fail:
5655 return NULL;
5656 }
5657
5658
5659 static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *, PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj;
5661 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5662 bool result;
5663 PyObject * obj0 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
5669 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5670 if (SWIG_arg_fail(1)) SWIG_fail;
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 result = (bool)(arg1)->AutoCompGetIgnoreCase();
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 {
5679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5680 }
5681 return resultobj;
5682 fail:
5683 return NULL;
5684 }
5685
5686
5687 static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *, PyObject *args, PyObject *kwargs) {
5688 PyObject *resultobj;
5689 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5690 int arg2 ;
5691 wxString *arg3 = 0 ;
5692 bool temp3 = false ;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 PyObject * obj2 = 0 ;
5696 char *kwnames[] = {
5697 (char *) "self",(char *) "listType",(char *) "itemList", NULL
5698 };
5699
5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5702 if (SWIG_arg_fail(1)) SWIG_fail;
5703 {
5704 arg2 = (int)(SWIG_As_int(obj1));
5705 if (SWIG_arg_fail(2)) SWIG_fail;
5706 }
5707 {
5708 arg3 = wxString_in_helper(obj2);
5709 if (arg3 == NULL) SWIG_fail;
5710 temp3 = true;
5711 }
5712 {
5713 PyThreadState* __tstate = wxPyBeginAllowThreads();
5714 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
5715
5716 wxPyEndAllowThreads(__tstate);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 }
5719 Py_INCREF(Py_None); resultobj = Py_None;
5720 {
5721 if (temp3)
5722 delete arg3;
5723 }
5724 return resultobj;
5725 fail:
5726 {
5727 if (temp3)
5728 delete arg3;
5729 }
5730 return NULL;
5731 }
5732
5733
5734 static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
5735 PyObject *resultobj;
5736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5737 bool arg2 ;
5738 PyObject * obj0 = 0 ;
5739 PyObject * obj1 = 0 ;
5740 char *kwnames[] = {
5741 (char *) "self",(char *) "autoHide", NULL
5742 };
5743
5744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
5745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5746 if (SWIG_arg_fail(1)) SWIG_fail;
5747 {
5748 arg2 = (bool)(SWIG_As_bool(obj1));
5749 if (SWIG_arg_fail(2)) SWIG_fail;
5750 }
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 (arg1)->AutoCompSetAutoHide(arg2);
5754
5755 wxPyEndAllowThreads(__tstate);
5756 if (PyErr_Occurred()) SWIG_fail;
5757 }
5758 Py_INCREF(Py_None); resultobj = Py_None;
5759 return resultobj;
5760 fail:
5761 return NULL;
5762 }
5763
5764
5765 static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *, PyObject *args, PyObject *kwargs) {
5766 PyObject *resultobj;
5767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5768 bool result;
5769 PyObject * obj0 = 0 ;
5770 char *kwnames[] = {
5771 (char *) "self", NULL
5772 };
5773
5774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
5775 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5776 if (SWIG_arg_fail(1)) SWIG_fail;
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 result = (bool)(arg1)->AutoCompGetAutoHide();
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 }
5784 {
5785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5786 }
5787 return resultobj;
5788 fail:
5789 return NULL;
5790 }
5791
5792
5793 static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
5794 PyObject *resultobj;
5795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5796 bool arg2 ;
5797 PyObject * obj0 = 0 ;
5798 PyObject * obj1 = 0 ;
5799 char *kwnames[] = {
5800 (char *) "self",(char *) "dropRestOfWord", NULL
5801 };
5802
5803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
5804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5805 if (SWIG_arg_fail(1)) SWIG_fail;
5806 {
5807 arg2 = (bool)(SWIG_As_bool(obj1));
5808 if (SWIG_arg_fail(2)) SWIG_fail;
5809 }
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
5812 (arg1)->AutoCompSetDropRestOfWord(arg2);
5813
5814 wxPyEndAllowThreads(__tstate);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
5817 Py_INCREF(Py_None); resultobj = Py_None;
5818 return resultobj;
5819 fail:
5820 return NULL;
5821 }
5822
5823
5824 static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *, PyObject *args, PyObject *kwargs) {
5825 PyObject *resultobj;
5826 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5827 bool result;
5828 PyObject * obj0 = 0 ;
5829 char *kwnames[] = {
5830 (char *) "self", NULL
5831 };
5832
5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
5834 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5835 if (SWIG_arg_fail(1)) SWIG_fail;
5836 {
5837 PyThreadState* __tstate = wxPyBeginAllowThreads();
5838 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
5839
5840 wxPyEndAllowThreads(__tstate);
5841 if (PyErr_Occurred()) SWIG_fail;
5842 }
5843 {
5844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5845 }
5846 return resultobj;
5847 fail:
5848 return NULL;
5849 }
5850
5851
5852 static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *, PyObject *args, PyObject *kwargs) {
5853 PyObject *resultobj;
5854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5855 int arg2 ;
5856 wxBitmap *arg3 = 0 ;
5857 PyObject * obj0 = 0 ;
5858 PyObject * obj1 = 0 ;
5859 PyObject * obj2 = 0 ;
5860 char *kwnames[] = {
5861 (char *) "self",(char *) "type",(char *) "bmp", NULL
5862 };
5863
5864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
5865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5866 if (SWIG_arg_fail(1)) SWIG_fail;
5867 {
5868 arg2 = (int)(SWIG_As_int(obj1));
5869 if (SWIG_arg_fail(2)) SWIG_fail;
5870 }
5871 {
5872 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
5873 if (SWIG_arg_fail(3)) SWIG_fail;
5874 if (arg3 == NULL) {
5875 SWIG_null_ref("wxBitmap");
5876 }
5877 if (SWIG_arg_fail(3)) SWIG_fail;
5878 }
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
5886 Py_INCREF(Py_None); resultobj = Py_None;
5887 return resultobj;
5888 fail:
5889 return NULL;
5890 }
5891
5892
5893 static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *, PyObject *args, PyObject *kwargs) {
5894 PyObject *resultobj;
5895 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5896 PyObject * obj0 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
5902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5903 if (SWIG_arg_fail(1)) SWIG_fail;
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 (arg1)->ClearRegisteredImages();
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 Py_INCREF(Py_None); resultobj = Py_None;
5912 return resultobj;
5913 fail:
5914 return NULL;
5915 }
5916
5917
5918 static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5919 PyObject *resultobj;
5920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5921 int result;
5922 PyObject * obj0 = 0 ;
5923 char *kwnames[] = {
5924 (char *) "self", NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
5928 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5929 if (SWIG_arg_fail(1)) SWIG_fail;
5930 {
5931 PyThreadState* __tstate = wxPyBeginAllowThreads();
5932 result = (int)(arg1)->AutoCompGetTypeSeparator();
5933
5934 wxPyEndAllowThreads(__tstate);
5935 if (PyErr_Occurred()) SWIG_fail;
5936 }
5937 {
5938 resultobj = SWIG_From_int((int)(result));
5939 }
5940 return resultobj;
5941 fail:
5942 return NULL;
5943 }
5944
5945
5946 static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
5947 PyObject *resultobj;
5948 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5949 int arg2 ;
5950 PyObject * obj0 = 0 ;
5951 PyObject * obj1 = 0 ;
5952 char *kwnames[] = {
5953 (char *) "self",(char *) "separatorCharacter", NULL
5954 };
5955
5956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
5957 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5958 if (SWIG_arg_fail(1)) SWIG_fail;
5959 {
5960 arg2 = (int)(SWIG_As_int(obj1));
5961 if (SWIG_arg_fail(2)) SWIG_fail;
5962 }
5963 {
5964 PyThreadState* __tstate = wxPyBeginAllowThreads();
5965 (arg1)->AutoCompSetTypeSeparator(arg2);
5966
5967 wxPyEndAllowThreads(__tstate);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 }
5970 Py_INCREF(Py_None); resultobj = Py_None;
5971 return resultobj;
5972 fail:
5973 return NULL;
5974 }
5975
5976
5977 static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
5978 PyObject *resultobj;
5979 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5980 int arg2 ;
5981 PyObject * obj0 = 0 ;
5982 PyObject * obj1 = 0 ;
5983 char *kwnames[] = {
5984 (char *) "self",(char *) "indentSize", NULL
5985 };
5986
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
5988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
5989 if (SWIG_arg_fail(1)) SWIG_fail;
5990 {
5991 arg2 = (int)(SWIG_As_int(obj1));
5992 if (SWIG_arg_fail(2)) SWIG_fail;
5993 }
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 (arg1)->SetIndent(arg2);
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 Py_INCREF(Py_None); resultobj = Py_None;
6002 return resultobj;
6003 fail:
6004 return NULL;
6005 }
6006
6007
6008 static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
6009 PyObject *resultobj;
6010 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6011 int result;
6012 PyObject * obj0 = 0 ;
6013 char *kwnames[] = {
6014 (char *) "self", NULL
6015 };
6016
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
6018 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6019 if (SWIG_arg_fail(1)) SWIG_fail;
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (int)(arg1)->GetIndent();
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 {
6028 resultobj = SWIG_From_int((int)(result));
6029 }
6030 return resultobj;
6031 fail:
6032 return NULL;
6033 }
6034
6035
6036 static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6039 bool arg2 ;
6040 PyObject * obj0 = 0 ;
6041 PyObject * obj1 = 0 ;
6042 char *kwnames[] = {
6043 (char *) "self",(char *) "useTabs", NULL
6044 };
6045
6046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
6047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6048 if (SWIG_arg_fail(1)) SWIG_fail;
6049 {
6050 arg2 = (bool)(SWIG_As_bool(obj1));
6051 if (SWIG_arg_fail(2)) SWIG_fail;
6052 }
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 (arg1)->SetUseTabs(arg2);
6056
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 Py_INCREF(Py_None); resultobj = Py_None;
6061 return resultobj;
6062 fail:
6063 return NULL;
6064 }
6065
6066
6067 static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *, PyObject *args, PyObject *kwargs) {
6068 PyObject *resultobj;
6069 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6070 bool result;
6071 PyObject * obj0 = 0 ;
6072 char *kwnames[] = {
6073 (char *) "self", NULL
6074 };
6075
6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
6077 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6078 if (SWIG_arg_fail(1)) SWIG_fail;
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 result = (bool)(arg1)->GetUseTabs();
6082
6083 wxPyEndAllowThreads(__tstate);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 {
6087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6088 }
6089 return resultobj;
6090 fail:
6091 return NULL;
6092 }
6093
6094
6095 static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
6096 PyObject *resultobj;
6097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6098 int arg2 ;
6099 int arg3 ;
6100 PyObject * obj0 = 0 ;
6101 PyObject * obj1 = 0 ;
6102 PyObject * obj2 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "self",(char *) "line",(char *) "indentSize", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
6108 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6109 if (SWIG_arg_fail(1)) SWIG_fail;
6110 {
6111 arg2 = (int)(SWIG_As_int(obj1));
6112 if (SWIG_arg_fail(2)) SWIG_fail;
6113 }
6114 {
6115 arg3 = (int)(SWIG_As_int(obj2));
6116 if (SWIG_arg_fail(3)) SWIG_fail;
6117 }
6118 {
6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
6120 (arg1)->SetLineIndentation(arg2,arg3);
6121
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 Py_INCREF(Py_None); resultobj = Py_None;
6126 return resultobj;
6127 fail:
6128 return NULL;
6129 }
6130
6131
6132 static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *, PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj;
6134 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6135 int arg2 ;
6136 int result;
6137 PyObject * obj0 = 0 ;
6138 PyObject * obj1 = 0 ;
6139 char *kwnames[] = {
6140 (char *) "self",(char *) "line", NULL
6141 };
6142
6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
6144 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6145 if (SWIG_arg_fail(1)) SWIG_fail;
6146 {
6147 arg2 = (int)(SWIG_As_int(obj1));
6148 if (SWIG_arg_fail(2)) SWIG_fail;
6149 }
6150 {
6151 PyThreadState* __tstate = wxPyBeginAllowThreads();
6152 result = (int)(arg1)->GetLineIndentation(arg2);
6153
6154 wxPyEndAllowThreads(__tstate);
6155 if (PyErr_Occurred()) SWIG_fail;
6156 }
6157 {
6158 resultobj = SWIG_From_int((int)(result));
6159 }
6160 return resultobj;
6161 fail:
6162 return NULL;
6163 }
6164
6165
6166 static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6167 PyObject *resultobj;
6168 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6169 int arg2 ;
6170 int result;
6171 PyObject * obj0 = 0 ;
6172 PyObject * obj1 = 0 ;
6173 char *kwnames[] = {
6174 (char *) "self",(char *) "line", NULL
6175 };
6176
6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
6178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6179 if (SWIG_arg_fail(1)) SWIG_fail;
6180 {
6181 arg2 = (int)(SWIG_As_int(obj1));
6182 if (SWIG_arg_fail(2)) SWIG_fail;
6183 }
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 result = (int)(arg1)->GetLineIndentPosition(arg2);
6187
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 }
6191 {
6192 resultobj = SWIG_From_int((int)(result));
6193 }
6194 return resultobj;
6195 fail:
6196 return NULL;
6197 }
6198
6199
6200 static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
6201 PyObject *resultobj;
6202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6203 int arg2 ;
6204 int result;
6205 PyObject * obj0 = 0 ;
6206 PyObject * obj1 = 0 ;
6207 char *kwnames[] = {
6208 (char *) "self",(char *) "pos", NULL
6209 };
6210
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
6212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6213 if (SWIG_arg_fail(1)) SWIG_fail;
6214 {
6215 arg2 = (int)(SWIG_As_int(obj1));
6216 if (SWIG_arg_fail(2)) SWIG_fail;
6217 }
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 result = (int)(arg1)->GetColumn(arg2);
6221
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 {
6226 resultobj = SWIG_From_int((int)(result));
6227 }
6228 return resultobj;
6229 fail:
6230 return NULL;
6231 }
6232
6233
6234 static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
6235 PyObject *resultobj;
6236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6237 bool arg2 ;
6238 PyObject * obj0 = 0 ;
6239 PyObject * obj1 = 0 ;
6240 char *kwnames[] = {
6241 (char *) "self",(char *) "show", NULL
6242 };
6243
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
6245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6246 if (SWIG_arg_fail(1)) SWIG_fail;
6247 {
6248 arg2 = (bool)(SWIG_As_bool(obj1));
6249 if (SWIG_arg_fail(2)) SWIG_fail;
6250 }
6251 {
6252 PyThreadState* __tstate = wxPyBeginAllowThreads();
6253 (arg1)->SetUseHorizontalScrollBar(arg2);
6254
6255 wxPyEndAllowThreads(__tstate);
6256 if (PyErr_Occurred()) SWIG_fail;
6257 }
6258 Py_INCREF(Py_None); resultobj = Py_None;
6259 return resultobj;
6260 fail:
6261 return NULL;
6262 }
6263
6264
6265 static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
6266 PyObject *resultobj;
6267 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6268 bool result;
6269 PyObject * obj0 = 0 ;
6270 char *kwnames[] = {
6271 (char *) "self", NULL
6272 };
6273
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
6275 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6276 if (SWIG_arg_fail(1)) SWIG_fail;
6277 {
6278 PyThreadState* __tstate = wxPyBeginAllowThreads();
6279 result = (bool)(arg1)->GetUseHorizontalScrollBar();
6280
6281 wxPyEndAllowThreads(__tstate);
6282 if (PyErr_Occurred()) SWIG_fail;
6283 }
6284 {
6285 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6286 }
6287 return resultobj;
6288 fail:
6289 return NULL;
6290 }
6291
6292
6293 static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
6294 PyObject *resultobj;
6295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6296 bool arg2 ;
6297 PyObject * obj0 = 0 ;
6298 PyObject * obj1 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self",(char *) "show", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
6304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6305 if (SWIG_arg_fail(1)) SWIG_fail;
6306 {
6307 arg2 = (bool)(SWIG_As_bool(obj1));
6308 if (SWIG_arg_fail(2)) SWIG_fail;
6309 }
6310 {
6311 PyThreadState* __tstate = wxPyBeginAllowThreads();
6312 (arg1)->SetIndentationGuides(arg2);
6313
6314 wxPyEndAllowThreads(__tstate);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
6317 Py_INCREF(Py_None); resultobj = Py_None;
6318 return resultobj;
6319 fail:
6320 return NULL;
6321 }
6322
6323
6324 static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *, PyObject *args, PyObject *kwargs) {
6325 PyObject *resultobj;
6326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6327 bool result;
6328 PyObject * obj0 = 0 ;
6329 char *kwnames[] = {
6330 (char *) "self", NULL
6331 };
6332
6333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
6334 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6335 if (SWIG_arg_fail(1)) SWIG_fail;
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
6338 result = (bool)(arg1)->GetIndentationGuides();
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 {
6344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6345 }
6346 return resultobj;
6347 fail:
6348 return NULL;
6349 }
6350
6351
6352 static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
6353 PyObject *resultobj;
6354 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6355 int arg2 ;
6356 PyObject * obj0 = 0 ;
6357 PyObject * obj1 = 0 ;
6358 char *kwnames[] = {
6359 (char *) "self",(char *) "column", NULL
6360 };
6361
6362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
6363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6364 if (SWIG_arg_fail(1)) SWIG_fail;
6365 {
6366 arg2 = (int)(SWIG_As_int(obj1));
6367 if (SWIG_arg_fail(2)) SWIG_fail;
6368 }
6369 {
6370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6371 (arg1)->SetHighlightGuide(arg2);
6372
6373 wxPyEndAllowThreads(__tstate);
6374 if (PyErr_Occurred()) SWIG_fail;
6375 }
6376 Py_INCREF(Py_None); resultobj = Py_None;
6377 return resultobj;
6378 fail:
6379 return NULL;
6380 }
6381
6382
6383 static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *, PyObject *args, PyObject *kwargs) {
6384 PyObject *resultobj;
6385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6386 int result;
6387 PyObject * obj0 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "self", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
6393 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6394 if (SWIG_arg_fail(1)) SWIG_fail;
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 result = (int)(arg1)->GetHighlightGuide();
6398
6399 wxPyEndAllowThreads(__tstate);
6400 if (PyErr_Occurred()) SWIG_fail;
6401 }
6402 {
6403 resultobj = SWIG_From_int((int)(result));
6404 }
6405 return resultobj;
6406 fail:
6407 return NULL;
6408 }
6409
6410
6411 static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
6412 PyObject *resultobj;
6413 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6414 int arg2 ;
6415 int result;
6416 PyObject * obj0 = 0 ;
6417 PyObject * obj1 = 0 ;
6418 char *kwnames[] = {
6419 (char *) "self",(char *) "line", NULL
6420 };
6421
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
6423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6424 if (SWIG_arg_fail(1)) SWIG_fail;
6425 {
6426 arg2 = (int)(SWIG_As_int(obj1));
6427 if (SWIG_arg_fail(2)) SWIG_fail;
6428 }
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 result = (int)(arg1)->GetLineEndPosition(arg2);
6432
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 {
6437 resultobj = SWIG_From_int((int)(result));
6438 }
6439 return resultobj;
6440 fail:
6441 return NULL;
6442 }
6443
6444
6445 static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *, PyObject *args, PyObject *kwargs) {
6446 PyObject *resultobj;
6447 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6448 int result;
6449 PyObject * obj0 = 0 ;
6450 char *kwnames[] = {
6451 (char *) "self", NULL
6452 };
6453
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
6455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6456 if (SWIG_arg_fail(1)) SWIG_fail;
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 result = (int)(arg1)->GetCodePage();
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 {
6465 resultobj = SWIG_From_int((int)(result));
6466 }
6467 return resultobj;
6468 fail:
6469 return NULL;
6470 }
6471
6472
6473 static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *, PyObject *args, PyObject *kwargs) {
6474 PyObject *resultobj;
6475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6476 wxColour result;
6477 PyObject * obj0 = 0 ;
6478 char *kwnames[] = {
6479 (char *) "self", NULL
6480 };
6481
6482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
6483 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6484 if (SWIG_arg_fail(1)) SWIG_fail;
6485 {
6486 PyThreadState* __tstate = wxPyBeginAllowThreads();
6487 result = (arg1)->GetCaretForeground();
6488
6489 wxPyEndAllowThreads(__tstate);
6490 if (PyErr_Occurred()) SWIG_fail;
6491 }
6492 {
6493 wxColour * resultptr;
6494 resultptr = new wxColour((wxColour &)(result));
6495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6496 }
6497 return resultobj;
6498 fail:
6499 return NULL;
6500 }
6501
6502
6503 static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
6504 PyObject *resultobj;
6505 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6506 bool result;
6507 PyObject * obj0 = 0 ;
6508 char *kwnames[] = {
6509 (char *) "self", NULL
6510 };
6511
6512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
6513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6514 if (SWIG_arg_fail(1)) SWIG_fail;
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 result = (bool)(arg1)->GetReadOnly();
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 {
6523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6524 }
6525 return resultobj;
6526 fail:
6527 return NULL;
6528 }
6529
6530
6531 static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *, PyObject *args, PyObject *kwargs) {
6532 PyObject *resultobj;
6533 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6534 int arg2 ;
6535 PyObject * obj0 = 0 ;
6536 PyObject * obj1 = 0 ;
6537 char *kwnames[] = {
6538 (char *) "self",(char *) "pos", NULL
6539 };
6540
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
6542 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6543 if (SWIG_arg_fail(1)) SWIG_fail;
6544 {
6545 arg2 = (int)(SWIG_As_int(obj1));
6546 if (SWIG_arg_fail(2)) SWIG_fail;
6547 }
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 (arg1)->SetCurrentPos(arg2);
6551
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
6555 Py_INCREF(Py_None); resultobj = Py_None;
6556 return resultobj;
6557 fail:
6558 return NULL;
6559 }
6560
6561
6562 static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
6563 PyObject *resultobj;
6564 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6565 int arg2 ;
6566 PyObject * obj0 = 0 ;
6567 PyObject * obj1 = 0 ;
6568 char *kwnames[] = {
6569 (char *) "self",(char *) "pos", NULL
6570 };
6571
6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
6573 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6574 if (SWIG_arg_fail(1)) SWIG_fail;
6575 {
6576 arg2 = (int)(SWIG_As_int(obj1));
6577 if (SWIG_arg_fail(2)) SWIG_fail;
6578 }
6579 {
6580 PyThreadState* __tstate = wxPyBeginAllowThreads();
6581 (arg1)->SetSelectionStart(arg2);
6582
6583 wxPyEndAllowThreads(__tstate);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 }
6586 Py_INCREF(Py_None); resultobj = Py_None;
6587 return resultobj;
6588 fail:
6589 return NULL;
6590 }
6591
6592
6593 static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *, PyObject *args, PyObject *kwargs) {
6594 PyObject *resultobj;
6595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6596 int result;
6597 PyObject * obj0 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self", NULL
6600 };
6601
6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
6603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6604 if (SWIG_arg_fail(1)) SWIG_fail;
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 result = (int)(arg1)->GetSelectionStart();
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 {
6613 resultobj = SWIG_From_int((int)(result));
6614 }
6615 return resultobj;
6616 fail:
6617 return NULL;
6618 }
6619
6620
6621 static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
6622 PyObject *resultobj;
6623 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6624 int arg2 ;
6625 PyObject * obj0 = 0 ;
6626 PyObject * obj1 = 0 ;
6627 char *kwnames[] = {
6628 (char *) "self",(char *) "pos", NULL
6629 };
6630
6631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
6632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6633 if (SWIG_arg_fail(1)) SWIG_fail;
6634 {
6635 arg2 = (int)(SWIG_As_int(obj1));
6636 if (SWIG_arg_fail(2)) SWIG_fail;
6637 }
6638 {
6639 PyThreadState* __tstate = wxPyBeginAllowThreads();
6640 (arg1)->SetSelectionEnd(arg2);
6641
6642 wxPyEndAllowThreads(__tstate);
6643 if (PyErr_Occurred()) SWIG_fail;
6644 }
6645 Py_INCREF(Py_None); resultobj = Py_None;
6646 return resultobj;
6647 fail:
6648 return NULL;
6649 }
6650
6651
6652 static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *, PyObject *args, PyObject *kwargs) {
6653 PyObject *resultobj;
6654 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6655 int result;
6656 PyObject * obj0 = 0 ;
6657 char *kwnames[] = {
6658 (char *) "self", NULL
6659 };
6660
6661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
6662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6663 if (SWIG_arg_fail(1)) SWIG_fail;
6664 {
6665 PyThreadState* __tstate = wxPyBeginAllowThreads();
6666 result = (int)(arg1)->GetSelectionEnd();
6667
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 {
6672 resultobj = SWIG_From_int((int)(result));
6673 }
6674 return resultobj;
6675 fail:
6676 return NULL;
6677 }
6678
6679
6680 static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj;
6682 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6683 int arg2 ;
6684 PyObject * obj0 = 0 ;
6685 PyObject * obj1 = 0 ;
6686 char *kwnames[] = {
6687 (char *) "self",(char *) "magnification", NULL
6688 };
6689
6690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
6691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6692 if (SWIG_arg_fail(1)) SWIG_fail;
6693 {
6694 arg2 = (int)(SWIG_As_int(obj1));
6695 if (SWIG_arg_fail(2)) SWIG_fail;
6696 }
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 (arg1)->SetPrintMagnification(arg2);
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 Py_INCREF(Py_None); resultobj = Py_None;
6705 return resultobj;
6706 fail:
6707 return NULL;
6708 }
6709
6710
6711 static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *, PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj;
6713 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6714 int result;
6715 PyObject * obj0 = 0 ;
6716 char *kwnames[] = {
6717 (char *) "self", NULL
6718 };
6719
6720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
6721 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6722 if (SWIG_arg_fail(1)) SWIG_fail;
6723 {
6724 PyThreadState* __tstate = wxPyBeginAllowThreads();
6725 result = (int)(arg1)->GetPrintMagnification();
6726
6727 wxPyEndAllowThreads(__tstate);
6728 if (PyErr_Occurred()) SWIG_fail;
6729 }
6730 {
6731 resultobj = SWIG_From_int((int)(result));
6732 }
6733 return resultobj;
6734 fail:
6735 return NULL;
6736 }
6737
6738
6739 static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj;
6741 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6742 int arg2 ;
6743 PyObject * obj0 = 0 ;
6744 PyObject * obj1 = 0 ;
6745 char *kwnames[] = {
6746 (char *) "self",(char *) "mode", NULL
6747 };
6748
6749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
6750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6751 if (SWIG_arg_fail(1)) SWIG_fail;
6752 {
6753 arg2 = (int)(SWIG_As_int(obj1));
6754 if (SWIG_arg_fail(2)) SWIG_fail;
6755 }
6756 {
6757 PyThreadState* __tstate = wxPyBeginAllowThreads();
6758 (arg1)->SetPrintColourMode(arg2);
6759
6760 wxPyEndAllowThreads(__tstate);
6761 if (PyErr_Occurred()) SWIG_fail;
6762 }
6763 Py_INCREF(Py_None); resultobj = Py_None;
6764 return resultobj;
6765 fail:
6766 return NULL;
6767 }
6768
6769
6770 static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *, PyObject *args, PyObject *kwargs) {
6771 PyObject *resultobj;
6772 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6773 int result;
6774 PyObject * obj0 = 0 ;
6775 char *kwnames[] = {
6776 (char *) "self", NULL
6777 };
6778
6779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
6780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6781 if (SWIG_arg_fail(1)) SWIG_fail;
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 result = (int)(arg1)->GetPrintColourMode();
6785
6786 wxPyEndAllowThreads(__tstate);
6787 if (PyErr_Occurred()) SWIG_fail;
6788 }
6789 {
6790 resultobj = SWIG_From_int((int)(result));
6791 }
6792 return resultobj;
6793 fail:
6794 return NULL;
6795 }
6796
6797
6798 static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6801 int arg2 ;
6802 int arg3 ;
6803 wxString *arg4 = 0 ;
6804 int arg5 = (int) 0 ;
6805 int result;
6806 bool temp4 = false ;
6807 PyObject * obj0 = 0 ;
6808 PyObject * obj1 = 0 ;
6809 PyObject * obj2 = 0 ;
6810 PyObject * obj3 = 0 ;
6811 PyObject * obj4 = 0 ;
6812 char *kwnames[] = {
6813 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
6814 };
6815
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6818 if (SWIG_arg_fail(1)) SWIG_fail;
6819 {
6820 arg2 = (int)(SWIG_As_int(obj1));
6821 if (SWIG_arg_fail(2)) SWIG_fail;
6822 }
6823 {
6824 arg3 = (int)(SWIG_As_int(obj2));
6825 if (SWIG_arg_fail(3)) SWIG_fail;
6826 }
6827 {
6828 arg4 = wxString_in_helper(obj3);
6829 if (arg4 == NULL) SWIG_fail;
6830 temp4 = true;
6831 }
6832 if (obj4) {
6833 {
6834 arg5 = (int)(SWIG_As_int(obj4));
6835 if (SWIG_arg_fail(5)) SWIG_fail;
6836 }
6837 }
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 {
6846 resultobj = SWIG_From_int((int)(result));
6847 }
6848 {
6849 if (temp4)
6850 delete arg4;
6851 }
6852 return resultobj;
6853 fail:
6854 {
6855 if (temp4)
6856 delete arg4;
6857 }
6858 return NULL;
6859 }
6860
6861
6862 static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *, PyObject *args, PyObject *kwargs) {
6863 PyObject *resultobj;
6864 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6865 bool arg2 ;
6866 int arg3 ;
6867 int arg4 ;
6868 wxDC *arg5 = (wxDC *) 0 ;
6869 wxDC *arg6 = (wxDC *) 0 ;
6870 wxRect arg7 ;
6871 wxRect arg8 ;
6872 int result;
6873 PyObject * obj0 = 0 ;
6874 PyObject * obj1 = 0 ;
6875 PyObject * obj2 = 0 ;
6876 PyObject * obj3 = 0 ;
6877 PyObject * obj4 = 0 ;
6878 PyObject * obj5 = 0 ;
6879 PyObject * obj6 = 0 ;
6880 PyObject * obj7 = 0 ;
6881 char *kwnames[] = {
6882 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6887 if (SWIG_arg_fail(1)) SWIG_fail;
6888 {
6889 arg2 = (bool)(SWIG_As_bool(obj1));
6890 if (SWIG_arg_fail(2)) SWIG_fail;
6891 }
6892 {
6893 arg3 = (int)(SWIG_As_int(obj2));
6894 if (SWIG_arg_fail(3)) SWIG_fail;
6895 }
6896 {
6897 arg4 = (int)(SWIG_As_int(obj3));
6898 if (SWIG_arg_fail(4)) SWIG_fail;
6899 }
6900 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6901 if (SWIG_arg_fail(5)) SWIG_fail;
6902 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxDC, SWIG_POINTER_EXCEPTION | 0);
6903 if (SWIG_arg_fail(6)) SWIG_fail;
6904 {
6905 wxRect * argp;
6906 SWIG_Python_ConvertPtr(obj6, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
6907 if (SWIG_arg_fail(7)) SWIG_fail;
6908 if (argp == NULL) {
6909 SWIG_null_ref("wxRect");
6910 }
6911 if (SWIG_arg_fail(7)) SWIG_fail;
6912 arg7 = *argp;
6913 }
6914 {
6915 wxRect * argp;
6916 SWIG_Python_ConvertPtr(obj7, (void **)&argp, SWIGTYPE_p_wxRect, SWIG_POINTER_EXCEPTION);
6917 if (SWIG_arg_fail(8)) SWIG_fail;
6918 if (argp == NULL) {
6919 SWIG_null_ref("wxRect");
6920 }
6921 if (SWIG_arg_fail(8)) SWIG_fail;
6922 arg8 = *argp;
6923 }
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
6931 {
6932 resultobj = SWIG_From_int((int)(result));
6933 }
6934 return resultobj;
6935 fail:
6936 return NULL;
6937 }
6938
6939
6940 static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *, PyObject *args, PyObject *kwargs) {
6941 PyObject *resultobj;
6942 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6943 int result;
6944 PyObject * obj0 = 0 ;
6945 char *kwnames[] = {
6946 (char *) "self", NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
6950 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6951 if (SWIG_arg_fail(1)) SWIG_fail;
6952 {
6953 PyThreadState* __tstate = wxPyBeginAllowThreads();
6954 result = (int)(arg1)->GetFirstVisibleLine();
6955
6956 wxPyEndAllowThreads(__tstate);
6957 if (PyErr_Occurred()) SWIG_fail;
6958 }
6959 {
6960 resultobj = SWIG_From_int((int)(result));
6961 }
6962 return resultobj;
6963 fail:
6964 return NULL;
6965 }
6966
6967
6968 static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
6969 PyObject *resultobj;
6970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6971 int arg2 ;
6972 wxString result;
6973 PyObject * obj0 = 0 ;
6974 PyObject * obj1 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self",(char *) "line", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
6980 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
6981 if (SWIG_arg_fail(1)) SWIG_fail;
6982 {
6983 arg2 = (int)(SWIG_As_int(obj1));
6984 if (SWIG_arg_fail(2)) SWIG_fail;
6985 }
6986 {
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 result = (arg1)->GetLine(arg2);
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
6993 {
6994 #if wxUSE_UNICODE
6995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6996 #else
6997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6998 #endif
6999 }
7000 return resultobj;
7001 fail:
7002 return NULL;
7003 }
7004
7005
7006 static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *, PyObject *args, PyObject *kwargs) {
7007 PyObject *resultobj;
7008 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7009 int result;
7010 PyObject * obj0 = 0 ;
7011 char *kwnames[] = {
7012 (char *) "self", NULL
7013 };
7014
7015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
7016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7017 if (SWIG_arg_fail(1)) SWIG_fail;
7018 {
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
7020 result = (int)(arg1)->GetLineCount();
7021
7022 wxPyEndAllowThreads(__tstate);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 }
7025 {
7026 resultobj = SWIG_From_int((int)(result));
7027 }
7028 return resultobj;
7029 fail:
7030 return NULL;
7031 }
7032
7033
7034 static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
7035 PyObject *resultobj;
7036 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7037 int arg2 ;
7038 PyObject * obj0 = 0 ;
7039 PyObject * obj1 = 0 ;
7040 char *kwnames[] = {
7041 (char *) "self",(char *) "pixelWidth", NULL
7042 };
7043
7044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
7045 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7046 if (SWIG_arg_fail(1)) SWIG_fail;
7047 {
7048 arg2 = (int)(SWIG_As_int(obj1));
7049 if (SWIG_arg_fail(2)) SWIG_fail;
7050 }
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 (arg1)->SetMarginLeft(arg2);
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 Py_INCREF(Py_None); resultobj = Py_None;
7059 return resultobj;
7060 fail:
7061 return NULL;
7062 }
7063
7064
7065 static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *, PyObject *args, PyObject *kwargs) {
7066 PyObject *resultobj;
7067 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7068 int result;
7069 PyObject * obj0 = 0 ;
7070 char *kwnames[] = {
7071 (char *) "self", NULL
7072 };
7073
7074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
7075 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7076 if (SWIG_arg_fail(1)) SWIG_fail;
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 result = (int)(arg1)->GetMarginLeft();
7080
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 {
7085 resultobj = SWIG_From_int((int)(result));
7086 }
7087 return resultobj;
7088 fail:
7089 return NULL;
7090 }
7091
7092
7093 static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
7094 PyObject *resultobj;
7095 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7096 int arg2 ;
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 char *kwnames[] = {
7100 (char *) "self",(char *) "pixelWidth", NULL
7101 };
7102
7103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
7104 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7105 if (SWIG_arg_fail(1)) SWIG_fail;
7106 {
7107 arg2 = (int)(SWIG_As_int(obj1));
7108 if (SWIG_arg_fail(2)) SWIG_fail;
7109 }
7110 {
7111 PyThreadState* __tstate = wxPyBeginAllowThreads();
7112 (arg1)->SetMarginRight(arg2);
7113
7114 wxPyEndAllowThreads(__tstate);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 }
7117 Py_INCREF(Py_None); resultobj = Py_None;
7118 return resultobj;
7119 fail:
7120 return NULL;
7121 }
7122
7123
7124 static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *, PyObject *args, PyObject *kwargs) {
7125 PyObject *resultobj;
7126 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7127 int result;
7128 PyObject * obj0 = 0 ;
7129 char *kwnames[] = {
7130 (char *) "self", NULL
7131 };
7132
7133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
7134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7135 if (SWIG_arg_fail(1)) SWIG_fail;
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 result = (int)(arg1)->GetMarginRight();
7139
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 {
7144 resultobj = SWIG_From_int((int)(result));
7145 }
7146 return resultobj;
7147 fail:
7148 return NULL;
7149 }
7150
7151
7152 static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *, PyObject *args, PyObject *kwargs) {
7153 PyObject *resultobj;
7154 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7155 bool result;
7156 PyObject * obj0 = 0 ;
7157 char *kwnames[] = {
7158 (char *) "self", NULL
7159 };
7160
7161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
7162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7163 if (SWIG_arg_fail(1)) SWIG_fail;
7164 {
7165 PyThreadState* __tstate = wxPyBeginAllowThreads();
7166 result = (bool)(arg1)->GetModify();
7167
7168 wxPyEndAllowThreads(__tstate);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 }
7171 {
7172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7173 }
7174 return resultobj;
7175 fail:
7176 return NULL;
7177 }
7178
7179
7180 static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7181 PyObject *resultobj;
7182 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7183 int arg2 ;
7184 int arg3 ;
7185 PyObject * obj0 = 0 ;
7186 PyObject * obj1 = 0 ;
7187 PyObject * obj2 = 0 ;
7188 char *kwnames[] = {
7189 (char *) "self",(char *) "start",(char *) "end", NULL
7190 };
7191
7192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
7193 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7194 if (SWIG_arg_fail(1)) SWIG_fail;
7195 {
7196 arg2 = (int)(SWIG_As_int(obj1));
7197 if (SWIG_arg_fail(2)) SWIG_fail;
7198 }
7199 {
7200 arg3 = (int)(SWIG_As_int(obj2));
7201 if (SWIG_arg_fail(3)) SWIG_fail;
7202 }
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 (arg1)->SetSelection(arg2,arg3);
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 Py_INCREF(Py_None); resultobj = Py_None;
7211 return resultobj;
7212 fail:
7213 return NULL;
7214 }
7215
7216
7217 static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *, PyObject *args, PyObject *kwargs) {
7218 PyObject *resultobj;
7219 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7220 wxString result;
7221 PyObject * obj0 = 0 ;
7222 char *kwnames[] = {
7223 (char *) "self", NULL
7224 };
7225
7226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
7227 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7228 if (SWIG_arg_fail(1)) SWIG_fail;
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 result = (arg1)->GetSelectedText();
7232
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
7236 {
7237 #if wxUSE_UNICODE
7238 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7239 #else
7240 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7241 #endif
7242 }
7243 return resultobj;
7244 fail:
7245 return NULL;
7246 }
7247
7248
7249 static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *, PyObject *args, PyObject *kwargs) {
7250 PyObject *resultobj;
7251 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7252 int arg2 ;
7253 int arg3 ;
7254 wxString result;
7255 PyObject * obj0 = 0 ;
7256 PyObject * obj1 = 0 ;
7257 PyObject * obj2 = 0 ;
7258 char *kwnames[] = {
7259 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7264 if (SWIG_arg_fail(1)) SWIG_fail;
7265 {
7266 arg2 = (int)(SWIG_As_int(obj1));
7267 if (SWIG_arg_fail(2)) SWIG_fail;
7268 }
7269 {
7270 arg3 = (int)(SWIG_As_int(obj2));
7271 if (SWIG_arg_fail(3)) SWIG_fail;
7272 }
7273 {
7274 PyThreadState* __tstate = wxPyBeginAllowThreads();
7275 result = (arg1)->GetTextRange(arg2,arg3);
7276
7277 wxPyEndAllowThreads(__tstate);
7278 if (PyErr_Occurred()) SWIG_fail;
7279 }
7280 {
7281 #if wxUSE_UNICODE
7282 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7283 #else
7284 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7285 #endif
7286 }
7287 return resultobj;
7288 fail:
7289 return NULL;
7290 }
7291
7292
7293 static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj;
7295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7296 bool arg2 ;
7297 PyObject * obj0 = 0 ;
7298 PyObject * obj1 = 0 ;
7299 char *kwnames[] = {
7300 (char *) "self",(char *) "normal", NULL
7301 };
7302
7303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
7304 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7305 if (SWIG_arg_fail(1)) SWIG_fail;
7306 {
7307 arg2 = (bool)(SWIG_As_bool(obj1));
7308 if (SWIG_arg_fail(2)) SWIG_fail;
7309 }
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 (arg1)->HideSelection(arg2);
7313
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 Py_INCREF(Py_None); resultobj = Py_None;
7318 return resultobj;
7319 fail:
7320 return NULL;
7321 }
7322
7323
7324 static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj;
7326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7327 int arg2 ;
7328 int result;
7329 PyObject * obj0 = 0 ;
7330 PyObject * obj1 = 0 ;
7331 char *kwnames[] = {
7332 (char *) "self",(char *) "pos", NULL
7333 };
7334
7335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
7336 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7337 if (SWIG_arg_fail(1)) SWIG_fail;
7338 {
7339 arg2 = (int)(SWIG_As_int(obj1));
7340 if (SWIG_arg_fail(2)) SWIG_fail;
7341 }
7342 {
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 result = (int)(arg1)->LineFromPosition(arg2);
7345
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 {
7350 resultobj = SWIG_From_int((int)(result));
7351 }
7352 return resultobj;
7353 fail:
7354 return NULL;
7355 }
7356
7357
7358 static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *, PyObject *args, PyObject *kwargs) {
7359 PyObject *resultobj;
7360 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7361 int arg2 ;
7362 int result;
7363 PyObject * obj0 = 0 ;
7364 PyObject * obj1 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self",(char *) "line", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
7370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7371 if (SWIG_arg_fail(1)) SWIG_fail;
7372 {
7373 arg2 = (int)(SWIG_As_int(obj1));
7374 if (SWIG_arg_fail(2)) SWIG_fail;
7375 }
7376 {
7377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7378 result = (int)(arg1)->PositionFromLine(arg2);
7379
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 {
7384 resultobj = SWIG_From_int((int)(result));
7385 }
7386 return resultobj;
7387 fail:
7388 return NULL;
7389 }
7390
7391
7392 static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *, PyObject *args, PyObject *kwargs) {
7393 PyObject *resultobj;
7394 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7395 int arg2 ;
7396 int arg3 ;
7397 PyObject * obj0 = 0 ;
7398 PyObject * obj1 = 0 ;
7399 PyObject * obj2 = 0 ;
7400 char *kwnames[] = {
7401 (char *) "self",(char *) "columns",(char *) "lines", NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
7405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7406 if (SWIG_arg_fail(1)) SWIG_fail;
7407 {
7408 arg2 = (int)(SWIG_As_int(obj1));
7409 if (SWIG_arg_fail(2)) SWIG_fail;
7410 }
7411 {
7412 arg3 = (int)(SWIG_As_int(obj2));
7413 if (SWIG_arg_fail(3)) SWIG_fail;
7414 }
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 (arg1)->LineScroll(arg2,arg3);
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 Py_INCREF(Py_None); resultobj = Py_None;
7423 return resultobj;
7424 fail:
7425 return NULL;
7426 }
7427
7428
7429 static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *, PyObject *args, PyObject *kwargs) {
7430 PyObject *resultobj;
7431 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7432 PyObject * obj0 = 0 ;
7433 char *kwnames[] = {
7434 (char *) "self", NULL
7435 };
7436
7437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
7438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7439 if (SWIG_arg_fail(1)) SWIG_fail;
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 (arg1)->EnsureCaretVisible();
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 Py_INCREF(Py_None); resultobj = Py_None;
7448 return resultobj;
7449 fail:
7450 return NULL;
7451 }
7452
7453
7454 static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *, PyObject *args, PyObject *kwargs) {
7455 PyObject *resultobj;
7456 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7457 wxString *arg2 = 0 ;
7458 bool temp2 = false ;
7459 PyObject * obj0 = 0 ;
7460 PyObject * obj1 = 0 ;
7461 char *kwnames[] = {
7462 (char *) "self",(char *) "text", NULL
7463 };
7464
7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
7466 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7467 if (SWIG_arg_fail(1)) SWIG_fail;
7468 {
7469 arg2 = wxString_in_helper(obj1);
7470 if (arg2 == NULL) SWIG_fail;
7471 temp2 = true;
7472 }
7473 {
7474 PyThreadState* __tstate = wxPyBeginAllowThreads();
7475 (arg1)->ReplaceSelection((wxString const &)*arg2);
7476
7477 wxPyEndAllowThreads(__tstate);
7478 if (PyErr_Occurred()) SWIG_fail;
7479 }
7480 Py_INCREF(Py_None); resultobj = Py_None;
7481 {
7482 if (temp2)
7483 delete arg2;
7484 }
7485 return resultobj;
7486 fail:
7487 {
7488 if (temp2)
7489 delete arg2;
7490 }
7491 return NULL;
7492 }
7493
7494
7495 static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7498 bool arg2 ;
7499 PyObject * obj0 = 0 ;
7500 PyObject * obj1 = 0 ;
7501 char *kwnames[] = {
7502 (char *) "self",(char *) "readOnly", NULL
7503 };
7504
7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
7506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7507 if (SWIG_arg_fail(1)) SWIG_fail;
7508 {
7509 arg2 = (bool)(SWIG_As_bool(obj1));
7510 if (SWIG_arg_fail(2)) SWIG_fail;
7511 }
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 (arg1)->SetReadOnly(arg2);
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 Py_INCREF(Py_None); resultobj = Py_None;
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7529 bool result;
7530 PyObject * obj0 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7536 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7537 if (SWIG_arg_fail(1)) SWIG_fail;
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 result = (bool)(arg1)->CanPaste();
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 {
7546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7547 }
7548 return resultobj;
7549 fail:
7550 return NULL;
7551 }
7552
7553
7554 static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *, PyObject *args, PyObject *kwargs) {
7555 PyObject *resultobj;
7556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7557 bool result;
7558 PyObject * obj0 = 0 ;
7559 char *kwnames[] = {
7560 (char *) "self", NULL
7561 };
7562
7563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7564 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7565 if (SWIG_arg_fail(1)) SWIG_fail;
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 result = (bool)(arg1)->CanUndo();
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 {
7574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7575 }
7576 return resultobj;
7577 fail:
7578 return NULL;
7579 }
7580
7581
7582 static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
7583 PyObject *resultobj;
7584 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7585 PyObject * obj0 = 0 ;
7586 char *kwnames[] = {
7587 (char *) "self", NULL
7588 };
7589
7590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
7591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7592 if (SWIG_arg_fail(1)) SWIG_fail;
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 (arg1)->EmptyUndoBuffer();
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 Py_INCREF(Py_None); resultobj = Py_None;
7601 return resultobj;
7602 fail:
7603 return NULL;
7604 }
7605
7606
7607 static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *, PyObject *args, PyObject *kwargs) {
7608 PyObject *resultobj;
7609 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7610 PyObject * obj0 = 0 ;
7611 char *kwnames[] = {
7612 (char *) "self", NULL
7613 };
7614
7615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
7616 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7617 if (SWIG_arg_fail(1)) SWIG_fail;
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 (arg1)->Undo();
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 Py_INCREF(Py_None); resultobj = Py_None;
7626 return resultobj;
7627 fail:
7628 return NULL;
7629 }
7630
7631
7632 static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *, PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj;
7634 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7635 PyObject * obj0 = 0 ;
7636 char *kwnames[] = {
7637 (char *) "self", NULL
7638 };
7639
7640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
7641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7642 if (SWIG_arg_fail(1)) SWIG_fail;
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 (arg1)->Cut();
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 Py_INCREF(Py_None); resultobj = Py_None;
7651 return resultobj;
7652 fail:
7653 return NULL;
7654 }
7655
7656
7657 static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj;
7659 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7660 PyObject * obj0 = 0 ;
7661 char *kwnames[] = {
7662 (char *) "self", NULL
7663 };
7664
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
7666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7667 if (SWIG_arg_fail(1)) SWIG_fail;
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 (arg1)->Copy();
7671
7672 wxPyEndAllowThreads(__tstate);
7673 if (PyErr_Occurred()) SWIG_fail;
7674 }
7675 Py_INCREF(Py_None); resultobj = Py_None;
7676 return resultobj;
7677 fail:
7678 return NULL;
7679 }
7680
7681
7682 static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
7683 PyObject *resultobj;
7684 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7685 PyObject * obj0 = 0 ;
7686 char *kwnames[] = {
7687 (char *) "self", NULL
7688 };
7689
7690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
7691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7692 if (SWIG_arg_fail(1)) SWIG_fail;
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 (arg1)->Paste();
7696
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 Py_INCREF(Py_None); resultobj = Py_None;
7701 return resultobj;
7702 fail:
7703 return NULL;
7704 }
7705
7706
7707 static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
7708 PyObject *resultobj;
7709 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7710 PyObject * obj0 = 0 ;
7711 char *kwnames[] = {
7712 (char *) "self", NULL
7713 };
7714
7715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
7716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7717 if (SWIG_arg_fail(1)) SWIG_fail;
7718 {
7719 PyThreadState* __tstate = wxPyBeginAllowThreads();
7720 (arg1)->Clear();
7721
7722 wxPyEndAllowThreads(__tstate);
7723 if (PyErr_Occurred()) SWIG_fail;
7724 }
7725 Py_INCREF(Py_None); resultobj = Py_None;
7726 return resultobj;
7727 fail:
7728 return NULL;
7729 }
7730
7731
7732 static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
7733 PyObject *resultobj;
7734 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7735 wxString *arg2 = 0 ;
7736 bool temp2 = false ;
7737 PyObject * obj0 = 0 ;
7738 PyObject * obj1 = 0 ;
7739 char *kwnames[] = {
7740 (char *) "self",(char *) "text", NULL
7741 };
7742
7743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
7744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7745 if (SWIG_arg_fail(1)) SWIG_fail;
7746 {
7747 arg2 = wxString_in_helper(obj1);
7748 if (arg2 == NULL) SWIG_fail;
7749 temp2 = true;
7750 }
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 (arg1)->SetText((wxString const &)*arg2);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 Py_INCREF(Py_None); resultobj = Py_None;
7759 {
7760 if (temp2)
7761 delete arg2;
7762 }
7763 return resultobj;
7764 fail:
7765 {
7766 if (temp2)
7767 delete arg2;
7768 }
7769 return NULL;
7770 }
7771
7772
7773 static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
7774 PyObject *resultobj;
7775 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7776 wxString result;
7777 PyObject * obj0 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
7783 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7784 if (SWIG_arg_fail(1)) SWIG_fail;
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 result = (arg1)->GetText();
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 {
7793 #if wxUSE_UNICODE
7794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7795 #else
7796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7797 #endif
7798 }
7799 return resultobj;
7800 fail:
7801 return NULL;
7802 }
7803
7804
7805 static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7808 int result;
7809 PyObject * obj0 = 0 ;
7810 char *kwnames[] = {
7811 (char *) "self", NULL
7812 };
7813
7814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
7815 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7816 if (SWIG_arg_fail(1)) SWIG_fail;
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 result = (int)(arg1)->GetTextLength();
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 {
7825 resultobj = SWIG_From_int((int)(result));
7826 }
7827 return resultobj;
7828 fail:
7829 return NULL;
7830 }
7831
7832
7833 static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
7834 PyObject *resultobj;
7835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7836 bool arg2 ;
7837 PyObject * obj0 = 0 ;
7838 PyObject * obj1 = 0 ;
7839 char *kwnames[] = {
7840 (char *) "self",(char *) "overtype", NULL
7841 };
7842
7843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
7844 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7845 if (SWIG_arg_fail(1)) SWIG_fail;
7846 {
7847 arg2 = (bool)(SWIG_As_bool(obj1));
7848 if (SWIG_arg_fail(2)) SWIG_fail;
7849 }
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 (arg1)->SetOvertype(arg2);
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 Py_INCREF(Py_None); resultobj = Py_None;
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7867 bool result;
7868 PyObject * obj0 = 0 ;
7869 char *kwnames[] = {
7870 (char *) "self", NULL
7871 };
7872
7873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
7874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7875 if (SWIG_arg_fail(1)) SWIG_fail;
7876 {
7877 PyThreadState* __tstate = wxPyBeginAllowThreads();
7878 result = (bool)(arg1)->GetOvertype();
7879
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 {
7884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7885 }
7886 return resultobj;
7887 fail:
7888 return NULL;
7889 }
7890
7891
7892 static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7893 PyObject *resultobj;
7894 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7895 int arg2 ;
7896 PyObject * obj0 = 0 ;
7897 PyObject * obj1 = 0 ;
7898 char *kwnames[] = {
7899 (char *) "self",(char *) "pixelWidth", NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
7903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7904 if (SWIG_arg_fail(1)) SWIG_fail;
7905 {
7906 arg2 = (int)(SWIG_As_int(obj1));
7907 if (SWIG_arg_fail(2)) SWIG_fail;
7908 }
7909 {
7910 PyThreadState* __tstate = wxPyBeginAllowThreads();
7911 (arg1)->SetCaretWidth(arg2);
7912
7913 wxPyEndAllowThreads(__tstate);
7914 if (PyErr_Occurred()) SWIG_fail;
7915 }
7916 Py_INCREF(Py_None); resultobj = Py_None;
7917 return resultobj;
7918 fail:
7919 return NULL;
7920 }
7921
7922
7923 static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7926 int result;
7927 PyObject * obj0 = 0 ;
7928 char *kwnames[] = {
7929 (char *) "self", NULL
7930 };
7931
7932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
7933 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7934 if (SWIG_arg_fail(1)) SWIG_fail;
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 result = (int)(arg1)->GetCaretWidth();
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 {
7943 resultobj = SWIG_From_int((int)(result));
7944 }
7945 return resultobj;
7946 fail:
7947 return NULL;
7948 }
7949
7950
7951 static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj;
7953 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7954 int arg2 ;
7955 PyObject * obj0 = 0 ;
7956 PyObject * obj1 = 0 ;
7957 char *kwnames[] = {
7958 (char *) "self",(char *) "pos", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
7962 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7963 if (SWIG_arg_fail(1)) SWIG_fail;
7964 {
7965 arg2 = (int)(SWIG_As_int(obj1));
7966 if (SWIG_arg_fail(2)) SWIG_fail;
7967 }
7968 {
7969 PyThreadState* __tstate = wxPyBeginAllowThreads();
7970 (arg1)->SetTargetStart(arg2);
7971
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 Py_INCREF(Py_None); resultobj = Py_None;
7976 return resultobj;
7977 fail:
7978 return NULL;
7979 }
7980
7981
7982 static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7985 int result;
7986 PyObject * obj0 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "self", NULL
7989 };
7990
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
7992 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
7993 if (SWIG_arg_fail(1)) SWIG_fail;
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = (int)(arg1)->GetTargetStart();
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 {
8002 resultobj = SWIG_From_int((int)(result));
8003 }
8004 return resultobj;
8005 fail:
8006 return NULL;
8007 }
8008
8009
8010 static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8013 int arg2 ;
8014 PyObject * obj0 = 0 ;
8015 PyObject * obj1 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self",(char *) "pos", NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
8021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8022 if (SWIG_arg_fail(1)) SWIG_fail;
8023 {
8024 arg2 = (int)(SWIG_As_int(obj1));
8025 if (SWIG_arg_fail(2)) SWIG_fail;
8026 }
8027 {
8028 PyThreadState* __tstate = wxPyBeginAllowThreads();
8029 (arg1)->SetTargetEnd(arg2);
8030
8031 wxPyEndAllowThreads(__tstate);
8032 if (PyErr_Occurred()) SWIG_fail;
8033 }
8034 Py_INCREF(Py_None); resultobj = Py_None;
8035 return resultobj;
8036 fail:
8037 return NULL;
8038 }
8039
8040
8041 static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *, PyObject *args, PyObject *kwargs) {
8042 PyObject *resultobj;
8043 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8044 int result;
8045 PyObject * obj0 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
8051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8052 if (SWIG_arg_fail(1)) SWIG_fail;
8053 {
8054 PyThreadState* __tstate = wxPyBeginAllowThreads();
8055 result = (int)(arg1)->GetTargetEnd();
8056
8057 wxPyEndAllowThreads(__tstate);
8058 if (PyErr_Occurred()) SWIG_fail;
8059 }
8060 {
8061 resultobj = SWIG_From_int((int)(result));
8062 }
8063 return resultobj;
8064 fail:
8065 return NULL;
8066 }
8067
8068
8069 static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj;
8071 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8072 wxString *arg2 = 0 ;
8073 int result;
8074 bool temp2 = false ;
8075 PyObject * obj0 = 0 ;
8076 PyObject * obj1 = 0 ;
8077 char *kwnames[] = {
8078 (char *) "self",(char *) "text", NULL
8079 };
8080
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
8082 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8083 if (SWIG_arg_fail(1)) SWIG_fail;
8084 {
8085 arg2 = wxString_in_helper(obj1);
8086 if (arg2 == NULL) SWIG_fail;
8087 temp2 = true;
8088 }
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 {
8097 resultobj = SWIG_From_int((int)(result));
8098 }
8099 {
8100 if (temp2)
8101 delete arg2;
8102 }
8103 return resultobj;
8104 fail:
8105 {
8106 if (temp2)
8107 delete arg2;
8108 }
8109 return NULL;
8110 }
8111
8112
8113 static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *, PyObject *args, PyObject *kwargs) {
8114 PyObject *resultobj;
8115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8116 wxString *arg2 = 0 ;
8117 int result;
8118 bool temp2 = false ;
8119 PyObject * obj0 = 0 ;
8120 PyObject * obj1 = 0 ;
8121 char *kwnames[] = {
8122 (char *) "self",(char *) "text", NULL
8123 };
8124
8125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
8126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8127 if (SWIG_arg_fail(1)) SWIG_fail;
8128 {
8129 arg2 = wxString_in_helper(obj1);
8130 if (arg2 == NULL) SWIG_fail;
8131 temp2 = true;
8132 }
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 {
8141 resultobj = SWIG_From_int((int)(result));
8142 }
8143 {
8144 if (temp2)
8145 delete arg2;
8146 }
8147 return resultobj;
8148 fail:
8149 {
8150 if (temp2)
8151 delete arg2;
8152 }
8153 return NULL;
8154 }
8155
8156
8157 static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *, PyObject *args, PyObject *kwargs) {
8158 PyObject *resultobj;
8159 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8160 wxString *arg2 = 0 ;
8161 int result;
8162 bool temp2 = false ;
8163 PyObject * obj0 = 0 ;
8164 PyObject * obj1 = 0 ;
8165 char *kwnames[] = {
8166 (char *) "self",(char *) "text", NULL
8167 };
8168
8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
8170 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8171 if (SWIG_arg_fail(1)) SWIG_fail;
8172 {
8173 arg2 = wxString_in_helper(obj1);
8174 if (arg2 == NULL) SWIG_fail;
8175 temp2 = true;
8176 }
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 {
8185 resultobj = SWIG_From_int((int)(result));
8186 }
8187 {
8188 if (temp2)
8189 delete arg2;
8190 }
8191 return resultobj;
8192 fail:
8193 {
8194 if (temp2)
8195 delete arg2;
8196 }
8197 return NULL;
8198 }
8199
8200
8201 static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8202 PyObject *resultobj;
8203 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8204 int arg2 ;
8205 PyObject * obj0 = 0 ;
8206 PyObject * obj1 = 0 ;
8207 char *kwnames[] = {
8208 (char *) "self",(char *) "flags", NULL
8209 };
8210
8211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
8212 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8213 if (SWIG_arg_fail(1)) SWIG_fail;
8214 {
8215 arg2 = (int)(SWIG_As_int(obj1));
8216 if (SWIG_arg_fail(2)) SWIG_fail;
8217 }
8218 {
8219 PyThreadState* __tstate = wxPyBeginAllowThreads();
8220 (arg1)->SetSearchFlags(arg2);
8221
8222 wxPyEndAllowThreads(__tstate);
8223 if (PyErr_Occurred()) SWIG_fail;
8224 }
8225 Py_INCREF(Py_None); resultobj = Py_None;
8226 return resultobj;
8227 fail:
8228 return NULL;
8229 }
8230
8231
8232 static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8233 PyObject *resultobj;
8234 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8235 int result;
8236 PyObject * obj0 = 0 ;
8237 char *kwnames[] = {
8238 (char *) "self", NULL
8239 };
8240
8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
8242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8243 if (SWIG_arg_fail(1)) SWIG_fail;
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 result = (int)(arg1)->GetSearchFlags();
8247
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
8251 {
8252 resultobj = SWIG_From_int((int)(result));
8253 }
8254 return resultobj;
8255 fail:
8256 return NULL;
8257 }
8258
8259
8260 static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *, PyObject *args, PyObject *kwargs) {
8261 PyObject *resultobj;
8262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8263 int arg2 ;
8264 wxString *arg3 = 0 ;
8265 bool temp3 = false ;
8266 PyObject * obj0 = 0 ;
8267 PyObject * obj1 = 0 ;
8268 PyObject * obj2 = 0 ;
8269 char *kwnames[] = {
8270 (char *) "self",(char *) "pos",(char *) "definition", NULL
8271 };
8272
8273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8275 if (SWIG_arg_fail(1)) SWIG_fail;
8276 {
8277 arg2 = (int)(SWIG_As_int(obj1));
8278 if (SWIG_arg_fail(2)) SWIG_fail;
8279 }
8280 {
8281 arg3 = wxString_in_helper(obj2);
8282 if (arg3 == NULL) SWIG_fail;
8283 temp3 = true;
8284 }
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 Py_INCREF(Py_None); resultobj = Py_None;
8293 {
8294 if (temp3)
8295 delete arg3;
8296 }
8297 return resultobj;
8298 fail:
8299 {
8300 if (temp3)
8301 delete arg3;
8302 }
8303 return NULL;
8304 }
8305
8306
8307 static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *, PyObject *args, PyObject *kwargs) {
8308 PyObject *resultobj;
8309 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8310 PyObject * obj0 = 0 ;
8311 char *kwnames[] = {
8312 (char *) "self", NULL
8313 };
8314
8315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
8316 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8317 if (SWIG_arg_fail(1)) SWIG_fail;
8318 {
8319 PyThreadState* __tstate = wxPyBeginAllowThreads();
8320 (arg1)->CallTipCancel();
8321
8322 wxPyEndAllowThreads(__tstate);
8323 if (PyErr_Occurred()) SWIG_fail;
8324 }
8325 Py_INCREF(Py_None); resultobj = Py_None;
8326 return resultobj;
8327 fail:
8328 return NULL;
8329 }
8330
8331
8332 static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *, PyObject *args, PyObject *kwargs) {
8333 PyObject *resultobj;
8334 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8335 bool result;
8336 PyObject * obj0 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "self", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
8342 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8343 if (SWIG_arg_fail(1)) SWIG_fail;
8344 {
8345 PyThreadState* __tstate = wxPyBeginAllowThreads();
8346 result = (bool)(arg1)->CallTipActive();
8347
8348 wxPyEndAllowThreads(__tstate);
8349 if (PyErr_Occurred()) SWIG_fail;
8350 }
8351 {
8352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8353 }
8354 return resultobj;
8355 fail:
8356 return NULL;
8357 }
8358
8359
8360 static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *, PyObject *args, PyObject *kwargs) {
8361 PyObject *resultobj;
8362 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8363 int result;
8364 PyObject * obj0 = 0 ;
8365 char *kwnames[] = {
8366 (char *) "self", NULL
8367 };
8368
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
8370 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8371 if (SWIG_arg_fail(1)) SWIG_fail;
8372 {
8373 PyThreadState* __tstate = wxPyBeginAllowThreads();
8374 result = (int)(arg1)->CallTipPosAtStart();
8375
8376 wxPyEndAllowThreads(__tstate);
8377 if (PyErr_Occurred()) SWIG_fail;
8378 }
8379 {
8380 resultobj = SWIG_From_int((int)(result));
8381 }
8382 return resultobj;
8383 fail:
8384 return NULL;
8385 }
8386
8387
8388 static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
8389 PyObject *resultobj;
8390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8391 int arg2 ;
8392 int arg3 ;
8393 PyObject * obj0 = 0 ;
8394 PyObject * obj1 = 0 ;
8395 PyObject * obj2 = 0 ;
8396 char *kwnames[] = {
8397 (char *) "self",(char *) "start",(char *) "end", NULL
8398 };
8399
8400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8402 if (SWIG_arg_fail(1)) SWIG_fail;
8403 {
8404 arg2 = (int)(SWIG_As_int(obj1));
8405 if (SWIG_arg_fail(2)) SWIG_fail;
8406 }
8407 {
8408 arg3 = (int)(SWIG_As_int(obj2));
8409 if (SWIG_arg_fail(3)) SWIG_fail;
8410 }
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 (arg1)->CallTipSetHighlight(arg2,arg3);
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 Py_INCREF(Py_None); resultobj = Py_None;
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8428 wxColour *arg2 = 0 ;
8429 wxColour temp2 ;
8430 PyObject * obj0 = 0 ;
8431 PyObject * obj1 = 0 ;
8432 char *kwnames[] = {
8433 (char *) "self",(char *) "back", NULL
8434 };
8435
8436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
8437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8438 if (SWIG_arg_fail(1)) SWIG_fail;
8439 {
8440 arg2 = &temp2;
8441 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8442 }
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
8446
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 Py_INCREF(Py_None); resultobj = Py_None;
8451 return resultobj;
8452 fail:
8453 return NULL;
8454 }
8455
8456
8457 static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *, PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj;
8459 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8460 wxColour *arg2 = 0 ;
8461 wxColour temp2 ;
8462 PyObject * obj0 = 0 ;
8463 PyObject * obj1 = 0 ;
8464 char *kwnames[] = {
8465 (char *) "self",(char *) "fore", NULL
8466 };
8467
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
8469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8470 if (SWIG_arg_fail(1)) SWIG_fail;
8471 {
8472 arg2 = &temp2;
8473 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8474 }
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
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_CallTipSetForegroundHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj;
8491 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8492 wxColour *arg2 = 0 ;
8493 wxColour temp2 ;
8494 PyObject * obj0 = 0 ;
8495 PyObject * obj1 = 0 ;
8496 char *kwnames[] = {
8497 (char *) "self",(char *) "fore", NULL
8498 };
8499
8500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
8501 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8502 if (SWIG_arg_fail(1)) SWIG_fail;
8503 {
8504 arg2 = &temp2;
8505 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8506 }
8507 {
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
8510
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 Py_INCREF(Py_None); resultobj = Py_None;
8515 return resultobj;
8516 fail:
8517 return NULL;
8518 }
8519
8520
8521 static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *, PyObject *args, PyObject *kwargs) {
8522 PyObject *resultobj;
8523 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8524 int arg2 ;
8525 int result;
8526 PyObject * obj0 = 0 ;
8527 PyObject * obj1 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self",(char *) "line", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
8533 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8534 if (SWIG_arg_fail(1)) SWIG_fail;
8535 {
8536 arg2 = (int)(SWIG_As_int(obj1));
8537 if (SWIG_arg_fail(2)) SWIG_fail;
8538 }
8539 {
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 result = (int)(arg1)->VisibleFromDocLine(arg2);
8542
8543 wxPyEndAllowThreads(__tstate);
8544 if (PyErr_Occurred()) SWIG_fail;
8545 }
8546 {
8547 resultobj = SWIG_From_int((int)(result));
8548 }
8549 return resultobj;
8550 fail:
8551 return NULL;
8552 }
8553
8554
8555 static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8556 PyObject *resultobj;
8557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8558 int arg2 ;
8559 int result;
8560 PyObject * obj0 = 0 ;
8561 PyObject * obj1 = 0 ;
8562 char *kwnames[] = {
8563 (char *) "self",(char *) "lineDisplay", NULL
8564 };
8565
8566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
8567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8568 if (SWIG_arg_fail(1)) SWIG_fail;
8569 {
8570 arg2 = (int)(SWIG_As_int(obj1));
8571 if (SWIG_arg_fail(2)) SWIG_fail;
8572 }
8573 {
8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
8575 result = (int)(arg1)->DocLineFromVisible(arg2);
8576
8577 wxPyEndAllowThreads(__tstate);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 }
8580 {
8581 resultobj = SWIG_From_int((int)(result));
8582 }
8583 return resultobj;
8584 fail:
8585 return NULL;
8586 }
8587
8588
8589 static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
8590 PyObject *resultobj;
8591 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8592 int arg2 ;
8593 int arg3 ;
8594 PyObject * obj0 = 0 ;
8595 PyObject * obj1 = 0 ;
8596 PyObject * obj2 = 0 ;
8597 char *kwnames[] = {
8598 (char *) "self",(char *) "line",(char *) "level", NULL
8599 };
8600
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
8602 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8603 if (SWIG_arg_fail(1)) SWIG_fail;
8604 {
8605 arg2 = (int)(SWIG_As_int(obj1));
8606 if (SWIG_arg_fail(2)) SWIG_fail;
8607 }
8608 {
8609 arg3 = (int)(SWIG_As_int(obj2));
8610 if (SWIG_arg_fail(3)) SWIG_fail;
8611 }
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 (arg1)->SetFoldLevel(arg2,arg3);
8615
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
8619 Py_INCREF(Py_None); resultobj = Py_None;
8620 return resultobj;
8621 fail:
8622 return NULL;
8623 }
8624
8625
8626 static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *, PyObject *args, PyObject *kwargs) {
8627 PyObject *resultobj;
8628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8629 int arg2 ;
8630 int result;
8631 PyObject * obj0 = 0 ;
8632 PyObject * obj1 = 0 ;
8633 char *kwnames[] = {
8634 (char *) "self",(char *) "line", NULL
8635 };
8636
8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
8638 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8639 if (SWIG_arg_fail(1)) SWIG_fail;
8640 {
8641 arg2 = (int)(SWIG_As_int(obj1));
8642 if (SWIG_arg_fail(2)) SWIG_fail;
8643 }
8644 {
8645 PyThreadState* __tstate = wxPyBeginAllowThreads();
8646 result = (int)(arg1)->GetFoldLevel(arg2);
8647
8648 wxPyEndAllowThreads(__tstate);
8649 if (PyErr_Occurred()) SWIG_fail;
8650 }
8651 {
8652 resultobj = SWIG_From_int((int)(result));
8653 }
8654 return resultobj;
8655 fail:
8656 return NULL;
8657 }
8658
8659
8660 static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
8661 PyObject *resultobj;
8662 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8663 int arg2 ;
8664 int arg3 ;
8665 int result;
8666 PyObject * obj0 = 0 ;
8667 PyObject * obj1 = 0 ;
8668 PyObject * obj2 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "self",(char *) "line",(char *) "level", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
8674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8675 if (SWIG_arg_fail(1)) SWIG_fail;
8676 {
8677 arg2 = (int)(SWIG_As_int(obj1));
8678 if (SWIG_arg_fail(2)) SWIG_fail;
8679 }
8680 {
8681 arg3 = (int)(SWIG_As_int(obj2));
8682 if (SWIG_arg_fail(3)) SWIG_fail;
8683 }
8684 {
8685 PyThreadState* __tstate = wxPyBeginAllowThreads();
8686 result = (int)(arg1)->GetLastChild(arg2,arg3);
8687
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 {
8692 resultobj = SWIG_From_int((int)(result));
8693 }
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8703 int arg2 ;
8704 int result;
8705 PyObject * obj0 = 0 ;
8706 PyObject * obj1 = 0 ;
8707 char *kwnames[] = {
8708 (char *) "self",(char *) "line", NULL
8709 };
8710
8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
8712 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8713 if (SWIG_arg_fail(1)) SWIG_fail;
8714 {
8715 arg2 = (int)(SWIG_As_int(obj1));
8716 if (SWIG_arg_fail(2)) SWIG_fail;
8717 }
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 result = (int)(arg1)->GetFoldParent(arg2);
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 {
8726 resultobj = SWIG_From_int((int)(result));
8727 }
8728 return resultobj;
8729 fail:
8730 return NULL;
8731 }
8732
8733
8734 static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *, PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj;
8736 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8737 int arg2 ;
8738 int arg3 ;
8739 PyObject * obj0 = 0 ;
8740 PyObject * obj1 = 0 ;
8741 PyObject * obj2 = 0 ;
8742 char *kwnames[] = {
8743 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
8744 };
8745
8746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8748 if (SWIG_arg_fail(1)) SWIG_fail;
8749 {
8750 arg2 = (int)(SWIG_As_int(obj1));
8751 if (SWIG_arg_fail(2)) SWIG_fail;
8752 }
8753 {
8754 arg3 = (int)(SWIG_As_int(obj2));
8755 if (SWIG_arg_fail(3)) SWIG_fail;
8756 }
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 (arg1)->ShowLines(arg2,arg3);
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 Py_INCREF(Py_None); resultobj = Py_None;
8765 return resultobj;
8766 fail:
8767 return NULL;
8768 }
8769
8770
8771 static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *, PyObject *args, PyObject *kwargs) {
8772 PyObject *resultobj;
8773 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8774 int arg2 ;
8775 int arg3 ;
8776 PyObject * obj0 = 0 ;
8777 PyObject * obj1 = 0 ;
8778 PyObject * obj2 = 0 ;
8779 char *kwnames[] = {
8780 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
8781 };
8782
8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8784 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8785 if (SWIG_arg_fail(1)) SWIG_fail;
8786 {
8787 arg2 = (int)(SWIG_As_int(obj1));
8788 if (SWIG_arg_fail(2)) SWIG_fail;
8789 }
8790 {
8791 arg3 = (int)(SWIG_As_int(obj2));
8792 if (SWIG_arg_fail(3)) SWIG_fail;
8793 }
8794 {
8795 PyThreadState* __tstate = wxPyBeginAllowThreads();
8796 (arg1)->HideLines(arg2,arg3);
8797
8798 wxPyEndAllowThreads(__tstate);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 Py_INCREF(Py_None); resultobj = Py_None;
8802 return resultobj;
8803 fail:
8804 return NULL;
8805 }
8806
8807
8808 static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8809 PyObject *resultobj;
8810 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8811 int arg2 ;
8812 bool result;
8813 PyObject * obj0 = 0 ;
8814 PyObject * obj1 = 0 ;
8815 char *kwnames[] = {
8816 (char *) "self",(char *) "line", NULL
8817 };
8818
8819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
8820 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8821 if (SWIG_arg_fail(1)) SWIG_fail;
8822 {
8823 arg2 = (int)(SWIG_As_int(obj1));
8824 if (SWIG_arg_fail(2)) SWIG_fail;
8825 }
8826 {
8827 PyThreadState* __tstate = wxPyBeginAllowThreads();
8828 result = (bool)(arg1)->GetLineVisible(arg2);
8829
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 {
8834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8835 }
8836 return resultobj;
8837 fail:
8838 return NULL;
8839 }
8840
8841
8842 static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
8843 PyObject *resultobj;
8844 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8845 int arg2 ;
8846 bool arg3 ;
8847 PyObject * obj0 = 0 ;
8848 PyObject * obj1 = 0 ;
8849 PyObject * obj2 = 0 ;
8850 char *kwnames[] = {
8851 (char *) "self",(char *) "line",(char *) "expanded", NULL
8852 };
8853
8854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
8855 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8856 if (SWIG_arg_fail(1)) SWIG_fail;
8857 {
8858 arg2 = (int)(SWIG_As_int(obj1));
8859 if (SWIG_arg_fail(2)) SWIG_fail;
8860 }
8861 {
8862 arg3 = (bool)(SWIG_As_bool(obj2));
8863 if (SWIG_arg_fail(3)) SWIG_fail;
8864 }
8865 {
8866 PyThreadState* __tstate = wxPyBeginAllowThreads();
8867 (arg1)->SetFoldExpanded(arg2,arg3);
8868
8869 wxPyEndAllowThreads(__tstate);
8870 if (PyErr_Occurred()) SWIG_fail;
8871 }
8872 Py_INCREF(Py_None); resultobj = Py_None;
8873 return resultobj;
8874 fail:
8875 return NULL;
8876 }
8877
8878
8879 static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
8880 PyObject *resultobj;
8881 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8882 int arg2 ;
8883 bool result;
8884 PyObject * obj0 = 0 ;
8885 PyObject * obj1 = 0 ;
8886 char *kwnames[] = {
8887 (char *) "self",(char *) "line", NULL
8888 };
8889
8890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
8891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8892 if (SWIG_arg_fail(1)) SWIG_fail;
8893 {
8894 arg2 = (int)(SWIG_As_int(obj1));
8895 if (SWIG_arg_fail(2)) SWIG_fail;
8896 }
8897 {
8898 PyThreadState* __tstate = wxPyBeginAllowThreads();
8899 result = (bool)(arg1)->GetFoldExpanded(arg2);
8900
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 {
8905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8906 }
8907 return resultobj;
8908 fail:
8909 return NULL;
8910 }
8911
8912
8913 static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *, PyObject *args, PyObject *kwargs) {
8914 PyObject *resultobj;
8915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8916 int arg2 ;
8917 PyObject * obj0 = 0 ;
8918 PyObject * obj1 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self",(char *) "line", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
8924 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8925 if (SWIG_arg_fail(1)) SWIG_fail;
8926 {
8927 arg2 = (int)(SWIG_As_int(obj1));
8928 if (SWIG_arg_fail(2)) SWIG_fail;
8929 }
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 (arg1)->ToggleFold(arg2);
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 Py_INCREF(Py_None); resultobj = Py_None;
8938 return resultobj;
8939 fail:
8940 return NULL;
8941 }
8942
8943
8944 static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj;
8946 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8947 int arg2 ;
8948 PyObject * obj0 = 0 ;
8949 PyObject * obj1 = 0 ;
8950 char *kwnames[] = {
8951 (char *) "self",(char *) "line", NULL
8952 };
8953
8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
8955 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8956 if (SWIG_arg_fail(1)) SWIG_fail;
8957 {
8958 arg2 = (int)(SWIG_As_int(obj1));
8959 if (SWIG_arg_fail(2)) SWIG_fail;
8960 }
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 (arg1)->EnsureVisible(arg2);
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 Py_INCREF(Py_None); resultobj = Py_None;
8969 return resultobj;
8970 fail:
8971 return NULL;
8972 }
8973
8974
8975 static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *, PyObject *args, PyObject *kwargs) {
8976 PyObject *resultobj;
8977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8978 int arg2 ;
8979 PyObject * obj0 = 0 ;
8980 PyObject * obj1 = 0 ;
8981 char *kwnames[] = {
8982 (char *) "self",(char *) "flags", NULL
8983 };
8984
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
8986 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
8987 if (SWIG_arg_fail(1)) SWIG_fail;
8988 {
8989 arg2 = (int)(SWIG_As_int(obj1));
8990 if (SWIG_arg_fail(2)) SWIG_fail;
8991 }
8992 {
8993 PyThreadState* __tstate = wxPyBeginAllowThreads();
8994 (arg1)->SetFoldFlags(arg2);
8995
8996 wxPyEndAllowThreads(__tstate);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 }
8999 Py_INCREF(Py_None); resultobj = Py_None;
9000 return resultobj;
9001 fail:
9002 return NULL;
9003 }
9004
9005
9006 static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
9007 PyObject *resultobj;
9008 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9009 int arg2 ;
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9012 char *kwnames[] = {
9013 (char *) "self",(char *) "line", NULL
9014 };
9015
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
9017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9018 if (SWIG_arg_fail(1)) SWIG_fail;
9019 {
9020 arg2 = (int)(SWIG_As_int(obj1));
9021 if (SWIG_arg_fail(2)) SWIG_fail;
9022 }
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 (arg1)->EnsureVisibleEnforcePolicy(arg2);
9026
9027 wxPyEndAllowThreads(__tstate);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 }
9030 Py_INCREF(Py_None); resultobj = Py_None;
9031 return resultobj;
9032 fail:
9033 return NULL;
9034 }
9035
9036
9037 static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9038 PyObject *resultobj;
9039 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9040 bool arg2 ;
9041 PyObject * obj0 = 0 ;
9042 PyObject * obj1 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "self",(char *) "tabIndents", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
9048 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9049 if (SWIG_arg_fail(1)) SWIG_fail;
9050 {
9051 arg2 = (bool)(SWIG_As_bool(obj1));
9052 if (SWIG_arg_fail(2)) SWIG_fail;
9053 }
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 (arg1)->SetTabIndents(arg2);
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 Py_INCREF(Py_None); resultobj = Py_None;
9062 return resultobj;
9063 fail:
9064 return NULL;
9065 }
9066
9067
9068 static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9071 bool result;
9072 PyObject * obj0 = 0 ;
9073 char *kwnames[] = {
9074 (char *) "self", NULL
9075 };
9076
9077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
9078 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9079 if (SWIG_arg_fail(1)) SWIG_fail;
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 result = (bool)(arg1)->GetTabIndents();
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 {
9088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9089 }
9090 return resultobj;
9091 fail:
9092 return NULL;
9093 }
9094
9095
9096 static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9097 PyObject *resultobj;
9098 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9099 bool arg2 ;
9100 PyObject * obj0 = 0 ;
9101 PyObject * obj1 = 0 ;
9102 char *kwnames[] = {
9103 (char *) "self",(char *) "bsUnIndents", NULL
9104 };
9105
9106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
9107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9108 if (SWIG_arg_fail(1)) SWIG_fail;
9109 {
9110 arg2 = (bool)(SWIG_As_bool(obj1));
9111 if (SWIG_arg_fail(2)) SWIG_fail;
9112 }
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 (arg1)->SetBackSpaceUnIndents(arg2);
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 Py_INCREF(Py_None); resultobj = Py_None;
9121 return resultobj;
9122 fail:
9123 return NULL;
9124 }
9125
9126
9127 static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *, PyObject *args, PyObject *kwargs) {
9128 PyObject *resultobj;
9129 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9130 bool result;
9131 PyObject * obj0 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
9137 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9138 if (SWIG_arg_fail(1)) SWIG_fail;
9139 {
9140 PyThreadState* __tstate = wxPyBeginAllowThreads();
9141 result = (bool)(arg1)->GetBackSpaceUnIndents();
9142
9143 wxPyEndAllowThreads(__tstate);
9144 if (PyErr_Occurred()) SWIG_fail;
9145 }
9146 {
9147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9148 }
9149 return resultobj;
9150 fail:
9151 return NULL;
9152 }
9153
9154
9155 static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
9156 PyObject *resultobj;
9157 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9158 int arg2 ;
9159 PyObject * obj0 = 0 ;
9160 PyObject * obj1 = 0 ;
9161 char *kwnames[] = {
9162 (char *) "self",(char *) "periodMilliseconds", NULL
9163 };
9164
9165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
9166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9167 if (SWIG_arg_fail(1)) SWIG_fail;
9168 {
9169 arg2 = (int)(SWIG_As_int(obj1));
9170 if (SWIG_arg_fail(2)) SWIG_fail;
9171 }
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 (arg1)->SetMouseDwellTime(arg2);
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
9179 Py_INCREF(Py_None); resultobj = Py_None;
9180 return resultobj;
9181 fail:
9182 return NULL;
9183 }
9184
9185
9186 static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *, PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj;
9188 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9189 int result;
9190 PyObject * obj0 = 0 ;
9191 char *kwnames[] = {
9192 (char *) "self", NULL
9193 };
9194
9195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
9196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9197 if (SWIG_arg_fail(1)) SWIG_fail;
9198 {
9199 PyThreadState* __tstate = wxPyBeginAllowThreads();
9200 result = (int)(arg1)->GetMouseDwellTime();
9201
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 {
9206 resultobj = SWIG_From_int((int)(result));
9207 }
9208 return resultobj;
9209 fail:
9210 return NULL;
9211 }
9212
9213
9214 static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9215 PyObject *resultobj;
9216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9217 int arg2 ;
9218 bool arg3 ;
9219 int result;
9220 PyObject * obj0 = 0 ;
9221 PyObject * obj1 = 0 ;
9222 PyObject * obj2 = 0 ;
9223 char *kwnames[] = {
9224 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
9225 };
9226
9227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9228 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9229 if (SWIG_arg_fail(1)) SWIG_fail;
9230 {
9231 arg2 = (int)(SWIG_As_int(obj1));
9232 if (SWIG_arg_fail(2)) SWIG_fail;
9233 }
9234 {
9235 arg3 = (bool)(SWIG_As_bool(obj2));
9236 if (SWIG_arg_fail(3)) SWIG_fail;
9237 }
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 result = (int)(arg1)->WordStartPosition(arg2,arg3);
9241
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 {
9246 resultobj = SWIG_From_int((int)(result));
9247 }
9248 return resultobj;
9249 fail:
9250 return NULL;
9251 }
9252
9253
9254 static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
9255 PyObject *resultobj;
9256 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9257 int arg2 ;
9258 bool arg3 ;
9259 int result;
9260 PyObject * obj0 = 0 ;
9261 PyObject * obj1 = 0 ;
9262 PyObject * obj2 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
9265 };
9266
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9268 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9269 if (SWIG_arg_fail(1)) SWIG_fail;
9270 {
9271 arg2 = (int)(SWIG_As_int(obj1));
9272 if (SWIG_arg_fail(2)) SWIG_fail;
9273 }
9274 {
9275 arg3 = (bool)(SWIG_As_bool(obj2));
9276 if (SWIG_arg_fail(3)) SWIG_fail;
9277 }
9278 {
9279 PyThreadState* __tstate = wxPyBeginAllowThreads();
9280 result = (int)(arg1)->WordEndPosition(arg2,arg3);
9281
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 {
9286 resultobj = SWIG_From_int((int)(result));
9287 }
9288 return resultobj;
9289 fail:
9290 return NULL;
9291 }
9292
9293
9294 static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
9295 PyObject *resultobj;
9296 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9297 int arg2 ;
9298 PyObject * obj0 = 0 ;
9299 PyObject * obj1 = 0 ;
9300 char *kwnames[] = {
9301 (char *) "self",(char *) "mode", NULL
9302 };
9303
9304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
9305 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9306 if (SWIG_arg_fail(1)) SWIG_fail;
9307 {
9308 arg2 = (int)(SWIG_As_int(obj1));
9309 if (SWIG_arg_fail(2)) SWIG_fail;
9310 }
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 (arg1)->SetWrapMode(arg2);
9314
9315 wxPyEndAllowThreads(__tstate);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 }
9318 Py_INCREF(Py_None); resultobj = Py_None;
9319 return resultobj;
9320 fail:
9321 return NULL;
9322 }
9323
9324
9325 static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
9326 PyObject *resultobj;
9327 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9328 int result;
9329 PyObject * obj0 = 0 ;
9330 char *kwnames[] = {
9331 (char *) "self", NULL
9332 };
9333
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
9335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9336 if (SWIG_arg_fail(1)) SWIG_fail;
9337 {
9338 PyThreadState* __tstate = wxPyBeginAllowThreads();
9339 result = (int)(arg1)->GetWrapMode();
9340
9341 wxPyEndAllowThreads(__tstate);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
9344 {
9345 resultobj = SWIG_From_int((int)(result));
9346 }
9347 return resultobj;
9348 fail:
9349 return NULL;
9350 }
9351
9352
9353 static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9354 PyObject *resultobj;
9355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9356 int arg2 ;
9357 PyObject * obj0 = 0 ;
9358 PyObject * obj1 = 0 ;
9359 char *kwnames[] = {
9360 (char *) "self",(char *) "wrapVisualFlags", NULL
9361 };
9362
9363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlags",kwnames,&obj0,&obj1)) goto fail;
9364 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9365 if (SWIG_arg_fail(1)) SWIG_fail;
9366 {
9367 arg2 = (int)(SWIG_As_int(obj1));
9368 if (SWIG_arg_fail(2)) SWIG_fail;
9369 }
9370 {
9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
9372 (arg1)->SetWrapVisualFlags(arg2);
9373
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
9377 Py_INCREF(Py_None); resultobj = Py_None;
9378 return resultobj;
9379 fail:
9380 return NULL;
9381 }
9382
9383
9384 static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlags(PyObject *, PyObject *args, PyObject *kwargs) {
9385 PyObject *resultobj;
9386 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9387 int result;
9388 PyObject * obj0 = 0 ;
9389 char *kwnames[] = {
9390 (char *) "self", NULL
9391 };
9392
9393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlags",kwnames,&obj0)) goto fail;
9394 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9395 if (SWIG_arg_fail(1)) SWIG_fail;
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 result = (int)(arg1)->GetWrapVisualFlags();
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 {
9404 resultobj = SWIG_From_int((int)(result));
9405 }
9406 return resultobj;
9407 fail:
9408 return NULL;
9409 }
9410
9411
9412 static PyObject *_wrap_StyledTextCtrl_SetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
9413 PyObject *resultobj;
9414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9415 int arg2 ;
9416 PyObject * obj0 = 0 ;
9417 PyObject * obj1 = 0 ;
9418 char *kwnames[] = {
9419 (char *) "self",(char *) "wrapVisualFlagsLocation", NULL
9420 };
9421
9422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapVisualFlagsLocation",kwnames,&obj0,&obj1)) goto fail;
9423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9424 if (SWIG_arg_fail(1)) SWIG_fail;
9425 {
9426 arg2 = (int)(SWIG_As_int(obj1));
9427 if (SWIG_arg_fail(2)) SWIG_fail;
9428 }
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 (arg1)->SetWrapVisualFlagsLocation(arg2);
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 Py_INCREF(Py_None); resultobj = Py_None;
9437 return resultobj;
9438 fail:
9439 return NULL;
9440 }
9441
9442
9443 static PyObject *_wrap_StyledTextCtrl_GetWrapVisualFlagsLocation(PyObject *, PyObject *args, PyObject *kwargs) {
9444 PyObject *resultobj;
9445 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9446 int result;
9447 PyObject * obj0 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapVisualFlagsLocation",kwnames,&obj0)) goto fail;
9453 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9454 if (SWIG_arg_fail(1)) SWIG_fail;
9455 {
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
9457 result = (int)(arg1)->GetWrapVisualFlagsLocation();
9458
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) SWIG_fail;
9461 }
9462 {
9463 resultobj = SWIG_From_int((int)(result));
9464 }
9465 return resultobj;
9466 fail:
9467 return NULL;
9468 }
9469
9470
9471 static PyObject *_wrap_StyledTextCtrl_SetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9472 PyObject *resultobj;
9473 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9474 int arg2 ;
9475 PyObject * obj0 = 0 ;
9476 PyObject * obj1 = 0 ;
9477 char *kwnames[] = {
9478 (char *) "self",(char *) "indent", NULL
9479 };
9480
9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapStartIndent",kwnames,&obj0,&obj1)) goto fail;
9482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9483 if (SWIG_arg_fail(1)) SWIG_fail;
9484 {
9485 arg2 = (int)(SWIG_As_int(obj1));
9486 if (SWIG_arg_fail(2)) SWIG_fail;
9487 }
9488 {
9489 PyThreadState* __tstate = wxPyBeginAllowThreads();
9490 (arg1)->SetWrapStartIndent(arg2);
9491
9492 wxPyEndAllowThreads(__tstate);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 }
9495 Py_INCREF(Py_None); resultobj = Py_None;
9496 return resultobj;
9497 fail:
9498 return NULL;
9499 }
9500
9501
9502 static PyObject *_wrap_StyledTextCtrl_GetWrapStartIndent(PyObject *, PyObject *args, PyObject *kwargs) {
9503 PyObject *resultobj;
9504 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9505 int result;
9506 PyObject * obj0 = 0 ;
9507 char *kwnames[] = {
9508 (char *) "self", NULL
9509 };
9510
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapStartIndent",kwnames,&obj0)) goto fail;
9512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9513 if (SWIG_arg_fail(1)) SWIG_fail;
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 result = (int)(arg1)->GetWrapStartIndent();
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 {
9522 resultobj = SWIG_From_int((int)(result));
9523 }
9524 return resultobj;
9525 fail:
9526 return NULL;
9527 }
9528
9529
9530 static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
9531 PyObject *resultobj;
9532 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9533 int arg2 ;
9534 PyObject * obj0 = 0 ;
9535 PyObject * obj1 = 0 ;
9536 char *kwnames[] = {
9537 (char *) "self",(char *) "mode", NULL
9538 };
9539
9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
9541 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9542 if (SWIG_arg_fail(1)) SWIG_fail;
9543 {
9544 arg2 = (int)(SWIG_As_int(obj1));
9545 if (SWIG_arg_fail(2)) SWIG_fail;
9546 }
9547 {
9548 PyThreadState* __tstate = wxPyBeginAllowThreads();
9549 (arg1)->SetLayoutCache(arg2);
9550
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 Py_INCREF(Py_None); resultobj = Py_None;
9555 return resultobj;
9556 fail:
9557 return NULL;
9558 }
9559
9560
9561 static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *, PyObject *args, PyObject *kwargs) {
9562 PyObject *resultobj;
9563 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9564 int result;
9565 PyObject * obj0 = 0 ;
9566 char *kwnames[] = {
9567 (char *) "self", NULL
9568 };
9569
9570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
9571 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9572 if (SWIG_arg_fail(1)) SWIG_fail;
9573 {
9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
9575 result = (int)(arg1)->GetLayoutCache();
9576
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 {
9581 resultobj = SWIG_From_int((int)(result));
9582 }
9583 return resultobj;
9584 fail:
9585 return NULL;
9586 }
9587
9588
9589 static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
9590 PyObject *resultobj;
9591 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9592 int arg2 ;
9593 PyObject * obj0 = 0 ;
9594 PyObject * obj1 = 0 ;
9595 char *kwnames[] = {
9596 (char *) "self",(char *) "pixelWidth", NULL
9597 };
9598
9599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
9600 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9601 if (SWIG_arg_fail(1)) SWIG_fail;
9602 {
9603 arg2 = (int)(SWIG_As_int(obj1));
9604 if (SWIG_arg_fail(2)) SWIG_fail;
9605 }
9606 {
9607 PyThreadState* __tstate = wxPyBeginAllowThreads();
9608 (arg1)->SetScrollWidth(arg2);
9609
9610 wxPyEndAllowThreads(__tstate);
9611 if (PyErr_Occurred()) SWIG_fail;
9612 }
9613 Py_INCREF(Py_None); resultobj = Py_None;
9614 return resultobj;
9615 fail:
9616 return NULL;
9617 }
9618
9619
9620 static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *, PyObject *args, PyObject *kwargs) {
9621 PyObject *resultobj;
9622 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9623 int result;
9624 PyObject * obj0 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "self", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
9630 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9631 if (SWIG_arg_fail(1)) SWIG_fail;
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 result = (int)(arg1)->GetScrollWidth();
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 {
9640 resultobj = SWIG_From_int((int)(result));
9641 }
9642 return resultobj;
9643 fail:
9644 return NULL;
9645 }
9646
9647
9648 static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *, PyObject *args, PyObject *kwargs) {
9649 PyObject *resultobj;
9650 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9651 int arg2 ;
9652 wxString *arg3 = 0 ;
9653 int result;
9654 bool temp3 = false ;
9655 PyObject * obj0 = 0 ;
9656 PyObject * obj1 = 0 ;
9657 PyObject * obj2 = 0 ;
9658 char *kwnames[] = {
9659 (char *) "self",(char *) "style",(char *) "text", NULL
9660 };
9661
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
9663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9664 if (SWIG_arg_fail(1)) SWIG_fail;
9665 {
9666 arg2 = (int)(SWIG_As_int(obj1));
9667 if (SWIG_arg_fail(2)) SWIG_fail;
9668 }
9669 {
9670 arg3 = wxString_in_helper(obj2);
9671 if (arg3 == NULL) SWIG_fail;
9672 temp3 = true;
9673 }
9674 {
9675 PyThreadState* __tstate = wxPyBeginAllowThreads();
9676 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
9677
9678 wxPyEndAllowThreads(__tstate);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 {
9682 resultobj = SWIG_From_int((int)(result));
9683 }
9684 {
9685 if (temp3)
9686 delete arg3;
9687 }
9688 return resultobj;
9689 fail:
9690 {
9691 if (temp3)
9692 delete arg3;
9693 }
9694 return NULL;
9695 }
9696
9697
9698 static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj;
9700 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9701 bool arg2 ;
9702 PyObject * obj0 = 0 ;
9703 PyObject * obj1 = 0 ;
9704 char *kwnames[] = {
9705 (char *) "self",(char *) "endAtLastLine", NULL
9706 };
9707
9708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
9709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9710 if (SWIG_arg_fail(1)) SWIG_fail;
9711 {
9712 arg2 = (bool)(SWIG_As_bool(obj1));
9713 if (SWIG_arg_fail(2)) SWIG_fail;
9714 }
9715 {
9716 PyThreadState* __tstate = wxPyBeginAllowThreads();
9717 (arg1)->SetEndAtLastLine(arg2);
9718
9719 wxPyEndAllowThreads(__tstate);
9720 if (PyErr_Occurred()) SWIG_fail;
9721 }
9722 Py_INCREF(Py_None); resultobj = Py_None;
9723 return resultobj;
9724 fail:
9725 return NULL;
9726 }
9727
9728
9729 static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *, PyObject *args, PyObject *kwargs) {
9730 PyObject *resultobj;
9731 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9732 int result;
9733 PyObject * obj0 = 0 ;
9734 char *kwnames[] = {
9735 (char *) "self", NULL
9736 };
9737
9738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
9739 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9740 if (SWIG_arg_fail(1)) SWIG_fail;
9741 {
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
9743 result = (int)(arg1)->GetEndAtLastLine();
9744
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 {
9749 resultobj = SWIG_From_int((int)(result));
9750 }
9751 return resultobj;
9752 fail:
9753 return NULL;
9754 }
9755
9756
9757 static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *, PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj;
9759 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9760 int arg2 ;
9761 int result;
9762 PyObject * obj0 = 0 ;
9763 PyObject * obj1 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self",(char *) "line", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
9769 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9770 if (SWIG_arg_fail(1)) SWIG_fail;
9771 {
9772 arg2 = (int)(SWIG_As_int(obj1));
9773 if (SWIG_arg_fail(2)) SWIG_fail;
9774 }
9775 {
9776 PyThreadState* __tstate = wxPyBeginAllowThreads();
9777 result = (int)(arg1)->TextHeight(arg2);
9778
9779 wxPyEndAllowThreads(__tstate);
9780 if (PyErr_Occurred()) SWIG_fail;
9781 }
9782 {
9783 resultobj = SWIG_From_int((int)(result));
9784 }
9785 return resultobj;
9786 fail:
9787 return NULL;
9788 }
9789
9790
9791 static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9792 PyObject *resultobj;
9793 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9794 bool arg2 ;
9795 PyObject * obj0 = 0 ;
9796 PyObject * obj1 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self",(char *) "show", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
9802 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9803 if (SWIG_arg_fail(1)) SWIG_fail;
9804 {
9805 arg2 = (bool)(SWIG_As_bool(obj1));
9806 if (SWIG_arg_fail(2)) SWIG_fail;
9807 }
9808 {
9809 PyThreadState* __tstate = wxPyBeginAllowThreads();
9810 (arg1)->SetUseVerticalScrollBar(arg2);
9811
9812 wxPyEndAllowThreads(__tstate);
9813 if (PyErr_Occurred()) SWIG_fail;
9814 }
9815 Py_INCREF(Py_None); resultobj = Py_None;
9816 return resultobj;
9817 fail:
9818 return NULL;
9819 }
9820
9821
9822 static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
9823 PyObject *resultobj;
9824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9825 bool result;
9826 PyObject * obj0 = 0 ;
9827 char *kwnames[] = {
9828 (char *) "self", NULL
9829 };
9830
9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
9832 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9833 if (SWIG_arg_fail(1)) SWIG_fail;
9834 {
9835 PyThreadState* __tstate = wxPyBeginAllowThreads();
9836 result = (bool)(arg1)->GetUseVerticalScrollBar();
9837
9838 wxPyEndAllowThreads(__tstate);
9839 if (PyErr_Occurred()) SWIG_fail;
9840 }
9841 {
9842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9843 }
9844 return resultobj;
9845 fail:
9846 return NULL;
9847 }
9848
9849
9850 static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *, PyObject *args, PyObject *kwargs) {
9851 PyObject *resultobj;
9852 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9853 int arg2 ;
9854 wxString *arg3 = 0 ;
9855 bool temp3 = false ;
9856 PyObject * obj0 = 0 ;
9857 PyObject * obj1 = 0 ;
9858 PyObject * obj2 = 0 ;
9859 char *kwnames[] = {
9860 (char *) "self",(char *) "length",(char *) "text", NULL
9861 };
9862
9863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail;
9864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9865 if (SWIG_arg_fail(1)) SWIG_fail;
9866 {
9867 arg2 = (int)(SWIG_As_int(obj1));
9868 if (SWIG_arg_fail(2)) SWIG_fail;
9869 }
9870 {
9871 arg3 = wxString_in_helper(obj2);
9872 if (arg3 == NULL) SWIG_fail;
9873 temp3 = true;
9874 }
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 (arg1)->AppendText(arg2,(wxString const &)*arg3);
9878
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 Py_INCREF(Py_None); resultobj = Py_None;
9883 {
9884 if (temp3)
9885 delete arg3;
9886 }
9887 return resultobj;
9888 fail:
9889 {
9890 if (temp3)
9891 delete arg3;
9892 }
9893 return NULL;
9894 }
9895
9896
9897 static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
9898 PyObject *resultobj;
9899 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9900 bool result;
9901 PyObject * obj0 = 0 ;
9902 char *kwnames[] = {
9903 (char *) "self", NULL
9904 };
9905
9906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
9907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9908 if (SWIG_arg_fail(1)) SWIG_fail;
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9911 result = (bool)(arg1)->GetTwoPhaseDraw();
9912
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
9916 {
9917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9918 }
9919 return resultobj;
9920 fail:
9921 return NULL;
9922 }
9923
9924
9925 static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *, PyObject *args, PyObject *kwargs) {
9926 PyObject *resultobj;
9927 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9928 bool arg2 ;
9929 PyObject * obj0 = 0 ;
9930 PyObject * obj1 = 0 ;
9931 char *kwnames[] = {
9932 (char *) "self",(char *) "twoPhase", NULL
9933 };
9934
9935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
9936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9937 if (SWIG_arg_fail(1)) SWIG_fail;
9938 {
9939 arg2 = (bool)(SWIG_As_bool(obj1));
9940 if (SWIG_arg_fail(2)) SWIG_fail;
9941 }
9942 {
9943 PyThreadState* __tstate = wxPyBeginAllowThreads();
9944 (arg1)->SetTwoPhaseDraw(arg2);
9945
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 Py_INCREF(Py_None); resultobj = Py_None;
9950 return resultobj;
9951 fail:
9952 return NULL;
9953 }
9954
9955
9956 static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9959 PyObject * obj0 = 0 ;
9960 char *kwnames[] = {
9961 (char *) "self", NULL
9962 };
9963
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
9965 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9966 if (SWIG_arg_fail(1)) SWIG_fail;
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 (arg1)->TargetFromSelection();
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 Py_INCREF(Py_None); resultobj = Py_None;
9975 return resultobj;
9976 fail:
9977 return NULL;
9978 }
9979
9980
9981 static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *, PyObject *args, PyObject *kwargs) {
9982 PyObject *resultobj;
9983 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9984 PyObject * obj0 = 0 ;
9985 char *kwnames[] = {
9986 (char *) "self", NULL
9987 };
9988
9989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
9990 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
9991 if (SWIG_arg_fail(1)) SWIG_fail;
9992 {
9993 PyThreadState* __tstate = wxPyBeginAllowThreads();
9994 (arg1)->LinesJoin();
9995
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 Py_INCREF(Py_None); resultobj = Py_None;
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *, PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj;
10008 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10009 int arg2 ;
10010 PyObject * obj0 = 0 ;
10011 PyObject * obj1 = 0 ;
10012 char *kwnames[] = {
10013 (char *) "self",(char *) "pixelWidth", NULL
10014 };
10015
10016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
10017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10018 if (SWIG_arg_fail(1)) SWIG_fail;
10019 {
10020 arg2 = (int)(SWIG_As_int(obj1));
10021 if (SWIG_arg_fail(2)) SWIG_fail;
10022 }
10023 {
10024 PyThreadState* __tstate = wxPyBeginAllowThreads();
10025 (arg1)->LinesSplit(arg2);
10026
10027 wxPyEndAllowThreads(__tstate);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 }
10030 Py_INCREF(Py_None); resultobj = Py_None;
10031 return resultobj;
10032 fail:
10033 return NULL;
10034 }
10035
10036
10037 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *, PyObject *args, PyObject *kwargs) {
10038 PyObject *resultobj;
10039 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10040 bool arg2 ;
10041 wxColour *arg3 = 0 ;
10042 wxColour temp3 ;
10043 PyObject * obj0 = 0 ;
10044 PyObject * obj1 = 0 ;
10045 PyObject * obj2 = 0 ;
10046 char *kwnames[] = {
10047 (char *) "self",(char *) "useSetting",(char *) "back", NULL
10048 };
10049
10050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10051 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10052 if (SWIG_arg_fail(1)) SWIG_fail;
10053 {
10054 arg2 = (bool)(SWIG_As_bool(obj1));
10055 if (SWIG_arg_fail(2)) SWIG_fail;
10056 }
10057 {
10058 arg3 = &temp3;
10059 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10060 }
10061 {
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
10064
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 Py_INCREF(Py_None); resultobj = Py_None;
10069 return resultobj;
10070 fail:
10071 return NULL;
10072 }
10073
10074
10075 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *, PyObject *args, PyObject *kwargs) {
10076 PyObject *resultobj;
10077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10078 bool arg2 ;
10079 wxColour *arg3 = 0 ;
10080 wxColour temp3 ;
10081 PyObject * obj0 = 0 ;
10082 PyObject * obj1 = 0 ;
10083 PyObject * obj2 = 0 ;
10084 char *kwnames[] = {
10085 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
10086 };
10087
10088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10089 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10090 if (SWIG_arg_fail(1)) SWIG_fail;
10091 {
10092 arg2 = (bool)(SWIG_As_bool(obj1));
10093 if (SWIG_arg_fail(2)) SWIG_fail;
10094 }
10095 {
10096 arg3 = &temp3;
10097 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10098 }
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 Py_INCREF(Py_None); resultobj = Py_None;
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
10114 PyObject *resultobj;
10115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10116 PyObject * obj0 = 0 ;
10117 char *kwnames[] = {
10118 (char *) "self", NULL
10119 };
10120
10121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail;
10122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10123 if (SWIG_arg_fail(1)) SWIG_fail;
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 (arg1)->LineDown();
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 Py_INCREF(Py_None); resultobj = Py_None;
10132 return resultobj;
10133 fail:
10134 return NULL;
10135 }
10136
10137
10138 static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10139 PyObject *resultobj;
10140 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10141 PyObject * obj0 = 0 ;
10142 char *kwnames[] = {
10143 (char *) "self", NULL
10144 };
10145
10146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail;
10147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10148 if (SWIG_arg_fail(1)) SWIG_fail;
10149 {
10150 PyThreadState* __tstate = wxPyBeginAllowThreads();
10151 (arg1)->LineDownExtend();
10152
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 Py_INCREF(Py_None); resultobj = Py_None;
10157 return resultobj;
10158 fail:
10159 return NULL;
10160 }
10161
10162
10163 static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
10164 PyObject *resultobj;
10165 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10166 PyObject * obj0 = 0 ;
10167 char *kwnames[] = {
10168 (char *) "self", NULL
10169 };
10170
10171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail;
10172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10173 if (SWIG_arg_fail(1)) SWIG_fail;
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 (arg1)->LineUp();
10177
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 Py_INCREF(Py_None); resultobj = Py_None;
10182 return resultobj;
10183 fail:
10184 return NULL;
10185 }
10186
10187
10188 static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj;
10190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10191 PyObject * obj0 = 0 ;
10192 char *kwnames[] = {
10193 (char *) "self", NULL
10194 };
10195
10196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail;
10197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10198 if (SWIG_arg_fail(1)) SWIG_fail;
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 (arg1)->LineUpExtend();
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 Py_INCREF(Py_None); resultobj = Py_None;
10207 return resultobj;
10208 fail:
10209 return NULL;
10210 }
10211
10212
10213 static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *, PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj;
10215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10216 PyObject * obj0 = 0 ;
10217 char *kwnames[] = {
10218 (char *) "self", NULL
10219 };
10220
10221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail;
10222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10223 if (SWIG_arg_fail(1)) SWIG_fail;
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 (arg1)->CharLeft();
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 Py_INCREF(Py_None); resultobj = Py_None;
10232 return resultobj;
10233 fail:
10234 return NULL;
10235 }
10236
10237
10238 static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj;
10240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10241 PyObject * obj0 = 0 ;
10242 char *kwnames[] = {
10243 (char *) "self", NULL
10244 };
10245
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail;
10247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10248 if (SWIG_arg_fail(1)) SWIG_fail;
10249 {
10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
10251 (arg1)->CharLeftExtend();
10252
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 Py_INCREF(Py_None); resultobj = Py_None;
10257 return resultobj;
10258 fail:
10259 return NULL;
10260 }
10261
10262
10263 static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *, PyObject *args, PyObject *kwargs) {
10264 PyObject *resultobj;
10265 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10266 PyObject * obj0 = 0 ;
10267 char *kwnames[] = {
10268 (char *) "self", NULL
10269 };
10270
10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail;
10272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10273 if (SWIG_arg_fail(1)) SWIG_fail;
10274 {
10275 PyThreadState* __tstate = wxPyBeginAllowThreads();
10276 (arg1)->CharRight();
10277
10278 wxPyEndAllowThreads(__tstate);
10279 if (PyErr_Occurred()) SWIG_fail;
10280 }
10281 Py_INCREF(Py_None); resultobj = Py_None;
10282 return resultobj;
10283 fail:
10284 return NULL;
10285 }
10286
10287
10288 static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10289 PyObject *resultobj;
10290 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10291 PyObject * obj0 = 0 ;
10292 char *kwnames[] = {
10293 (char *) "self", NULL
10294 };
10295
10296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail;
10297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10298 if (SWIG_arg_fail(1)) SWIG_fail;
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 (arg1)->CharRightExtend();
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 Py_INCREF(Py_None); resultobj = Py_None;
10307 return resultobj;
10308 fail:
10309 return NULL;
10310 }
10311
10312
10313 static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
10314 PyObject *resultobj;
10315 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10316 PyObject * obj0 = 0 ;
10317 char *kwnames[] = {
10318 (char *) "self", NULL
10319 };
10320
10321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail;
10322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10323 if (SWIG_arg_fail(1)) SWIG_fail;
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 (arg1)->WordLeft();
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 Py_INCREF(Py_None); resultobj = Py_None;
10332 return resultobj;
10333 fail:
10334 return NULL;
10335 }
10336
10337
10338 static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj;
10340 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10341 PyObject * obj0 = 0 ;
10342 char *kwnames[] = {
10343 (char *) "self", NULL
10344 };
10345
10346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail;
10347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10348 if (SWIG_arg_fail(1)) SWIG_fail;
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 (arg1)->WordLeftExtend();
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 Py_INCREF(Py_None); resultobj = Py_None;
10357 return resultobj;
10358 fail:
10359 return NULL;
10360 }
10361
10362
10363 static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *, PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj;
10365 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10366 PyObject * obj0 = 0 ;
10367 char *kwnames[] = {
10368 (char *) "self", NULL
10369 };
10370
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail;
10372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10373 if (SWIG_arg_fail(1)) SWIG_fail;
10374 {
10375 PyThreadState* __tstate = wxPyBeginAllowThreads();
10376 (arg1)->WordRight();
10377
10378 wxPyEndAllowThreads(__tstate);
10379 if (PyErr_Occurred()) SWIG_fail;
10380 }
10381 Py_INCREF(Py_None); resultobj = Py_None;
10382 return resultobj;
10383 fail:
10384 return NULL;
10385 }
10386
10387
10388 static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10389 PyObject *resultobj;
10390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10391 PyObject * obj0 = 0 ;
10392 char *kwnames[] = {
10393 (char *) "self", NULL
10394 };
10395
10396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail;
10397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10398 if (SWIG_arg_fail(1)) SWIG_fail;
10399 {
10400 PyThreadState* __tstate = wxPyBeginAllowThreads();
10401 (arg1)->WordRightExtend();
10402
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
10406 Py_INCREF(Py_None); resultobj = Py_None;
10407 return resultobj;
10408 fail:
10409 return NULL;
10410 }
10411
10412
10413 static PyObject *_wrap_StyledTextCtrl_Home(PyObject *, PyObject *args, PyObject *kwargs) {
10414 PyObject *resultobj;
10415 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10416 PyObject * obj0 = 0 ;
10417 char *kwnames[] = {
10418 (char *) "self", NULL
10419 };
10420
10421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail;
10422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10423 if (SWIG_arg_fail(1)) SWIG_fail;
10424 {
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 (arg1)->Home();
10427
10428 wxPyEndAllowThreads(__tstate);
10429 if (PyErr_Occurred()) SWIG_fail;
10430 }
10431 Py_INCREF(Py_None); resultobj = Py_None;
10432 return resultobj;
10433 fail:
10434 return NULL;
10435 }
10436
10437
10438 static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10439 PyObject *resultobj;
10440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10441 PyObject * obj0 = 0 ;
10442 char *kwnames[] = {
10443 (char *) "self", NULL
10444 };
10445
10446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail;
10447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10448 if (SWIG_arg_fail(1)) SWIG_fail;
10449 {
10450 PyThreadState* __tstate = wxPyBeginAllowThreads();
10451 (arg1)->HomeExtend();
10452
10453 wxPyEndAllowThreads(__tstate);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 }
10456 Py_INCREF(Py_None); resultobj = Py_None;
10457 return resultobj;
10458 fail:
10459 return NULL;
10460 }
10461
10462
10463 static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10464 PyObject *resultobj;
10465 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10466 PyObject * obj0 = 0 ;
10467 char *kwnames[] = {
10468 (char *) "self", NULL
10469 };
10470
10471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail;
10472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10473 if (SWIG_arg_fail(1)) SWIG_fail;
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 (arg1)->LineEnd();
10477
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 }
10481 Py_INCREF(Py_None); resultobj = Py_None;
10482 return resultobj;
10483 fail:
10484 return NULL;
10485 }
10486
10487
10488 static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj;
10490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10491 PyObject * obj0 = 0 ;
10492 char *kwnames[] = {
10493 (char *) "self", NULL
10494 };
10495
10496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail;
10497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10498 if (SWIG_arg_fail(1)) SWIG_fail;
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 (arg1)->LineEndExtend();
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 Py_INCREF(Py_None); resultobj = Py_None;
10507 return resultobj;
10508 fail:
10509 return NULL;
10510 }
10511
10512
10513 static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *, PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj;
10515 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10516 PyObject * obj0 = 0 ;
10517 char *kwnames[] = {
10518 (char *) "self", NULL
10519 };
10520
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail;
10522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10523 if (SWIG_arg_fail(1)) SWIG_fail;
10524 {
10525 PyThreadState* __tstate = wxPyBeginAllowThreads();
10526 (arg1)->DocumentStart();
10527
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 Py_INCREF(Py_None); resultobj = Py_None;
10532 return resultobj;
10533 fail:
10534 return NULL;
10535 }
10536
10537
10538 static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10539 PyObject *resultobj;
10540 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10541 PyObject * obj0 = 0 ;
10542 char *kwnames[] = {
10543 (char *) "self", NULL
10544 };
10545
10546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail;
10547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10548 if (SWIG_arg_fail(1)) SWIG_fail;
10549 {
10550 PyThreadState* __tstate = wxPyBeginAllowThreads();
10551 (arg1)->DocumentStartExtend();
10552
10553 wxPyEndAllowThreads(__tstate);
10554 if (PyErr_Occurred()) SWIG_fail;
10555 }
10556 Py_INCREF(Py_None); resultobj = Py_None;
10557 return resultobj;
10558 fail:
10559 return NULL;
10560 }
10561
10562
10563 static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *, PyObject *args, PyObject *kwargs) {
10564 PyObject *resultobj;
10565 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10566 PyObject * obj0 = 0 ;
10567 char *kwnames[] = {
10568 (char *) "self", NULL
10569 };
10570
10571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail;
10572 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10573 if (SWIG_arg_fail(1)) SWIG_fail;
10574 {
10575 PyThreadState* __tstate = wxPyBeginAllowThreads();
10576 (arg1)->DocumentEnd();
10577
10578 wxPyEndAllowThreads(__tstate);
10579 if (PyErr_Occurred()) SWIG_fail;
10580 }
10581 Py_INCREF(Py_None); resultobj = Py_None;
10582 return resultobj;
10583 fail:
10584 return NULL;
10585 }
10586
10587
10588 static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10589 PyObject *resultobj;
10590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10591 PyObject * obj0 = 0 ;
10592 char *kwnames[] = {
10593 (char *) "self", NULL
10594 };
10595
10596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail;
10597 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10598 if (SWIG_arg_fail(1)) SWIG_fail;
10599 {
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
10601 (arg1)->DocumentEndExtend();
10602
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 }
10606 Py_INCREF(Py_None); resultobj = Py_None;
10607 return resultobj;
10608 fail:
10609 return NULL;
10610 }
10611
10612
10613 static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
10614 PyObject *resultobj;
10615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10616 PyObject * obj0 = 0 ;
10617 char *kwnames[] = {
10618 (char *) "self", NULL
10619 };
10620
10621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail;
10622 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10623 if (SWIG_arg_fail(1)) SWIG_fail;
10624 {
10625 PyThreadState* __tstate = wxPyBeginAllowThreads();
10626 (arg1)->PageUp();
10627
10628 wxPyEndAllowThreads(__tstate);
10629 if (PyErr_Occurred()) SWIG_fail;
10630 }
10631 Py_INCREF(Py_None); resultobj = Py_None;
10632 return resultobj;
10633 fail:
10634 return NULL;
10635 }
10636
10637
10638 static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10639 PyObject *resultobj;
10640 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10641 PyObject * obj0 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail;
10647 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10648 if (SWIG_arg_fail(1)) SWIG_fail;
10649 {
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 (arg1)->PageUpExtend();
10652
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 Py_INCREF(Py_None); resultobj = Py_None;
10657 return resultobj;
10658 fail:
10659 return NULL;
10660 }
10661
10662
10663 static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
10664 PyObject *resultobj;
10665 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10666 PyObject * obj0 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail;
10672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10673 if (SWIG_arg_fail(1)) SWIG_fail;
10674 {
10675 PyThreadState* __tstate = wxPyBeginAllowThreads();
10676 (arg1)->PageDown();
10677
10678 wxPyEndAllowThreads(__tstate);
10679 if (PyErr_Occurred()) SWIG_fail;
10680 }
10681 Py_INCREF(Py_None); resultobj = Py_None;
10682 return resultobj;
10683 fail:
10684 return NULL;
10685 }
10686
10687
10688 static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10689 PyObject *resultobj;
10690 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10691 PyObject * obj0 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail;
10697 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10698 if (SWIG_arg_fail(1)) SWIG_fail;
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 (arg1)->PageDownExtend();
10702
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 }
10706 Py_INCREF(Py_None); resultobj = Py_None;
10707 return resultobj;
10708 fail:
10709 return NULL;
10710 }
10711
10712
10713 static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *, PyObject *args, PyObject *kwargs) {
10714 PyObject *resultobj;
10715 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10716 PyObject * obj0 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail;
10722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10723 if (SWIG_arg_fail(1)) SWIG_fail;
10724 {
10725 PyThreadState* __tstate = wxPyBeginAllowThreads();
10726 (arg1)->EditToggleOvertype();
10727
10728 wxPyEndAllowThreads(__tstate);
10729 if (PyErr_Occurred()) SWIG_fail;
10730 }
10731 Py_INCREF(Py_None); resultobj = Py_None;
10732 return resultobj;
10733 fail:
10734 return NULL;
10735 }
10736
10737
10738 static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *, PyObject *args, PyObject *kwargs) {
10739 PyObject *resultobj;
10740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10741 PyObject * obj0 = 0 ;
10742 char *kwnames[] = {
10743 (char *) "self", NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail;
10747 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10748 if (SWIG_arg_fail(1)) SWIG_fail;
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 (arg1)->Cancel();
10752
10753 wxPyEndAllowThreads(__tstate);
10754 if (PyErr_Occurred()) SWIG_fail;
10755 }
10756 Py_INCREF(Py_None); resultobj = Py_None;
10757 return resultobj;
10758 fail:
10759 return NULL;
10760 }
10761
10762
10763 static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *, PyObject *args, PyObject *kwargs) {
10764 PyObject *resultobj;
10765 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10766 PyObject * obj0 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail;
10772 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10773 if (SWIG_arg_fail(1)) SWIG_fail;
10774 {
10775 PyThreadState* __tstate = wxPyBeginAllowThreads();
10776 (arg1)->DeleteBack();
10777
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 Py_INCREF(Py_None); resultobj = Py_None;
10782 return resultobj;
10783 fail:
10784 return NULL;
10785 }
10786
10787
10788 static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *, PyObject *args, PyObject *kwargs) {
10789 PyObject *resultobj;
10790 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10791 PyObject * obj0 = 0 ;
10792 char *kwnames[] = {
10793 (char *) "self", NULL
10794 };
10795
10796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail;
10797 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10798 if (SWIG_arg_fail(1)) SWIG_fail;
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 (arg1)->Tab();
10802
10803 wxPyEndAllowThreads(__tstate);
10804 if (PyErr_Occurred()) SWIG_fail;
10805 }
10806 Py_INCREF(Py_None); resultobj = Py_None;
10807 return resultobj;
10808 fail:
10809 return NULL;
10810 }
10811
10812
10813 static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *, PyObject *args, PyObject *kwargs) {
10814 PyObject *resultobj;
10815 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10816 PyObject * obj0 = 0 ;
10817 char *kwnames[] = {
10818 (char *) "self", NULL
10819 };
10820
10821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail;
10822 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10823 if (SWIG_arg_fail(1)) SWIG_fail;
10824 {
10825 PyThreadState* __tstate = wxPyBeginAllowThreads();
10826 (arg1)->BackTab();
10827
10828 wxPyEndAllowThreads(__tstate);
10829 if (PyErr_Occurred()) SWIG_fail;
10830 }
10831 Py_INCREF(Py_None); resultobj = Py_None;
10832 return resultobj;
10833 fail:
10834 return NULL;
10835 }
10836
10837
10838 static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *, PyObject *args, PyObject *kwargs) {
10839 PyObject *resultobj;
10840 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10841 PyObject * obj0 = 0 ;
10842 char *kwnames[] = {
10843 (char *) "self", NULL
10844 };
10845
10846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail;
10847 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10848 if (SWIG_arg_fail(1)) SWIG_fail;
10849 {
10850 PyThreadState* __tstate = wxPyBeginAllowThreads();
10851 (arg1)->NewLine();
10852
10853 wxPyEndAllowThreads(__tstate);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 }
10856 Py_INCREF(Py_None); resultobj = Py_None;
10857 return resultobj;
10858 fail:
10859 return NULL;
10860 }
10861
10862
10863 static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *, PyObject *args, PyObject *kwargs) {
10864 PyObject *resultobj;
10865 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10866 PyObject * obj0 = 0 ;
10867 char *kwnames[] = {
10868 (char *) "self", NULL
10869 };
10870
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail;
10872 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10873 if (SWIG_arg_fail(1)) SWIG_fail;
10874 {
10875 PyThreadState* __tstate = wxPyBeginAllowThreads();
10876 (arg1)->FormFeed();
10877
10878 wxPyEndAllowThreads(__tstate);
10879 if (PyErr_Occurred()) SWIG_fail;
10880 }
10881 Py_INCREF(Py_None); resultobj = Py_None;
10882 return resultobj;
10883 fail:
10884 return NULL;
10885 }
10886
10887
10888 static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *, PyObject *args, PyObject *kwargs) {
10889 PyObject *resultobj;
10890 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10891 PyObject * obj0 = 0 ;
10892 char *kwnames[] = {
10893 (char *) "self", NULL
10894 };
10895
10896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail;
10897 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10898 if (SWIG_arg_fail(1)) SWIG_fail;
10899 {
10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
10901 (arg1)->VCHome();
10902
10903 wxPyEndAllowThreads(__tstate);
10904 if (PyErr_Occurred()) SWIG_fail;
10905 }
10906 Py_INCREF(Py_None); resultobj = Py_None;
10907 return resultobj;
10908 fail:
10909 return NULL;
10910 }
10911
10912
10913 static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *, PyObject *args, PyObject *kwargs) {
10914 PyObject *resultobj;
10915 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10916 PyObject * obj0 = 0 ;
10917 char *kwnames[] = {
10918 (char *) "self", NULL
10919 };
10920
10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail;
10922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10923 if (SWIG_arg_fail(1)) SWIG_fail;
10924 {
10925 PyThreadState* __tstate = wxPyBeginAllowThreads();
10926 (arg1)->VCHomeExtend();
10927
10928 wxPyEndAllowThreads(__tstate);
10929 if (PyErr_Occurred()) SWIG_fail;
10930 }
10931 Py_INCREF(Py_None); resultobj = Py_None;
10932 return resultobj;
10933 fail:
10934 return NULL;
10935 }
10936
10937
10938 static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *, PyObject *args, PyObject *kwargs) {
10939 PyObject *resultobj;
10940 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10941 PyObject * obj0 = 0 ;
10942 char *kwnames[] = {
10943 (char *) "self", NULL
10944 };
10945
10946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail;
10947 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10948 if (SWIG_arg_fail(1)) SWIG_fail;
10949 {
10950 PyThreadState* __tstate = wxPyBeginAllowThreads();
10951 (arg1)->ZoomIn();
10952
10953 wxPyEndAllowThreads(__tstate);
10954 if (PyErr_Occurred()) SWIG_fail;
10955 }
10956 Py_INCREF(Py_None); resultobj = Py_None;
10957 return resultobj;
10958 fail:
10959 return NULL;
10960 }
10961
10962
10963 static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *, PyObject *args, PyObject *kwargs) {
10964 PyObject *resultobj;
10965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10966 PyObject * obj0 = 0 ;
10967 char *kwnames[] = {
10968 (char *) "self", NULL
10969 };
10970
10971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail;
10972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10973 if (SWIG_arg_fail(1)) SWIG_fail;
10974 {
10975 PyThreadState* __tstate = wxPyBeginAllowThreads();
10976 (arg1)->ZoomOut();
10977
10978 wxPyEndAllowThreads(__tstate);
10979 if (PyErr_Occurred()) SWIG_fail;
10980 }
10981 Py_INCREF(Py_None); resultobj = Py_None;
10982 return resultobj;
10983 fail:
10984 return NULL;
10985 }
10986
10987
10988 static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *, PyObject *args, PyObject *kwargs) {
10989 PyObject *resultobj;
10990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10991 PyObject * obj0 = 0 ;
10992 char *kwnames[] = {
10993 (char *) "self", NULL
10994 };
10995
10996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail;
10997 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
10998 if (SWIG_arg_fail(1)) SWIG_fail;
10999 {
11000 PyThreadState* __tstate = wxPyBeginAllowThreads();
11001 (arg1)->DelWordLeft();
11002
11003 wxPyEndAllowThreads(__tstate);
11004 if (PyErr_Occurred()) SWIG_fail;
11005 }
11006 Py_INCREF(Py_None); resultobj = Py_None;
11007 return resultobj;
11008 fail:
11009 return NULL;
11010 }
11011
11012
11013 static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *, PyObject *args, PyObject *kwargs) {
11014 PyObject *resultobj;
11015 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11016 PyObject * obj0 = 0 ;
11017 char *kwnames[] = {
11018 (char *) "self", NULL
11019 };
11020
11021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail;
11022 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11023 if (SWIG_arg_fail(1)) SWIG_fail;
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 (arg1)->DelWordRight();
11027
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 Py_INCREF(Py_None); resultobj = Py_None;
11032 return resultobj;
11033 fail:
11034 return NULL;
11035 }
11036
11037
11038 static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *, PyObject *args, PyObject *kwargs) {
11039 PyObject *resultobj;
11040 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11041 PyObject * obj0 = 0 ;
11042 char *kwnames[] = {
11043 (char *) "self", NULL
11044 };
11045
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail;
11047 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11048 if (SWIG_arg_fail(1)) SWIG_fail;
11049 {
11050 PyThreadState* __tstate = wxPyBeginAllowThreads();
11051 (arg1)->LineCut();
11052
11053 wxPyEndAllowThreads(__tstate);
11054 if (PyErr_Occurred()) SWIG_fail;
11055 }
11056 Py_INCREF(Py_None); resultobj = Py_None;
11057 return resultobj;
11058 fail:
11059 return NULL;
11060 }
11061
11062
11063 static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *, PyObject *args, PyObject *kwargs) {
11064 PyObject *resultobj;
11065 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11066 PyObject * obj0 = 0 ;
11067 char *kwnames[] = {
11068 (char *) "self", NULL
11069 };
11070
11071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail;
11072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11073 if (SWIG_arg_fail(1)) SWIG_fail;
11074 {
11075 PyThreadState* __tstate = wxPyBeginAllowThreads();
11076 (arg1)->LineDelete();
11077
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 }
11081 Py_INCREF(Py_None); resultobj = Py_None;
11082 return resultobj;
11083 fail:
11084 return NULL;
11085 }
11086
11087
11088 static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *, PyObject *args, PyObject *kwargs) {
11089 PyObject *resultobj;
11090 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11091 PyObject * obj0 = 0 ;
11092 char *kwnames[] = {
11093 (char *) "self", NULL
11094 };
11095
11096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail;
11097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11098 if (SWIG_arg_fail(1)) SWIG_fail;
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 (arg1)->LineTranspose();
11102
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 Py_INCREF(Py_None); resultobj = Py_None;
11107 return resultobj;
11108 fail:
11109 return NULL;
11110 }
11111
11112
11113 static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *, PyObject *args, PyObject *kwargs) {
11114 PyObject *resultobj;
11115 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11116 PyObject * obj0 = 0 ;
11117 char *kwnames[] = {
11118 (char *) "self", NULL
11119 };
11120
11121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
11122 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11123 if (SWIG_arg_fail(1)) SWIG_fail;
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 (arg1)->LineDuplicate();
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 Py_INCREF(Py_None); resultobj = Py_None;
11132 return resultobj;
11133 fail:
11134 return NULL;
11135 }
11136
11137
11138 static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *, PyObject *args, PyObject *kwargs) {
11139 PyObject *resultobj;
11140 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11141 PyObject * obj0 = 0 ;
11142 char *kwnames[] = {
11143 (char *) "self", NULL
11144 };
11145
11146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail;
11147 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11148 if (SWIG_arg_fail(1)) SWIG_fail;
11149 {
11150 PyThreadState* __tstate = wxPyBeginAllowThreads();
11151 (arg1)->LowerCase();
11152
11153 wxPyEndAllowThreads(__tstate);
11154 if (PyErr_Occurred()) SWIG_fail;
11155 }
11156 Py_INCREF(Py_None); resultobj = Py_None;
11157 return resultobj;
11158 fail:
11159 return NULL;
11160 }
11161
11162
11163 static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *, PyObject *args, PyObject *kwargs) {
11164 PyObject *resultobj;
11165 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11166 PyObject * obj0 = 0 ;
11167 char *kwnames[] = {
11168 (char *) "self", NULL
11169 };
11170
11171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail;
11172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11173 if (SWIG_arg_fail(1)) SWIG_fail;
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 (arg1)->UpperCase();
11177
11178 wxPyEndAllowThreads(__tstate);
11179 if (PyErr_Occurred()) SWIG_fail;
11180 }
11181 Py_INCREF(Py_None); resultobj = Py_None;
11182 return resultobj;
11183 fail:
11184 return NULL;
11185 }
11186
11187
11188 static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *, PyObject *args, PyObject *kwargs) {
11189 PyObject *resultobj;
11190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11191 PyObject * obj0 = 0 ;
11192 char *kwnames[] = {
11193 (char *) "self", NULL
11194 };
11195
11196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail;
11197 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11198 if (SWIG_arg_fail(1)) SWIG_fail;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 (arg1)->LineScrollDown();
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 Py_INCREF(Py_None); resultobj = Py_None;
11207 return resultobj;
11208 fail:
11209 return NULL;
11210 }
11211
11212
11213 static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11216 PyObject * obj0 = 0 ;
11217 char *kwnames[] = {
11218 (char *) "self", NULL
11219 };
11220
11221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail;
11222 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11223 if (SWIG_arg_fail(1)) SWIG_fail;
11224 {
11225 PyThreadState* __tstate = wxPyBeginAllowThreads();
11226 (arg1)->LineScrollUp();
11227
11228 wxPyEndAllowThreads(__tstate);
11229 if (PyErr_Occurred()) SWIG_fail;
11230 }
11231 Py_INCREF(Py_None); resultobj = Py_None;
11232 return resultobj;
11233 fail:
11234 return NULL;
11235 }
11236
11237
11238 static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *, PyObject *args, PyObject *kwargs) {
11239 PyObject *resultobj;
11240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11241 PyObject * obj0 = 0 ;
11242 char *kwnames[] = {
11243 (char *) "self", NULL
11244 };
11245
11246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail;
11247 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11248 if (SWIG_arg_fail(1)) SWIG_fail;
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
11251 (arg1)->DeleteBackNotLine();
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 Py_INCREF(Py_None); resultobj = Py_None;
11257 return resultobj;
11258 fail:
11259 return NULL;
11260 }
11261
11262
11263 static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
11264 PyObject *resultobj;
11265 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11266 PyObject * obj0 = 0 ;
11267 char *kwnames[] = {
11268 (char *) "self", NULL
11269 };
11270
11271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
11272 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11273 if (SWIG_arg_fail(1)) SWIG_fail;
11274 {
11275 PyThreadState* __tstate = wxPyBeginAllowThreads();
11276 (arg1)->HomeDisplay();
11277
11278 wxPyEndAllowThreads(__tstate);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
11281 Py_INCREF(Py_None); resultobj = Py_None;
11282 return resultobj;
11283 fail:
11284 return NULL;
11285 }
11286
11287
11288 static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11289 PyObject *resultobj;
11290 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11291 PyObject * obj0 = 0 ;
11292 char *kwnames[] = {
11293 (char *) "self", NULL
11294 };
11295
11296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
11297 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11298 if (SWIG_arg_fail(1)) SWIG_fail;
11299 {
11300 PyThreadState* __tstate = wxPyBeginAllowThreads();
11301 (arg1)->HomeDisplayExtend();
11302
11303 wxPyEndAllowThreads(__tstate);
11304 if (PyErr_Occurred()) SWIG_fail;
11305 }
11306 Py_INCREF(Py_None); resultobj = Py_None;
11307 return resultobj;
11308 fail:
11309 return NULL;
11310 }
11311
11312
11313 static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *, PyObject *args, PyObject *kwargs) {
11314 PyObject *resultobj;
11315 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11316 PyObject * obj0 = 0 ;
11317 char *kwnames[] = {
11318 (char *) "self", NULL
11319 };
11320
11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
11322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11323 if (SWIG_arg_fail(1)) SWIG_fail;
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 (arg1)->LineEndDisplay();
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 Py_INCREF(Py_None); resultobj = Py_None;
11332 return resultobj;
11333 fail:
11334 return NULL;
11335 }
11336
11337
11338 static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11339 PyObject *resultobj;
11340 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11341 PyObject * obj0 = 0 ;
11342 char *kwnames[] = {
11343 (char *) "self", NULL
11344 };
11345
11346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
11347 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11348 if (SWIG_arg_fail(1)) SWIG_fail;
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 (arg1)->LineEndDisplayExtend();
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 Py_INCREF(Py_None); resultobj = Py_None;
11357 return resultobj;
11358 fail:
11359 return NULL;
11360 }
11361
11362
11363 static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj;
11365 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11366 PyObject * obj0 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail;
11372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11373 if (SWIG_arg_fail(1)) SWIG_fail;
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 (arg1)->HomeWrap();
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
11381 Py_INCREF(Py_None); resultobj = Py_None;
11382 return resultobj;
11383 fail:
11384 return NULL;
11385 }
11386
11387
11388 static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11389 PyObject *resultobj;
11390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11391 PyObject * obj0 = 0 ;
11392 char *kwnames[] = {
11393 (char *) "self", NULL
11394 };
11395
11396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail;
11397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11398 if (SWIG_arg_fail(1)) SWIG_fail;
11399 {
11400 PyThreadState* __tstate = wxPyBeginAllowThreads();
11401 (arg1)->HomeWrapExtend();
11402
11403 wxPyEndAllowThreads(__tstate);
11404 if (PyErr_Occurred()) SWIG_fail;
11405 }
11406 Py_INCREF(Py_None); resultobj = Py_None;
11407 return resultobj;
11408 fail:
11409 return NULL;
11410 }
11411
11412
11413 static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *, PyObject *args, PyObject *kwargs) {
11414 PyObject *resultobj;
11415 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11416 PyObject * obj0 = 0 ;
11417 char *kwnames[] = {
11418 (char *) "self", NULL
11419 };
11420
11421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail;
11422 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11423 if (SWIG_arg_fail(1)) SWIG_fail;
11424 {
11425 PyThreadState* __tstate = wxPyBeginAllowThreads();
11426 (arg1)->LineEndWrap();
11427
11428 wxPyEndAllowThreads(__tstate);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 }
11431 Py_INCREF(Py_None); resultobj = Py_None;
11432 return resultobj;
11433 fail:
11434 return NULL;
11435 }
11436
11437
11438 static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11439 PyObject *resultobj;
11440 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11441 PyObject * obj0 = 0 ;
11442 char *kwnames[] = {
11443 (char *) "self", NULL
11444 };
11445
11446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail;
11447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11448 if (SWIG_arg_fail(1)) SWIG_fail;
11449 {
11450 PyThreadState* __tstate = wxPyBeginAllowThreads();
11451 (arg1)->LineEndWrapExtend();
11452
11453 wxPyEndAllowThreads(__tstate);
11454 if (PyErr_Occurred()) SWIG_fail;
11455 }
11456 Py_INCREF(Py_None); resultobj = Py_None;
11457 return resultobj;
11458 fail:
11459 return NULL;
11460 }
11461
11462
11463 static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *, PyObject *args, PyObject *kwargs) {
11464 PyObject *resultobj;
11465 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11466 PyObject * obj0 = 0 ;
11467 char *kwnames[] = {
11468 (char *) "self", NULL
11469 };
11470
11471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail;
11472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11473 if (SWIG_arg_fail(1)) SWIG_fail;
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 (arg1)->VCHomeWrap();
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 Py_INCREF(Py_None); resultobj = Py_None;
11482 return resultobj;
11483 fail:
11484 return NULL;
11485 }
11486
11487
11488 static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *, PyObject *args, PyObject *kwargs) {
11489 PyObject *resultobj;
11490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11491 PyObject * obj0 = 0 ;
11492 char *kwnames[] = {
11493 (char *) "self", NULL
11494 };
11495
11496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail;
11497 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11498 if (SWIG_arg_fail(1)) SWIG_fail;
11499 {
11500 PyThreadState* __tstate = wxPyBeginAllowThreads();
11501 (arg1)->VCHomeWrapExtend();
11502
11503 wxPyEndAllowThreads(__tstate);
11504 if (PyErr_Occurred()) SWIG_fail;
11505 }
11506 Py_INCREF(Py_None); resultobj = Py_None;
11507 return resultobj;
11508 fail:
11509 return NULL;
11510 }
11511
11512
11513 static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *, PyObject *args, PyObject *kwargs) {
11514 PyObject *resultobj;
11515 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11516 PyObject * obj0 = 0 ;
11517 char *kwnames[] = {
11518 (char *) "self", NULL
11519 };
11520
11521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
11522 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11523 if (SWIG_arg_fail(1)) SWIG_fail;
11524 {
11525 PyThreadState* __tstate = wxPyBeginAllowThreads();
11526 (arg1)->LineCopy();
11527
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 Py_INCREF(Py_None); resultobj = Py_None;
11532 return resultobj;
11533 fail:
11534 return NULL;
11535 }
11536
11537
11538 static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *, PyObject *args, PyObject *kwargs) {
11539 PyObject *resultobj;
11540 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11541 PyObject * obj0 = 0 ;
11542 char *kwnames[] = {
11543 (char *) "self", NULL
11544 };
11545
11546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
11547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11548 if (SWIG_arg_fail(1)) SWIG_fail;
11549 {
11550 PyThreadState* __tstate = wxPyBeginAllowThreads();
11551 (arg1)->MoveCaretInsideView();
11552
11553 wxPyEndAllowThreads(__tstate);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 }
11556 Py_INCREF(Py_None); resultobj = Py_None;
11557 return resultobj;
11558 fail:
11559 return NULL;
11560 }
11561
11562
11563 static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *, PyObject *args, PyObject *kwargs) {
11564 PyObject *resultobj;
11565 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11566 int arg2 ;
11567 int result;
11568 PyObject * obj0 = 0 ;
11569 PyObject * obj1 = 0 ;
11570 char *kwnames[] = {
11571 (char *) "self",(char *) "line", NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
11575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11576 if (SWIG_arg_fail(1)) SWIG_fail;
11577 {
11578 arg2 = (int)(SWIG_As_int(obj1));
11579 if (SWIG_arg_fail(2)) SWIG_fail;
11580 }
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 result = (int)(arg1)->LineLength(arg2);
11584
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
11588 {
11589 resultobj = SWIG_From_int((int)(result));
11590 }
11591 return resultobj;
11592 fail:
11593 return NULL;
11594 }
11595
11596
11597 static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11600 int arg2 ;
11601 int arg3 ;
11602 PyObject * obj0 = 0 ;
11603 PyObject * obj1 = 0 ;
11604 PyObject * obj2 = 0 ;
11605 char *kwnames[] = {
11606 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
11607 };
11608
11609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
11610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11611 if (SWIG_arg_fail(1)) SWIG_fail;
11612 {
11613 arg2 = (int)(SWIG_As_int(obj1));
11614 if (SWIG_arg_fail(2)) SWIG_fail;
11615 }
11616 {
11617 arg3 = (int)(SWIG_As_int(obj2));
11618 if (SWIG_arg_fail(3)) SWIG_fail;
11619 }
11620 {
11621 PyThreadState* __tstate = wxPyBeginAllowThreads();
11622 (arg1)->BraceHighlight(arg2,arg3);
11623
11624 wxPyEndAllowThreads(__tstate);
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 Py_INCREF(Py_None); resultobj = Py_None;
11628 return resultobj;
11629 fail:
11630 return NULL;
11631 }
11632
11633
11634 static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *, PyObject *args, PyObject *kwargs) {
11635 PyObject *resultobj;
11636 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11637 int arg2 ;
11638 PyObject * obj0 = 0 ;
11639 PyObject * obj1 = 0 ;
11640 char *kwnames[] = {
11641 (char *) "self",(char *) "pos", NULL
11642 };
11643
11644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
11645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11646 if (SWIG_arg_fail(1)) SWIG_fail;
11647 {
11648 arg2 = (int)(SWIG_As_int(obj1));
11649 if (SWIG_arg_fail(2)) SWIG_fail;
11650 }
11651 {
11652 PyThreadState* __tstate = wxPyBeginAllowThreads();
11653 (arg1)->BraceBadLight(arg2);
11654
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 Py_INCREF(Py_None); resultobj = Py_None;
11659 return resultobj;
11660 fail:
11661 return NULL;
11662 }
11663
11664
11665 static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *, PyObject *args, PyObject *kwargs) {
11666 PyObject *resultobj;
11667 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11668 int arg2 ;
11669 int result;
11670 PyObject * obj0 = 0 ;
11671 PyObject * obj1 = 0 ;
11672 char *kwnames[] = {
11673 (char *) "self",(char *) "pos", NULL
11674 };
11675
11676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
11677 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11678 if (SWIG_arg_fail(1)) SWIG_fail;
11679 {
11680 arg2 = (int)(SWIG_As_int(obj1));
11681 if (SWIG_arg_fail(2)) SWIG_fail;
11682 }
11683 {
11684 PyThreadState* __tstate = wxPyBeginAllowThreads();
11685 result = (int)(arg1)->BraceMatch(arg2);
11686
11687 wxPyEndAllowThreads(__tstate);
11688 if (PyErr_Occurred()) SWIG_fail;
11689 }
11690 {
11691 resultobj = SWIG_From_int((int)(result));
11692 }
11693 return resultobj;
11694 fail:
11695 return NULL;
11696 }
11697
11698
11699 static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
11700 PyObject *resultobj;
11701 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11702 bool result;
11703 PyObject * obj0 = 0 ;
11704 char *kwnames[] = {
11705 (char *) "self", NULL
11706 };
11707
11708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
11709 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11710 if (SWIG_arg_fail(1)) SWIG_fail;
11711 {
11712 PyThreadState* __tstate = wxPyBeginAllowThreads();
11713 result = (bool)(arg1)->GetViewEOL();
11714
11715 wxPyEndAllowThreads(__tstate);
11716 if (PyErr_Occurred()) SWIG_fail;
11717 }
11718 {
11719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11720 }
11721 return resultobj;
11722 fail:
11723 return NULL;
11724 }
11725
11726
11727 static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *, PyObject *args, PyObject *kwargs) {
11728 PyObject *resultobj;
11729 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11730 bool arg2 ;
11731 PyObject * obj0 = 0 ;
11732 PyObject * obj1 = 0 ;
11733 char *kwnames[] = {
11734 (char *) "self",(char *) "visible", NULL
11735 };
11736
11737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
11738 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11739 if (SWIG_arg_fail(1)) SWIG_fail;
11740 {
11741 arg2 = (bool)(SWIG_As_bool(obj1));
11742 if (SWIG_arg_fail(2)) SWIG_fail;
11743 }
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 (arg1)->SetViewEOL(arg2);
11747
11748 wxPyEndAllowThreads(__tstate);
11749 if (PyErr_Occurred()) SWIG_fail;
11750 }
11751 Py_INCREF(Py_None); resultobj = Py_None;
11752 return resultobj;
11753 fail:
11754 return NULL;
11755 }
11756
11757
11758 static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj;
11760 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11761 void *result;
11762 PyObject * obj0 = 0 ;
11763 char *kwnames[] = {
11764 (char *) "self", NULL
11765 };
11766
11767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
11768 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11769 if (SWIG_arg_fail(1)) SWIG_fail;
11770 {
11771 PyThreadState* __tstate = wxPyBeginAllowThreads();
11772 result = (void *)(arg1)->GetDocPointer();
11773
11774 wxPyEndAllowThreads(__tstate);
11775 if (PyErr_Occurred()) SWIG_fail;
11776 }
11777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
11778 return resultobj;
11779 fail:
11780 return NULL;
11781 }
11782
11783
11784 static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *, PyObject *args, PyObject *kwargs) {
11785 PyObject *resultobj;
11786 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11787 void *arg2 = (void *) 0 ;
11788 PyObject * obj0 = 0 ;
11789 PyObject * obj1 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "self",(char *) "docPointer", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
11795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11796 if (SWIG_arg_fail(1)) SWIG_fail;
11797 {
11798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
11799 SWIG_arg_fail(2);SWIG_fail;
11800 }
11801 }
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 (arg1)->SetDocPointer(arg2);
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 Py_INCREF(Py_None); resultobj = Py_None;
11810 return resultobj;
11811 fail:
11812 return NULL;
11813 }
11814
11815
11816 static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
11817 PyObject *resultobj;
11818 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11819 int arg2 ;
11820 PyObject * obj0 = 0 ;
11821 PyObject * obj1 = 0 ;
11822 char *kwnames[] = {
11823 (char *) "self",(char *) "mask", NULL
11824 };
11825
11826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
11827 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11828 if (SWIG_arg_fail(1)) SWIG_fail;
11829 {
11830 arg2 = (int)(SWIG_As_int(obj1));
11831 if (SWIG_arg_fail(2)) SWIG_fail;
11832 }
11833 {
11834 PyThreadState* __tstate = wxPyBeginAllowThreads();
11835 (arg1)->SetModEventMask(arg2);
11836
11837 wxPyEndAllowThreads(__tstate);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 }
11840 Py_INCREF(Py_None); resultobj = Py_None;
11841 return resultobj;
11842 fail:
11843 return NULL;
11844 }
11845
11846
11847 static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
11848 PyObject *resultobj;
11849 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11850 int result;
11851 PyObject * obj0 = 0 ;
11852 char *kwnames[] = {
11853 (char *) "self", NULL
11854 };
11855
11856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
11857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11858 if (SWIG_arg_fail(1)) SWIG_fail;
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 result = (int)(arg1)->GetEdgeColumn();
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 {
11867 resultobj = SWIG_From_int((int)(result));
11868 }
11869 return resultobj;
11870 fail:
11871 return NULL;
11872 }
11873
11874
11875 static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *, PyObject *args, PyObject *kwargs) {
11876 PyObject *resultobj;
11877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11878 int arg2 ;
11879 PyObject * obj0 = 0 ;
11880 PyObject * obj1 = 0 ;
11881 char *kwnames[] = {
11882 (char *) "self",(char *) "column", NULL
11883 };
11884
11885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
11886 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11887 if (SWIG_arg_fail(1)) SWIG_fail;
11888 {
11889 arg2 = (int)(SWIG_As_int(obj1));
11890 if (SWIG_arg_fail(2)) SWIG_fail;
11891 }
11892 {
11893 PyThreadState* __tstate = wxPyBeginAllowThreads();
11894 (arg1)->SetEdgeColumn(arg2);
11895
11896 wxPyEndAllowThreads(__tstate);
11897 if (PyErr_Occurred()) SWIG_fail;
11898 }
11899 Py_INCREF(Py_None); resultobj = Py_None;
11900 return resultobj;
11901 fail:
11902 return NULL;
11903 }
11904
11905
11906 static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
11907 PyObject *resultobj;
11908 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11909 int result;
11910 PyObject * obj0 = 0 ;
11911 char *kwnames[] = {
11912 (char *) "self", NULL
11913 };
11914
11915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
11916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11917 if (SWIG_arg_fail(1)) SWIG_fail;
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 result = (int)(arg1)->GetEdgeMode();
11921
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 {
11926 resultobj = SWIG_From_int((int)(result));
11927 }
11928 return resultobj;
11929 fail:
11930 return NULL;
11931 }
11932
11933
11934 static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *, PyObject *args, PyObject *kwargs) {
11935 PyObject *resultobj;
11936 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11937 int arg2 ;
11938 PyObject * obj0 = 0 ;
11939 PyObject * obj1 = 0 ;
11940 char *kwnames[] = {
11941 (char *) "self",(char *) "mode", NULL
11942 };
11943
11944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
11945 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11946 if (SWIG_arg_fail(1)) SWIG_fail;
11947 {
11948 arg2 = (int)(SWIG_As_int(obj1));
11949 if (SWIG_arg_fail(2)) SWIG_fail;
11950 }
11951 {
11952 PyThreadState* __tstate = wxPyBeginAllowThreads();
11953 (arg1)->SetEdgeMode(arg2);
11954
11955 wxPyEndAllowThreads(__tstate);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 Py_INCREF(Py_None); resultobj = Py_None;
11959 return resultobj;
11960 fail:
11961 return NULL;
11962 }
11963
11964
11965 static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
11966 PyObject *resultobj;
11967 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11968 wxColour result;
11969 PyObject * obj0 = 0 ;
11970 char *kwnames[] = {
11971 (char *) "self", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
11975 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
11976 if (SWIG_arg_fail(1)) SWIG_fail;
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 result = (arg1)->GetEdgeColour();
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 {
11985 wxColour * resultptr;
11986 resultptr = new wxColour((wxColour &)(result));
11987 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
11988 }
11989 return resultobj;
11990 fail:
11991 return NULL;
11992 }
11993
11994
11995 static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *, PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj;
11997 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11998 wxColour *arg2 = 0 ;
11999 wxColour temp2 ;
12000 PyObject * obj0 = 0 ;
12001 PyObject * obj1 = 0 ;
12002 char *kwnames[] = {
12003 (char *) "self",(char *) "edgeColour", NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
12007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12008 if (SWIG_arg_fail(1)) SWIG_fail;
12009 {
12010 arg2 = &temp2;
12011 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12012 }
12013 {
12014 PyThreadState* __tstate = wxPyBeginAllowThreads();
12015 (arg1)->SetEdgeColour((wxColour const &)*arg2);
12016
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
12020 Py_INCREF(Py_None); resultobj = Py_None;
12021 return resultobj;
12022 fail:
12023 return NULL;
12024 }
12025
12026
12027 static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
12028 PyObject *resultobj;
12029 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12030 PyObject * obj0 = 0 ;
12031 char *kwnames[] = {
12032 (char *) "self", NULL
12033 };
12034
12035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
12036 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12037 if (SWIG_arg_fail(1)) SWIG_fail;
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 (arg1)->SearchAnchor();
12041
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 Py_INCREF(Py_None); resultobj = Py_None;
12046 return resultobj;
12047 fail:
12048 return NULL;
12049 }
12050
12051
12052 static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *, PyObject *args, PyObject *kwargs) {
12053 PyObject *resultobj;
12054 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12055 int arg2 ;
12056 wxString *arg3 = 0 ;
12057 int result;
12058 bool temp3 = false ;
12059 PyObject * obj0 = 0 ;
12060 PyObject * obj1 = 0 ;
12061 PyObject * obj2 = 0 ;
12062 char *kwnames[] = {
12063 (char *) "self",(char *) "flags",(char *) "text", NULL
12064 };
12065
12066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
12067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12068 if (SWIG_arg_fail(1)) SWIG_fail;
12069 {
12070 arg2 = (int)(SWIG_As_int(obj1));
12071 if (SWIG_arg_fail(2)) SWIG_fail;
12072 }
12073 {
12074 arg3 = wxString_in_helper(obj2);
12075 if (arg3 == NULL) SWIG_fail;
12076 temp3 = true;
12077 }
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 {
12086 resultobj = SWIG_From_int((int)(result));
12087 }
12088 {
12089 if (temp3)
12090 delete arg3;
12091 }
12092 return resultobj;
12093 fail:
12094 {
12095 if (temp3)
12096 delete arg3;
12097 }
12098 return NULL;
12099 }
12100
12101
12102 static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj;
12104 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12105 int arg2 ;
12106 wxString *arg3 = 0 ;
12107 int result;
12108 bool temp3 = false ;
12109 PyObject * obj0 = 0 ;
12110 PyObject * obj1 = 0 ;
12111 PyObject * obj2 = 0 ;
12112 char *kwnames[] = {
12113 (char *) "self",(char *) "flags",(char *) "text", NULL
12114 };
12115
12116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
12117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12118 if (SWIG_arg_fail(1)) SWIG_fail;
12119 {
12120 arg2 = (int)(SWIG_As_int(obj1));
12121 if (SWIG_arg_fail(2)) SWIG_fail;
12122 }
12123 {
12124 arg3 = wxString_in_helper(obj2);
12125 if (arg3 == NULL) SWIG_fail;
12126 temp3 = true;
12127 }
12128 {
12129 PyThreadState* __tstate = wxPyBeginAllowThreads();
12130 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
12131
12132 wxPyEndAllowThreads(__tstate);
12133 if (PyErr_Occurred()) SWIG_fail;
12134 }
12135 {
12136 resultobj = SWIG_From_int((int)(result));
12137 }
12138 {
12139 if (temp3)
12140 delete arg3;
12141 }
12142 return resultobj;
12143 fail:
12144 {
12145 if (temp3)
12146 delete arg3;
12147 }
12148 return NULL;
12149 }
12150
12151
12152 static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
12153 PyObject *resultobj;
12154 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12155 int result;
12156 PyObject * obj0 = 0 ;
12157 char *kwnames[] = {
12158 (char *) "self", NULL
12159 };
12160
12161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
12162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12163 if (SWIG_arg_fail(1)) SWIG_fail;
12164 {
12165 PyThreadState* __tstate = wxPyBeginAllowThreads();
12166 result = (int)(arg1)->LinesOnScreen();
12167
12168 wxPyEndAllowThreads(__tstate);
12169 if (PyErr_Occurred()) SWIG_fail;
12170 }
12171 {
12172 resultobj = SWIG_From_int((int)(result));
12173 }
12174 return resultobj;
12175 fail:
12176 return NULL;
12177 }
12178
12179
12180 static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *, PyObject *args, PyObject *kwargs) {
12181 PyObject *resultobj;
12182 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12183 bool arg2 ;
12184 PyObject * obj0 = 0 ;
12185 PyObject * obj1 = 0 ;
12186 char *kwnames[] = {
12187 (char *) "self",(char *) "allowPopUp", NULL
12188 };
12189
12190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
12191 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12192 if (SWIG_arg_fail(1)) SWIG_fail;
12193 {
12194 arg2 = (bool)(SWIG_As_bool(obj1));
12195 if (SWIG_arg_fail(2)) SWIG_fail;
12196 }
12197 {
12198 PyThreadState* __tstate = wxPyBeginAllowThreads();
12199 (arg1)->UsePopUp(arg2);
12200
12201 wxPyEndAllowThreads(__tstate);
12202 if (PyErr_Occurred()) SWIG_fail;
12203 }
12204 Py_INCREF(Py_None); resultobj = Py_None;
12205 return resultobj;
12206 fail:
12207 return NULL;
12208 }
12209
12210
12211 static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *, PyObject *args, PyObject *kwargs) {
12212 PyObject *resultobj;
12213 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12214 bool result;
12215 PyObject * obj0 = 0 ;
12216 char *kwnames[] = {
12217 (char *) "self", NULL
12218 };
12219
12220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
12221 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12222 if (SWIG_arg_fail(1)) SWIG_fail;
12223 {
12224 PyThreadState* __tstate = wxPyBeginAllowThreads();
12225 result = (bool)(arg1)->SelectionIsRectangle();
12226
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 {
12231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12232 }
12233 return resultobj;
12234 fail:
12235 return NULL;
12236 }
12237
12238
12239 static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
12240 PyObject *resultobj;
12241 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12242 int arg2 ;
12243 PyObject * obj0 = 0 ;
12244 PyObject * obj1 = 0 ;
12245 char *kwnames[] = {
12246 (char *) "self",(char *) "zoom", NULL
12247 };
12248
12249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
12250 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12251 if (SWIG_arg_fail(1)) SWIG_fail;
12252 {
12253 arg2 = (int)(SWIG_As_int(obj1));
12254 if (SWIG_arg_fail(2)) SWIG_fail;
12255 }
12256 {
12257 PyThreadState* __tstate = wxPyBeginAllowThreads();
12258 (arg1)->SetZoom(arg2);
12259
12260 wxPyEndAllowThreads(__tstate);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 }
12263 Py_INCREF(Py_None); resultobj = Py_None;
12264 return resultobj;
12265 fail:
12266 return NULL;
12267 }
12268
12269
12270 static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *, PyObject *args, PyObject *kwargs) {
12271 PyObject *resultobj;
12272 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12273 int result;
12274 PyObject * obj0 = 0 ;
12275 char *kwnames[] = {
12276 (char *) "self", NULL
12277 };
12278
12279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
12280 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12281 if (SWIG_arg_fail(1)) SWIG_fail;
12282 {
12283 PyThreadState* __tstate = wxPyBeginAllowThreads();
12284 result = (int)(arg1)->GetZoom();
12285
12286 wxPyEndAllowThreads(__tstate);
12287 if (PyErr_Occurred()) SWIG_fail;
12288 }
12289 {
12290 resultobj = SWIG_From_int((int)(result));
12291 }
12292 return resultobj;
12293 fail:
12294 return NULL;
12295 }
12296
12297
12298 static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *, PyObject *args, PyObject *kwargs) {
12299 PyObject *resultobj;
12300 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12301 void *result;
12302 PyObject * obj0 = 0 ;
12303 char *kwnames[] = {
12304 (char *) "self", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
12308 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12309 if (SWIG_arg_fail(1)) SWIG_fail;
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 result = (void *)(arg1)->CreateDocument();
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
12318 return resultobj;
12319 fail:
12320 return NULL;
12321 }
12322
12323
12324 static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *, PyObject *args, PyObject *kwargs) {
12325 PyObject *resultobj;
12326 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12327 void *arg2 = (void *) 0 ;
12328 PyObject * obj0 = 0 ;
12329 PyObject * obj1 = 0 ;
12330 char *kwnames[] = {
12331 (char *) "self",(char *) "docPointer", NULL
12332 };
12333
12334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
12335 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12336 if (SWIG_arg_fail(1)) SWIG_fail;
12337 {
12338 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
12339 SWIG_arg_fail(2);SWIG_fail;
12340 }
12341 }
12342 {
12343 PyThreadState* __tstate = wxPyBeginAllowThreads();
12344 (arg1)->AddRefDocument(arg2);
12345
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 Py_INCREF(Py_None); resultobj = Py_None;
12350 return resultobj;
12351 fail:
12352 return NULL;
12353 }
12354
12355
12356 static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *, PyObject *args, PyObject *kwargs) {
12357 PyObject *resultobj;
12358 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12359 void *arg2 = (void *) 0 ;
12360 PyObject * obj0 = 0 ;
12361 PyObject * obj1 = 0 ;
12362 char *kwnames[] = {
12363 (char *) "self",(char *) "docPointer", NULL
12364 };
12365
12366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
12367 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12368 if (SWIG_arg_fail(1)) SWIG_fail;
12369 {
12370 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),0,SWIG_POINTER_EXCEPTION|0))== -1) {
12371 SWIG_arg_fail(2);SWIG_fail;
12372 }
12373 }
12374 {
12375 PyThreadState* __tstate = wxPyBeginAllowThreads();
12376 (arg1)->ReleaseDocument(arg2);
12377
12378 wxPyEndAllowThreads(__tstate);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 }
12381 Py_INCREF(Py_None); resultobj = Py_None;
12382 return resultobj;
12383 fail:
12384 return NULL;
12385 }
12386
12387
12388 static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *, PyObject *args, PyObject *kwargs) {
12389 PyObject *resultobj;
12390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12391 int result;
12392 PyObject * obj0 = 0 ;
12393 char *kwnames[] = {
12394 (char *) "self", NULL
12395 };
12396
12397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
12398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12399 if (SWIG_arg_fail(1)) SWIG_fail;
12400 {
12401 PyThreadState* __tstate = wxPyBeginAllowThreads();
12402 result = (int)(arg1)->GetModEventMask();
12403
12404 wxPyEndAllowThreads(__tstate);
12405 if (PyErr_Occurred()) SWIG_fail;
12406 }
12407 {
12408 resultobj = SWIG_From_int((int)(result));
12409 }
12410 return resultobj;
12411 fail:
12412 return NULL;
12413 }
12414
12415
12416 static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
12417 PyObject *resultobj;
12418 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12419 bool arg2 ;
12420 PyObject * obj0 = 0 ;
12421 PyObject * obj1 = 0 ;
12422 char *kwnames[] = {
12423 (char *) "self",(char *) "focus", NULL
12424 };
12425
12426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
12427 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12428 if (SWIG_arg_fail(1)) SWIG_fail;
12429 {
12430 arg2 = (bool)(SWIG_As_bool(obj1));
12431 if (SWIG_arg_fail(2)) SWIG_fail;
12432 }
12433 {
12434 PyThreadState* __tstate = wxPyBeginAllowThreads();
12435 (arg1)->SetSTCFocus(arg2);
12436
12437 wxPyEndAllowThreads(__tstate);
12438 if (PyErr_Occurred()) SWIG_fail;
12439 }
12440 Py_INCREF(Py_None); resultobj = Py_None;
12441 return resultobj;
12442 fail:
12443 return NULL;
12444 }
12445
12446
12447 static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *, PyObject *args, PyObject *kwargs) {
12448 PyObject *resultobj;
12449 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12450 bool result;
12451 PyObject * obj0 = 0 ;
12452 char *kwnames[] = {
12453 (char *) "self", NULL
12454 };
12455
12456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
12457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12458 if (SWIG_arg_fail(1)) SWIG_fail;
12459 {
12460 PyThreadState* __tstate = wxPyBeginAllowThreads();
12461 result = (bool)(arg1)->GetSTCFocus();
12462
12463 wxPyEndAllowThreads(__tstate);
12464 if (PyErr_Occurred()) SWIG_fail;
12465 }
12466 {
12467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12468 }
12469 return resultobj;
12470 fail:
12471 return NULL;
12472 }
12473
12474
12475 static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
12476 PyObject *resultobj;
12477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12478 int arg2 ;
12479 PyObject * obj0 = 0 ;
12480 PyObject * obj1 = 0 ;
12481 char *kwnames[] = {
12482 (char *) "self",(char *) "statusCode", NULL
12483 };
12484
12485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
12486 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12487 if (SWIG_arg_fail(1)) SWIG_fail;
12488 {
12489 arg2 = (int)(SWIG_As_int(obj1));
12490 if (SWIG_arg_fail(2)) SWIG_fail;
12491 }
12492 {
12493 PyThreadState* __tstate = wxPyBeginAllowThreads();
12494 (arg1)->SetStatus(arg2);
12495
12496 wxPyEndAllowThreads(__tstate);
12497 if (PyErr_Occurred()) SWIG_fail;
12498 }
12499 Py_INCREF(Py_None); resultobj = Py_None;
12500 return resultobj;
12501 fail:
12502 return NULL;
12503 }
12504
12505
12506 static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *, PyObject *args, PyObject *kwargs) {
12507 PyObject *resultobj;
12508 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12509 int result;
12510 PyObject * obj0 = 0 ;
12511 char *kwnames[] = {
12512 (char *) "self", NULL
12513 };
12514
12515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
12516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12517 if (SWIG_arg_fail(1)) SWIG_fail;
12518 {
12519 PyThreadState* __tstate = wxPyBeginAllowThreads();
12520 result = (int)(arg1)->GetStatus();
12521
12522 wxPyEndAllowThreads(__tstate);
12523 if (PyErr_Occurred()) SWIG_fail;
12524 }
12525 {
12526 resultobj = SWIG_From_int((int)(result));
12527 }
12528 return resultobj;
12529 fail:
12530 return NULL;
12531 }
12532
12533
12534 static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
12535 PyObject *resultobj;
12536 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12537 bool arg2 ;
12538 PyObject * obj0 = 0 ;
12539 PyObject * obj1 = 0 ;
12540 char *kwnames[] = {
12541 (char *) "self",(char *) "captures", NULL
12542 };
12543
12544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
12545 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12546 if (SWIG_arg_fail(1)) SWIG_fail;
12547 {
12548 arg2 = (bool)(SWIG_As_bool(obj1));
12549 if (SWIG_arg_fail(2)) SWIG_fail;
12550 }
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 (arg1)->SetMouseDownCaptures(arg2);
12554
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 Py_INCREF(Py_None); resultobj = Py_None;
12559 return resultobj;
12560 fail:
12561 return NULL;
12562 }
12563
12564
12565 static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *, PyObject *args, PyObject *kwargs) {
12566 PyObject *resultobj;
12567 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12568 bool result;
12569 PyObject * obj0 = 0 ;
12570 char *kwnames[] = {
12571 (char *) "self", NULL
12572 };
12573
12574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
12575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12576 if (SWIG_arg_fail(1)) SWIG_fail;
12577 {
12578 PyThreadState* __tstate = wxPyBeginAllowThreads();
12579 result = (bool)(arg1)->GetMouseDownCaptures();
12580
12581 wxPyEndAllowThreads(__tstate);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 }
12584 {
12585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12586 }
12587 return resultobj;
12588 fail:
12589 return NULL;
12590 }
12591
12592
12593 static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
12594 PyObject *resultobj;
12595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12596 int arg2 ;
12597 PyObject * obj0 = 0 ;
12598 PyObject * obj1 = 0 ;
12599 char *kwnames[] = {
12600 (char *) "self",(char *) "cursorType", NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
12604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12605 if (SWIG_arg_fail(1)) SWIG_fail;
12606 {
12607 arg2 = (int)(SWIG_As_int(obj1));
12608 if (SWIG_arg_fail(2)) SWIG_fail;
12609 }
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 (arg1)->SetSTCCursor(arg2);
12613
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 Py_INCREF(Py_None); resultobj = Py_None;
12618 return resultobj;
12619 fail:
12620 return NULL;
12621 }
12622
12623
12624 static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *, PyObject *args, PyObject *kwargs) {
12625 PyObject *resultobj;
12626 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12627 int result;
12628 PyObject * obj0 = 0 ;
12629 char *kwnames[] = {
12630 (char *) "self", NULL
12631 };
12632
12633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
12634 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12635 if (SWIG_arg_fail(1)) SWIG_fail;
12636 {
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 result = (int)(arg1)->GetSTCCursor();
12639
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 {
12644 resultobj = SWIG_From_int((int)(result));
12645 }
12646 return resultobj;
12647 fail:
12648 return NULL;
12649 }
12650
12651
12652 static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
12653 PyObject *resultobj;
12654 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12655 int arg2 ;
12656 PyObject * obj0 = 0 ;
12657 PyObject * obj1 = 0 ;
12658 char *kwnames[] = {
12659 (char *) "self",(char *) "symbol", NULL
12660 };
12661
12662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
12663 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12664 if (SWIG_arg_fail(1)) SWIG_fail;
12665 {
12666 arg2 = (int)(SWIG_As_int(obj1));
12667 if (SWIG_arg_fail(2)) SWIG_fail;
12668 }
12669 {
12670 PyThreadState* __tstate = wxPyBeginAllowThreads();
12671 (arg1)->SetControlCharSymbol(arg2);
12672
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 Py_INCREF(Py_None); resultobj = Py_None;
12677 return resultobj;
12678 fail:
12679 return NULL;
12680 }
12681
12682
12683 static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *, PyObject *args, PyObject *kwargs) {
12684 PyObject *resultobj;
12685 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12686 int result;
12687 PyObject * obj0 = 0 ;
12688 char *kwnames[] = {
12689 (char *) "self", NULL
12690 };
12691
12692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
12693 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12694 if (SWIG_arg_fail(1)) SWIG_fail;
12695 {
12696 PyThreadState* __tstate = wxPyBeginAllowThreads();
12697 result = (int)(arg1)->GetControlCharSymbol();
12698
12699 wxPyEndAllowThreads(__tstate);
12700 if (PyErr_Occurred()) SWIG_fail;
12701 }
12702 {
12703 resultobj = SWIG_From_int((int)(result));
12704 }
12705 return resultobj;
12706 fail:
12707 return NULL;
12708 }
12709
12710
12711 static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *, PyObject *args, PyObject *kwargs) {
12712 PyObject *resultobj;
12713 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12714 PyObject * obj0 = 0 ;
12715 char *kwnames[] = {
12716 (char *) "self", NULL
12717 };
12718
12719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
12720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12721 if (SWIG_arg_fail(1)) SWIG_fail;
12722 {
12723 PyThreadState* __tstate = wxPyBeginAllowThreads();
12724 (arg1)->WordPartLeft();
12725
12726 wxPyEndAllowThreads(__tstate);
12727 if (PyErr_Occurred()) SWIG_fail;
12728 }
12729 Py_INCREF(Py_None); resultobj = Py_None;
12730 return resultobj;
12731 fail:
12732 return NULL;
12733 }
12734
12735
12736 static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *, PyObject *args, PyObject *kwargs) {
12737 PyObject *resultobj;
12738 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12739 PyObject * obj0 = 0 ;
12740 char *kwnames[] = {
12741 (char *) "self", NULL
12742 };
12743
12744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
12745 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12746 if (SWIG_arg_fail(1)) SWIG_fail;
12747 {
12748 PyThreadState* __tstate = wxPyBeginAllowThreads();
12749 (arg1)->WordPartLeftExtend();
12750
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 Py_INCREF(Py_None); resultobj = Py_None;
12755 return resultobj;
12756 fail:
12757 return NULL;
12758 }
12759
12760
12761 static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *, PyObject *args, PyObject *kwargs) {
12762 PyObject *resultobj;
12763 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12764 PyObject * obj0 = 0 ;
12765 char *kwnames[] = {
12766 (char *) "self", NULL
12767 };
12768
12769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
12770 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12771 if (SWIG_arg_fail(1)) SWIG_fail;
12772 {
12773 PyThreadState* __tstate = wxPyBeginAllowThreads();
12774 (arg1)->WordPartRight();
12775
12776 wxPyEndAllowThreads(__tstate);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
12779 Py_INCREF(Py_None); resultobj = Py_None;
12780 return resultobj;
12781 fail:
12782 return NULL;
12783 }
12784
12785
12786 static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *, PyObject *args, PyObject *kwargs) {
12787 PyObject *resultobj;
12788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12789 PyObject * obj0 = 0 ;
12790 char *kwnames[] = {
12791 (char *) "self", NULL
12792 };
12793
12794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
12795 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12796 if (SWIG_arg_fail(1)) SWIG_fail;
12797 {
12798 PyThreadState* __tstate = wxPyBeginAllowThreads();
12799 (arg1)->WordPartRightExtend();
12800
12801 wxPyEndAllowThreads(__tstate);
12802 if (PyErr_Occurred()) SWIG_fail;
12803 }
12804 Py_INCREF(Py_None); resultobj = Py_None;
12805 return resultobj;
12806 fail:
12807 return NULL;
12808 }
12809
12810
12811 static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *, PyObject *args, PyObject *kwargs) {
12812 PyObject *resultobj;
12813 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12814 int arg2 ;
12815 int arg3 ;
12816 PyObject * obj0 = 0 ;
12817 PyObject * obj1 = 0 ;
12818 PyObject * obj2 = 0 ;
12819 char *kwnames[] = {
12820 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
12821 };
12822
12823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
12824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12825 if (SWIG_arg_fail(1)) SWIG_fail;
12826 {
12827 arg2 = (int)(SWIG_As_int(obj1));
12828 if (SWIG_arg_fail(2)) SWIG_fail;
12829 }
12830 {
12831 arg3 = (int)(SWIG_As_int(obj2));
12832 if (SWIG_arg_fail(3)) SWIG_fail;
12833 }
12834 {
12835 PyThreadState* __tstate = wxPyBeginAllowThreads();
12836 (arg1)->SetVisiblePolicy(arg2,arg3);
12837
12838 wxPyEndAllowThreads(__tstate);
12839 if (PyErr_Occurred()) SWIG_fail;
12840 }
12841 Py_INCREF(Py_None); resultobj = Py_None;
12842 return resultobj;
12843 fail:
12844 return NULL;
12845 }
12846
12847
12848 static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *, PyObject *args, PyObject *kwargs) {
12849 PyObject *resultobj;
12850 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12851 PyObject * obj0 = 0 ;
12852 char *kwnames[] = {
12853 (char *) "self", NULL
12854 };
12855
12856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
12857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12858 if (SWIG_arg_fail(1)) SWIG_fail;
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 (arg1)->DelLineLeft();
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 Py_INCREF(Py_None); resultobj = Py_None;
12867 return resultobj;
12868 fail:
12869 return NULL;
12870 }
12871
12872
12873 static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *, PyObject *args, PyObject *kwargs) {
12874 PyObject *resultobj;
12875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12876 PyObject * obj0 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "self", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
12882 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12883 if (SWIG_arg_fail(1)) SWIG_fail;
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 (arg1)->DelLineRight();
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 Py_INCREF(Py_None); resultobj = Py_None;
12892 return resultobj;
12893 fail:
12894 return NULL;
12895 }
12896
12897
12898 static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12901 int arg2 ;
12902 PyObject * obj0 = 0 ;
12903 PyObject * obj1 = 0 ;
12904 char *kwnames[] = {
12905 (char *) "self",(char *) "newOffset", NULL
12906 };
12907
12908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
12909 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12910 if (SWIG_arg_fail(1)) SWIG_fail;
12911 {
12912 arg2 = (int)(SWIG_As_int(obj1));
12913 if (SWIG_arg_fail(2)) SWIG_fail;
12914 }
12915 {
12916 PyThreadState* __tstate = wxPyBeginAllowThreads();
12917 (arg1)->SetXOffset(arg2);
12918
12919 wxPyEndAllowThreads(__tstate);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 Py_INCREF(Py_None); resultobj = Py_None;
12923 return resultobj;
12924 fail:
12925 return NULL;
12926 }
12927
12928
12929 static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *, PyObject *args, PyObject *kwargs) {
12930 PyObject *resultobj;
12931 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12932 int result;
12933 PyObject * obj0 = 0 ;
12934 char *kwnames[] = {
12935 (char *) "self", NULL
12936 };
12937
12938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
12939 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12940 if (SWIG_arg_fail(1)) SWIG_fail;
12941 {
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 result = (int)(arg1)->GetXOffset();
12944
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 {
12949 resultobj = SWIG_From_int((int)(result));
12950 }
12951 return resultobj;
12952 fail:
12953 return NULL;
12954 }
12955
12956
12957 static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *, PyObject *args, PyObject *kwargs) {
12958 PyObject *resultobj;
12959 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12960 PyObject * obj0 = 0 ;
12961 char *kwnames[] = {
12962 (char *) "self", NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
12966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12967 if (SWIG_arg_fail(1)) SWIG_fail;
12968 {
12969 PyThreadState* __tstate = wxPyBeginAllowThreads();
12970 (arg1)->ChooseCaretX();
12971
12972 wxPyEndAllowThreads(__tstate);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
12975 Py_INCREF(Py_None); resultobj = Py_None;
12976 return resultobj;
12977 fail:
12978 return NULL;
12979 }
12980
12981
12982 static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
12983 PyObject *resultobj;
12984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12985 int arg2 ;
12986 int arg3 ;
12987 PyObject * obj0 = 0 ;
12988 PyObject * obj1 = 0 ;
12989 PyObject * obj2 = 0 ;
12990 char *kwnames[] = {
12991 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
12992 };
12993
12994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
12995 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
12996 if (SWIG_arg_fail(1)) SWIG_fail;
12997 {
12998 arg2 = (int)(SWIG_As_int(obj1));
12999 if (SWIG_arg_fail(2)) SWIG_fail;
13000 }
13001 {
13002 arg3 = (int)(SWIG_As_int(obj2));
13003 if (SWIG_arg_fail(3)) SWIG_fail;
13004 }
13005 {
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 (arg1)->SetXCaretPolicy(arg2,arg3);
13008
13009 wxPyEndAllowThreads(__tstate);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 }
13012 Py_INCREF(Py_None); resultobj = Py_None;
13013 return resultobj;
13014 fail:
13015 return NULL;
13016 }
13017
13018
13019 static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *, PyObject *args, PyObject *kwargs) {
13020 PyObject *resultobj;
13021 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13022 int arg2 ;
13023 int arg3 ;
13024 PyObject * obj0 = 0 ;
13025 PyObject * obj1 = 0 ;
13026 PyObject * obj2 = 0 ;
13027 char *kwnames[] = {
13028 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
13029 };
13030
13031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
13032 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13033 if (SWIG_arg_fail(1)) SWIG_fail;
13034 {
13035 arg2 = (int)(SWIG_As_int(obj1));
13036 if (SWIG_arg_fail(2)) SWIG_fail;
13037 }
13038 {
13039 arg3 = (int)(SWIG_As_int(obj2));
13040 if (SWIG_arg_fail(3)) SWIG_fail;
13041 }
13042 {
13043 PyThreadState* __tstate = wxPyBeginAllowThreads();
13044 (arg1)->SetYCaretPolicy(arg2,arg3);
13045
13046 wxPyEndAllowThreads(__tstate);
13047 if (PyErr_Occurred()) SWIG_fail;
13048 }
13049 Py_INCREF(Py_None); resultobj = Py_None;
13050 return resultobj;
13051 fail:
13052 return NULL;
13053 }
13054
13055
13056 static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
13057 PyObject *resultobj;
13058 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13059 int arg2 ;
13060 PyObject * obj0 = 0 ;
13061 PyObject * obj1 = 0 ;
13062 char *kwnames[] = {
13063 (char *) "self",(char *) "mode", NULL
13064 };
13065
13066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
13067 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13068 if (SWIG_arg_fail(1)) SWIG_fail;
13069 {
13070 arg2 = (int)(SWIG_As_int(obj1));
13071 if (SWIG_arg_fail(2)) SWIG_fail;
13072 }
13073 {
13074 PyThreadState* __tstate = wxPyBeginAllowThreads();
13075 (arg1)->SetPrintWrapMode(arg2);
13076
13077 wxPyEndAllowThreads(__tstate);
13078 if (PyErr_Occurred()) SWIG_fail;
13079 }
13080 Py_INCREF(Py_None); resultobj = Py_None;
13081 return resultobj;
13082 fail:
13083 return NULL;
13084 }
13085
13086
13087 static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *, PyObject *args, PyObject *kwargs) {
13088 PyObject *resultobj;
13089 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13090 int result;
13091 PyObject * obj0 = 0 ;
13092 char *kwnames[] = {
13093 (char *) "self", NULL
13094 };
13095
13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
13097 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13098 if (SWIG_arg_fail(1)) SWIG_fail;
13099 {
13100 PyThreadState* __tstate = wxPyBeginAllowThreads();
13101 result = (int)(arg1)->GetPrintWrapMode();
13102
13103 wxPyEndAllowThreads(__tstate);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 {
13107 resultobj = SWIG_From_int((int)(result));
13108 }
13109 return resultobj;
13110 fail:
13111 return NULL;
13112 }
13113
13114
13115 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *, PyObject *args, PyObject *kwargs) {
13116 PyObject *resultobj;
13117 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13118 bool arg2 ;
13119 wxColour *arg3 = 0 ;
13120 wxColour temp3 ;
13121 PyObject * obj0 = 0 ;
13122 PyObject * obj1 = 0 ;
13123 PyObject * obj2 = 0 ;
13124 char *kwnames[] = {
13125 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
13126 };
13127
13128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
13129 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13130 if (SWIG_arg_fail(1)) SWIG_fail;
13131 {
13132 arg2 = (bool)(SWIG_As_bool(obj1));
13133 if (SWIG_arg_fail(2)) SWIG_fail;
13134 }
13135 {
13136 arg3 = &temp3;
13137 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13138 }
13139 {
13140 PyThreadState* __tstate = wxPyBeginAllowThreads();
13141 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
13142
13143 wxPyEndAllowThreads(__tstate);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
13146 Py_INCREF(Py_None); resultobj = Py_None;
13147 return resultobj;
13148 fail:
13149 return NULL;
13150 }
13151
13152
13153 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *, PyObject *args, PyObject *kwargs) {
13154 PyObject *resultobj;
13155 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13156 bool arg2 ;
13157 wxColour *arg3 = 0 ;
13158 wxColour temp3 ;
13159 PyObject * obj0 = 0 ;
13160 PyObject * obj1 = 0 ;
13161 PyObject * obj2 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self",(char *) "useSetting",(char *) "back", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
13167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13168 if (SWIG_arg_fail(1)) SWIG_fail;
13169 {
13170 arg2 = (bool)(SWIG_As_bool(obj1));
13171 if (SWIG_arg_fail(2)) SWIG_fail;
13172 }
13173 {
13174 arg3 = &temp3;
13175 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
13176 }
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
13180
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
13184 Py_INCREF(Py_None); resultobj = Py_None;
13185 return resultobj;
13186 fail:
13187 return NULL;
13188 }
13189
13190
13191 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *, PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj;
13193 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13194 bool arg2 ;
13195 PyObject * obj0 = 0 ;
13196 PyObject * obj1 = 0 ;
13197 char *kwnames[] = {
13198 (char *) "self",(char *) "underline", NULL
13199 };
13200
13201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
13202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13203 if (SWIG_arg_fail(1)) SWIG_fail;
13204 {
13205 arg2 = (bool)(SWIG_As_bool(obj1));
13206 if (SWIG_arg_fail(2)) SWIG_fail;
13207 }
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 (arg1)->SetHotspotActiveUnderline(arg2);
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 Py_INCREF(Py_None); resultobj = Py_None;
13216 return resultobj;
13217 fail:
13218 return NULL;
13219 }
13220
13221
13222 static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *, PyObject *args, PyObject *kwargs) {
13223 PyObject *resultobj;
13224 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13225 bool arg2 ;
13226 PyObject * obj0 = 0 ;
13227 PyObject * obj1 = 0 ;
13228 char *kwnames[] = {
13229 (char *) "self",(char *) "singleLine", NULL
13230 };
13231
13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
13233 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13234 if (SWIG_arg_fail(1)) SWIG_fail;
13235 {
13236 arg2 = (bool)(SWIG_As_bool(obj1));
13237 if (SWIG_arg_fail(2)) SWIG_fail;
13238 }
13239 {
13240 PyThreadState* __tstate = wxPyBeginAllowThreads();
13241 (arg1)->SetHotspotSingleLine(arg2);
13242
13243 wxPyEndAllowThreads(__tstate);
13244 if (PyErr_Occurred()) SWIG_fail;
13245 }
13246 Py_INCREF(Py_None); resultobj = Py_None;
13247 return resultobj;
13248 fail:
13249 return NULL;
13250 }
13251
13252
13253 static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *, PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj;
13255 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13256 PyObject * obj0 = 0 ;
13257 char *kwnames[] = {
13258 (char *) "self", NULL
13259 };
13260
13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail;
13262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13263 if (SWIG_arg_fail(1)) SWIG_fail;
13264 {
13265 PyThreadState* __tstate = wxPyBeginAllowThreads();
13266 (arg1)->ParaDown();
13267
13268 wxPyEndAllowThreads(__tstate);
13269 if (PyErr_Occurred()) SWIG_fail;
13270 }
13271 Py_INCREF(Py_None); resultobj = Py_None;
13272 return resultobj;
13273 fail:
13274 return NULL;
13275 }
13276
13277
13278 static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13279 PyObject *resultobj;
13280 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13281 PyObject * obj0 = 0 ;
13282 char *kwnames[] = {
13283 (char *) "self", NULL
13284 };
13285
13286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail;
13287 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13288 if (SWIG_arg_fail(1)) SWIG_fail;
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 (arg1)->ParaDownExtend();
13292
13293 wxPyEndAllowThreads(__tstate);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
13296 Py_INCREF(Py_None); resultobj = Py_None;
13297 return resultobj;
13298 fail:
13299 return NULL;
13300 }
13301
13302
13303 static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13306 PyObject * obj0 = 0 ;
13307 char *kwnames[] = {
13308 (char *) "self", NULL
13309 };
13310
13311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail;
13312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13313 if (SWIG_arg_fail(1)) SWIG_fail;
13314 {
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 (arg1)->ParaUp();
13317
13318 wxPyEndAllowThreads(__tstate);
13319 if (PyErr_Occurred()) SWIG_fail;
13320 }
13321 Py_INCREF(Py_None); resultobj = Py_None;
13322 return resultobj;
13323 fail:
13324 return NULL;
13325 }
13326
13327
13328 static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13329 PyObject *resultobj;
13330 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13331 PyObject * obj0 = 0 ;
13332 char *kwnames[] = {
13333 (char *) "self", NULL
13334 };
13335
13336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail;
13337 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13338 if (SWIG_arg_fail(1)) SWIG_fail;
13339 {
13340 PyThreadState* __tstate = wxPyBeginAllowThreads();
13341 (arg1)->ParaUpExtend();
13342
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 Py_INCREF(Py_None); resultobj = Py_None;
13347 return resultobj;
13348 fail:
13349 return NULL;
13350 }
13351
13352
13353 static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *, PyObject *args, PyObject *kwargs) {
13354 PyObject *resultobj;
13355 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13356 int arg2 ;
13357 int result;
13358 PyObject * obj0 = 0 ;
13359 PyObject * obj1 = 0 ;
13360 char *kwnames[] = {
13361 (char *) "self",(char *) "pos", NULL
13362 };
13363
13364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
13365 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13366 if (SWIG_arg_fail(1)) SWIG_fail;
13367 {
13368 arg2 = (int)(SWIG_As_int(obj1));
13369 if (SWIG_arg_fail(2)) SWIG_fail;
13370 }
13371 {
13372 PyThreadState* __tstate = wxPyBeginAllowThreads();
13373 result = (int)(arg1)->PositionBefore(arg2);
13374
13375 wxPyEndAllowThreads(__tstate);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 {
13379 resultobj = SWIG_From_int((int)(result));
13380 }
13381 return resultobj;
13382 fail:
13383 return NULL;
13384 }
13385
13386
13387 static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *, PyObject *args, PyObject *kwargs) {
13388 PyObject *resultobj;
13389 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13390 int arg2 ;
13391 int result;
13392 PyObject * obj0 = 0 ;
13393 PyObject * obj1 = 0 ;
13394 char *kwnames[] = {
13395 (char *) "self",(char *) "pos", NULL
13396 };
13397
13398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
13399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13400 if (SWIG_arg_fail(1)) SWIG_fail;
13401 {
13402 arg2 = (int)(SWIG_As_int(obj1));
13403 if (SWIG_arg_fail(2)) SWIG_fail;
13404 }
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 result = (int)(arg1)->PositionAfter(arg2);
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 {
13413 resultobj = SWIG_From_int((int)(result));
13414 }
13415 return resultobj;
13416 fail:
13417 return NULL;
13418 }
13419
13420
13421 static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *, PyObject *args, PyObject *kwargs) {
13422 PyObject *resultobj;
13423 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13424 int arg2 ;
13425 int arg3 ;
13426 PyObject * obj0 = 0 ;
13427 PyObject * obj1 = 0 ;
13428 PyObject * obj2 = 0 ;
13429 char *kwnames[] = {
13430 (char *) "self",(char *) "start",(char *) "end", NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13435 if (SWIG_arg_fail(1)) SWIG_fail;
13436 {
13437 arg2 = (int)(SWIG_As_int(obj1));
13438 if (SWIG_arg_fail(2)) SWIG_fail;
13439 }
13440 {
13441 arg3 = (int)(SWIG_As_int(obj2));
13442 if (SWIG_arg_fail(3)) SWIG_fail;
13443 }
13444 {
13445 PyThreadState* __tstate = wxPyBeginAllowThreads();
13446 (arg1)->CopyRange(arg2,arg3);
13447
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 Py_INCREF(Py_None); resultobj = Py_None;
13452 return resultobj;
13453 fail:
13454 return NULL;
13455 }
13456
13457
13458 static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *, PyObject *args, PyObject *kwargs) {
13459 PyObject *resultobj;
13460 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13461 int arg2 ;
13462 wxString *arg3 = 0 ;
13463 bool temp3 = false ;
13464 PyObject * obj0 = 0 ;
13465 PyObject * obj1 = 0 ;
13466 PyObject * obj2 = 0 ;
13467 char *kwnames[] = {
13468 (char *) "self",(char *) "length",(char *) "text", NULL
13469 };
13470
13471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13472 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13473 if (SWIG_arg_fail(1)) SWIG_fail;
13474 {
13475 arg2 = (int)(SWIG_As_int(obj1));
13476 if (SWIG_arg_fail(2)) SWIG_fail;
13477 }
13478 {
13479 arg3 = wxString_in_helper(obj2);
13480 if (arg3 == NULL) SWIG_fail;
13481 temp3 = true;
13482 }
13483 {
13484 PyThreadState* __tstate = wxPyBeginAllowThreads();
13485 (arg1)->CopyText(arg2,(wxString const &)*arg3);
13486
13487 wxPyEndAllowThreads(__tstate);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 }
13490 Py_INCREF(Py_None); resultobj = Py_None;
13491 {
13492 if (temp3)
13493 delete arg3;
13494 }
13495 return resultobj;
13496 fail:
13497 {
13498 if (temp3)
13499 delete arg3;
13500 }
13501 return NULL;
13502 }
13503
13504
13505 static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
13506 PyObject *resultobj;
13507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13508 int arg2 ;
13509 PyObject * obj0 = 0 ;
13510 PyObject * obj1 = 0 ;
13511 char *kwnames[] = {
13512 (char *) "self",(char *) "mode", NULL
13513 };
13514
13515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
13516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13517 if (SWIG_arg_fail(1)) SWIG_fail;
13518 {
13519 arg2 = (int)(SWIG_As_int(obj1));
13520 if (SWIG_arg_fail(2)) SWIG_fail;
13521 }
13522 {
13523 PyThreadState* __tstate = wxPyBeginAllowThreads();
13524 (arg1)->SetSelectionMode(arg2);
13525
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 Py_INCREF(Py_None); resultobj = Py_None;
13530 return resultobj;
13531 fail:
13532 return NULL;
13533 }
13534
13535
13536 static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *, PyObject *args, PyObject *kwargs) {
13537 PyObject *resultobj;
13538 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13539 int result;
13540 PyObject * obj0 = 0 ;
13541 char *kwnames[] = {
13542 (char *) "self", NULL
13543 };
13544
13545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
13546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13547 if (SWIG_arg_fail(1)) SWIG_fail;
13548 {
13549 PyThreadState* __tstate = wxPyBeginAllowThreads();
13550 result = (int)(arg1)->GetSelectionMode();
13551
13552 wxPyEndAllowThreads(__tstate);
13553 if (PyErr_Occurred()) SWIG_fail;
13554 }
13555 {
13556 resultobj = SWIG_From_int((int)(result));
13557 }
13558 return resultobj;
13559 fail:
13560 return NULL;
13561 }
13562
13563
13564 static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13565 PyObject *resultobj;
13566 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13567 int arg2 ;
13568 int result;
13569 PyObject * obj0 = 0 ;
13570 PyObject * obj1 = 0 ;
13571 char *kwnames[] = {
13572 (char *) "self",(char *) "line", NULL
13573 };
13574
13575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
13576 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13577 if (SWIG_arg_fail(1)) SWIG_fail;
13578 {
13579 arg2 = (int)(SWIG_As_int(obj1));
13580 if (SWIG_arg_fail(2)) SWIG_fail;
13581 }
13582 {
13583 PyThreadState* __tstate = wxPyBeginAllowThreads();
13584 result = (int)(arg1)->GetLineSelStartPosition(arg2);
13585
13586 wxPyEndAllowThreads(__tstate);
13587 if (PyErr_Occurred()) SWIG_fail;
13588 }
13589 {
13590 resultobj = SWIG_From_int((int)(result));
13591 }
13592 return resultobj;
13593 fail:
13594 return NULL;
13595 }
13596
13597
13598 static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *, PyObject *args, PyObject *kwargs) {
13599 PyObject *resultobj;
13600 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13601 int arg2 ;
13602 int result;
13603 PyObject * obj0 = 0 ;
13604 PyObject * obj1 = 0 ;
13605 char *kwnames[] = {
13606 (char *) "self",(char *) "line", NULL
13607 };
13608
13609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail;
13610 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13611 if (SWIG_arg_fail(1)) SWIG_fail;
13612 {
13613 arg2 = (int)(SWIG_As_int(obj1));
13614 if (SWIG_arg_fail(2)) SWIG_fail;
13615 }
13616 {
13617 PyThreadState* __tstate = wxPyBeginAllowThreads();
13618 result = (int)(arg1)->GetLineSelEndPosition(arg2);
13619
13620 wxPyEndAllowThreads(__tstate);
13621 if (PyErr_Occurred()) SWIG_fail;
13622 }
13623 {
13624 resultobj = SWIG_From_int((int)(result));
13625 }
13626 return resultobj;
13627 fail:
13628 return NULL;
13629 }
13630
13631
13632 static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13633 PyObject *resultobj;
13634 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13635 PyObject * obj0 = 0 ;
13636 char *kwnames[] = {
13637 (char *) "self", NULL
13638 };
13639
13640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail;
13641 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13642 if (SWIG_arg_fail(1)) SWIG_fail;
13643 {
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 (arg1)->LineDownRectExtend();
13646
13647 wxPyEndAllowThreads(__tstate);
13648 if (PyErr_Occurred()) SWIG_fail;
13649 }
13650 Py_INCREF(Py_None); resultobj = Py_None;
13651 return resultobj;
13652 fail:
13653 return NULL;
13654 }
13655
13656
13657 static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13658 PyObject *resultobj;
13659 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13660 PyObject * obj0 = 0 ;
13661 char *kwnames[] = {
13662 (char *) "self", NULL
13663 };
13664
13665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail;
13666 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13667 if (SWIG_arg_fail(1)) SWIG_fail;
13668 {
13669 PyThreadState* __tstate = wxPyBeginAllowThreads();
13670 (arg1)->LineUpRectExtend();
13671
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 Py_INCREF(Py_None); resultobj = Py_None;
13676 return resultobj;
13677 fail:
13678 return NULL;
13679 }
13680
13681
13682 static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13683 PyObject *resultobj;
13684 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13685 PyObject * obj0 = 0 ;
13686 char *kwnames[] = {
13687 (char *) "self", NULL
13688 };
13689
13690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail;
13691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13692 if (SWIG_arg_fail(1)) SWIG_fail;
13693 {
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 (arg1)->CharLeftRectExtend();
13696
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 Py_INCREF(Py_None); resultobj = Py_None;
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13710 PyObject * obj0 = 0 ;
13711 char *kwnames[] = {
13712 (char *) "self", NULL
13713 };
13714
13715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail;
13716 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13717 if (SWIG_arg_fail(1)) SWIG_fail;
13718 {
13719 PyThreadState* __tstate = wxPyBeginAllowThreads();
13720 (arg1)->CharRightRectExtend();
13721
13722 wxPyEndAllowThreads(__tstate);
13723 if (PyErr_Occurred()) SWIG_fail;
13724 }
13725 Py_INCREF(Py_None); resultobj = Py_None;
13726 return resultobj;
13727 fail:
13728 return NULL;
13729 }
13730
13731
13732 static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13733 PyObject *resultobj;
13734 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13735 PyObject * obj0 = 0 ;
13736 char *kwnames[] = {
13737 (char *) "self", NULL
13738 };
13739
13740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail;
13741 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13742 if (SWIG_arg_fail(1)) SWIG_fail;
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 (arg1)->HomeRectExtend();
13746
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 Py_INCREF(Py_None); resultobj = Py_None;
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj;
13759 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13760 PyObject * obj0 = 0 ;
13761 char *kwnames[] = {
13762 (char *) "self", NULL
13763 };
13764
13765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail;
13766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13767 if (SWIG_arg_fail(1)) SWIG_fail;
13768 {
13769 PyThreadState* __tstate = wxPyBeginAllowThreads();
13770 (arg1)->VCHomeRectExtend();
13771
13772 wxPyEndAllowThreads(__tstate);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 }
13775 Py_INCREF(Py_None); resultobj = Py_None;
13776 return resultobj;
13777 fail:
13778 return NULL;
13779 }
13780
13781
13782 static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13783 PyObject *resultobj;
13784 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13785 PyObject * obj0 = 0 ;
13786 char *kwnames[] = {
13787 (char *) "self", NULL
13788 };
13789
13790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail;
13791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13792 if (SWIG_arg_fail(1)) SWIG_fail;
13793 {
13794 PyThreadState* __tstate = wxPyBeginAllowThreads();
13795 (arg1)->LineEndRectExtend();
13796
13797 wxPyEndAllowThreads(__tstate);
13798 if (PyErr_Occurred()) SWIG_fail;
13799 }
13800 Py_INCREF(Py_None); resultobj = Py_None;
13801 return resultobj;
13802 fail:
13803 return NULL;
13804 }
13805
13806
13807 static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13808 PyObject *resultobj;
13809 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13810 PyObject * obj0 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "self", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail;
13816 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13817 if (SWIG_arg_fail(1)) SWIG_fail;
13818 {
13819 PyThreadState* __tstate = wxPyBeginAllowThreads();
13820 (arg1)->PageUpRectExtend();
13821
13822 wxPyEndAllowThreads(__tstate);
13823 if (PyErr_Occurred()) SWIG_fail;
13824 }
13825 Py_INCREF(Py_None); resultobj = Py_None;
13826 return resultobj;
13827 fail:
13828 return NULL;
13829 }
13830
13831
13832 static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13833 PyObject *resultobj;
13834 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13835 PyObject * obj0 = 0 ;
13836 char *kwnames[] = {
13837 (char *) "self", NULL
13838 };
13839
13840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail;
13841 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13842 if (SWIG_arg_fail(1)) SWIG_fail;
13843 {
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 (arg1)->PageDownRectExtend();
13846
13847 wxPyEndAllowThreads(__tstate);
13848 if (PyErr_Occurred()) SWIG_fail;
13849 }
13850 Py_INCREF(Py_None); resultobj = Py_None;
13851 return resultobj;
13852 fail:
13853 return NULL;
13854 }
13855
13856
13857 static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *, PyObject *args, PyObject *kwargs) {
13858 PyObject *resultobj;
13859 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13860 PyObject * obj0 = 0 ;
13861 char *kwnames[] = {
13862 (char *) "self", NULL
13863 };
13864
13865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail;
13866 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13867 if (SWIG_arg_fail(1)) SWIG_fail;
13868 {
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 (arg1)->StutteredPageUp();
13871
13872 wxPyEndAllowThreads(__tstate);
13873 if (PyErr_Occurred()) SWIG_fail;
13874 }
13875 Py_INCREF(Py_None); resultobj = Py_None;
13876 return resultobj;
13877 fail:
13878 return NULL;
13879 }
13880
13881
13882 static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13883 PyObject *resultobj;
13884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13885 PyObject * obj0 = 0 ;
13886 char *kwnames[] = {
13887 (char *) "self", NULL
13888 };
13889
13890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail;
13891 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13892 if (SWIG_arg_fail(1)) SWIG_fail;
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 (arg1)->StutteredPageUpExtend();
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 Py_INCREF(Py_None); resultobj = Py_None;
13901 return resultobj;
13902 fail:
13903 return NULL;
13904 }
13905
13906
13907 static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *, PyObject *args, PyObject *kwargs) {
13908 PyObject *resultobj;
13909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13910 PyObject * obj0 = 0 ;
13911 char *kwnames[] = {
13912 (char *) "self", NULL
13913 };
13914
13915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail;
13916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13917 if (SWIG_arg_fail(1)) SWIG_fail;
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 (arg1)->StutteredPageDown();
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 Py_INCREF(Py_None); resultobj = Py_None;
13926 return resultobj;
13927 fail:
13928 return NULL;
13929 }
13930
13931
13932 static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13935 PyObject * obj0 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail;
13941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13942 if (SWIG_arg_fail(1)) SWIG_fail;
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 (arg1)->StutteredPageDownExtend();
13946
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
13950 Py_INCREF(Py_None); resultobj = Py_None;
13951 return resultobj;
13952 fail:
13953 return NULL;
13954 }
13955
13956
13957 static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *, PyObject *args, PyObject *kwargs) {
13958 PyObject *resultobj;
13959 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13960 PyObject * obj0 = 0 ;
13961 char *kwnames[] = {
13962 (char *) "self", NULL
13963 };
13964
13965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail;
13966 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13967 if (SWIG_arg_fail(1)) SWIG_fail;
13968 {
13969 PyThreadState* __tstate = wxPyBeginAllowThreads();
13970 (arg1)->WordLeftEnd();
13971
13972 wxPyEndAllowThreads(__tstate);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 Py_INCREF(Py_None); resultobj = Py_None;
13976 return resultobj;
13977 fail:
13978 return NULL;
13979 }
13980
13981
13982 static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
13983 PyObject *resultobj;
13984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13985 PyObject * obj0 = 0 ;
13986 char *kwnames[] = {
13987 (char *) "self", NULL
13988 };
13989
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail;
13991 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
13992 if (SWIG_arg_fail(1)) SWIG_fail;
13993 {
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
13995 (arg1)->WordLeftEndExtend();
13996
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
14000 Py_INCREF(Py_None); resultobj = Py_None;
14001 return resultobj;
14002 fail:
14003 return NULL;
14004 }
14005
14006
14007 static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *, PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj;
14009 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14010 PyObject * obj0 = 0 ;
14011 char *kwnames[] = {
14012 (char *) "self", NULL
14013 };
14014
14015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail;
14016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14017 if (SWIG_arg_fail(1)) SWIG_fail;
14018 {
14019 PyThreadState* __tstate = wxPyBeginAllowThreads();
14020 (arg1)->WordRightEnd();
14021
14022 wxPyEndAllowThreads(__tstate);
14023 if (PyErr_Occurred()) SWIG_fail;
14024 }
14025 Py_INCREF(Py_None); resultobj = Py_None;
14026 return resultobj;
14027 fail:
14028 return NULL;
14029 }
14030
14031
14032 static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *, PyObject *args, PyObject *kwargs) {
14033 PyObject *resultobj;
14034 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14035 PyObject * obj0 = 0 ;
14036 char *kwnames[] = {
14037 (char *) "self", NULL
14038 };
14039
14040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail;
14041 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14042 if (SWIG_arg_fail(1)) SWIG_fail;
14043 {
14044 PyThreadState* __tstate = wxPyBeginAllowThreads();
14045 (arg1)->WordRightEndExtend();
14046
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 Py_INCREF(Py_None); resultobj = Py_None;
14051 return resultobj;
14052 fail:
14053 return NULL;
14054 }
14055
14056
14057 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *, PyObject *args, PyObject *kwargs) {
14058 PyObject *resultobj;
14059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14060 wxString *arg2 = 0 ;
14061 bool temp2 = false ;
14062 PyObject * obj0 = 0 ;
14063 PyObject * obj1 = 0 ;
14064 char *kwnames[] = {
14065 (char *) "self",(char *) "characters", NULL
14066 };
14067
14068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
14069 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14070 if (SWIG_arg_fail(1)) SWIG_fail;
14071 {
14072 arg2 = wxString_in_helper(obj1);
14073 if (arg2 == NULL) SWIG_fail;
14074 temp2 = true;
14075 }
14076 {
14077 PyThreadState* __tstate = wxPyBeginAllowThreads();
14078 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
14079
14080 wxPyEndAllowThreads(__tstate);
14081 if (PyErr_Occurred()) SWIG_fail;
14082 }
14083 Py_INCREF(Py_None); resultobj = Py_None;
14084 {
14085 if (temp2)
14086 delete arg2;
14087 }
14088 return resultobj;
14089 fail:
14090 {
14091 if (temp2)
14092 delete arg2;
14093 }
14094 return NULL;
14095 }
14096
14097
14098 static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *, PyObject *args, PyObject *kwargs) {
14099 PyObject *resultobj;
14100 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14101 PyObject * obj0 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
14107 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14108 if (SWIG_arg_fail(1)) SWIG_fail;
14109 {
14110 PyThreadState* __tstate = wxPyBeginAllowThreads();
14111 (arg1)->SetCharsDefault();
14112
14113 wxPyEndAllowThreads(__tstate);
14114 if (PyErr_Occurred()) SWIG_fail;
14115 }
14116 Py_INCREF(Py_None); resultobj = Py_None;
14117 return resultobj;
14118 fail:
14119 return NULL;
14120 }
14121
14122
14123 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *, PyObject *args, PyObject *kwargs) {
14124 PyObject *resultobj;
14125 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14126 int result;
14127 PyObject * obj0 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "self", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
14133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14134 if (SWIG_arg_fail(1)) SWIG_fail;
14135 {
14136 PyThreadState* __tstate = wxPyBeginAllowThreads();
14137 result = (int)(arg1)->AutoCompGetCurrent();
14138
14139 wxPyEndAllowThreads(__tstate);
14140 if (PyErr_Occurred()) SWIG_fail;
14141 }
14142 {
14143 resultobj = SWIG_From_int((int)(result));
14144 }
14145 return resultobj;
14146 fail:
14147 return NULL;
14148 }
14149
14150
14151 static PyObject *_wrap_StyledTextCtrl_Allocate(PyObject *, PyObject *args, PyObject *kwargs) {
14152 PyObject *resultobj;
14153 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14154 int arg2 ;
14155 PyObject * obj0 = 0 ;
14156 PyObject * obj1 = 0 ;
14157 char *kwnames[] = {
14158 (char *) "self",(char *) "bytes", NULL
14159 };
14160
14161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_Allocate",kwnames,&obj0,&obj1)) goto fail;
14162 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14163 if (SWIG_arg_fail(1)) SWIG_fail;
14164 {
14165 arg2 = (int)(SWIG_As_int(obj1));
14166 if (SWIG_arg_fail(2)) SWIG_fail;
14167 }
14168 {
14169 PyThreadState* __tstate = wxPyBeginAllowThreads();
14170 (arg1)->Allocate(arg2);
14171
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
14175 Py_INCREF(Py_None); resultobj = Py_None;
14176 return resultobj;
14177 fail:
14178 return NULL;
14179 }
14180
14181
14182 static PyObject *_wrap_StyledTextCtrl_FindColumn(PyObject *, PyObject *args, PyObject *kwargs) {
14183 PyObject *resultobj;
14184 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14185 int arg2 ;
14186 int arg3 ;
14187 int result;
14188 PyObject * obj0 = 0 ;
14189 PyObject * obj1 = 0 ;
14190 PyObject * obj2 = 0 ;
14191 char *kwnames[] = {
14192 (char *) "self",(char *) "line",(char *) "column", NULL
14193 };
14194
14195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_FindColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
14196 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14197 if (SWIG_arg_fail(1)) SWIG_fail;
14198 {
14199 arg2 = (int)(SWIG_As_int(obj1));
14200 if (SWIG_arg_fail(2)) SWIG_fail;
14201 }
14202 {
14203 arg3 = (int)(SWIG_As_int(obj2));
14204 if (SWIG_arg_fail(3)) SWIG_fail;
14205 }
14206 {
14207 PyThreadState* __tstate = wxPyBeginAllowThreads();
14208 result = (int)(arg1)->FindColumn(arg2,arg3);
14209
14210 wxPyEndAllowThreads(__tstate);
14211 if (PyErr_Occurred()) SWIG_fail;
14212 }
14213 {
14214 resultobj = SWIG_From_int((int)(result));
14215 }
14216 return resultobj;
14217 fail:
14218 return NULL;
14219 }
14220
14221
14222 static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *, PyObject *args, PyObject *kwargs) {
14223 PyObject *resultobj;
14224 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14225 PyObject * obj0 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
14231 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14232 if (SWIG_arg_fail(1)) SWIG_fail;
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 (arg1)->StartRecord();
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 Py_INCREF(Py_None); resultobj = Py_None;
14241 return resultobj;
14242 fail:
14243 return NULL;
14244 }
14245
14246
14247 static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *, PyObject *args, PyObject *kwargs) {
14248 PyObject *resultobj;
14249 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14250 PyObject * obj0 = 0 ;
14251 char *kwnames[] = {
14252 (char *) "self", NULL
14253 };
14254
14255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
14256 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14257 if (SWIG_arg_fail(1)) SWIG_fail;
14258 {
14259 PyThreadState* __tstate = wxPyBeginAllowThreads();
14260 (arg1)->StopRecord();
14261
14262 wxPyEndAllowThreads(__tstate);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 }
14265 Py_INCREF(Py_None); resultobj = Py_None;
14266 return resultobj;
14267 fail:
14268 return NULL;
14269 }
14270
14271
14272 static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
14273 PyObject *resultobj;
14274 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14275 int arg2 ;
14276 PyObject * obj0 = 0 ;
14277 PyObject * obj1 = 0 ;
14278 char *kwnames[] = {
14279 (char *) "self",(char *) "lexer", NULL
14280 };
14281
14282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
14283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14284 if (SWIG_arg_fail(1)) SWIG_fail;
14285 {
14286 arg2 = (int)(SWIG_As_int(obj1));
14287 if (SWIG_arg_fail(2)) SWIG_fail;
14288 }
14289 {
14290 PyThreadState* __tstate = wxPyBeginAllowThreads();
14291 (arg1)->SetLexer(arg2);
14292
14293 wxPyEndAllowThreads(__tstate);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 }
14296 Py_INCREF(Py_None); resultobj = Py_None;
14297 return resultobj;
14298 fail:
14299 return NULL;
14300 }
14301
14302
14303 static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *, PyObject *args, PyObject *kwargs) {
14304 PyObject *resultobj;
14305 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14306 int result;
14307 PyObject * obj0 = 0 ;
14308 char *kwnames[] = {
14309 (char *) "self", NULL
14310 };
14311
14312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
14313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14314 if (SWIG_arg_fail(1)) SWIG_fail;
14315 {
14316 PyThreadState* __tstate = wxPyBeginAllowThreads();
14317 result = (int)(arg1)->GetLexer();
14318
14319 wxPyEndAllowThreads(__tstate);
14320 if (PyErr_Occurred()) SWIG_fail;
14321 }
14322 {
14323 resultobj = SWIG_From_int((int)(result));
14324 }
14325 return resultobj;
14326 fail:
14327 return NULL;
14328 }
14329
14330
14331 static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *, PyObject *args, PyObject *kwargs) {
14332 PyObject *resultobj;
14333 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14334 int arg2 ;
14335 int arg3 ;
14336 PyObject * obj0 = 0 ;
14337 PyObject * obj1 = 0 ;
14338 PyObject * obj2 = 0 ;
14339 char *kwnames[] = {
14340 (char *) "self",(char *) "start",(char *) "end", NULL
14341 };
14342
14343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
14344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14345 if (SWIG_arg_fail(1)) SWIG_fail;
14346 {
14347 arg2 = (int)(SWIG_As_int(obj1));
14348 if (SWIG_arg_fail(2)) SWIG_fail;
14349 }
14350 {
14351 arg3 = (int)(SWIG_As_int(obj2));
14352 if (SWIG_arg_fail(3)) SWIG_fail;
14353 }
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 (arg1)->Colourise(arg2,arg3);
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 Py_INCREF(Py_None); resultobj = Py_None;
14362 return resultobj;
14363 fail:
14364 return NULL;
14365 }
14366
14367
14368 static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *, PyObject *args, PyObject *kwargs) {
14369 PyObject *resultobj;
14370 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14371 wxString *arg2 = 0 ;
14372 wxString *arg3 = 0 ;
14373 bool temp2 = false ;
14374 bool temp3 = false ;
14375 PyObject * obj0 = 0 ;
14376 PyObject * obj1 = 0 ;
14377 PyObject * obj2 = 0 ;
14378 char *kwnames[] = {
14379 (char *) "self",(char *) "key",(char *) "value", NULL
14380 };
14381
14382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
14383 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14384 if (SWIG_arg_fail(1)) SWIG_fail;
14385 {
14386 arg2 = wxString_in_helper(obj1);
14387 if (arg2 == NULL) SWIG_fail;
14388 temp2 = true;
14389 }
14390 {
14391 arg3 = wxString_in_helper(obj2);
14392 if (arg3 == NULL) SWIG_fail;
14393 temp3 = true;
14394 }
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
14402 Py_INCREF(Py_None); resultobj = Py_None;
14403 {
14404 if (temp2)
14405 delete arg2;
14406 }
14407 {
14408 if (temp3)
14409 delete arg3;
14410 }
14411 return resultobj;
14412 fail:
14413 {
14414 if (temp2)
14415 delete arg2;
14416 }
14417 {
14418 if (temp3)
14419 delete arg3;
14420 }
14421 return NULL;
14422 }
14423
14424
14425 static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *, PyObject *args, PyObject *kwargs) {
14426 PyObject *resultobj;
14427 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14428 int arg2 ;
14429 wxString *arg3 = 0 ;
14430 bool temp3 = false ;
14431 PyObject * obj0 = 0 ;
14432 PyObject * obj1 = 0 ;
14433 PyObject * obj2 = 0 ;
14434 char *kwnames[] = {
14435 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
14436 };
14437
14438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
14439 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14440 if (SWIG_arg_fail(1)) SWIG_fail;
14441 {
14442 arg2 = (int)(SWIG_As_int(obj1));
14443 if (SWIG_arg_fail(2)) SWIG_fail;
14444 }
14445 {
14446 arg3 = wxString_in_helper(obj2);
14447 if (arg3 == NULL) SWIG_fail;
14448 temp3 = true;
14449 }
14450 {
14451 PyThreadState* __tstate = wxPyBeginAllowThreads();
14452 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
14453
14454 wxPyEndAllowThreads(__tstate);
14455 if (PyErr_Occurred()) SWIG_fail;
14456 }
14457 Py_INCREF(Py_None); resultobj = Py_None;
14458 {
14459 if (temp3)
14460 delete arg3;
14461 }
14462 return resultobj;
14463 fail:
14464 {
14465 if (temp3)
14466 delete arg3;
14467 }
14468 return NULL;
14469 }
14470
14471
14472 static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *, PyObject *args, PyObject *kwargs) {
14473 PyObject *resultobj;
14474 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14475 wxString *arg2 = 0 ;
14476 bool temp2 = false ;
14477 PyObject * obj0 = 0 ;
14478 PyObject * obj1 = 0 ;
14479 char *kwnames[] = {
14480 (char *) "self",(char *) "language", NULL
14481 };
14482
14483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
14484 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14485 if (SWIG_arg_fail(1)) SWIG_fail;
14486 {
14487 arg2 = wxString_in_helper(obj1);
14488 if (arg2 == NULL) SWIG_fail;
14489 temp2 = true;
14490 }
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 (arg1)->SetLexerLanguage((wxString const &)*arg2);
14494
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 Py_INCREF(Py_None); resultobj = Py_None;
14499 {
14500 if (temp2)
14501 delete arg2;
14502 }
14503 return resultobj;
14504 fail:
14505 {
14506 if (temp2)
14507 delete arg2;
14508 }
14509 return NULL;
14510 }
14511
14512
14513 static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *, PyObject *args, PyObject *kwargs) {
14514 PyObject *resultobj;
14515 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14516 int result;
14517 PyObject * obj0 = 0 ;
14518 char *kwnames[] = {
14519 (char *) "self", NULL
14520 };
14521
14522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
14523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14524 if (SWIG_arg_fail(1)) SWIG_fail;
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 result = (int)(arg1)->GetCurrentLine();
14528
14529 wxPyEndAllowThreads(__tstate);
14530 if (PyErr_Occurred()) SWIG_fail;
14531 }
14532 {
14533 resultobj = SWIG_From_int((int)(result));
14534 }
14535 return resultobj;
14536 fail:
14537 return NULL;
14538 }
14539
14540
14541 static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *, PyObject *args, PyObject *kwargs) {
14542 PyObject *resultobj;
14543 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14544 int arg2 ;
14545 wxString *arg3 = 0 ;
14546 bool temp3 = false ;
14547 PyObject * obj0 = 0 ;
14548 PyObject * obj1 = 0 ;
14549 PyObject * obj2 = 0 ;
14550 char *kwnames[] = {
14551 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
14552 };
14553
14554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
14555 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14556 if (SWIG_arg_fail(1)) SWIG_fail;
14557 {
14558 arg2 = (int)(SWIG_As_int(obj1));
14559 if (SWIG_arg_fail(2)) SWIG_fail;
14560 }
14561 {
14562 arg3 = wxString_in_helper(obj2);
14563 if (arg3 == NULL) SWIG_fail;
14564 temp3 = true;
14565 }
14566 {
14567 PyThreadState* __tstate = wxPyBeginAllowThreads();
14568 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
14569
14570 wxPyEndAllowThreads(__tstate);
14571 if (PyErr_Occurred()) SWIG_fail;
14572 }
14573 Py_INCREF(Py_None); resultobj = Py_None;
14574 {
14575 if (temp3)
14576 delete arg3;
14577 }
14578 return resultobj;
14579 fail:
14580 {
14581 if (temp3)
14582 delete arg3;
14583 }
14584 return NULL;
14585 }
14586
14587
14588 static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *, PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj;
14590 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14591 int arg2 ;
14592 wxFont *arg3 = 0 ;
14593 PyObject * obj0 = 0 ;
14594 PyObject * obj1 = 0 ;
14595 PyObject * obj2 = 0 ;
14596 char *kwnames[] = {
14597 (char *) "self",(char *) "styleNum",(char *) "font", NULL
14598 };
14599
14600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
14601 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14602 if (SWIG_arg_fail(1)) SWIG_fail;
14603 {
14604 arg2 = (int)(SWIG_As_int(obj1));
14605 if (SWIG_arg_fail(2)) SWIG_fail;
14606 }
14607 {
14608 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
14609 if (SWIG_arg_fail(3)) SWIG_fail;
14610 if (arg3 == NULL) {
14611 SWIG_null_ref("wxFont");
14612 }
14613 if (SWIG_arg_fail(3)) SWIG_fail;
14614 }
14615 {
14616 PyThreadState* __tstate = wxPyBeginAllowThreads();
14617 (arg1)->StyleSetFont(arg2,*arg3);
14618
14619 wxPyEndAllowThreads(__tstate);
14620 if (PyErr_Occurred()) SWIG_fail;
14621 }
14622 Py_INCREF(Py_None); resultobj = Py_None;
14623 return resultobj;
14624 fail:
14625 return NULL;
14626 }
14627
14628
14629 static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *, PyObject *args, PyObject *kwargs) {
14630 PyObject *resultobj;
14631 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14632 int arg2 ;
14633 int arg3 ;
14634 wxString *arg4 = 0 ;
14635 bool arg5 ;
14636 bool arg6 ;
14637 bool arg7 ;
14638 bool temp4 = false ;
14639 PyObject * obj0 = 0 ;
14640 PyObject * obj1 = 0 ;
14641 PyObject * obj2 = 0 ;
14642 PyObject * obj3 = 0 ;
14643 PyObject * obj4 = 0 ;
14644 PyObject * obj5 = 0 ;
14645 PyObject * obj6 = 0 ;
14646 char *kwnames[] = {
14647 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
14648 };
14649
14650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14651 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14652 if (SWIG_arg_fail(1)) SWIG_fail;
14653 {
14654 arg2 = (int)(SWIG_As_int(obj1));
14655 if (SWIG_arg_fail(2)) SWIG_fail;
14656 }
14657 {
14658 arg3 = (int)(SWIG_As_int(obj2));
14659 if (SWIG_arg_fail(3)) SWIG_fail;
14660 }
14661 {
14662 arg4 = wxString_in_helper(obj3);
14663 if (arg4 == NULL) SWIG_fail;
14664 temp4 = true;
14665 }
14666 {
14667 arg5 = (bool)(SWIG_As_bool(obj4));
14668 if (SWIG_arg_fail(5)) SWIG_fail;
14669 }
14670 {
14671 arg6 = (bool)(SWIG_As_bool(obj5));
14672 if (SWIG_arg_fail(6)) SWIG_fail;
14673 }
14674 {
14675 arg7 = (bool)(SWIG_As_bool(obj6));
14676 if (SWIG_arg_fail(7)) SWIG_fail;
14677 }
14678 {
14679 PyThreadState* __tstate = wxPyBeginAllowThreads();
14680 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
14681
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 Py_INCREF(Py_None); resultobj = Py_None;
14686 {
14687 if (temp4)
14688 delete arg4;
14689 }
14690 return resultobj;
14691 fail:
14692 {
14693 if (temp4)
14694 delete arg4;
14695 }
14696 return NULL;
14697 }
14698
14699
14700 static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *, PyObject *args, PyObject *kwargs) {
14701 PyObject *resultobj;
14702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14703 int arg2 ;
14704 PyObject * obj0 = 0 ;
14705 PyObject * obj1 = 0 ;
14706 char *kwnames[] = {
14707 (char *) "self",(char *) "cmd", NULL
14708 };
14709
14710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
14711 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14712 if (SWIG_arg_fail(1)) SWIG_fail;
14713 {
14714 arg2 = (int)(SWIG_As_int(obj1));
14715 if (SWIG_arg_fail(2)) SWIG_fail;
14716 }
14717 {
14718 PyThreadState* __tstate = wxPyBeginAllowThreads();
14719 (arg1)->CmdKeyExecute(arg2);
14720
14721 wxPyEndAllowThreads(__tstate);
14722 if (PyErr_Occurred()) SWIG_fail;
14723 }
14724 Py_INCREF(Py_None); resultobj = Py_None;
14725 return resultobj;
14726 fail:
14727 return NULL;
14728 }
14729
14730
14731 static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *, PyObject *args, PyObject *kwargs) {
14732 PyObject *resultobj;
14733 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14734 int arg2 ;
14735 int arg3 ;
14736 PyObject * obj0 = 0 ;
14737 PyObject * obj1 = 0 ;
14738 PyObject * obj2 = 0 ;
14739 char *kwnames[] = {
14740 (char *) "self",(char *) "left",(char *) "right", NULL
14741 };
14742
14743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
14744 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14745 if (SWIG_arg_fail(1)) SWIG_fail;
14746 {
14747 arg2 = (int)(SWIG_As_int(obj1));
14748 if (SWIG_arg_fail(2)) SWIG_fail;
14749 }
14750 {
14751 arg3 = (int)(SWIG_As_int(obj2));
14752 if (SWIG_arg_fail(3)) SWIG_fail;
14753 }
14754 {
14755 PyThreadState* __tstate = wxPyBeginAllowThreads();
14756 (arg1)->SetMargins(arg2,arg3);
14757
14758 wxPyEndAllowThreads(__tstate);
14759 if (PyErr_Occurred()) SWIG_fail;
14760 }
14761 Py_INCREF(Py_None); resultobj = Py_None;
14762 return resultobj;
14763 fail:
14764 return NULL;
14765 }
14766
14767
14768 static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
14769 PyObject *resultobj;
14770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14771 int *arg2 = (int *) 0 ;
14772 int *arg3 = (int *) 0 ;
14773 int temp2 ;
14774 int res2 = 0 ;
14775 int temp3 ;
14776 int res3 = 0 ;
14777 PyObject * obj0 = 0 ;
14778 char *kwnames[] = {
14779 (char *) "self", NULL
14780 };
14781
14782 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14783 arg3 = &temp3; res3 = SWIG_NEWOBJ;
14784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
14785 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14786 if (SWIG_arg_fail(1)) SWIG_fail;
14787 {
14788 PyThreadState* __tstate = wxPyBeginAllowThreads();
14789 (arg1)->GetSelection(arg2,arg3);
14790
14791 wxPyEndAllowThreads(__tstate);
14792 if (PyErr_Occurred()) SWIG_fail;
14793 }
14794 Py_INCREF(Py_None); resultobj = Py_None;
14795 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14796 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
14797 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14798 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
14799 return resultobj;
14800 fail:
14801 return NULL;
14802 }
14803
14804
14805 static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *, PyObject *args, PyObject *kwargs) {
14806 PyObject *resultobj;
14807 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14808 int arg2 ;
14809 wxPoint result;
14810 PyObject * obj0 = 0 ;
14811 PyObject * obj1 = 0 ;
14812 char *kwnames[] = {
14813 (char *) "self",(char *) "pos", NULL
14814 };
14815
14816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
14817 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14818 if (SWIG_arg_fail(1)) SWIG_fail;
14819 {
14820 arg2 = (int)(SWIG_As_int(obj1));
14821 if (SWIG_arg_fail(2)) SWIG_fail;
14822 }
14823 {
14824 PyThreadState* __tstate = wxPyBeginAllowThreads();
14825 result = (arg1)->PointFromPosition(arg2);
14826
14827 wxPyEndAllowThreads(__tstate);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
14830 {
14831 wxPoint * resultptr;
14832 resultptr = new wxPoint((wxPoint &)(result));
14833 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
14834 }
14835 return resultobj;
14836 fail:
14837 return NULL;
14838 }
14839
14840
14841 static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
14842 PyObject *resultobj;
14843 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14844 int arg2 ;
14845 PyObject * obj0 = 0 ;
14846 PyObject * obj1 = 0 ;
14847 char *kwnames[] = {
14848 (char *) "self",(char *) "line", NULL
14849 };
14850
14851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
14852 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14853 if (SWIG_arg_fail(1)) SWIG_fail;
14854 {
14855 arg2 = (int)(SWIG_As_int(obj1));
14856 if (SWIG_arg_fail(2)) SWIG_fail;
14857 }
14858 {
14859 PyThreadState* __tstate = wxPyBeginAllowThreads();
14860 (arg1)->ScrollToLine(arg2);
14861
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 Py_INCREF(Py_None); resultobj = Py_None;
14866 return resultobj;
14867 fail:
14868 return NULL;
14869 }
14870
14871
14872 static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *, PyObject *args, PyObject *kwargs) {
14873 PyObject *resultobj;
14874 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14875 int arg2 ;
14876 PyObject * obj0 = 0 ;
14877 PyObject * obj1 = 0 ;
14878 char *kwnames[] = {
14879 (char *) "self",(char *) "column", NULL
14880 };
14881
14882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
14883 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14884 if (SWIG_arg_fail(1)) SWIG_fail;
14885 {
14886 arg2 = (int)(SWIG_As_int(obj1));
14887 if (SWIG_arg_fail(2)) SWIG_fail;
14888 }
14889 {
14890 PyThreadState* __tstate = wxPyBeginAllowThreads();
14891 (arg1)->ScrollToColumn(arg2);
14892
14893 wxPyEndAllowThreads(__tstate);
14894 if (PyErr_Occurred()) SWIG_fail;
14895 }
14896 Py_INCREF(Py_None); resultobj = Py_None;
14897 return resultobj;
14898 fail:
14899 return NULL;
14900 }
14901
14902
14903 static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *, PyObject *args, PyObject *kwargs) {
14904 PyObject *resultobj;
14905 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14906 int arg2 ;
14907 long arg3 = (long) 0 ;
14908 long arg4 = (long) 0 ;
14909 long result;
14910 PyObject * obj0 = 0 ;
14911 PyObject * obj1 = 0 ;
14912 PyObject * obj2 = 0 ;
14913 PyObject * obj3 = 0 ;
14914 char *kwnames[] = {
14915 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
14916 };
14917
14918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14920 if (SWIG_arg_fail(1)) SWIG_fail;
14921 {
14922 arg2 = (int)(SWIG_As_int(obj1));
14923 if (SWIG_arg_fail(2)) SWIG_fail;
14924 }
14925 if (obj2) {
14926 {
14927 arg3 = (long)(SWIG_As_long(obj2));
14928 if (SWIG_arg_fail(3)) SWIG_fail;
14929 }
14930 }
14931 if (obj3) {
14932 {
14933 arg4 = (long)(SWIG_As_long(obj3));
14934 if (SWIG_arg_fail(4)) SWIG_fail;
14935 }
14936 }
14937 {
14938 PyThreadState* __tstate = wxPyBeginAllowThreads();
14939 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
14940
14941 wxPyEndAllowThreads(__tstate);
14942 if (PyErr_Occurred()) SWIG_fail;
14943 }
14944 {
14945 resultobj = SWIG_From_long((long)(result));
14946 }
14947 return resultobj;
14948 fail:
14949 return NULL;
14950 }
14951
14952
14953 static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
14954 PyObject *resultobj;
14955 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14956 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
14957 PyObject * obj0 = 0 ;
14958 PyObject * obj1 = 0 ;
14959 char *kwnames[] = {
14960 (char *) "self",(char *) "bar", NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
14964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14965 if (SWIG_arg_fail(1)) SWIG_fail;
14966 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
14967 if (SWIG_arg_fail(2)) SWIG_fail;
14968 {
14969 PyThreadState* __tstate = wxPyBeginAllowThreads();
14970 (arg1)->SetVScrollBar(arg2);
14971
14972 wxPyEndAllowThreads(__tstate);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 }
14975 Py_INCREF(Py_None); resultobj = Py_None;
14976 return resultobj;
14977 fail:
14978 return NULL;
14979 }
14980
14981
14982 static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
14983 PyObject *resultobj;
14984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
14985 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
14986 PyObject * obj0 = 0 ;
14987 PyObject * obj1 = 0 ;
14988 char *kwnames[] = {
14989 (char *) "self",(char *) "bar", NULL
14990 };
14991
14992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
14993 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
14994 if (SWIG_arg_fail(1)) SWIG_fail;
14995 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxScrollBar, SWIG_POINTER_EXCEPTION | 0);
14996 if (SWIG_arg_fail(2)) SWIG_fail;
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 (arg1)->SetHScrollBar(arg2);
15000
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 Py_INCREF(Py_None); resultobj = Py_None;
15005 return resultobj;
15006 fail:
15007 return NULL;
15008 }
15009
15010
15011 static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
15012 PyObject *resultobj;
15013 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15014 bool result;
15015 PyObject * obj0 = 0 ;
15016 char *kwnames[] = {
15017 (char *) "self", NULL
15018 };
15019
15020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
15021 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15022 if (SWIG_arg_fail(1)) SWIG_fail;
15023 {
15024 PyThreadState* __tstate = wxPyBeginAllowThreads();
15025 result = (bool)(arg1)->GetLastKeydownProcessed();
15026
15027 wxPyEndAllowThreads(__tstate);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 }
15030 {
15031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15032 }
15033 return resultobj;
15034 fail:
15035 return NULL;
15036 }
15037
15038
15039 static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *, PyObject *args, PyObject *kwargs) {
15040 PyObject *resultobj;
15041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15042 bool arg2 ;
15043 PyObject * obj0 = 0 ;
15044 PyObject * obj1 = 0 ;
15045 char *kwnames[] = {
15046 (char *) "self",(char *) "val", NULL
15047 };
15048
15049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
15050 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15051 if (SWIG_arg_fail(1)) SWIG_fail;
15052 {
15053 arg2 = (bool)(SWIG_As_bool(obj1));
15054 if (SWIG_arg_fail(2)) SWIG_fail;
15055 }
15056 {
15057 PyThreadState* __tstate = wxPyBeginAllowThreads();
15058 (arg1)->SetLastKeydownProcessed(arg2);
15059
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
15063 Py_INCREF(Py_None); resultobj = Py_None;
15064 return resultobj;
15065 fail:
15066 return NULL;
15067 }
15068
15069
15070 static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
15071 PyObject *resultobj;
15072 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15073 wxString *arg2 = 0 ;
15074 bool result;
15075 bool temp2 = false ;
15076 PyObject * obj0 = 0 ;
15077 PyObject * obj1 = 0 ;
15078 char *kwnames[] = {
15079 (char *) "self",(char *) "filename", NULL
15080 };
15081
15082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
15083 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15084 if (SWIG_arg_fail(1)) SWIG_fail;
15085 {
15086 arg2 = wxString_in_helper(obj1);
15087 if (arg2 == NULL) SWIG_fail;
15088 temp2 = true;
15089 }
15090 {
15091 PyThreadState* __tstate = wxPyBeginAllowThreads();
15092 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
15093
15094 wxPyEndAllowThreads(__tstate);
15095 if (PyErr_Occurred()) SWIG_fail;
15096 }
15097 {
15098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15099 }
15100 {
15101 if (temp2)
15102 delete arg2;
15103 }
15104 return resultobj;
15105 fail:
15106 {
15107 if (temp2)
15108 delete arg2;
15109 }
15110 return NULL;
15111 }
15112
15113
15114 static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
15115 PyObject *resultobj;
15116 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15117 wxString *arg2 = 0 ;
15118 bool result;
15119 bool temp2 = false ;
15120 PyObject * obj0 = 0 ;
15121 PyObject * obj1 = 0 ;
15122 char *kwnames[] = {
15123 (char *) "self",(char *) "filename", NULL
15124 };
15125
15126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
15127 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15128 if (SWIG_arg_fail(1)) SWIG_fail;
15129 {
15130 arg2 = wxString_in_helper(obj1);
15131 if (arg2 == NULL) SWIG_fail;
15132 temp2 = true;
15133 }
15134 {
15135 PyThreadState* __tstate = wxPyBeginAllowThreads();
15136 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
15137
15138 wxPyEndAllowThreads(__tstate);
15139 if (PyErr_Occurred()) SWIG_fail;
15140 }
15141 {
15142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15143 }
15144 {
15145 if (temp2)
15146 delete arg2;
15147 }
15148 return resultobj;
15149 fail:
15150 {
15151 if (temp2)
15152 delete arg2;
15153 }
15154 return NULL;
15155 }
15156
15157
15158 static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *, PyObject *args, PyObject *kwargs) {
15159 PyObject *resultobj;
15160 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15161 int arg2 ;
15162 int arg3 ;
15163 wxDragResult arg4 ;
15164 wxDragResult result;
15165 PyObject * obj0 = 0 ;
15166 PyObject * obj1 = 0 ;
15167 PyObject * obj2 = 0 ;
15168 PyObject * obj3 = 0 ;
15169 char *kwnames[] = {
15170 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
15171 };
15172
15173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15174 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15175 if (SWIG_arg_fail(1)) SWIG_fail;
15176 {
15177 arg2 = (int)(SWIG_As_int(obj1));
15178 if (SWIG_arg_fail(2)) SWIG_fail;
15179 }
15180 {
15181 arg3 = (int)(SWIG_As_int(obj2));
15182 if (SWIG_arg_fail(3)) SWIG_fail;
15183 }
15184 {
15185 arg4 = (wxDragResult)(SWIG_As_int(obj3));
15186 if (SWIG_arg_fail(4)) SWIG_fail;
15187 }
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 result = (wxDragResult)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4);
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 resultobj = SWIG_From_int((result));
15196 return resultobj;
15197 fail:
15198 return NULL;
15199 }
15200
15201
15202 static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *, PyObject *args, PyObject *kwargs) {
15203 PyObject *resultobj;
15204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15205 long arg2 ;
15206 long arg3 ;
15207 wxString *arg4 = 0 ;
15208 bool result;
15209 bool temp4 = false ;
15210 PyObject * obj0 = 0 ;
15211 PyObject * obj1 = 0 ;
15212 PyObject * obj2 = 0 ;
15213 PyObject * obj3 = 0 ;
15214 char *kwnames[] = {
15215 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
15216 };
15217
15218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15219 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15220 if (SWIG_arg_fail(1)) SWIG_fail;
15221 {
15222 arg2 = (long)(SWIG_As_long(obj1));
15223 if (SWIG_arg_fail(2)) SWIG_fail;
15224 }
15225 {
15226 arg3 = (long)(SWIG_As_long(obj2));
15227 if (SWIG_arg_fail(3)) SWIG_fail;
15228 }
15229 {
15230 arg4 = wxString_in_helper(obj3);
15231 if (arg4 == NULL) SWIG_fail;
15232 temp4 = true;
15233 }
15234 {
15235 PyThreadState* __tstate = wxPyBeginAllowThreads();
15236 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
15237
15238 wxPyEndAllowThreads(__tstate);
15239 if (PyErr_Occurred()) SWIG_fail;
15240 }
15241 {
15242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15243 }
15244 {
15245 if (temp4)
15246 delete arg4;
15247 }
15248 return resultobj;
15249 fail:
15250 {
15251 if (temp4)
15252 delete arg4;
15253 }
15254 return NULL;
15255 }
15256
15257
15258 static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
15259 PyObject *resultobj;
15260 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15261 bool arg2 ;
15262 PyObject * obj0 = 0 ;
15263 PyObject * obj1 = 0 ;
15264 char *kwnames[] = {
15265 (char *) "self",(char *) "useAA", NULL
15266 };
15267
15268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
15269 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15270 if (SWIG_arg_fail(1)) SWIG_fail;
15271 {
15272 arg2 = (bool)(SWIG_As_bool(obj1));
15273 if (SWIG_arg_fail(2)) SWIG_fail;
15274 }
15275 {
15276 PyThreadState* __tstate = wxPyBeginAllowThreads();
15277 (arg1)->SetUseAntiAliasing(arg2);
15278
15279 wxPyEndAllowThreads(__tstate);
15280 if (PyErr_Occurred()) SWIG_fail;
15281 }
15282 Py_INCREF(Py_None); resultobj = Py_None;
15283 return resultobj;
15284 fail:
15285 return NULL;
15286 }
15287
15288
15289 static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *, PyObject *args, PyObject *kwargs) {
15290 PyObject *resultobj;
15291 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
15292 bool result;
15293 PyObject * obj0 = 0 ;
15294 char *kwnames[] = {
15295 (char *) "self", NULL
15296 };
15297
15298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail;
15299 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextCtrl, SWIG_POINTER_EXCEPTION | 0);
15300 if (SWIG_arg_fail(1)) SWIG_fail;
15301 {
15302 PyThreadState* __tstate = wxPyBeginAllowThreads();
15303 result = (bool)(arg1)->GetUseAntiAliasing();
15304
15305 wxPyEndAllowThreads(__tstate);
15306 if (PyErr_Occurred()) SWIG_fail;
15307 }
15308 {
15309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15310 }
15311 return resultobj;
15312 fail:
15313 return NULL;
15314 }
15315
15316
15317 static PyObject * StyledTextCtrl_swigregister(PyObject *, PyObject *args) {
15318 PyObject *obj;
15319 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15320 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
15321 Py_INCREF(obj);
15322 return Py_BuildValue((char *)"");
15323 }
15324 static PyObject *_wrap_new_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15325 PyObject *resultobj;
15326 wxEventType arg1 = (wxEventType) 0 ;
15327 int arg2 = (int) 0 ;
15328 wxStyledTextEvent *result;
15329 PyObject * obj0 = 0 ;
15330 PyObject * obj1 = 0 ;
15331 char *kwnames[] = {
15332 (char *) "commandType",(char *) "id", NULL
15333 };
15334
15335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
15336 if (obj0) {
15337 {
15338 arg1 = (wxEventType)(SWIG_As_int(obj0));
15339 if (SWIG_arg_fail(1)) SWIG_fail;
15340 }
15341 }
15342 if (obj1) {
15343 {
15344 arg2 = (int)(SWIG_As_int(obj1));
15345 if (SWIG_arg_fail(2)) SWIG_fail;
15346 }
15347 }
15348 {
15349 PyThreadState* __tstate = wxPyBeginAllowThreads();
15350 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
15351
15352 wxPyEndAllowThreads(__tstate);
15353 if (PyErr_Occurred()) SWIG_fail;
15354 }
15355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1);
15356 return resultobj;
15357 fail:
15358 return NULL;
15359 }
15360
15361
15362 static PyObject *_wrap_delete_StyledTextEvent(PyObject *, PyObject *args, PyObject *kwargs) {
15363 PyObject *resultobj;
15364 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15365 PyObject * obj0 = 0 ;
15366 char *kwnames[] = {
15367 (char *) "self", NULL
15368 };
15369
15370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
15371 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15372 if (SWIG_arg_fail(1)) SWIG_fail;
15373 {
15374 PyThreadState* __tstate = wxPyBeginAllowThreads();
15375 delete arg1;
15376
15377 wxPyEndAllowThreads(__tstate);
15378 if (PyErr_Occurred()) SWIG_fail;
15379 }
15380 Py_INCREF(Py_None); resultobj = Py_None;
15381 return resultobj;
15382 fail:
15383 return NULL;
15384 }
15385
15386
15387 static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
15388 PyObject *resultobj;
15389 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15390 int arg2 ;
15391 PyObject * obj0 = 0 ;
15392 PyObject * obj1 = 0 ;
15393 char *kwnames[] = {
15394 (char *) "self",(char *) "pos", NULL
15395 };
15396
15397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15399 if (SWIG_arg_fail(1)) SWIG_fail;
15400 {
15401 arg2 = (int)(SWIG_As_int(obj1));
15402 if (SWIG_arg_fail(2)) SWIG_fail;
15403 }
15404 {
15405 PyThreadState* __tstate = wxPyBeginAllowThreads();
15406 (arg1)->SetPosition(arg2);
15407
15408 wxPyEndAllowThreads(__tstate);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
15411 Py_INCREF(Py_None); resultobj = Py_None;
15412 return resultobj;
15413 fail:
15414 return NULL;
15415 }
15416
15417
15418 static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *, PyObject *args, PyObject *kwargs) {
15419 PyObject *resultobj;
15420 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15421 int arg2 ;
15422 PyObject * obj0 = 0 ;
15423 PyObject * obj1 = 0 ;
15424 char *kwnames[] = {
15425 (char *) "self",(char *) "k", NULL
15426 };
15427
15428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
15429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15430 if (SWIG_arg_fail(1)) SWIG_fail;
15431 {
15432 arg2 = (int)(SWIG_As_int(obj1));
15433 if (SWIG_arg_fail(2)) SWIG_fail;
15434 }
15435 {
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 (arg1)->SetKey(arg2);
15438
15439 wxPyEndAllowThreads(__tstate);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 Py_INCREF(Py_None); resultobj = Py_None;
15443 return resultobj;
15444 fail:
15445 return NULL;
15446 }
15447
15448
15449 static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj;
15451 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15452 int arg2 ;
15453 PyObject * obj0 = 0 ;
15454 PyObject * obj1 = 0 ;
15455 char *kwnames[] = {
15456 (char *) "self",(char *) "m", NULL
15457 };
15458
15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
15460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15461 if (SWIG_arg_fail(1)) SWIG_fail;
15462 {
15463 arg2 = (int)(SWIG_As_int(obj1));
15464 if (SWIG_arg_fail(2)) SWIG_fail;
15465 }
15466 {
15467 PyThreadState* __tstate = wxPyBeginAllowThreads();
15468 (arg1)->SetModifiers(arg2);
15469
15470 wxPyEndAllowThreads(__tstate);
15471 if (PyErr_Occurred()) SWIG_fail;
15472 }
15473 Py_INCREF(Py_None); resultobj = Py_None;
15474 return resultobj;
15475 fail:
15476 return NULL;
15477 }
15478
15479
15480 static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
15481 PyObject *resultobj;
15482 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15483 int arg2 ;
15484 PyObject * obj0 = 0 ;
15485 PyObject * obj1 = 0 ;
15486 char *kwnames[] = {
15487 (char *) "self",(char *) "t", NULL
15488 };
15489
15490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
15491 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15492 if (SWIG_arg_fail(1)) SWIG_fail;
15493 {
15494 arg2 = (int)(SWIG_As_int(obj1));
15495 if (SWIG_arg_fail(2)) SWIG_fail;
15496 }
15497 {
15498 PyThreadState* __tstate = wxPyBeginAllowThreads();
15499 (arg1)->SetModificationType(arg2);
15500
15501 wxPyEndAllowThreads(__tstate);
15502 if (PyErr_Occurred()) SWIG_fail;
15503 }
15504 Py_INCREF(Py_None); resultobj = Py_None;
15505 return resultobj;
15506 fail:
15507 return NULL;
15508 }
15509
15510
15511 static PyObject *_wrap_StyledTextEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
15512 PyObject *resultobj;
15513 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15514 wxString *arg2 = 0 ;
15515 bool temp2 = false ;
15516 PyObject * obj0 = 0 ;
15517 PyObject * obj1 = 0 ;
15518 char *kwnames[] = {
15519 (char *) "self",(char *) "t", NULL
15520 };
15521
15522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15523 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15524 if (SWIG_arg_fail(1)) SWIG_fail;
15525 {
15526 arg2 = wxString_in_helper(obj1);
15527 if (arg2 == NULL) SWIG_fail;
15528 temp2 = true;
15529 }
15530 {
15531 PyThreadState* __tstate = wxPyBeginAllowThreads();
15532 (arg1)->SetText((wxString const &)*arg2);
15533
15534 wxPyEndAllowThreads(__tstate);
15535 if (PyErr_Occurred()) SWIG_fail;
15536 }
15537 Py_INCREF(Py_None); resultobj = Py_None;
15538 {
15539 if (temp2)
15540 delete arg2;
15541 }
15542 return resultobj;
15543 fail:
15544 {
15545 if (temp2)
15546 delete arg2;
15547 }
15548 return NULL;
15549 }
15550
15551
15552 static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *, PyObject *args, PyObject *kwargs) {
15553 PyObject *resultobj;
15554 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15555 int arg2 ;
15556 PyObject * obj0 = 0 ;
15557 PyObject * obj1 = 0 ;
15558 char *kwnames[] = {
15559 (char *) "self",(char *) "len", NULL
15560 };
15561
15562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
15563 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15564 if (SWIG_arg_fail(1)) SWIG_fail;
15565 {
15566 arg2 = (int)(SWIG_As_int(obj1));
15567 if (SWIG_arg_fail(2)) SWIG_fail;
15568 }
15569 {
15570 PyThreadState* __tstate = wxPyBeginAllowThreads();
15571 (arg1)->SetLength(arg2);
15572
15573 wxPyEndAllowThreads(__tstate);
15574 if (PyErr_Occurred()) SWIG_fail;
15575 }
15576 Py_INCREF(Py_None); resultobj = Py_None;
15577 return resultobj;
15578 fail:
15579 return NULL;
15580 }
15581
15582
15583 static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
15584 PyObject *resultobj;
15585 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15586 int arg2 ;
15587 PyObject * obj0 = 0 ;
15588 PyObject * obj1 = 0 ;
15589 char *kwnames[] = {
15590 (char *) "self",(char *) "num", NULL
15591 };
15592
15593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
15594 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15595 if (SWIG_arg_fail(1)) SWIG_fail;
15596 {
15597 arg2 = (int)(SWIG_As_int(obj1));
15598 if (SWIG_arg_fail(2)) SWIG_fail;
15599 }
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 (arg1)->SetLinesAdded(arg2);
15603
15604 wxPyEndAllowThreads(__tstate);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 }
15607 Py_INCREF(Py_None); resultobj = Py_None;
15608 return resultobj;
15609 fail:
15610 return NULL;
15611 }
15612
15613
15614 static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *, PyObject *args, PyObject *kwargs) {
15615 PyObject *resultobj;
15616 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15617 int arg2 ;
15618 PyObject * obj0 = 0 ;
15619 PyObject * obj1 = 0 ;
15620 char *kwnames[] = {
15621 (char *) "self",(char *) "val", NULL
15622 };
15623
15624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
15625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15626 if (SWIG_arg_fail(1)) SWIG_fail;
15627 {
15628 arg2 = (int)(SWIG_As_int(obj1));
15629 if (SWIG_arg_fail(2)) SWIG_fail;
15630 }
15631 {
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 (arg1)->SetLine(arg2);
15634
15635 wxPyEndAllowThreads(__tstate);
15636 if (PyErr_Occurred()) SWIG_fail;
15637 }
15638 Py_INCREF(Py_None); resultobj = Py_None;
15639 return resultobj;
15640 fail:
15641 return NULL;
15642 }
15643
15644
15645 static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
15646 PyObject *resultobj;
15647 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15648 int arg2 ;
15649 PyObject * obj0 = 0 ;
15650 PyObject * obj1 = 0 ;
15651 char *kwnames[] = {
15652 (char *) "self",(char *) "val", NULL
15653 };
15654
15655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
15656 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15657 if (SWIG_arg_fail(1)) SWIG_fail;
15658 {
15659 arg2 = (int)(SWIG_As_int(obj1));
15660 if (SWIG_arg_fail(2)) SWIG_fail;
15661 }
15662 {
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 (arg1)->SetFoldLevelNow(arg2);
15665
15666 wxPyEndAllowThreads(__tstate);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 }
15669 Py_INCREF(Py_None); resultobj = Py_None;
15670 return resultobj;
15671 fail:
15672 return NULL;
15673 }
15674
15675
15676 static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
15677 PyObject *resultobj;
15678 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15679 int arg2 ;
15680 PyObject * obj0 = 0 ;
15681 PyObject * obj1 = 0 ;
15682 char *kwnames[] = {
15683 (char *) "self",(char *) "val", NULL
15684 };
15685
15686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
15687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15688 if (SWIG_arg_fail(1)) SWIG_fail;
15689 {
15690 arg2 = (int)(SWIG_As_int(obj1));
15691 if (SWIG_arg_fail(2)) SWIG_fail;
15692 }
15693 {
15694 PyThreadState* __tstate = wxPyBeginAllowThreads();
15695 (arg1)->SetFoldLevelPrev(arg2);
15696
15697 wxPyEndAllowThreads(__tstate);
15698 if (PyErr_Occurred()) SWIG_fail;
15699 }
15700 Py_INCREF(Py_None); resultobj = Py_None;
15701 return resultobj;
15702 fail:
15703 return NULL;
15704 }
15705
15706
15707 static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
15708 PyObject *resultobj;
15709 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15710 int arg2 ;
15711 PyObject * obj0 = 0 ;
15712 PyObject * obj1 = 0 ;
15713 char *kwnames[] = {
15714 (char *) "self",(char *) "val", NULL
15715 };
15716
15717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
15718 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15719 if (SWIG_arg_fail(1)) SWIG_fail;
15720 {
15721 arg2 = (int)(SWIG_As_int(obj1));
15722 if (SWIG_arg_fail(2)) SWIG_fail;
15723 }
15724 {
15725 PyThreadState* __tstate = wxPyBeginAllowThreads();
15726 (arg1)->SetMargin(arg2);
15727
15728 wxPyEndAllowThreads(__tstate);
15729 if (PyErr_Occurred()) SWIG_fail;
15730 }
15731 Py_INCREF(Py_None); resultobj = Py_None;
15732 return resultobj;
15733 fail:
15734 return NULL;
15735 }
15736
15737
15738 static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
15739 PyObject *resultobj;
15740 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15741 int arg2 ;
15742 PyObject * obj0 = 0 ;
15743 PyObject * obj1 = 0 ;
15744 char *kwnames[] = {
15745 (char *) "self",(char *) "val", NULL
15746 };
15747
15748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
15749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15750 if (SWIG_arg_fail(1)) SWIG_fail;
15751 {
15752 arg2 = (int)(SWIG_As_int(obj1));
15753 if (SWIG_arg_fail(2)) SWIG_fail;
15754 }
15755 {
15756 PyThreadState* __tstate = wxPyBeginAllowThreads();
15757 (arg1)->SetMessage(arg2);
15758
15759 wxPyEndAllowThreads(__tstate);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 Py_INCREF(Py_None); resultobj = Py_None;
15763 return resultobj;
15764 fail:
15765 return NULL;
15766 }
15767
15768
15769 static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
15770 PyObject *resultobj;
15771 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15772 int arg2 ;
15773 PyObject * obj0 = 0 ;
15774 PyObject * obj1 = 0 ;
15775 char *kwnames[] = {
15776 (char *) "self",(char *) "val", NULL
15777 };
15778
15779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
15780 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15781 if (SWIG_arg_fail(1)) SWIG_fail;
15782 {
15783 arg2 = (int)(SWIG_As_int(obj1));
15784 if (SWIG_arg_fail(2)) SWIG_fail;
15785 }
15786 {
15787 PyThreadState* __tstate = wxPyBeginAllowThreads();
15788 (arg1)->SetWParam(arg2);
15789
15790 wxPyEndAllowThreads(__tstate);
15791 if (PyErr_Occurred()) SWIG_fail;
15792 }
15793 Py_INCREF(Py_None); resultobj = Py_None;
15794 return resultobj;
15795 fail:
15796 return NULL;
15797 }
15798
15799
15800 static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
15801 PyObject *resultobj;
15802 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15803 int arg2 ;
15804 PyObject * obj0 = 0 ;
15805 PyObject * obj1 = 0 ;
15806 char *kwnames[] = {
15807 (char *) "self",(char *) "val", NULL
15808 };
15809
15810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
15811 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15812 if (SWIG_arg_fail(1)) SWIG_fail;
15813 {
15814 arg2 = (int)(SWIG_As_int(obj1));
15815 if (SWIG_arg_fail(2)) SWIG_fail;
15816 }
15817 {
15818 PyThreadState* __tstate = wxPyBeginAllowThreads();
15819 (arg1)->SetLParam(arg2);
15820
15821 wxPyEndAllowThreads(__tstate);
15822 if (PyErr_Occurred()) SWIG_fail;
15823 }
15824 Py_INCREF(Py_None); resultobj = Py_None;
15825 return resultobj;
15826 fail:
15827 return NULL;
15828 }
15829
15830
15831 static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *, PyObject *args, PyObject *kwargs) {
15832 PyObject *resultobj;
15833 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15834 int arg2 ;
15835 PyObject * obj0 = 0 ;
15836 PyObject * obj1 = 0 ;
15837 char *kwnames[] = {
15838 (char *) "self",(char *) "val", NULL
15839 };
15840
15841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
15842 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15843 if (SWIG_arg_fail(1)) SWIG_fail;
15844 {
15845 arg2 = (int)(SWIG_As_int(obj1));
15846 if (SWIG_arg_fail(2)) SWIG_fail;
15847 }
15848 {
15849 PyThreadState* __tstate = wxPyBeginAllowThreads();
15850 (arg1)->SetListType(arg2);
15851
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 Py_INCREF(Py_None); resultobj = Py_None;
15856 return resultobj;
15857 fail:
15858 return NULL;
15859 }
15860
15861
15862 static PyObject *_wrap_StyledTextEvent_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
15863 PyObject *resultobj;
15864 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15865 int arg2 ;
15866 PyObject * obj0 = 0 ;
15867 PyObject * obj1 = 0 ;
15868 char *kwnames[] = {
15869 (char *) "self",(char *) "val", NULL
15870 };
15871
15872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
15873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15874 if (SWIG_arg_fail(1)) SWIG_fail;
15875 {
15876 arg2 = (int)(SWIG_As_int(obj1));
15877 if (SWIG_arg_fail(2)) SWIG_fail;
15878 }
15879 {
15880 PyThreadState* __tstate = wxPyBeginAllowThreads();
15881 (arg1)->SetX(arg2);
15882
15883 wxPyEndAllowThreads(__tstate);
15884 if (PyErr_Occurred()) SWIG_fail;
15885 }
15886 Py_INCREF(Py_None); resultobj = Py_None;
15887 return resultobj;
15888 fail:
15889 return NULL;
15890 }
15891
15892
15893 static PyObject *_wrap_StyledTextEvent_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
15894 PyObject *resultobj;
15895 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15896 int arg2 ;
15897 PyObject * obj0 = 0 ;
15898 PyObject * obj1 = 0 ;
15899 char *kwnames[] = {
15900 (char *) "self",(char *) "val", NULL
15901 };
15902
15903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
15904 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15905 if (SWIG_arg_fail(1)) SWIG_fail;
15906 {
15907 arg2 = (int)(SWIG_As_int(obj1));
15908 if (SWIG_arg_fail(2)) SWIG_fail;
15909 }
15910 {
15911 PyThreadState* __tstate = wxPyBeginAllowThreads();
15912 (arg1)->SetY(arg2);
15913
15914 wxPyEndAllowThreads(__tstate);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 Py_INCREF(Py_None); resultobj = Py_None;
15918 return resultobj;
15919 fail:
15920 return NULL;
15921 }
15922
15923
15924 static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
15925 PyObject *resultobj;
15926 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15927 wxString *arg2 = 0 ;
15928 bool temp2 = false ;
15929 PyObject * obj0 = 0 ;
15930 PyObject * obj1 = 0 ;
15931 char *kwnames[] = {
15932 (char *) "self",(char *) "val", NULL
15933 };
15934
15935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
15936 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15937 if (SWIG_arg_fail(1)) SWIG_fail;
15938 {
15939 arg2 = wxString_in_helper(obj1);
15940 if (arg2 == NULL) SWIG_fail;
15941 temp2 = true;
15942 }
15943 {
15944 PyThreadState* __tstate = wxPyBeginAllowThreads();
15945 (arg1)->SetDragText((wxString const &)*arg2);
15946
15947 wxPyEndAllowThreads(__tstate);
15948 if (PyErr_Occurred()) SWIG_fail;
15949 }
15950 Py_INCREF(Py_None); resultobj = Py_None;
15951 {
15952 if (temp2)
15953 delete arg2;
15954 }
15955 return resultobj;
15956 fail:
15957 {
15958 if (temp2)
15959 delete arg2;
15960 }
15961 return NULL;
15962 }
15963
15964
15965 static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
15966 PyObject *resultobj;
15967 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15968 bool arg2 ;
15969 PyObject * obj0 = 0 ;
15970 PyObject * obj1 = 0 ;
15971 char *kwnames[] = {
15972 (char *) "self",(char *) "val", NULL
15973 };
15974
15975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
15976 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
15977 if (SWIG_arg_fail(1)) SWIG_fail;
15978 {
15979 arg2 = (bool)(SWIG_As_bool(obj1));
15980 if (SWIG_arg_fail(2)) SWIG_fail;
15981 }
15982 {
15983 PyThreadState* __tstate = wxPyBeginAllowThreads();
15984 (arg1)->SetDragAllowMove(arg2);
15985
15986 wxPyEndAllowThreads(__tstate);
15987 if (PyErr_Occurred()) SWIG_fail;
15988 }
15989 Py_INCREF(Py_None); resultobj = Py_None;
15990 return resultobj;
15991 fail:
15992 return NULL;
15993 }
15994
15995
15996 static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
15997 PyObject *resultobj;
15998 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
15999 wxDragResult arg2 ;
16000 PyObject * obj0 = 0 ;
16001 PyObject * obj1 = 0 ;
16002 char *kwnames[] = {
16003 (char *) "self",(char *) "val", NULL
16004 };
16005
16006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
16007 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16008 if (SWIG_arg_fail(1)) SWIG_fail;
16009 {
16010 arg2 = (wxDragResult)(SWIG_As_int(obj1));
16011 if (SWIG_arg_fail(2)) SWIG_fail;
16012 }
16013 {
16014 PyThreadState* __tstate = wxPyBeginAllowThreads();
16015 (arg1)->SetDragResult((wxDragResult )arg2);
16016
16017 wxPyEndAllowThreads(__tstate);
16018 if (PyErr_Occurred()) SWIG_fail;
16019 }
16020 Py_INCREF(Py_None); resultobj = Py_None;
16021 return resultobj;
16022 fail:
16023 return NULL;
16024 }
16025
16026
16027 static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
16028 PyObject *resultobj;
16029 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16030 int result;
16031 PyObject * obj0 = 0 ;
16032 char *kwnames[] = {
16033 (char *) "self", NULL
16034 };
16035
16036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
16037 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16038 if (SWIG_arg_fail(1)) SWIG_fail;
16039 {
16040 PyThreadState* __tstate = wxPyBeginAllowThreads();
16041 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
16042
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 {
16047 resultobj = SWIG_From_int((int)(result));
16048 }
16049 return resultobj;
16050 fail:
16051 return NULL;
16052 }
16053
16054
16055 static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *, PyObject *args, PyObject *kwargs) {
16056 PyObject *resultobj;
16057 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16058 int result;
16059 PyObject * obj0 = 0 ;
16060 char *kwnames[] = {
16061 (char *) "self", NULL
16062 };
16063
16064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
16065 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16066 if (SWIG_arg_fail(1)) SWIG_fail;
16067 {
16068 PyThreadState* __tstate = wxPyBeginAllowThreads();
16069 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
16070
16071 wxPyEndAllowThreads(__tstate);
16072 if (PyErr_Occurred()) SWIG_fail;
16073 }
16074 {
16075 resultobj = SWIG_From_int((int)(result));
16076 }
16077 return resultobj;
16078 fail:
16079 return NULL;
16080 }
16081
16082
16083 static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
16084 PyObject *resultobj;
16085 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16086 int result;
16087 PyObject * obj0 = 0 ;
16088 char *kwnames[] = {
16089 (char *) "self", NULL
16090 };
16091
16092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
16093 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16094 if (SWIG_arg_fail(1)) SWIG_fail;
16095 {
16096 PyThreadState* __tstate = wxPyBeginAllowThreads();
16097 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
16098
16099 wxPyEndAllowThreads(__tstate);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 }
16102 {
16103 resultobj = SWIG_From_int((int)(result));
16104 }
16105 return resultobj;
16106 fail:
16107 return NULL;
16108 }
16109
16110
16111 static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *, PyObject *args, PyObject *kwargs) {
16112 PyObject *resultobj;
16113 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16114 int result;
16115 PyObject * obj0 = 0 ;
16116 char *kwnames[] = {
16117 (char *) "self", NULL
16118 };
16119
16120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
16121 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16122 if (SWIG_arg_fail(1)) SWIG_fail;
16123 {
16124 PyThreadState* __tstate = wxPyBeginAllowThreads();
16125 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
16126
16127 wxPyEndAllowThreads(__tstate);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 {
16131 resultobj = SWIG_From_int((int)(result));
16132 }
16133 return resultobj;
16134 fail:
16135 return NULL;
16136 }
16137
16138
16139 static PyObject *_wrap_StyledTextEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
16140 PyObject *resultobj;
16141 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16142 wxString result;
16143 PyObject * obj0 = 0 ;
16144 char *kwnames[] = {
16145 (char *) "self", NULL
16146 };
16147
16148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
16149 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16150 if (SWIG_arg_fail(1)) SWIG_fail;
16151 {
16152 PyThreadState* __tstate = wxPyBeginAllowThreads();
16153 result = ((wxStyledTextEvent const *)arg1)->GetText();
16154
16155 wxPyEndAllowThreads(__tstate);
16156 if (PyErr_Occurred()) SWIG_fail;
16157 }
16158 {
16159 #if wxUSE_UNICODE
16160 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16161 #else
16162 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16163 #endif
16164 }
16165 return resultobj;
16166 fail:
16167 return NULL;
16168 }
16169
16170
16171 static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *, PyObject *args, PyObject *kwargs) {
16172 PyObject *resultobj;
16173 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16174 int result;
16175 PyObject * obj0 = 0 ;
16176 char *kwnames[] = {
16177 (char *) "self", NULL
16178 };
16179
16180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
16181 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16182 if (SWIG_arg_fail(1)) SWIG_fail;
16183 {
16184 PyThreadState* __tstate = wxPyBeginAllowThreads();
16185 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
16186
16187 wxPyEndAllowThreads(__tstate);
16188 if (PyErr_Occurred()) SWIG_fail;
16189 }
16190 {
16191 resultobj = SWIG_From_int((int)(result));
16192 }
16193 return resultobj;
16194 fail:
16195 return NULL;
16196 }
16197
16198
16199 static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *, PyObject *args, PyObject *kwargs) {
16200 PyObject *resultobj;
16201 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16202 int result;
16203 PyObject * obj0 = 0 ;
16204 char *kwnames[] = {
16205 (char *) "self", NULL
16206 };
16207
16208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
16209 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16210 if (SWIG_arg_fail(1)) SWIG_fail;
16211 {
16212 PyThreadState* __tstate = wxPyBeginAllowThreads();
16213 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
16214
16215 wxPyEndAllowThreads(__tstate);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 {
16219 resultobj = SWIG_From_int((int)(result));
16220 }
16221 return resultobj;
16222 fail:
16223 return NULL;
16224 }
16225
16226
16227 static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *, PyObject *args, PyObject *kwargs) {
16228 PyObject *resultobj;
16229 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16230 int result;
16231 PyObject * obj0 = 0 ;
16232 char *kwnames[] = {
16233 (char *) "self", NULL
16234 };
16235
16236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
16237 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16238 if (SWIG_arg_fail(1)) SWIG_fail;
16239 {
16240 PyThreadState* __tstate = wxPyBeginAllowThreads();
16241 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
16242
16243 wxPyEndAllowThreads(__tstate);
16244 if (PyErr_Occurred()) SWIG_fail;
16245 }
16246 {
16247 resultobj = SWIG_From_int((int)(result));
16248 }
16249 return resultobj;
16250 fail:
16251 return NULL;
16252 }
16253
16254
16255 static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *, PyObject *args, PyObject *kwargs) {
16256 PyObject *resultobj;
16257 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16258 int result;
16259 PyObject * obj0 = 0 ;
16260 char *kwnames[] = {
16261 (char *) "self", NULL
16262 };
16263
16264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
16265 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16266 if (SWIG_arg_fail(1)) SWIG_fail;
16267 {
16268 PyThreadState* __tstate = wxPyBeginAllowThreads();
16269 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
16270
16271 wxPyEndAllowThreads(__tstate);
16272 if (PyErr_Occurred()) SWIG_fail;
16273 }
16274 {
16275 resultobj = SWIG_From_int((int)(result));
16276 }
16277 return resultobj;
16278 fail:
16279 return NULL;
16280 }
16281
16282
16283 static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *, PyObject *args, PyObject *kwargs) {
16284 PyObject *resultobj;
16285 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16286 int result;
16287 PyObject * obj0 = 0 ;
16288 char *kwnames[] = {
16289 (char *) "self", NULL
16290 };
16291
16292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
16293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16294 if (SWIG_arg_fail(1)) SWIG_fail;
16295 {
16296 PyThreadState* __tstate = wxPyBeginAllowThreads();
16297 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
16298
16299 wxPyEndAllowThreads(__tstate);
16300 if (PyErr_Occurred()) SWIG_fail;
16301 }
16302 {
16303 resultobj = SWIG_From_int((int)(result));
16304 }
16305 return resultobj;
16306 fail:
16307 return NULL;
16308 }
16309
16310
16311 static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
16312 PyObject *resultobj;
16313 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16314 int result;
16315 PyObject * obj0 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
16321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16322 if (SWIG_arg_fail(1)) SWIG_fail;
16323 {
16324 PyThreadState* __tstate = wxPyBeginAllowThreads();
16325 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
16326
16327 wxPyEndAllowThreads(__tstate);
16328 if (PyErr_Occurred()) SWIG_fail;
16329 }
16330 {
16331 resultobj = SWIG_From_int((int)(result));
16332 }
16333 return resultobj;
16334 fail:
16335 return NULL;
16336 }
16337
16338
16339 static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *, PyObject *args, PyObject *kwargs) {
16340 PyObject *resultobj;
16341 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16342 int result;
16343 PyObject * obj0 = 0 ;
16344 char *kwnames[] = {
16345 (char *) "self", NULL
16346 };
16347
16348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
16349 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16350 if (SWIG_arg_fail(1)) SWIG_fail;
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
16354
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 {
16359 resultobj = SWIG_From_int((int)(result));
16360 }
16361 return resultobj;
16362 fail:
16363 return NULL;
16364 }
16365
16366
16367 static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *, PyObject *args, PyObject *kwargs) {
16368 PyObject *resultobj;
16369 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16370 int result;
16371 PyObject * obj0 = 0 ;
16372 char *kwnames[] = {
16373 (char *) "self", NULL
16374 };
16375
16376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
16377 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16378 if (SWIG_arg_fail(1)) SWIG_fail;
16379 {
16380 PyThreadState* __tstate = wxPyBeginAllowThreads();
16381 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
16382
16383 wxPyEndAllowThreads(__tstate);
16384 if (PyErr_Occurred()) SWIG_fail;
16385 }
16386 {
16387 resultobj = SWIG_From_int((int)(result));
16388 }
16389 return resultobj;
16390 fail:
16391 return NULL;
16392 }
16393
16394
16395 static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *, PyObject *args, PyObject *kwargs) {
16396 PyObject *resultobj;
16397 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16398 int result;
16399 PyObject * obj0 = 0 ;
16400 char *kwnames[] = {
16401 (char *) "self", NULL
16402 };
16403
16404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
16405 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16406 if (SWIG_arg_fail(1)) SWIG_fail;
16407 {
16408 PyThreadState* __tstate = wxPyBeginAllowThreads();
16409 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
16410
16411 wxPyEndAllowThreads(__tstate);
16412 if (PyErr_Occurred()) SWIG_fail;
16413 }
16414 {
16415 resultobj = SWIG_From_int((int)(result));
16416 }
16417 return resultobj;
16418 fail:
16419 return NULL;
16420 }
16421
16422
16423 static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *, PyObject *args, PyObject *kwargs) {
16424 PyObject *resultobj;
16425 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16426 int result;
16427 PyObject * obj0 = 0 ;
16428 char *kwnames[] = {
16429 (char *) "self", NULL
16430 };
16431
16432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
16433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16434 if (SWIG_arg_fail(1)) SWIG_fail;
16435 {
16436 PyThreadState* __tstate = wxPyBeginAllowThreads();
16437 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
16438
16439 wxPyEndAllowThreads(__tstate);
16440 if (PyErr_Occurred()) SWIG_fail;
16441 }
16442 {
16443 resultobj = SWIG_From_int((int)(result));
16444 }
16445 return resultobj;
16446 fail:
16447 return NULL;
16448 }
16449
16450
16451 static PyObject *_wrap_StyledTextEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj;
16453 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16454 int result;
16455 PyObject * obj0 = 0 ;
16456 char *kwnames[] = {
16457 (char *) "self", NULL
16458 };
16459
16460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
16461 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16462 if (SWIG_arg_fail(1)) SWIG_fail;
16463 {
16464 PyThreadState* __tstate = wxPyBeginAllowThreads();
16465 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
16466
16467 wxPyEndAllowThreads(__tstate);
16468 if (PyErr_Occurred()) SWIG_fail;
16469 }
16470 {
16471 resultobj = SWIG_From_int((int)(result));
16472 }
16473 return resultobj;
16474 fail:
16475 return NULL;
16476 }
16477
16478
16479 static PyObject *_wrap_StyledTextEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
16480 PyObject *resultobj;
16481 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16482 int result;
16483 PyObject * obj0 = 0 ;
16484 char *kwnames[] = {
16485 (char *) "self", NULL
16486 };
16487
16488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
16489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16490 if (SWIG_arg_fail(1)) SWIG_fail;
16491 {
16492 PyThreadState* __tstate = wxPyBeginAllowThreads();
16493 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
16494
16495 wxPyEndAllowThreads(__tstate);
16496 if (PyErr_Occurred()) SWIG_fail;
16497 }
16498 {
16499 resultobj = SWIG_From_int((int)(result));
16500 }
16501 return resultobj;
16502 fail:
16503 return NULL;
16504 }
16505
16506
16507 static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *, PyObject *args, PyObject *kwargs) {
16508 PyObject *resultobj;
16509 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16510 wxString result;
16511 PyObject * obj0 = 0 ;
16512 char *kwnames[] = {
16513 (char *) "self", NULL
16514 };
16515
16516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
16517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16518 if (SWIG_arg_fail(1)) SWIG_fail;
16519 {
16520 PyThreadState* __tstate = wxPyBeginAllowThreads();
16521 result = (arg1)->GetDragText();
16522
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 {
16527 #if wxUSE_UNICODE
16528 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16529 #else
16530 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16531 #endif
16532 }
16533 return resultobj;
16534 fail:
16535 return NULL;
16536 }
16537
16538
16539 static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *, PyObject *args, PyObject *kwargs) {
16540 PyObject *resultobj;
16541 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16542 bool result;
16543 PyObject * obj0 = 0 ;
16544 char *kwnames[] = {
16545 (char *) "self", NULL
16546 };
16547
16548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
16549 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16550 if (SWIG_arg_fail(1)) SWIG_fail;
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 result = (bool)(arg1)->GetDragAllowMove();
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 {
16559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16560 }
16561 return resultobj;
16562 fail:
16563 return NULL;
16564 }
16565
16566
16567 static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *, PyObject *args, PyObject *kwargs) {
16568 PyObject *resultobj;
16569 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16570 wxDragResult result;
16571 PyObject * obj0 = 0 ;
16572 char *kwnames[] = {
16573 (char *) "self", NULL
16574 };
16575
16576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
16577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16578 if (SWIG_arg_fail(1)) SWIG_fail;
16579 {
16580 PyThreadState* __tstate = wxPyBeginAllowThreads();
16581 result = (wxDragResult)(arg1)->GetDragResult();
16582
16583 wxPyEndAllowThreads(__tstate);
16584 if (PyErr_Occurred()) SWIG_fail;
16585 }
16586 resultobj = SWIG_From_int((result));
16587 return resultobj;
16588 fail:
16589 return NULL;
16590 }
16591
16592
16593 static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *, PyObject *args, PyObject *kwargs) {
16594 PyObject *resultobj;
16595 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16596 bool result;
16597 PyObject * obj0 = 0 ;
16598 char *kwnames[] = {
16599 (char *) "self", NULL
16600 };
16601
16602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
16603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16604 if (SWIG_arg_fail(1)) SWIG_fail;
16605 {
16606 PyThreadState* __tstate = wxPyBeginAllowThreads();
16607 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
16608
16609 wxPyEndAllowThreads(__tstate);
16610 if (PyErr_Occurred()) SWIG_fail;
16611 }
16612 {
16613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16614 }
16615 return resultobj;
16616 fail:
16617 return NULL;
16618 }
16619
16620
16621 static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *, PyObject *args, PyObject *kwargs) {
16622 PyObject *resultobj;
16623 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16624 bool result;
16625 PyObject * obj0 = 0 ;
16626 char *kwnames[] = {
16627 (char *) "self", NULL
16628 };
16629
16630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
16631 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16632 if (SWIG_arg_fail(1)) SWIG_fail;
16633 {
16634 PyThreadState* __tstate = wxPyBeginAllowThreads();
16635 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
16636
16637 wxPyEndAllowThreads(__tstate);
16638 if (PyErr_Occurred()) SWIG_fail;
16639 }
16640 {
16641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16642 }
16643 return resultobj;
16644 fail:
16645 return NULL;
16646 }
16647
16648
16649 static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *, PyObject *args, PyObject *kwargs) {
16650 PyObject *resultobj;
16651 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16652 bool result;
16653 PyObject * obj0 = 0 ;
16654 char *kwnames[] = {
16655 (char *) "self", NULL
16656 };
16657
16658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
16659 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16660 if (SWIG_arg_fail(1)) SWIG_fail;
16661 {
16662 PyThreadState* __tstate = wxPyBeginAllowThreads();
16663 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
16664
16665 wxPyEndAllowThreads(__tstate);
16666 if (PyErr_Occurred()) SWIG_fail;
16667 }
16668 {
16669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16670 }
16671 return resultobj;
16672 fail:
16673 return NULL;
16674 }
16675
16676
16677 static PyObject *_wrap_StyledTextEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
16678 PyObject *resultobj;
16679 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
16680 wxEvent *result;
16681 PyObject * obj0 = 0 ;
16682 char *kwnames[] = {
16683 (char *) "self", NULL
16684 };
16685
16686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
16687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStyledTextEvent, SWIG_POINTER_EXCEPTION | 0);
16688 if (SWIG_arg_fail(1)) SWIG_fail;
16689 {
16690 PyThreadState* __tstate = wxPyBeginAllowThreads();
16691 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
16692
16693 wxPyEndAllowThreads(__tstate);
16694 if (PyErr_Occurred()) SWIG_fail;
16695 }
16696 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
16697 return resultobj;
16698 fail:
16699 return NULL;
16700 }
16701
16702
16703 static PyObject * StyledTextEvent_swigregister(PyObject *, PyObject *args) {
16704 PyObject *obj;
16705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16706 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
16707 Py_INCREF(obj);
16708 return Py_BuildValue((char *)"");
16709 }
16710 static PyMethodDef SwigMethods[] = {
16711 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
16712 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
16713 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
16714 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS, NULL},
16715 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
16716 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
16717 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
16718 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS, NULL},
16719 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
16720 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS, NULL},
16721 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
16722 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
16723 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS, NULL},
16724 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS, NULL},
16725 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
16726 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
16727 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS, NULL},
16728 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS, NULL},
16729 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS, NULL},
16730 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS, NULL},
16731 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS, NULL},
16732 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS, NULL},
16733 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
16734 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS, NULL},
16735 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS, NULL},
16736 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS, NULL},
16737 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS, NULL},
16738 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS, NULL},
16739 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
16740 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS, NULL},
16741 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS, NULL},
16742 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS, NULL},
16743 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
16744 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS, NULL},
16745 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS, NULL},
16746 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS, NULL},
16747 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
16748 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS, NULL},
16749 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16750 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16751 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
16752 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS, NULL},
16753 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16754 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
16755 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS, NULL},
16756 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS, NULL},
16757 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS, NULL},
16758 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS, NULL},
16759 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS, NULL},
16760 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS, NULL},
16761 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
16762 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
16763 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS, NULL},
16764 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16765 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16766 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
16767 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS, NULL},
16768 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
16769 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS, NULL},
16770 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
16771 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16772 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
16773 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS, NULL},
16774 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS, NULL},
16775 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
16776 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
16777 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS, NULL},
16778 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS, NULL},
16779 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
16780 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS, NULL},
16781 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS, NULL},
16782 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS, NULL},
16783 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16784 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS, NULL},
16785 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16786 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS, NULL},
16787 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS, NULL},
16788 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS, NULL},
16789 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS, NULL},
16790 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16791 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
16792 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS, NULL},
16793 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS, NULL},
16794 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
16795 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS, NULL},
16796 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
16797 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
16798 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16799 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16800 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16801 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS, NULL},
16802 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
16803 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS, NULL},
16804 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
16805 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS, NULL},
16806 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS, NULL},
16807 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16808 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16809 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
16810 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS, NULL},
16811 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS, NULL},
16812 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS, NULL},
16813 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS, NULL},
16814 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS, NULL},
16815 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS, NULL},
16816 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS, NULL},
16817 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS, NULL},
16818 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
16819 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
16820 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS, NULL},
16821 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
16822 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
16823 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS, NULL},
16824 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
16825 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS, NULL},
16826 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
16827 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS, NULL},
16828 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS, NULL},
16829 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
16830 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS, NULL},
16831 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
16832 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS, NULL},
16833 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS, NULL},
16834 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS, NULL},
16835 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
16836 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
16837 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
16838 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
16839 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
16840 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS, NULL},
16841 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
16842 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS, NULL},
16843 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS, NULL},
16844 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
16845 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
16846 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
16847 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
16848 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS, NULL},
16849 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
16850 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS, NULL},
16851 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
16852 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS, NULL},
16853 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16854 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
16855 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS, NULL},
16856 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
16857 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS, NULL},
16858 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
16859 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS, NULL},
16860 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
16861 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS, NULL},
16862 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
16863 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS, NULL},
16864 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS, NULL},
16865 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS, NULL},
16866 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS, NULL},
16867 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
16868 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
16869 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
16870 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS, NULL},
16871 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
16872 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS, NULL},
16873 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS, NULL},
16874 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
16875 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS, NULL},
16876 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
16877 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS, NULL},
16878 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
16879 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS, NULL},
16880 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS, NULL},
16881 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16882 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS, NULL},
16883 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS, NULL},
16884 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS, NULL},
16885 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS, NULL},
16886 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS, NULL},
16887 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS, NULL},
16888 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS, NULL},
16889 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
16890 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS, NULL},
16891 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS, NULL},
16892 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
16893 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
16894 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS, NULL},
16895 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
16896 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
16897 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16898 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16899 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
16900 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS, NULL},
16901 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
16902 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS, NULL},
16903 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS, NULL},
16904 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS, NULL},
16905 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS, NULL},
16906 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
16907 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS, NULL},
16908 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS, NULL},
16909 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS, NULL},
16910 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS, NULL},
16911 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS, NULL},
16912 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
16913 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS, NULL},
16914 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS, NULL},
16915 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
16916 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS, NULL},
16917 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16918 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
16919 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS, NULL},
16920 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
16921 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS, NULL},
16922 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS, NULL},
16923 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS, NULL},
16924 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16925 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
16926 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
16927 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS, NULL},
16928 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
16929 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS, NULL},
16930 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
16931 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
16932 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS, NULL},
16933 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
16934 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS, NULL},
16935 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
16936 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS, NULL},
16937 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
16938 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
16939 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
16940 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
16941 { (char *)"StyledTextCtrl_SetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
16942 { (char *)"StyledTextCtrl_GetWrapVisualFlags", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlags, METH_VARARGS | METH_KEYWORDS, NULL},
16943 { (char *)"StyledTextCtrl_SetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_SetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
16944 { (char *)"StyledTextCtrl_GetWrapVisualFlagsLocation", (PyCFunction) _wrap_StyledTextCtrl_GetWrapVisualFlagsLocation, METH_VARARGS | METH_KEYWORDS, NULL},
16945 { (char *)"StyledTextCtrl_SetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_SetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
16946 { (char *)"StyledTextCtrl_GetWrapStartIndent", (PyCFunction) _wrap_StyledTextCtrl_GetWrapStartIndent, METH_VARARGS | METH_KEYWORDS, NULL},
16947 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
16948 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS, NULL},
16949 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16950 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16951 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS, NULL},
16952 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
16953 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS, NULL},
16954 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS, NULL},
16955 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
16956 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
16957 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
16958 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
16959 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS, NULL},
16960 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS, NULL},
16961 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS, NULL},
16962 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS, NULL},
16963 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS, NULL},
16964 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS, NULL},
16965 { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS, NULL},
16966 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16967 { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS, NULL},
16968 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16969 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS, NULL},
16970 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16971 { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS, NULL},
16972 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16973 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
16974 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16975 { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS, NULL},
16976 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16977 { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS, NULL},
16978 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16979 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS, NULL},
16980 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16981 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS, NULL},
16982 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16983 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS, NULL},
16984 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16985 { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS, NULL},
16986 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16987 { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS, NULL},
16988 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16989 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS, NULL},
16990 { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS, NULL},
16991 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS, NULL},
16992 { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS, NULL},
16993 { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS, NULL},
16994 { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS, NULL},
16995 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS, NULL},
16996 { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS, NULL},
16997 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS, NULL},
16998 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS, NULL},
16999 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS, NULL},
17000 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17001 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS, NULL},
17002 { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS, NULL},
17003 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS, NULL},
17004 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS, NULL},
17005 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS, NULL},
17006 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS, NULL},
17007 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS, NULL},
17008 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS, NULL},
17009 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS, NULL},
17010 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS, NULL},
17011 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
17012 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17013 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS, NULL},
17014 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17015 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17016 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17017 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17018 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17019 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS, NULL},
17020 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17021 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS, NULL},
17022 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS, NULL},
17023 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS, NULL},
17024 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS, NULL},
17025 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS, NULL},
17026 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS, NULL},
17027 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
17028 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS, NULL},
17029 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
17030 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS, NULL},
17031 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
17032 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17033 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17034 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
17035 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS, NULL},
17036 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
17037 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS, NULL},
17038 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS, NULL},
17039 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS, NULL},
17040 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17041 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
17042 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS, NULL},
17043 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS, NULL},
17044 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
17045 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
17046 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17047 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17048 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS, NULL},
17049 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS, NULL},
17050 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
17051 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS, NULL},
17052 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
17053 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS, NULL},
17054 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
17055 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS, NULL},
17056 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17057 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS, NULL},
17058 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
17059 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS, NULL},
17060 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17061 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17062 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS, NULL},
17063 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17064 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17065 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS, NULL},
17066 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS, NULL},
17067 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
17068 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS, NULL},
17069 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS, NULL},
17070 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17071 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS, NULL},
17072 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17073 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS, NULL},
17074 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS, NULL},
17075 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS, NULL},
17076 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS, NULL},
17077 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS, NULL},
17078 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS, NULL},
17079 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17080 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS, NULL},
17081 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17082 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS, NULL},
17083 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS, NULL},
17084 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS, NULL},
17085 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS, NULL},
17086 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
17087 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS, NULL},
17088 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17089 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17090 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17091 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17092 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17093 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17094 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17095 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17096 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17097 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17098 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17099 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS, NULL},
17100 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17101 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS, NULL},
17102 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17103 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17104 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17105 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS, NULL},
17106 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS, NULL},
17107 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS, NULL},
17108 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS, NULL},
17109 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
17110 { (char *)"StyledTextCtrl_Allocate", (PyCFunction) _wrap_StyledTextCtrl_Allocate, METH_VARARGS | METH_KEYWORDS, NULL},
17111 { (char *)"StyledTextCtrl_FindColumn", (PyCFunction) _wrap_StyledTextCtrl_FindColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17112 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17113 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS, NULL},
17114 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
17115 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS, NULL},
17116 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS, NULL},
17117 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS, NULL},
17118 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS, NULL},
17119 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS, NULL},
17120 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS, NULL},
17121 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS, NULL},
17122 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS, NULL},
17123 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS, NULL},
17124 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS, NULL},
17125 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
17126 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
17127 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17128 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
17129 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
17130 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS, NULL},
17131 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17132 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
17133 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
17134 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS, NULL},
17135 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
17136 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
17137 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS, NULL},
17138 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS, NULL},
17139 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
17140 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS, NULL},
17141 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS, NULL},
17142 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17143 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS, NULL},
17144 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17145 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS, NULL},
17146 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
17147 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
17148 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
17149 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17150 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
17151 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17152 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
17153 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17154 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
17155 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
17156 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
17157 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
17158 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS, NULL},
17159 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS, NULL},
17160 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS, NULL},
17161 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
17162 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
17163 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
17164 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
17165 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS, NULL},
17166 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS, NULL},
17167 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS, NULL},
17168 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
17169 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS, NULL},
17170 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS, NULL},
17171 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS, NULL},
17172 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS, NULL},
17173 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS, NULL},
17174 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL},
17175 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
17176 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS, NULL},
17177 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS, NULL},
17178 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS, NULL},
17179 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL},
17180 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL},
17181 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS, NULL},
17182 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS, NULL},
17183 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS, NULL},
17184 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS, NULL},
17185 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS, NULL},
17186 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS, NULL},
17187 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL},
17188 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS, NULL},
17189 { NULL, NULL, 0, NULL }
17190 };
17191
17192
17193 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
17194
17195 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
17196 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
17197 }
17198 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
17199 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
17200 }
17201 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
17202 return (void *)((wxObject *) ((wxSizerItem *) x));
17203 }
17204 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
17205 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
17206 }
17207 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
17208 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
17209 }
17210 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
17211 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
17212 }
17213 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
17214 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
17215 }
17216 static void *_p_wxSizerTo_p_wxObject(void *x) {
17217 return (void *)((wxObject *) ((wxSizer *) x));
17218 }
17219 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
17220 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
17221 }
17222 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
17223 return (void *)((wxObject *) ((wxFileHistory *) x));
17224 }
17225 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
17226 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
17227 }
17228 static void *_p_wxEventTo_p_wxObject(void *x) {
17229 return (void *)((wxObject *) ((wxEvent *) x));
17230 }
17231 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
17232 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
17233 }
17234 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
17235 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
17236 }
17237 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
17238 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
17239 }
17240 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
17241 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
17242 }
17243 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
17244 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
17245 }
17246 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
17247 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
17248 }
17249 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
17250 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
17251 }
17252 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
17253 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
17254 }
17255 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
17256 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
17257 }
17258 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
17259 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
17260 }
17261 static void *_p_wxControlTo_p_wxObject(void *x) {
17262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
17263 }
17264 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
17265 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
17266 }
17267 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
17268 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
17269 }
17270 static void *_p_wxFSFileTo_p_wxObject(void *x) {
17271 return (void *)((wxObject *) ((wxFSFile *) x));
17272 }
17273 static void *_p_wxClipboardTo_p_wxObject(void *x) {
17274 return (void *)((wxObject *) ((wxClipboard *) x));
17275 }
17276 static void *_p_wxPySizerTo_p_wxObject(void *x) {
17277 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
17278 }
17279 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
17280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
17281 }
17282 static void *_p_wxPyEventTo_p_wxObject(void *x) {
17283 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
17284 }
17285 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
17286 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
17287 }
17288 static void *_p_wxShowEventTo_p_wxObject(void *x) {
17289 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
17290 }
17291 static void *_p_wxToolTipTo_p_wxObject(void *x) {
17292 return (void *)((wxObject *) ((wxToolTip *) x));
17293 }
17294 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
17295 return (void *)((wxObject *) ((wxMenuItem *) x));
17296 }
17297 static void *_p_wxDateEventTo_p_wxObject(void *x) {
17298 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
17299 }
17300 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
17301 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
17302 }
17303 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
17304 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
17305 }
17306 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
17307 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
17308 }
17309 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
17310 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
17311 }
17312 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
17313 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
17314 }
17315 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
17316 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
17317 }
17318 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
17319 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
17320 }
17321 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
17322 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
17323 }
17324 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
17325 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
17326 }
17327 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
17328 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
17329 }
17330 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
17331 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
17332 }
17333 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
17334 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
17335 }
17336 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
17337 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
17338 }
17339 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
17340 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
17341 }
17342 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
17343 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
17344 }
17345 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
17346 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
17347 }
17348 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
17349 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
17350 }
17351 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
17352 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
17353 }
17354 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
17355 return (void *)((wxObject *) ((wxImageHandler *) x));
17356 }
17357 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
17358 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
17359 }
17360 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
17361 return (void *)((wxObject *) ((wxEvtHandler *) x));
17362 }
17363 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
17364 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
17365 }
17366 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
17367 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
17368 }
17369 static void *_p_wxImageTo_p_wxObject(void *x) {
17370 return (void *)((wxObject *) ((wxImage *) x));
17371 }
17372 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
17373 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
17374 }
17375 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
17376 return (void *)((wxObject *) ((wxSystemOptions *) x));
17377 }
17378 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
17379 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
17380 }
17381 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
17382 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17383 }
17384 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
17385 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
17386 }
17387 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
17388 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
17389 }
17390 static void *_p_wxWindowTo_p_wxObject(void *x) {
17391 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
17392 }
17393 static void *_p_wxMenuTo_p_wxObject(void *x) {
17394 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
17395 }
17396 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
17397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
17398 }
17399 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
17400 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
17401 }
17402 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
17403 return (void *)((wxObject *) ((wxFileSystem *) x));
17404 }
17405 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
17406 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
17407 }
17408 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
17409 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
17410 }
17411 static void *_p_wxPyAppTo_p_wxObject(void *x) {
17412 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
17413 }
17414 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
17415 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
17416 }
17417 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
17418 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
17419 }
17420 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
17421 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
17422 }
17423 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
17424 return (void *)((wxObject *) ((wxBusyInfo *) x));
17425 }
17426 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
17427 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
17428 }
17429 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
17430 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
17431 }
17432 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
17433 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
17434 }
17435 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
17436 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
17437 }
17438 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
17439 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
17440 }
17441 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
17442 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
17443 }
17444 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
17445 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17446 }
17447 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
17448 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
17449 }
17450 static void *_p_wxValidatorTo_p_wxObject(void *x) {
17451 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
17452 }
17453 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
17454 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
17455 }
17456 static void *_p_wxControlTo_p_wxWindow(void *x) {
17457 return (void *)((wxWindow *) ((wxControl *) x));
17458 }
17459 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
17460 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
17461 }
17462 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
17463 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
17464 }
17465 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
17466 return (void *)((wxWindow *) ((wxMenuBar *) x));
17467 }
17468 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
17469 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
17470 }
17471 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
17472 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
17473 }
17474 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
17475 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
17476 }
17477 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
17478 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
17479 }
17480 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
17481 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
17482 }
17483 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
17484 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
17485 }
17486 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
17487 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17488 }
17489 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
17490 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
17491 }
17492 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
17493 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
17494 }
17495 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
17496 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
17497 }
17498 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
17499 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
17500 }
17501 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
17502 return (void *)((wxEvtHandler *) ((wxWindow *) x));
17503 }
17504 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
17505 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
17506 }
17507 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
17508 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
17509 }
17510 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
17511 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
17512 }
17513 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
17514 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
17515 }
17516 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
17517 return (void *)((wxEvtHandler *) ((wxValidator *) x));
17518 }
17519 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
17520 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
17521 }
17522 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
17523 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
17524 }
17525 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
17526 return (void *)((wxEvtHandler *) ((wxMenu *) x));
17527 }
17528 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
17529 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
17530 }
17531 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
17532 return (void *)((wxControl *) ((wxControlWithItems *) x));
17533 }
17534 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
17535 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
17536 }
17537 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
17538 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
17539 }
17540 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
17541 return (void *)((wxEvent *) ((wxMenuEvent *) x));
17542 }
17543 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
17544 return (void *)((wxEvent *) ((wxCloseEvent *) x));
17545 }
17546 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
17547 return (void *)((wxEvent *) ((wxMouseEvent *) x));
17548 }
17549 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
17550 return (void *)((wxEvent *) ((wxEraseEvent *) x));
17551 }
17552 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
17553 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
17554 }
17555 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
17556 return (void *)((wxEvent *) ((wxTimerEvent *) x));
17557 }
17558 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
17559 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
17560 }
17561 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
17562 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
17563 }
17564 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
17565 return (void *)((wxEvent *) ((wxPyEvent *) x));
17566 }
17567 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
17568 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
17569 }
17570 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
17571 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
17572 }
17573 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
17574 return (void *)((wxEvent *) ((wxIdleEvent *) x));
17575 }
17576 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
17577 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
17578 }
17579 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
17580 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
17581 }
17582 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
17583 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
17584 }
17585 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
17586 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
17587 }
17588 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
17589 return (void *)((wxEvent *) ((wxActivateEvent *) x));
17590 }
17591 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
17592 return (void *)((wxEvent *) ((wxSizeEvent *) x));
17593 }
17594 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
17595 return (void *)((wxEvent *) ((wxMoveEvent *) x));
17596 }
17597 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
17598 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
17599 }
17600 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
17601 return (void *)((wxEvent *) ((wxPaintEvent *) x));
17602 }
17603 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
17604 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
17605 }
17606 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
17607 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
17608 }
17609 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
17610 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
17611 }
17612 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
17613 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
17614 }
17615 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
17616 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
17617 }
17618 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
17619 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
17620 }
17621 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
17622 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
17623 }
17624 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
17625 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
17626 }
17627 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
17628 return (void *)((wxEvent *) ((wxFocusEvent *) x));
17629 }
17630 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
17631 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
17632 }
17633 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
17634 return (void *)((wxEvent *) ((wxProcessEvent *) x));
17635 }
17636 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
17637 return (void *)((wxEvent *) ((wxShowEvent *) x));
17638 }
17639 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
17640 return (void *)((wxEvent *) ((wxCommandEvent *) x));
17641 }
17642 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
17643 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
17644 }
17645 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
17646 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
17647 }
17648 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
17649 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
17650 }
17651 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
17652 return (void *)((wxEvent *) ((wxKeyEvent *) x));
17653 }
17654 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
17655 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
17656 }
17657 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17658 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17659 static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17660 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17661 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17662 static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0, 0, 0, 0},{"_p_wxStyledTextEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17663 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17664 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17665 static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxLogLevel *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17666 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17667 static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17668 static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17669 static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17670 static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17671 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17672 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17673 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17674 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17675 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17676 static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17677 static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17678 static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0, 0, 0, 0},{"_p_wxStyledTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17679 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17680 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17681 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17682 static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17683 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17684 static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0, 0, 0, 0},{"_p_wxMemoryBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
17685
17686 static swig_type_info *swig_types_initial[] = {
17687 _swigt__p_wxRect,
17688 _swigt__p_wxObject,
17689 _swigt__p_unsigned_char,
17690 _swigt__p_wxColour,
17691 _swigt__p_wxScrollBar,
17692 _swigt__p_wxStyledTextEvent,
17693 _swigt__p_wxWindow,
17694 _swigt__p_wxCommandEvent,
17695 _swigt__p_unsigned_long,
17696 _swigt__p_wxBitmap,
17697 _swigt__p_unsigned_int,
17698 _swigt__unsigned_int,
17699 _swigt__p_form_ops_t,
17700 _swigt__p_wxDuplexMode,
17701 _swigt__p_void,
17702 _swigt__p_char,
17703 _swigt__p_wxPoint,
17704 _swigt__p_wxDC,
17705 _swigt__p_wxEvtHandler,
17706 _swigt__std__ptrdiff_t,
17707 _swigt__ptrdiff_t,
17708 _swigt__p_wxStyledTextCtrl,
17709 _swigt__p_wxFont,
17710 _swigt__p_wxControl,
17711 _swigt__p_wxEvent,
17712 _swigt__p_wxPaperSize,
17713 _swigt__p_int,
17714 _swigt__p_wxMemoryBuffer,
17715 0
17716 };
17717
17718
17719 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
17720
17721 static swig_const_info swig_const_table[] = {
17722 {0, 0, 0, 0.0, 0, 0}};
17723
17724 #ifdef __cplusplus
17725 }
17726 #endif
17727
17728
17729 #ifdef __cplusplus
17730 extern "C" {
17731 #endif
17732
17733 /* Python-specific SWIG API */
17734 #define SWIG_newvarlink() SWIG_Python_newvarlink()
17735 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
17736 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
17737
17738 /* -----------------------------------------------------------------------------
17739 * global variable support code.
17740 * ----------------------------------------------------------------------------- */
17741
17742 typedef struct swig_globalvar {
17743 char *name; /* Name of global variable */
17744 PyObject *(*get_attr)(); /* Return the current value */
17745 int (*set_attr)(PyObject *); /* Set the value */
17746 struct swig_globalvar *next;
17747 } swig_globalvar;
17748
17749 typedef struct swig_varlinkobject {
17750 PyObject_HEAD
17751 swig_globalvar *vars;
17752 } swig_varlinkobject;
17753
17754 static PyObject *
17755 swig_varlink_repr(swig_varlinkobject *v) {
17756 v = v;
17757 return PyString_FromString("<Swig global variables>");
17758 }
17759
17760 static int
17761 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
17762 swig_globalvar *var;
17763 flags = flags;
17764 fprintf(fp,"Swig global variables { ");
17765 for (var = v->vars; var; var=var->next) {
17766 fprintf(fp,"%s", var->name);
17767 if (var->next) fprintf(fp,", ");
17768 }
17769 fprintf(fp," }\n");
17770 return 0;
17771 }
17772
17773 static PyObject *
17774 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
17775 swig_globalvar *var = v->vars;
17776 while (var) {
17777 if (strcmp(var->name,n) == 0) {
17778 return (*var->get_attr)();
17779 }
17780 var = var->next;
17781 }
17782 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17783 return NULL;
17784 }
17785
17786 static int
17787 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
17788 swig_globalvar *var = v->vars;
17789 while (var) {
17790 if (strcmp(var->name,n) == 0) {
17791 return (*var->set_attr)(p);
17792 }
17793 var = var->next;
17794 }
17795 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
17796 return 1;
17797 }
17798
17799 static PyTypeObject varlinktype = {
17800 PyObject_HEAD_INIT(0)
17801 0, /* Number of items in variable part (ob_size) */
17802 (char *)"swigvarlink", /* Type name (tp_name) */
17803 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
17804 0, /* Itemsize (tp_itemsize) */
17805 0, /* Deallocator (tp_dealloc) */
17806 (printfunc) swig_varlink_print, /* Print (tp_print) */
17807 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
17808 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
17809 0, /* tp_compare */
17810 (reprfunc) swig_varlink_repr, /* tp_repr */
17811 0, /* tp_as_number */
17812 0, /* tp_as_sequence */
17813 0, /* tp_as_mapping */
17814 0, /* tp_hash */
17815 0, /* tp_call */
17816 0, /* tp_str */
17817 0, /* tp_getattro */
17818 0, /* tp_setattro */
17819 0, /* tp_as_buffer */
17820 0, /* tp_flags */
17821 0, /* tp_doc */
17822 #if PY_VERSION_HEX >= 0x02000000
17823 0, /* tp_traverse */
17824 0, /* tp_clear */
17825 #endif
17826 #if PY_VERSION_HEX >= 0x02010000
17827 0, /* tp_richcompare */
17828 0, /* tp_weaklistoffset */
17829 #endif
17830 #if PY_VERSION_HEX >= 0x02020000
17831 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
17832 #endif
17833 #if PY_VERSION_HEX >= 0x02030000
17834 0, /* tp_del */
17835 #endif
17836 #ifdef COUNT_ALLOCS
17837 0,0,0,0 /* tp_alloc -> tp_next */
17838 #endif
17839 };
17840
17841 /* Create a variable linking object for use later */
17842 static PyObject *
17843 SWIG_Python_newvarlink(void) {
17844 swig_varlinkobject *result = 0;
17845 result = PyMem_NEW(swig_varlinkobject,1);
17846 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
17847 result->ob_type = &varlinktype;
17848 result->vars = 0;
17849 result->ob_refcnt = 0;
17850 Py_XINCREF((PyObject *) result);
17851 return ((PyObject*) result);
17852 }
17853
17854 static void
17855 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
17856 swig_varlinkobject *v;
17857 swig_globalvar *gv;
17858 v= (swig_varlinkobject *) p;
17859 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
17860 gv->name = (char *) malloc(strlen(name)+1);
17861 strcpy(gv->name,name);
17862 gv->get_attr = get_attr;
17863 gv->set_attr = set_attr;
17864 gv->next = v->vars;
17865 v->vars = gv;
17866 }
17867
17868 /* -----------------------------------------------------------------------------
17869 * constants/methods manipulation
17870 * ----------------------------------------------------------------------------- */
17871
17872 /* Install Constants */
17873 static void
17874 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
17875 PyObject *obj = 0;
17876 size_t i;
17877 for (i = 0; constants[i].type; i++) {
17878 switch(constants[i].type) {
17879 case SWIG_PY_INT:
17880 obj = PyInt_FromLong(constants[i].lvalue);
17881 break;
17882 case SWIG_PY_FLOAT:
17883 obj = PyFloat_FromDouble(constants[i].dvalue);
17884 break;
17885 case SWIG_PY_STRING:
17886 if (constants[i].pvalue) {
17887 obj = PyString_FromString((char *) constants[i].pvalue);
17888 } else {
17889 Py_INCREF(Py_None);
17890 obj = Py_None;
17891 }
17892 break;
17893 case SWIG_PY_POINTER:
17894 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
17895 break;
17896 case SWIG_PY_BINARY:
17897 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
17898 break;
17899 default:
17900 obj = 0;
17901 break;
17902 }
17903 if (obj) {
17904 PyDict_SetItemString(d,constants[i].name,obj);
17905 Py_DECREF(obj);
17906 }
17907 }
17908 }
17909
17910 /* -----------------------------------------------------------------------------*/
17911 /* Fix SwigMethods to carry the callback ptrs when needed */
17912 /* -----------------------------------------------------------------------------*/
17913
17914 static void
17915 SWIG_Python_FixMethods(PyMethodDef *methods,
17916 swig_const_info *const_table,
17917 swig_type_info **types,
17918 swig_type_info **types_initial) {
17919 size_t i;
17920 for (i = 0; methods[i].ml_name; ++i) {
17921 char *c = methods[i].ml_doc;
17922 if (c && (c = strstr(c, "swig_ptr: "))) {
17923 int j;
17924 swig_const_info *ci = 0;
17925 char *name = c + 10;
17926 for (j = 0; const_table[j].type; j++) {
17927 if (strncmp(const_table[j].name, name,
17928 strlen(const_table[j].name)) == 0) {
17929 ci = &(const_table[j]);
17930 break;
17931 }
17932 }
17933 if (ci) {
17934 size_t shift = (ci->ptype) - types;
17935 swig_type_info *ty = types_initial[shift];
17936 size_t ldoc = (c - methods[i].ml_doc);
17937 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
17938 char *ndoc = (char*)malloc(ldoc + lptr + 10);
17939 char *buff = ndoc;
17940 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
17941 strncpy(buff, methods[i].ml_doc, ldoc);
17942 buff += ldoc;
17943 strncpy(buff, "swig_ptr: ", 10);
17944 buff += 10;
17945 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
17946 methods[i].ml_doc = ndoc;
17947 }
17948 }
17949 }
17950 }
17951
17952 /* -----------------------------------------------------------------------------*
17953 * Initialize type list
17954 * -----------------------------------------------------------------------------*/
17955
17956 #if PY_MAJOR_VERSION < 2
17957 /* PyModule_AddObject function was introduced in Python 2.0. The following function
17958 is copied out of Python/modsupport.c in python version 2.3.4 */
17959 static int
17960 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
17961 {
17962 PyObject *dict;
17963 if (!PyModule_Check(m)) {
17964 PyErr_SetString(PyExc_TypeError,
17965 "PyModule_AddObject() needs module as first arg");
17966 return -1;
17967 }
17968 if (!o) {
17969 PyErr_SetString(PyExc_TypeError,
17970 "PyModule_AddObject() needs non-NULL value");
17971 return -1;
17972 }
17973
17974 dict = PyModule_GetDict(m);
17975 if (dict == NULL) {
17976 /* Internal error -- modules must have a dict! */
17977 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
17978 PyModule_GetName(m));
17979 return -1;
17980 }
17981 if (PyDict_SetItemString(dict, name, o))
17982 return -1;
17983 Py_DECREF(o);
17984 return 0;
17985 }
17986 #endif
17987
17988 static swig_type_info **
17989 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
17990 static PyMethodDef swig_empty_runtime_method_table[] = {
17991 {
17992 NULL, NULL, 0, NULL
17993 }
17994 };/* Sentinel */
17995
17996 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
17997 swig_empty_runtime_method_table);
17998 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
17999 if (pointer && module) {
18000 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
18001 }
18002 return type_list_handle;
18003 }
18004
18005 static swig_type_info **
18006 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
18007 swig_type_info **type_pointer;
18008
18009 /* first check if module already created */
18010 type_pointer = SWIG_Python_GetTypeListHandle();
18011 if (type_pointer) {
18012 return type_pointer;
18013 } else {
18014 /* create a new module and variable */
18015 return SWIG_Python_SetTypeListHandle(type_list_handle);
18016 }
18017 }
18018
18019 #ifdef __cplusplus
18020 }
18021 #endif
18022
18023 /* -----------------------------------------------------------------------------*
18024 * Partial Init method
18025 * -----------------------------------------------------------------------------*/
18026
18027 #ifdef SWIG_LINK_RUNTIME
18028 #ifdef __cplusplus
18029 extern "C"
18030 #endif
18031 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
18032 #endif
18033
18034 #ifdef __cplusplus
18035 extern "C"
18036 #endif
18037 SWIGEXPORT(void) SWIG_init(void) {
18038 static PyObject *SWIG_globals = 0;
18039 static int typeinit = 0;
18040 PyObject *m, *d;
18041 int i;
18042 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
18043
18044 /* Fix SwigMethods to carry the callback ptrs when needed */
18045 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
18046
18047 m = Py_InitModule((char *) SWIG_name, SwigMethods);
18048 d = PyModule_GetDict(m);
18049
18050 if (!typeinit) {
18051 #ifdef SWIG_LINK_RUNTIME
18052 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
18053 #else
18054 # ifndef SWIG_STATIC_RUNTIME
18055 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
18056 # endif
18057 #endif
18058 for (i = 0; swig_types_initial[i]; i++) {
18059 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
18060 }
18061 typeinit = 1;
18062 }
18063 SWIG_InstallConstants(d,swig_const_table);
18064
18065 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
18066 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
18067 {
18068 PyDict_SetItemString(d,"STC_USE_DND", SWIG_From_int((int)(1)));
18069 }
18070 {
18071 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_From_int((int)(1)));
18072 }
18073 {
18074 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_From_int((int)(-1)));
18075 }
18076 {
18077 PyDict_SetItemString(d,"STC_START", SWIG_From_int((int)(2000)));
18078 }
18079 {
18080 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_From_int((int)(3000)));
18081 }
18082 {
18083 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_From_int((int)(4000)));
18084 }
18085 {
18086 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_From_int((int)(0)));
18087 }
18088 {
18089 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_From_int((int)(1)));
18090 }
18091 {
18092 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_From_int((int)(2)));
18093 }
18094 {
18095 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_From_int((int)(0)));
18096 }
18097 {
18098 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_From_int((int)(1)));
18099 }
18100 {
18101 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_From_int((int)(2)));
18102 }
18103 {
18104 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_From_int((int)(65001)));
18105 }
18106 {
18107 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_From_int((int)(1)));
18108 }
18109 {
18110 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_From_int((int)(31)));
18111 }
18112 {
18113 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_From_int((int)(0)));
18114 }
18115 {
18116 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_From_int((int)(1)));
18117 }
18118 {
18119 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_From_int((int)(2)));
18120 }
18121 {
18122 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_From_int((int)(3)));
18123 }
18124 {
18125 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_From_int((int)(4)));
18126 }
18127 {
18128 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_From_int((int)(5)));
18129 }
18130 {
18131 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_From_int((int)(6)));
18132 }
18133 {
18134 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_From_int((int)(7)));
18135 }
18136 {
18137 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_From_int((int)(8)));
18138 }
18139 {
18140 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_From_int((int)(9)));
18141 }
18142 {
18143 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_From_int((int)(10)));
18144 }
18145 {
18146 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_From_int((int)(11)));
18147 }
18148 {
18149 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_From_int((int)(12)));
18150 }
18151 {
18152 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_From_int((int)(13)));
18153 }
18154 {
18155 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_From_int((int)(14)));
18156 }
18157 {
18158 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_From_int((int)(15)));
18159 }
18160 {
18161 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_From_int((int)(16)));
18162 }
18163 {
18164 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_From_int((int)(17)));
18165 }
18166 {
18167 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_From_int((int)(18)));
18168 }
18169 {
18170 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_From_int((int)(19)));
18171 }
18172 {
18173 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_From_int((int)(20)));
18174 }
18175 {
18176 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_From_int((int)(21)));
18177 }
18178 {
18179 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_From_int((int)(22)));
18180 }
18181 {
18182 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_From_int((int)(23)));
18183 }
18184 {
18185 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_From_int((int)(24)));
18186 }
18187 {
18188 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_From_int((int)(25)));
18189 }
18190 {
18191 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_From_int((int)(10000)));
18192 }
18193 {
18194 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_From_int((int)(25)));
18195 }
18196 {
18197 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_From_int((int)(26)));
18198 }
18199 {
18200 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_From_int((int)(27)));
18201 }
18202 {
18203 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_From_int((int)(28)));
18204 }
18205 {
18206 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_From_int((int)(29)));
18207 }
18208 {
18209 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_From_int((int)(30)));
18210 }
18211 {
18212 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_From_int((int)(31)));
18213 }
18214 {
18215 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_From_int((int)(0xFE000000)));
18216 }
18217 {
18218 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_From_int((int)(0)));
18219 }
18220 {
18221 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_From_int((int)(1)));
18222 }
18223 {
18224 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_From_int((int)(32)));
18225 }
18226 {
18227 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_From_int((int)(33)));
18228 }
18229 {
18230 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_From_int((int)(34)));
18231 }
18232 {
18233 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_From_int((int)(35)));
18234 }
18235 {
18236 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_From_int((int)(36)));
18237 }
18238 {
18239 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_From_int((int)(37)));
18240 }
18241 {
18242 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_From_int((int)(39)));
18243 }
18244 {
18245 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_From_int((int)(127)));
18246 }
18247 {
18248 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_From_int((int)(0)));
18249 }
18250 {
18251 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_From_int((int)(1)));
18252 }
18253 {
18254 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_From_int((int)(186)));
18255 }
18256 {
18257 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_From_int((int)(136)));
18258 }
18259 {
18260 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_From_int((int)(238)));
18261 }
18262 {
18263 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_From_int((int)(134)));
18264 }
18265 {
18266 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_From_int((int)(161)));
18267 }
18268 {
18269 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_From_int((int)(129)));
18270 }
18271 {
18272 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_From_int((int)(77)));
18273 }
18274 {
18275 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_From_int((int)(255)));
18276 }
18277 {
18278 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_From_int((int)(204)));
18279 }
18280 {
18281 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_From_int((int)(128)));
18282 }
18283 {
18284 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_From_int((int)(2)));
18285 }
18286 {
18287 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_From_int((int)(162)));
18288 }
18289 {
18290 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_From_int((int)(130)));
18291 }
18292 {
18293 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_From_int((int)(177)));
18294 }
18295 {
18296 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_From_int((int)(178)));
18297 }
18298 {
18299 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_From_int((int)(163)));
18300 }
18301 {
18302 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_From_int((int)(222)));
18303 }
18304 {
18305 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_From_int((int)(0)));
18306 }
18307 {
18308 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_From_int((int)(1)));
18309 }
18310 {
18311 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_From_int((int)(2)));
18312 }
18313 {
18314 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_From_int((int)(7)));
18315 }
18316 {
18317 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_From_int((int)(0)));
18318 }
18319 {
18320 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_From_int((int)(1)));
18321 }
18322 {
18323 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_From_int((int)(2)));
18324 }
18325 {
18326 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_From_int((int)(3)));
18327 }
18328 {
18329 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_From_int((int)(4)));
18330 }
18331 {
18332 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_From_int((int)(5)));
18333 }
18334 {
18335 PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_From_int((int)(6)));
18336 }
18337 {
18338 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_From_int((int)(0x20)));
18339 }
18340 {
18341 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_From_int((int)(0x40)));
18342 }
18343 {
18344 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_From_int((int)(0x80)));
18345 }
18346 {
18347 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_From_int((int)(0xE0)));
18348 }
18349 {
18350 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_From_int((int)(0)));
18351 }
18352 {
18353 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_From_int((int)(1)));
18354 }
18355 {
18356 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_From_int((int)(2)));
18357 }
18358 {
18359 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_From_int((int)(3)));
18360 }
18361 {
18362 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_From_int((int)(4)));
18363 }
18364 {
18365 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_From_int((int)(2)));
18366 }
18367 {
18368 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_From_int((int)(4)));
18369 }
18370 {
18371 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_From_int((int)(0x00100000)));
18372 }
18373 {
18374 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_From_int((int)(0x00200000)));
18375 }
18376 {
18377 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_From_int((int)(0x00400000)));
18378 }
18379 {
18380 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_From_int((int)(0x400)));
18381 }
18382 {
18383 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_From_int((int)(0x1000)));
18384 }
18385 {
18386 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_From_int((int)(0x2000)));
18387 }
18388 {
18389 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_From_int((int)(0x4000)));
18390 }
18391 {
18392 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_From_int((int)(0x8000)));
18393 }
18394 {
18395 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_From_int((int)(0x10000)));
18396 }
18397 {
18398 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_From_int((int)(0x20000)));
18399 }
18400 {
18401 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_From_int((int)(0x0FFF)));
18402 }
18403 {
18404 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_From_int((int)(0x0002)));
18405 }
18406 {
18407 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_From_int((int)(0x0004)));
18408 }
18409 {
18410 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_From_int((int)(0x0008)));
18411 }
18412 {
18413 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_From_int((int)(0x0010)));
18414 }
18415 {
18416 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_From_int((int)(0x0040)));
18417 }
18418 {
18419 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_From_int((int)(0x0001)));
18420 }
18421 {
18422 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_From_int((int)(10000000)));
18423 }
18424 {
18425 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_From_int((int)(0)));
18426 }
18427 {
18428 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_From_int((int)(1)));
18429 }
18430 {
18431 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_NONE", SWIG_From_int((int)(0x0000)));
18432 }
18433 {
18434 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_END", SWIG_From_int((int)(0x0001)));
18435 }
18436 {
18437 PyDict_SetItemString(d,"STC_WRAPVISUALFLAG_START", SWIG_From_int((int)(0x0002)));
18438 }
18439 {
18440 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_DEFAULT", SWIG_From_int((int)(0x0000)));
18441 }
18442 {
18443 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_END_BY_TEXT", SWIG_From_int((int)(0x0001)));
18444 }
18445 {
18446 PyDict_SetItemString(d,"STC_WRAPVISUALFLAGLOC_START_BY_TEXT", SWIG_From_int((int)(0x0002)));
18447 }
18448 {
18449 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_From_int((int)(0)));
18450 }
18451 {
18452 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_From_int((int)(1)));
18453 }
18454 {
18455 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_From_int((int)(2)));
18456 }
18457 {
18458 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_From_int((int)(3)));
18459 }
18460 {
18461 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_From_int((int)(0)));
18462 }
18463 {
18464 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_From_int((int)(1)));
18465 }
18466 {
18467 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_From_int((int)(2)));
18468 }
18469 {
18470 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_From_int((int)(-1)));
18471 }
18472 {
18473 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_From_int((int)(4)));
18474 }
18475 {
18476 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_From_int((int)(0x01)));
18477 }
18478 {
18479 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_From_int((int)(0x04)));
18480 }
18481 {
18482 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_From_int((int)(0x01)));
18483 }
18484 {
18485 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_From_int((int)(0x04)));
18486 }
18487 {
18488 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_From_int((int)(0x10)));
18489 }
18490 {
18491 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_From_int((int)(0x08)));
18492 }
18493 {
18494 PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_From_int((int)(0)));
18495 }
18496 {
18497 PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_From_int((int)(1)));
18498 }
18499 {
18500 PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_From_int((int)(2)));
18501 }
18502 {
18503 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_From_int((int)(8)));
18504 }
18505 {
18506 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_From_int((int)(0x1)));
18507 }
18508 {
18509 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_From_int((int)(0x2)));
18510 }
18511 {
18512 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_From_int((int)(0x4)));
18513 }
18514 {
18515 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_From_int((int)(0x8)));
18516 }
18517 {
18518 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_From_int((int)(0x10)));
18519 }
18520 {
18521 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_From_int((int)(0x20)));
18522 }
18523 {
18524 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_From_int((int)(0x40)));
18525 }
18526 {
18527 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_From_int((int)(0x100)));
18528 }
18529 {
18530 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_From_int((int)(0x200)));
18531 }
18532 {
18533 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_From_int((int)(0x400)));
18534 }
18535 {
18536 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_From_int((int)(0x800)));
18537 }
18538 {
18539 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_From_int((int)(0xF77)));
18540 }
18541 {
18542 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_From_int((int)(300)));
18543 }
18544 {
18545 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_From_int((int)(301)));
18546 }
18547 {
18548 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_From_int((int)(302)));
18549 }
18550 {
18551 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_From_int((int)(303)));
18552 }
18553 {
18554 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_From_int((int)(304)));
18555 }
18556 {
18557 PyDict_SetItemString(d,"STC_KEY_END", SWIG_From_int((int)(305)));
18558 }
18559 {
18560 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_From_int((int)(306)));
18561 }
18562 {
18563 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_From_int((int)(307)));
18564 }
18565 {
18566 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_From_int((int)(308)));
18567 }
18568 {
18569 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_From_int((int)(309)));
18570 }
18571 {
18572 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_From_int((int)(7)));
18573 }
18574 {
18575 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_From_int((int)(8)));
18576 }
18577 {
18578 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_From_int((int)(9)));
18579 }
18580 {
18581 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_From_int((int)(13)));
18582 }
18583 {
18584 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_From_int((int)(310)));
18585 }
18586 {
18587 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_From_int((int)(311)));
18588 }
18589 {
18590 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_From_int((int)(312)));
18591 }
18592 {
18593 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_From_int((int)(1)));
18594 }
18595 {
18596 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_From_int((int)(2)));
18597 }
18598 {
18599 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_From_int((int)(4)));
18600 }
18601 {
18602 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_From_int((int)(0)));
18603 }
18604 {
18605 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_From_int((int)(1)));
18606 }
18607 {
18608 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_From_int((int)(2)));
18609 }
18610 {
18611 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_From_int((int)(3)));
18612 }
18613 {
18614 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_From_int((int)(4)));
18615 }
18616 {
18617 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_From_int((int)(5)));
18618 }
18619 {
18620 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_From_int((int)(6)));
18621 }
18622 {
18623 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_From_int((int)(7)));
18624 }
18625 {
18626 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_From_int((int)(8)));
18627 }
18628 {
18629 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_From_int((int)(9)));
18630 }
18631 {
18632 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_From_int((int)(10)));
18633 }
18634 {
18635 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_From_int((int)(11)));
18636 }
18637 {
18638 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_From_int((int)(12)));
18639 }
18640 {
18641 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_From_int((int)(13)));
18642 }
18643 {
18644 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_From_int((int)(14)));
18645 }
18646 {
18647 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_From_int((int)(15)));
18648 }
18649 {
18650 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_From_int((int)(16)));
18651 }
18652 {
18653 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_From_int((int)(17)));
18654 }
18655 {
18656 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_From_int((int)(18)));
18657 }
18658 {
18659 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_From_int((int)(19)));
18660 }
18661 {
18662 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_From_int((int)(20)));
18663 }
18664 {
18665 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_From_int((int)(21)));
18666 }
18667 {
18668 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_From_int((int)(22)));
18669 }
18670 {
18671 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_From_int((int)(23)));
18672 }
18673 {
18674 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_From_int((int)(24)));
18675 }
18676 {
18677 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_From_int((int)(25)));
18678 }
18679 {
18680 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_From_int((int)(26)));
18681 }
18682 {
18683 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_From_int((int)(27)));
18684 }
18685 {
18686 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_From_int((int)(28)));
18687 }
18688 {
18689 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_From_int((int)(29)));
18690 }
18691 {
18692 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_From_int((int)(30)));
18693 }
18694 {
18695 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_From_int((int)(31)));
18696 }
18697 {
18698 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_From_int((int)(32)));
18699 }
18700 {
18701 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_From_int((int)(33)));
18702 }
18703 {
18704 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_From_int((int)(34)));
18705 }
18706 {
18707 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_From_int((int)(35)));
18708 }
18709 {
18710 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_From_int((int)(36)));
18711 }
18712 {
18713 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_From_int((int)(37)));
18714 }
18715 {
18716 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_From_int((int)(38)));
18717 }
18718 {
18719 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_From_int((int)(39)));
18720 }
18721 {
18722 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_From_int((int)(40)));
18723 }
18724 {
18725 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_From_int((int)(41)));
18726 }
18727 {
18728 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_From_int((int)(42)));
18729 }
18730 {
18731 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_From_int((int)(43)));
18732 }
18733 {
18734 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_From_int((int)(44)));
18735 }
18736 {
18737 PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_From_int((int)(45)));
18738 }
18739 {
18740 PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_From_int((int)(46)));
18741 }
18742 {
18743 PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_From_int((int)(47)));
18744 }
18745 {
18746 PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_From_int((int)(48)));
18747 }
18748 {
18749 PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_From_int((int)(49)));
18750 }
18751 {
18752 PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_From_int((int)(50)));
18753 }
18754 {
18755 PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_From_int((int)(51)));
18756 }
18757 {
18758 PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_From_int((int)(52)));
18759 }
18760 {
18761 PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_From_int((int)(53)));
18762 }
18763 {
18764 PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_From_int((int)(54)));
18765 }
18766 {
18767 PyDict_SetItemString(d,"STC_LEX_MSSQL", SWIG_From_int((int)(55)));
18768 }
18769 {
18770 PyDict_SetItemString(d,"STC_LEX_VERILOG", SWIG_From_int((int)(56)));
18771 }
18772 {
18773 PyDict_SetItemString(d,"STC_LEX_KIX", SWIG_From_int((int)(57)));
18774 }
18775 {
18776 PyDict_SetItemString(d,"STC_LEX_GUI4CLI", SWIG_From_int((int)(58)));
18777 }
18778 {
18779 PyDict_SetItemString(d,"STC_LEX_SPECMAN", SWIG_From_int((int)(59)));
18780 }
18781 {
18782 PyDict_SetItemString(d,"STC_LEX_AU3", SWIG_From_int((int)(60)));
18783 }
18784 {
18785 PyDict_SetItemString(d,"STC_LEX_APDL", SWIG_From_int((int)(61)));
18786 }
18787 {
18788 PyDict_SetItemString(d,"STC_LEX_BASH", SWIG_From_int((int)(62)));
18789 }
18790 {
18791 PyDict_SetItemString(d,"STC_LEX_ASN1", SWIG_From_int((int)(63)));
18792 }
18793 {
18794 PyDict_SetItemString(d,"STC_LEX_VHDL", SWIG_From_int((int)(64)));
18795 }
18796 {
18797 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_From_int((int)(1000)));
18798 }
18799 {
18800 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_From_int((int)(0)));
18801 }
18802 {
18803 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_From_int((int)(1)));
18804 }
18805 {
18806 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_From_int((int)(2)));
18807 }
18808 {
18809 PyDict_SetItemString(d,"STC_P_STRING", SWIG_From_int((int)(3)));
18810 }
18811 {
18812 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_From_int((int)(4)));
18813 }
18814 {
18815 PyDict_SetItemString(d,"STC_P_WORD", SWIG_From_int((int)(5)));
18816 }
18817 {
18818 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_From_int((int)(6)));
18819 }
18820 {
18821 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_From_int((int)(7)));
18822 }
18823 {
18824 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_From_int((int)(8)));
18825 }
18826 {
18827 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_From_int((int)(9)));
18828 }
18829 {
18830 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_From_int((int)(10)));
18831 }
18832 {
18833 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_From_int((int)(11)));
18834 }
18835 {
18836 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_From_int((int)(12)));
18837 }
18838 {
18839 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_From_int((int)(13)));
18840 }
18841 {
18842 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_From_int((int)(0)));
18843 }
18844 {
18845 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_From_int((int)(1)));
18846 }
18847 {
18848 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_From_int((int)(2)));
18849 }
18850 {
18851 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_From_int((int)(3)));
18852 }
18853 {
18854 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_From_int((int)(4)));
18855 }
18856 {
18857 PyDict_SetItemString(d,"STC_C_WORD", SWIG_From_int((int)(5)));
18858 }
18859 {
18860 PyDict_SetItemString(d,"STC_C_STRING", SWIG_From_int((int)(6)));
18861 }
18862 {
18863 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_From_int((int)(7)));
18864 }
18865 {
18866 PyDict_SetItemString(d,"STC_C_UUID", SWIG_From_int((int)(8)));
18867 }
18868 {
18869 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_From_int((int)(9)));
18870 }
18871 {
18872 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_From_int((int)(10)));
18873 }
18874 {
18875 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_From_int((int)(11)));
18876 }
18877 {
18878 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_From_int((int)(12)));
18879 }
18880 {
18881 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_From_int((int)(13)));
18882 }
18883 {
18884 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_From_int((int)(14)));
18885 }
18886 {
18887 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_From_int((int)(15)));
18888 }
18889 {
18890 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_From_int((int)(16)));
18891 }
18892 {
18893 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_From_int((int)(17)));
18894 }
18895 {
18896 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_From_int((int)(18)));
18897 }
18898 {
18899 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_From_int((int)(19)));
18900 }
18901 {
18902 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_From_int((int)(0)));
18903 }
18904 {
18905 PyDict_SetItemString(d,"STC_H_TAG", SWIG_From_int((int)(1)));
18906 }
18907 {
18908 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_From_int((int)(2)));
18909 }
18910 {
18911 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_From_int((int)(3)));
18912 }
18913 {
18914 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_From_int((int)(4)));
18915 }
18916 {
18917 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_From_int((int)(5)));
18918 }
18919 {
18920 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_From_int((int)(6)));
18921 }
18922 {
18923 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_From_int((int)(7)));
18924 }
18925 {
18926 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_From_int((int)(8)));
18927 }
18928 {
18929 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_From_int((int)(9)));
18930 }
18931 {
18932 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_From_int((int)(10)));
18933 }
18934 {
18935 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_From_int((int)(11)));
18936 }
18937 {
18938 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_From_int((int)(12)));
18939 }
18940 {
18941 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_From_int((int)(13)));
18942 }
18943 {
18944 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_From_int((int)(14)));
18945 }
18946 {
18947 PyDict_SetItemString(d,"STC_H_ASP", SWIG_From_int((int)(15)));
18948 }
18949 {
18950 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_From_int((int)(16)));
18951 }
18952 {
18953 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_From_int((int)(17)));
18954 }
18955 {
18956 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_From_int((int)(18)));
18957 }
18958 {
18959 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_From_int((int)(19)));
18960 }
18961 {
18962 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_From_int((int)(20)));
18963 }
18964 {
18965 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_From_int((int)(21)));
18966 }
18967 {
18968 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_From_int((int)(22)));
18969 }
18970 {
18971 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_From_int((int)(23)));
18972 }
18973 {
18974 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_From_int((int)(24)));
18975 }
18976 {
18977 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_From_int((int)(25)));
18978 }
18979 {
18980 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_From_int((int)(26)));
18981 }
18982 {
18983 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_From_int((int)(27)));
18984 }
18985 {
18986 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_From_int((int)(28)));
18987 }
18988 {
18989 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_From_int((int)(29)));
18990 }
18991 {
18992 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_From_int((int)(30)));
18993 }
18994 {
18995 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_From_int((int)(31)));
18996 }
18997 {
18998 PyDict_SetItemString(d,"STC_HJ_START", SWIG_From_int((int)(40)));
18999 }
19000 {
19001 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_From_int((int)(41)));
19002 }
19003 {
19004 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_From_int((int)(42)));
19005 }
19006 {
19007 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_From_int((int)(43)));
19008 }
19009 {
19010 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_From_int((int)(44)));
19011 }
19012 {
19013 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_From_int((int)(45)));
19014 }
19015 {
19016 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_From_int((int)(46)));
19017 }
19018 {
19019 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_From_int((int)(47)));
19020 }
19021 {
19022 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_From_int((int)(48)));
19023 }
19024 {
19025 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_From_int((int)(49)));
19026 }
19027 {
19028 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_From_int((int)(50)));
19029 }
19030 {
19031 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_From_int((int)(51)));
19032 }
19033 {
19034 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_From_int((int)(52)));
19035 }
19036 {
19037 PyDict_SetItemString(d,"STC_HJA_START", SWIG_From_int((int)(55)));
19038 }
19039 {
19040 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_From_int((int)(56)));
19041 }
19042 {
19043 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_From_int((int)(57)));
19044 }
19045 {
19046 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_From_int((int)(58)));
19047 }
19048 {
19049 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_From_int((int)(59)));
19050 }
19051 {
19052 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_From_int((int)(60)));
19053 }
19054 {
19055 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_From_int((int)(61)));
19056 }
19057 {
19058 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_From_int((int)(62)));
19059 }
19060 {
19061 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_From_int((int)(63)));
19062 }
19063 {
19064 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_From_int((int)(64)));
19065 }
19066 {
19067 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_From_int((int)(65)));
19068 }
19069 {
19070 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_From_int((int)(66)));
19071 }
19072 {
19073 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_From_int((int)(67)));
19074 }
19075 {
19076 PyDict_SetItemString(d,"STC_HB_START", SWIG_From_int((int)(70)));
19077 }
19078 {
19079 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_From_int((int)(71)));
19080 }
19081 {
19082 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_From_int((int)(72)));
19083 }
19084 {
19085 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_From_int((int)(73)));
19086 }
19087 {
19088 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_From_int((int)(74)));
19089 }
19090 {
19091 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_From_int((int)(75)));
19092 }
19093 {
19094 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_From_int((int)(76)));
19095 }
19096 {
19097 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_From_int((int)(77)));
19098 }
19099 {
19100 PyDict_SetItemString(d,"STC_HBA_START", SWIG_From_int((int)(80)));
19101 }
19102 {
19103 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_From_int((int)(81)));
19104 }
19105 {
19106 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_From_int((int)(82)));
19107 }
19108 {
19109 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_From_int((int)(83)));
19110 }
19111 {
19112 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_From_int((int)(84)));
19113 }
19114 {
19115 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_From_int((int)(85)));
19116 }
19117 {
19118 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_From_int((int)(86)));
19119 }
19120 {
19121 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_From_int((int)(87)));
19122 }
19123 {
19124 PyDict_SetItemString(d,"STC_HP_START", SWIG_From_int((int)(90)));
19125 }
19126 {
19127 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_From_int((int)(91)));
19128 }
19129 {
19130 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_From_int((int)(92)));
19131 }
19132 {
19133 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_From_int((int)(93)));
19134 }
19135 {
19136 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_From_int((int)(94)));
19137 }
19138 {
19139 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_From_int((int)(95)));
19140 }
19141 {
19142 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_From_int((int)(96)));
19143 }
19144 {
19145 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_From_int((int)(97)));
19146 }
19147 {
19148 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_From_int((int)(98)));
19149 }
19150 {
19151 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_From_int((int)(99)));
19152 }
19153 {
19154 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_From_int((int)(100)));
19155 }
19156 {
19157 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_From_int((int)(101)));
19158 }
19159 {
19160 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_From_int((int)(102)));
19161 }
19162 {
19163 PyDict_SetItemString(d,"STC_HPHP_COMPLEX_VARIABLE", SWIG_From_int((int)(104)));
19164 }
19165 {
19166 PyDict_SetItemString(d,"STC_HPA_START", SWIG_From_int((int)(105)));
19167 }
19168 {
19169 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_From_int((int)(106)));
19170 }
19171 {
19172 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_From_int((int)(107)));
19173 }
19174 {
19175 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_From_int((int)(108)));
19176 }
19177 {
19178 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_From_int((int)(109)));
19179 }
19180 {
19181 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_From_int((int)(110)));
19182 }
19183 {
19184 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_From_int((int)(111)));
19185 }
19186 {
19187 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_From_int((int)(112)));
19188 }
19189 {
19190 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_From_int((int)(113)));
19191 }
19192 {
19193 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_From_int((int)(114)));
19194 }
19195 {
19196 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_From_int((int)(115)));
19197 }
19198 {
19199 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_From_int((int)(116)));
19200 }
19201 {
19202 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_From_int((int)(117)));
19203 }
19204 {
19205 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_From_int((int)(118)));
19206 }
19207 {
19208 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_From_int((int)(119)));
19209 }
19210 {
19211 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_From_int((int)(120)));
19212 }
19213 {
19214 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_From_int((int)(121)));
19215 }
19216 {
19217 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_From_int((int)(122)));
19218 }
19219 {
19220 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_From_int((int)(123)));
19221 }
19222 {
19223 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_From_int((int)(124)));
19224 }
19225 {
19226 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_From_int((int)(125)));
19227 }
19228 {
19229 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_From_int((int)(126)));
19230 }
19231 {
19232 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_From_int((int)(127)));
19233 }
19234 {
19235 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_From_int((int)(0)));
19236 }
19237 {
19238 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_From_int((int)(1)));
19239 }
19240 {
19241 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_From_int((int)(2)));
19242 }
19243 {
19244 PyDict_SetItemString(d,"STC_PL_POD", SWIG_From_int((int)(3)));
19245 }
19246 {
19247 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_From_int((int)(4)));
19248 }
19249 {
19250 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_From_int((int)(5)));
19251 }
19252 {
19253 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_From_int((int)(6)));
19254 }
19255 {
19256 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_From_int((int)(7)));
19257 }
19258 {
19259 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_From_int((int)(8)));
19260 }
19261 {
19262 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_From_int((int)(9)));
19263 }
19264 {
19265 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_From_int((int)(10)));
19266 }
19267 {
19268 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_From_int((int)(11)));
19269 }
19270 {
19271 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_From_int((int)(12)));
19272 }
19273 {
19274 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_From_int((int)(13)));
19275 }
19276 {
19277 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_From_int((int)(14)));
19278 }
19279 {
19280 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_From_int((int)(15)));
19281 }
19282 {
19283 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_From_int((int)(17)));
19284 }
19285 {
19286 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_From_int((int)(18)));
19287 }
19288 {
19289 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_From_int((int)(19)));
19290 }
19291 {
19292 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_From_int((int)(20)));
19293 }
19294 {
19295 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_From_int((int)(21)));
19296 }
19297 {
19298 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_From_int((int)(22)));
19299 }
19300 {
19301 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_From_int((int)(23)));
19302 }
19303 {
19304 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_From_int((int)(24)));
19305 }
19306 {
19307 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_From_int((int)(25)));
19308 }
19309 {
19310 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_From_int((int)(26)));
19311 }
19312 {
19313 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_From_int((int)(27)));
19314 }
19315 {
19316 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_From_int((int)(28)));
19317 }
19318 {
19319 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_From_int((int)(29)));
19320 }
19321 {
19322 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_From_int((int)(30)));
19323 }
19324 {
19325 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_From_int((int)(0)));
19326 }
19327 {
19328 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_From_int((int)(1)));
19329 }
19330 {
19331 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_From_int((int)(2)));
19332 }
19333 {
19334 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_From_int((int)(3)));
19335 }
19336 {
19337 PyDict_SetItemString(d,"STC_B_STRING", SWIG_From_int((int)(4)));
19338 }
19339 {
19340 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_From_int((int)(5)));
19341 }
19342 {
19343 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_From_int((int)(6)));
19344 }
19345 {
19346 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_From_int((int)(7)));
19347 }
19348 {
19349 PyDict_SetItemString(d,"STC_B_DATE", SWIG_From_int((int)(8)));
19350 }
19351 {
19352 PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_From_int((int)(9)));
19353 }
19354 {
19355 PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_From_int((int)(10)));
19356 }
19357 {
19358 PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_From_int((int)(11)));
19359 }
19360 {
19361 PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_From_int((int)(12)));
19362 }
19363 {
19364 PyDict_SetItemString(d,"STC_B_CONSTANT", SWIG_From_int((int)(13)));
19365 }
19366 {
19367 PyDict_SetItemString(d,"STC_B_ASM", SWIG_From_int((int)(14)));
19368 }
19369 {
19370 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_From_int((int)(0)));
19371 }
19372 {
19373 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_From_int((int)(1)));
19374 }
19375 {
19376 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_From_int((int)(2)));
19377 }
19378 {
19379 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_From_int((int)(3)));
19380 }
19381 {
19382 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_From_int((int)(4)));
19383 }
19384 {
19385 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_From_int((int)(0)));
19386 }
19387 {
19388 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_From_int((int)(1)));
19389 }
19390 {
19391 PyDict_SetItemString(d,"STC_L_TAG", SWIG_From_int((int)(2)));
19392 }
19393 {
19394 PyDict_SetItemString(d,"STC_L_MATH", SWIG_From_int((int)(3)));
19395 }
19396 {
19397 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_From_int((int)(4)));
19398 }
19399 {
19400 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_From_int((int)(0)));
19401 }
19402 {
19403 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_From_int((int)(1)));
19404 }
19405 {
19406 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_From_int((int)(2)));
19407 }
19408 {
19409 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_From_int((int)(3)));
19410 }
19411 {
19412 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_From_int((int)(4)));
19413 }
19414 {
19415 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_From_int((int)(5)));
19416 }
19417 {
19418 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_From_int((int)(6)));
19419 }
19420 {
19421 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_From_int((int)(7)));
19422 }
19423 {
19424 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_From_int((int)(8)));
19425 }
19426 {
19427 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_From_int((int)(9)));
19428 }
19429 {
19430 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_From_int((int)(10)));
19431 }
19432 {
19433 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_From_int((int)(11)));
19434 }
19435 {
19436 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_From_int((int)(12)));
19437 }
19438 {
19439 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_From_int((int)(13)));
19440 }
19441 {
19442 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_From_int((int)(14)));
19443 }
19444 {
19445 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_From_int((int)(15)));
19446 }
19447 {
19448 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_From_int((int)(16)));
19449 }
19450 {
19451 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_From_int((int)(17)));
19452 }
19453 {
19454 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_From_int((int)(18)));
19455 }
19456 {
19457 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_From_int((int)(19)));
19458 }
19459 {
19460 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_From_int((int)(0)));
19461 }
19462 {
19463 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_From_int((int)(1)));
19464 }
19465 {
19466 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_From_int((int)(2)));
19467 }
19468 {
19469 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_From_int((int)(3)));
19470 }
19471 {
19472 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_From_int((int)(4)));
19473 }
19474 {
19475 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_From_int((int)(5)));
19476 }
19477 {
19478 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_From_int((int)(6)));
19479 }
19480 {
19481 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_From_int((int)(7)));
19482 }
19483 {
19484 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_From_int((int)(8)));
19485 }
19486 {
19487 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_From_int((int)(9)));
19488 }
19489 {
19490 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_From_int((int)(10)));
19491 }
19492 {
19493 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_From_int((int)(11)));
19494 }
19495 {
19496 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_From_int((int)(12)));
19497 }
19498 {
19499 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_From_int((int)(13)));
19500 }
19501 {
19502 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_From_int((int)(14)));
19503 }
19504 {
19505 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_From_int((int)(15)));
19506 }
19507 {
19508 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_From_int((int)(16)));
19509 }
19510 {
19511 PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_From_int((int)(17)));
19512 }
19513 {
19514 PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_From_int((int)(18)));
19515 }
19516 {
19517 PyDict_SetItemString(d,"STC_ERR_TIDY", SWIG_From_int((int)(19)));
19518 }
19519 {
19520 PyDict_SetItemString(d,"STC_ERR_JAVA_STACK", SWIG_From_int((int)(20)));
19521 }
19522 {
19523 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_From_int((int)(0)));
19524 }
19525 {
19526 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_From_int((int)(1)));
19527 }
19528 {
19529 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_From_int((int)(2)));
19530 }
19531 {
19532 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_From_int((int)(3)));
19533 }
19534 {
19535 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_From_int((int)(4)));
19536 }
19537 {
19538 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_From_int((int)(5)));
19539 }
19540 {
19541 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_From_int((int)(6)));
19542 }
19543 {
19544 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_From_int((int)(7)));
19545 }
19546 {
19547 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_From_int((int)(0)));
19548 }
19549 {
19550 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_From_int((int)(1)));
19551 }
19552 {
19553 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_From_int((int)(2)));
19554 }
19555 {
19556 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_From_int((int)(3)));
19557 }
19558 {
19559 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_From_int((int)(4)));
19560 }
19561 {
19562 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_From_int((int)(5)));
19563 }
19564 {
19565 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_From_int((int)(9)));
19566 }
19567 {
19568 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_From_int((int)(0)));
19569 }
19570 {
19571 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_From_int((int)(1)));
19572 }
19573 {
19574 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_From_int((int)(2)));
19575 }
19576 {
19577 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_From_int((int)(3)));
19578 }
19579 {
19580 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_From_int((int)(4)));
19581 }
19582 {
19583 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_From_int((int)(5)));
19584 }
19585 {
19586 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_From_int((int)(6)));
19587 }
19588 {
19589 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_From_int((int)(0)));
19590 }
19591 {
19592 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_From_int((int)(1)));
19593 }
19594 {
19595 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_From_int((int)(2)));
19596 }
19597 {
19598 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_From_int((int)(3)));
19599 }
19600 {
19601 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_From_int((int)(4)));
19602 }
19603 {
19604 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_From_int((int)(5)));
19605 }
19606 {
19607 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_From_int((int)(6)));
19608 }
19609 {
19610 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_From_int((int)(7)));
19611 }
19612 {
19613 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_From_int((int)(8)));
19614 }
19615 {
19616 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_From_int((int)(9)));
19617 }
19618 {
19619 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_From_int((int)(0)));
19620 }
19621 {
19622 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_From_int((int)(1)));
19623 }
19624 {
19625 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_From_int((int)(2)));
19626 }
19627 {
19628 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_From_int((int)(3)));
19629 }
19630 {
19631 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_From_int((int)(6)));
19632 }
19633 {
19634 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_From_int((int)(7)));
19635 }
19636 {
19637 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_From_int((int)(8)));
19638 }
19639 {
19640 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_From_int((int)(9)));
19641 }
19642 {
19643 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_From_int((int)(10)));
19644 }
19645 {
19646 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_From_int((int)(11)));
19647 }
19648 {
19649 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_From_int((int)(12)));
19650 }
19651 {
19652 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_From_int((int)(13)));
19653 }
19654 {
19655 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_From_int((int)(14)));
19656 }
19657 {
19658 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_From_int((int)(15)));
19659 }
19660 {
19661 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_From_int((int)(16)));
19662 }
19663 {
19664 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_From_int((int)(0)));
19665 }
19666 {
19667 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_From_int((int)(1)));
19668 }
19669 {
19670 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_From_int((int)(2)));
19671 }
19672 {
19673 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_From_int((int)(3)));
19674 }
19675 {
19676 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_From_int((int)(4)));
19677 }
19678 {
19679 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_From_int((int)(5)));
19680 }
19681 {
19682 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_From_int((int)(6)));
19683 }
19684 {
19685 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_From_int((int)(7)));
19686 }
19687 {
19688 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_From_int((int)(8)));
19689 }
19690 {
19691 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_From_int((int)(9)));
19692 }
19693 {
19694 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_From_int((int)(10)));
19695 }
19696 {
19697 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_From_int((int)(11)));
19698 }
19699 {
19700 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_From_int((int)(0)));
19701 }
19702 {
19703 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_From_int((int)(1)));
19704 }
19705 {
19706 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_From_int((int)(2)));
19707 }
19708 {
19709 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_From_int((int)(3)));
19710 }
19711 {
19712 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_From_int((int)(4)));
19713 }
19714 {
19715 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_From_int((int)(5)));
19716 }
19717 {
19718 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_From_int((int)(6)));
19719 }
19720 {
19721 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_From_int((int)(7)));
19722 }
19723 {
19724 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_From_int((int)(8)));
19725 }
19726 {
19727 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_From_int((int)(9)));
19728 }
19729 {
19730 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_From_int((int)(10)));
19731 }
19732 {
19733 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_From_int((int)(0)));
19734 }
19735 {
19736 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_From_int((int)(1)));
19737 }
19738 {
19739 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_From_int((int)(2)));
19740 }
19741 {
19742 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_From_int((int)(3)));
19743 }
19744 {
19745 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_From_int((int)(6)));
19746 }
19747 {
19748 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_From_int((int)(8)));
19749 }
19750 {
19751 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_From_int((int)(9)));
19752 }
19753 {
19754 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_From_int((int)(10)));
19755 }
19756 {
19757 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_From_int((int)(0)));
19758 }
19759 {
19760 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_From_int((int)(1)));
19761 }
19762 {
19763 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_From_int((int)(2)));
19764 }
19765 {
19766 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_From_int((int)(3)));
19767 }
19768 {
19769 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_From_int((int)(4)));
19770 }
19771 {
19772 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_From_int((int)(5)));
19773 }
19774 {
19775 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_From_int((int)(6)));
19776 }
19777 {
19778 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_From_int((int)(7)));
19779 }
19780 {
19781 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_From_int((int)(8)));
19782 }
19783 {
19784 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_From_int((int)(0)));
19785 }
19786 {
19787 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_From_int((int)(1)));
19788 }
19789 {
19790 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_From_int((int)(2)));
19791 }
19792 {
19793 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_From_int((int)(3)));
19794 }
19795 {
19796 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_From_int((int)(4)));
19797 }
19798 {
19799 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_From_int((int)(5)));
19800 }
19801 {
19802 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_From_int((int)(6)));
19803 }
19804 {
19805 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_From_int((int)(7)));
19806 }
19807 {
19808 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_From_int((int)(8)));
19809 }
19810 {
19811 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_From_int((int)(9)));
19812 }
19813 {
19814 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_From_int((int)(10)));
19815 }
19816 {
19817 PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_From_int((int)(0)));
19818 }
19819 {
19820 PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_From_int((int)(1)));
19821 }
19822 {
19823 PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_From_int((int)(2)));
19824 }
19825 {
19826 PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_From_int((int)(3)));
19827 }
19828 {
19829 PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_From_int((int)(4)));
19830 }
19831 {
19832 PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_From_int((int)(5)));
19833 }
19834 {
19835 PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_From_int((int)(6)));
19836 }
19837 {
19838 PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_From_int((int)(7)));
19839 }
19840 {
19841 PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_From_int((int)(8)));
19842 }
19843 {
19844 PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_From_int((int)(9)));
19845 }
19846 {
19847 PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_From_int((int)(10)));
19848 }
19849 {
19850 PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_From_int((int)(11)));
19851 }
19852 {
19853 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_From_int((int)(0)));
19854 }
19855 {
19856 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_From_int((int)(1)));
19857 }
19858 {
19859 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_From_int((int)(2)));
19860 }
19861 {
19862 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_From_int((int)(3)));
19863 }
19864 {
19865 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_From_int((int)(4)));
19866 }
19867 {
19868 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_From_int((int)(5)));
19869 }
19870 {
19871 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_From_int((int)(6)));
19872 }
19873 {
19874 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_From_int((int)(7)));
19875 }
19876 {
19877 PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_From_int((int)(8)));
19878 }
19879 {
19880 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_From_int((int)(0)));
19881 }
19882 {
19883 PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_From_int((int)(1)));
19884 }
19885 {
19886 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_From_int((int)(2)));
19887 }
19888 {
19889 PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_From_int((int)(3)));
19890 }
19891 {
19892 PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_From_int((int)(4)));
19893 }
19894 {
19895 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_From_int((int)(5)));
19896 }
19897 {
19898 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_From_int((int)(6)));
19899 }
19900 {
19901 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_From_int((int)(7)));
19902 }
19903 {
19904 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_From_int((int)(8)));
19905 }
19906 {
19907 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_From_int((int)(9)));
19908 }
19909 {
19910 PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_From_int((int)(10)));
19911 }
19912 {
19913 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_From_int((int)(11)));
19914 }
19915 {
19916 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_From_int((int)(12)));
19917 }
19918 {
19919 PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_From_int((int)(13)));
19920 }
19921 {
19922 PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_From_int((int)(14)));
19923 }
19924 {
19925 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_From_int((int)(15)));
19926 }
19927 {
19928 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_From_int((int)(0)));
19929 }
19930 {
19931 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_From_int((int)(1)));
19932 }
19933 {
19934 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_From_int((int)(2)));
19935 }
19936 {
19937 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_From_int((int)(3)));
19938 }
19939 {
19940 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_From_int((int)(4)));
19941 }
19942 {
19943 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_From_int((int)(5)));
19944 }
19945 {
19946 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_From_int((int)(6)));
19947 }
19948 {
19949 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_From_int((int)(7)));
19950 }
19951 {
19952 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_From_int((int)(8)));
19953 }
19954 {
19955 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_From_int((int)(9)));
19956 }
19957 {
19958 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_From_int((int)(10)));
19959 }
19960 {
19961 PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_From_int((int)(11)));
19962 }
19963 {
19964 PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_From_int((int)(12)));
19965 }
19966 {
19967 PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_From_int((int)(13)));
19968 }
19969 {
19970 PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_From_int((int)(14)));
19971 }
19972 {
19973 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_From_int((int)(0)));
19974 }
19975 {
19976 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_From_int((int)(1)));
19977 }
19978 {
19979 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_From_int((int)(2)));
19980 }
19981 {
19982 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_From_int((int)(3)));
19983 }
19984 {
19985 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_From_int((int)(4)));
19986 }
19987 {
19988 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_From_int((int)(5)));
19989 }
19990 {
19991 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_From_int((int)(6)));
19992 }
19993 {
19994 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_From_int((int)(7)));
19995 }
19996 {
19997 PyDict_SetItemString(d,"STC_F_WORD", SWIG_From_int((int)(8)));
19998 }
19999 {
20000 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_From_int((int)(9)));
20001 }
20002 {
20003 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_From_int((int)(10)));
20004 }
20005 {
20006 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_From_int((int)(11)));
20007 }
20008 {
20009 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_From_int((int)(12)));
20010 }
20011 {
20012 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_From_int((int)(13)));
20013 }
20014 {
20015 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_From_int((int)(14)));
20016 }
20017 {
20018 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_From_int((int)(0)));
20019 }
20020 {
20021 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_From_int((int)(1)));
20022 }
20023 {
20024 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_From_int((int)(2)));
20025 }
20026 {
20027 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_From_int((int)(3)));
20028 }
20029 {
20030 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_From_int((int)(4)));
20031 }
20032 {
20033 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_From_int((int)(5)));
20034 }
20035 {
20036 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_From_int((int)(6)));
20037 }
20038 {
20039 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_From_int((int)(7)));
20040 }
20041 {
20042 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_From_int((int)(8)));
20043 }
20044 {
20045 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_From_int((int)(9)));
20046 }
20047 {
20048 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_From_int((int)(10)));
20049 }
20050 {
20051 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_From_int((int)(11)));
20052 }
20053 {
20054 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_From_int((int)(12)));
20055 }
20056 {
20057 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_From_int((int)(13)));
20058 }
20059 {
20060 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_From_int((int)(14)));
20061 }
20062 {
20063 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER2", SWIG_From_int((int)(15)));
20064 }
20065 {
20066 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_From_int((int)(0)));
20067 }
20068 {
20069 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_From_int((int)(1)));
20070 }
20071 {
20072 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_From_int((int)(2)));
20073 }
20074 {
20075 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_From_int((int)(3)));
20076 }
20077 {
20078 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_From_int((int)(4)));
20079 }
20080 {
20081 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_From_int((int)(5)));
20082 }
20083 {
20084 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_From_int((int)(6)));
20085 }
20086 {
20087 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_From_int((int)(7)));
20088 }
20089 {
20090 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_From_int((int)(8)));
20091 }
20092 {
20093 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_From_int((int)(9)));
20094 }
20095 {
20096 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_From_int((int)(10)));
20097 }
20098 {
20099 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_From_int((int)(11)));
20100 }
20101 {
20102 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_From_int((int)(12)));
20103 }
20104 {
20105 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_From_int((int)(13)));
20106 }
20107 {
20108 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_From_int((int)(14)));
20109 }
20110 {
20111 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_From_int((int)(15)));
20112 }
20113 {
20114 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_From_int((int)(16)));
20115 }
20116 {
20117 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_From_int((int)(0)));
20118 }
20119 {
20120 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_From_int((int)(1)));
20121 }
20122 {
20123 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_From_int((int)(2)));
20124 }
20125 {
20126 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_From_int((int)(3)));
20127 }
20128 {
20129 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_From_int((int)(4)));
20130 }
20131 {
20132 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_From_int((int)(5)));
20133 }
20134 {
20135 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_From_int((int)(6)));
20136 }
20137 {
20138 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_From_int((int)(7)));
20139 }
20140 {
20141 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_From_int((int)(8)));
20142 }
20143 {
20144 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_From_int((int)(9)));
20145 }
20146 {
20147 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_From_int((int)(10)));
20148 }
20149 {
20150 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_From_int((int)(0)));
20151 }
20152 {
20153 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_From_int((int)(1)));
20154 }
20155 {
20156 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_From_int((int)(2)));
20157 }
20158 {
20159 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_From_int((int)(3)));
20160 }
20161 {
20162 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_From_int((int)(4)));
20163 }
20164 {
20165 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_From_int((int)(5)));
20166 }
20167 {
20168 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_From_int((int)(6)));
20169 }
20170 {
20171 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_From_int((int)(7)));
20172 }
20173 {
20174 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_From_int((int)(8)));
20175 }
20176 {
20177 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_From_int((int)(9)));
20178 }
20179 {
20180 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_From_int((int)(10)));
20181 }
20182 {
20183 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_From_int((int)(11)));
20184 }
20185 {
20186 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_From_int((int)(0)));
20187 }
20188 {
20189 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_From_int((int)(1)));
20190 }
20191 {
20192 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_From_int((int)(2)));
20193 }
20194 {
20195 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_From_int((int)(3)));
20196 }
20197 {
20198 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_From_int((int)(4)));
20199 }
20200 {
20201 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_From_int((int)(5)));
20202 }
20203 {
20204 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_From_int((int)(6)));
20205 }
20206 {
20207 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_From_int((int)(7)));
20208 }
20209 {
20210 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_From_int((int)(8)));
20211 }
20212 {
20213 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_From_int((int)(9)));
20214 }
20215 {
20216 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_From_int((int)(10)));
20217 }
20218 {
20219 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_From_int((int)(11)));
20220 }
20221 {
20222 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_From_int((int)(12)));
20223 }
20224 {
20225 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_From_int((int)(13)));
20226 }
20227 {
20228 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_From_int((int)(14)));
20229 }
20230 {
20231 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_From_int((int)(15)));
20232 }
20233 {
20234 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_From_int((int)(0)));
20235 }
20236 {
20237 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_From_int((int)(1)));
20238 }
20239 {
20240 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_From_int((int)(2)));
20241 }
20242 {
20243 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_From_int((int)(3)));
20244 }
20245 {
20246 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_From_int((int)(4)));
20247 }
20248 {
20249 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_From_int((int)(5)));
20250 }
20251 {
20252 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_From_int((int)(6)));
20253 }
20254 {
20255 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_From_int((int)(7)));
20256 }
20257 {
20258 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_From_int((int)(8)));
20259 }
20260 {
20261 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_From_int((int)(9)));
20262 }
20263 {
20264 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_From_int((int)(10)));
20265 }
20266 {
20267 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_From_int((int)(11)));
20268 }
20269 {
20270 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_From_int((int)(12)));
20271 }
20272 {
20273 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_From_int((int)(13)));
20274 }
20275 {
20276 PyDict_SetItemString(d,"STC_NSIS_NUMBER", SWIG_From_int((int)(14)));
20277 }
20278 {
20279 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_From_int((int)(0)));
20280 }
20281 {
20282 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_From_int((int)(1)));
20283 }
20284 {
20285 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_From_int((int)(2)));
20286 }
20287 {
20288 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_From_int((int)(3)));
20289 }
20290 {
20291 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_From_int((int)(4)));
20292 }
20293 {
20294 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_From_int((int)(5)));
20295 }
20296 {
20297 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_From_int((int)(6)));
20298 }
20299 {
20300 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_From_int((int)(7)));
20301 }
20302 {
20303 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_From_int((int)(8)));
20304 }
20305 {
20306 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_From_int((int)(9)));
20307 }
20308 {
20309 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_From_int((int)(10)));
20310 }
20311 {
20312 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_From_int((int)(11)));
20313 }
20314 {
20315 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_From_int((int)(12)));
20316 }
20317 {
20318 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_From_int((int)(13)));
20319 }
20320 {
20321 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_From_int((int)(14)));
20322 }
20323 {
20324 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_From_int((int)(15)));
20325 }
20326 {
20327 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_From_int((int)(16)));
20328 }
20329 {
20330 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_From_int((int)(17)));
20331 }
20332 {
20333 PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_From_int((int)(0)));
20334 }
20335 {
20336 PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_From_int((int)(1)));
20337 }
20338 {
20339 PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_From_int((int)(2)));
20340 }
20341 {
20342 PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_From_int((int)(3)));
20343 }
20344 {
20345 PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_From_int((int)(4)));
20346 }
20347 {
20348 PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_From_int((int)(5)));
20349 }
20350 {
20351 PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_From_int((int)(6)));
20352 }
20353 {
20354 PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_From_int((int)(7)));
20355 }
20356 {
20357 PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_From_int((int)(8)));
20358 }
20359 {
20360 PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_From_int((int)(9)));
20361 }
20362 {
20363 PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_From_int((int)(10)));
20364 }
20365 {
20366 PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_From_int((int)(11)));
20367 }
20368 {
20369 PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_From_int((int)(12)));
20370 }
20371 {
20372 PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_From_int((int)(13)));
20373 }
20374 {
20375 PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_From_int((int)(14)));
20376 }
20377 {
20378 PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_From_int((int)(0)));
20379 }
20380 {
20381 PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_From_int((int)(1)));
20382 }
20383 {
20384 PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_From_int((int)(2)));
20385 }
20386 {
20387 PyDict_SetItemString(d,"STC_LOT_SET", SWIG_From_int((int)(3)));
20388 }
20389 {
20390 PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_From_int((int)(4)));
20391 }
20392 {
20393 PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_From_int((int)(5)));
20394 }
20395 {
20396 PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_From_int((int)(6)));
20397 }
20398 {
20399 PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_From_int((int)(0)));
20400 }
20401 {
20402 PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_From_int((int)(1)));
20403 }
20404 {
20405 PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_From_int((int)(2)));
20406 }
20407 {
20408 PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_From_int((int)(3)));
20409 }
20410 {
20411 PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_From_int((int)(4)));
20412 }
20413 {
20414 PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_From_int((int)(5)));
20415 }
20416 {
20417 PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_From_int((int)(6)));
20418 }
20419 {
20420 PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_From_int((int)(7)));
20421 }
20422 {
20423 PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_From_int((int)(8)));
20424 }
20425 {
20426 PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_From_int((int)(0)));
20427 }
20428 {
20429 PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_From_int((int)(1)));
20430 }
20431 {
20432 PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_From_int((int)(2)));
20433 }
20434 {
20435 PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_From_int((int)(3)));
20436 }
20437 {
20438 PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_From_int((int)(4)));
20439 }
20440 {
20441 PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_From_int((int)(5)));
20442 }
20443 {
20444 PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_From_int((int)(0)));
20445 }
20446 {
20447 PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_From_int((int)(1)));
20448 }
20449 {
20450 PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_From_int((int)(2)));
20451 }
20452 {
20453 PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_From_int((int)(3)));
20454 }
20455 {
20456 PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_From_int((int)(4)));
20457 }
20458 {
20459 PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_From_int((int)(5)));
20460 }
20461 {
20462 PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_From_int((int)(6)));
20463 }
20464 {
20465 PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_From_int((int)(0)));
20466 }
20467 {
20468 PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_From_int((int)(1)));
20469 }
20470 {
20471 PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_From_int((int)(2)));
20472 }
20473 {
20474 PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_From_int((int)(3)));
20475 }
20476 {
20477 PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_From_int((int)(4)));
20478 }
20479 {
20480 PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_From_int((int)(5)));
20481 }
20482 {
20483 PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_From_int((int)(6)));
20484 }
20485 {
20486 PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_From_int((int)(7)));
20487 }
20488 {
20489 PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_From_int((int)(8)));
20490 }
20491 {
20492 PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_From_int((int)(9)));
20493 }
20494 {
20495 PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_From_int((int)(10)));
20496 }
20497 {
20498 PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_From_int((int)(11)));
20499 }
20500 {
20501 PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_From_int((int)(12)));
20502 }
20503 {
20504 PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_From_int((int)(13)));
20505 }
20506 {
20507 PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_From_int((int)(31)));
20508 }
20509 {
20510 PyDict_SetItemString(d,"STC_MSSQL_DEFAULT", SWIG_From_int((int)(0)));
20511 }
20512 {
20513 PyDict_SetItemString(d,"STC_MSSQL_COMMENT", SWIG_From_int((int)(1)));
20514 }
20515 {
20516 PyDict_SetItemString(d,"STC_MSSQL_LINE_COMMENT", SWIG_From_int((int)(2)));
20517 }
20518 {
20519 PyDict_SetItemString(d,"STC_MSSQL_NUMBER", SWIG_From_int((int)(3)));
20520 }
20521 {
20522 PyDict_SetItemString(d,"STC_MSSQL_STRING", SWIG_From_int((int)(4)));
20523 }
20524 {
20525 PyDict_SetItemString(d,"STC_MSSQL_OPERATOR", SWIG_From_int((int)(5)));
20526 }
20527 {
20528 PyDict_SetItemString(d,"STC_MSSQL_IDENTIFIER", SWIG_From_int((int)(6)));
20529 }
20530 {
20531 PyDict_SetItemString(d,"STC_MSSQL_VARIABLE", SWIG_From_int((int)(7)));
20532 }
20533 {
20534 PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME", SWIG_From_int((int)(8)));
20535 }
20536 {
20537 PyDict_SetItemString(d,"STC_MSSQL_STATEMENT", SWIG_From_int((int)(9)));
20538 }
20539 {
20540 PyDict_SetItemString(d,"STC_MSSQL_DATATYPE", SWIG_From_int((int)(10)));
20541 }
20542 {
20543 PyDict_SetItemString(d,"STC_MSSQL_SYSTABLE", SWIG_From_int((int)(11)));
20544 }
20545 {
20546 PyDict_SetItemString(d,"STC_MSSQL_GLOBAL_VARIABLE", SWIG_From_int((int)(12)));
20547 }
20548 {
20549 PyDict_SetItemString(d,"STC_MSSQL_FUNCTION", SWIG_From_int((int)(13)));
20550 }
20551 {
20552 PyDict_SetItemString(d,"STC_MSSQL_STORED_PROCEDURE", SWIG_From_int((int)(14)));
20553 }
20554 {
20555 PyDict_SetItemString(d,"STC_MSSQL_DEFAULT_PREF_DATATYPE", SWIG_From_int((int)(15)));
20556 }
20557 {
20558 PyDict_SetItemString(d,"STC_MSSQL_COLUMN_NAME_2", SWIG_From_int((int)(16)));
20559 }
20560 {
20561 PyDict_SetItemString(d,"STC_V_DEFAULT", SWIG_From_int((int)(0)));
20562 }
20563 {
20564 PyDict_SetItemString(d,"STC_V_COMMENT", SWIG_From_int((int)(1)));
20565 }
20566 {
20567 PyDict_SetItemString(d,"STC_V_COMMENTLINE", SWIG_From_int((int)(2)));
20568 }
20569 {
20570 PyDict_SetItemString(d,"STC_V_COMMENTLINEBANG", SWIG_From_int((int)(3)));
20571 }
20572 {
20573 PyDict_SetItemString(d,"STC_V_NUMBER", SWIG_From_int((int)(4)));
20574 }
20575 {
20576 PyDict_SetItemString(d,"STC_V_WORD", SWIG_From_int((int)(5)));
20577 }
20578 {
20579 PyDict_SetItemString(d,"STC_V_STRING", SWIG_From_int((int)(6)));
20580 }
20581 {
20582 PyDict_SetItemString(d,"STC_V_WORD2", SWIG_From_int((int)(7)));
20583 }
20584 {
20585 PyDict_SetItemString(d,"STC_V_WORD3", SWIG_From_int((int)(8)));
20586 }
20587 {
20588 PyDict_SetItemString(d,"STC_V_PREPROCESSOR", SWIG_From_int((int)(9)));
20589 }
20590 {
20591 PyDict_SetItemString(d,"STC_V_OPERATOR", SWIG_From_int((int)(10)));
20592 }
20593 {
20594 PyDict_SetItemString(d,"STC_V_IDENTIFIER", SWIG_From_int((int)(11)));
20595 }
20596 {
20597 PyDict_SetItemString(d,"STC_V_STRINGEOL", SWIG_From_int((int)(12)));
20598 }
20599 {
20600 PyDict_SetItemString(d,"STC_V_USER", SWIG_From_int((int)(19)));
20601 }
20602 {
20603 PyDict_SetItemString(d,"STC_KIX_DEFAULT", SWIG_From_int((int)(0)));
20604 }
20605 {
20606 PyDict_SetItemString(d,"STC_KIX_COMMENT", SWIG_From_int((int)(1)));
20607 }
20608 {
20609 PyDict_SetItemString(d,"STC_KIX_STRING1", SWIG_From_int((int)(2)));
20610 }
20611 {
20612 PyDict_SetItemString(d,"STC_KIX_STRING2", SWIG_From_int((int)(3)));
20613 }
20614 {
20615 PyDict_SetItemString(d,"STC_KIX_NUMBER", SWIG_From_int((int)(4)));
20616 }
20617 {
20618 PyDict_SetItemString(d,"STC_KIX_VAR", SWIG_From_int((int)(5)));
20619 }
20620 {
20621 PyDict_SetItemString(d,"STC_KIX_MACRO", SWIG_From_int((int)(6)));
20622 }
20623 {
20624 PyDict_SetItemString(d,"STC_KIX_KEYWORD", SWIG_From_int((int)(7)));
20625 }
20626 {
20627 PyDict_SetItemString(d,"STC_KIX_FUNCTIONS", SWIG_From_int((int)(8)));
20628 }
20629 {
20630 PyDict_SetItemString(d,"STC_KIX_OPERATOR", SWIG_From_int((int)(9)));
20631 }
20632 {
20633 PyDict_SetItemString(d,"STC_KIX_IDENTIFIER", SWIG_From_int((int)(31)));
20634 }
20635 {
20636 PyDict_SetItemString(d,"STC_GC_DEFAULT", SWIG_From_int((int)(0)));
20637 }
20638 {
20639 PyDict_SetItemString(d,"STC_GC_COMMENTLINE", SWIG_From_int((int)(1)));
20640 }
20641 {
20642 PyDict_SetItemString(d,"STC_GC_COMMENTBLOCK", SWIG_From_int((int)(2)));
20643 }
20644 {
20645 PyDict_SetItemString(d,"STC_GC_GLOBAL", SWIG_From_int((int)(3)));
20646 }
20647 {
20648 PyDict_SetItemString(d,"STC_GC_EVENT", SWIG_From_int((int)(4)));
20649 }
20650 {
20651 PyDict_SetItemString(d,"STC_GC_ATTRIBUTE", SWIG_From_int((int)(5)));
20652 }
20653 {
20654 PyDict_SetItemString(d,"STC_GC_CONTROL", SWIG_From_int((int)(6)));
20655 }
20656 {
20657 PyDict_SetItemString(d,"STC_GC_COMMAND", SWIG_From_int((int)(7)));
20658 }
20659 {
20660 PyDict_SetItemString(d,"STC_GC_STRING", SWIG_From_int((int)(8)));
20661 }
20662 {
20663 PyDict_SetItemString(d,"STC_GC_OPERATOR", SWIG_From_int((int)(9)));
20664 }
20665 {
20666 PyDict_SetItemString(d,"STC_SN_DEFAULT", SWIG_From_int((int)(0)));
20667 }
20668 {
20669 PyDict_SetItemString(d,"STC_SN_CODE", SWIG_From_int((int)(1)));
20670 }
20671 {
20672 PyDict_SetItemString(d,"STC_SN_COMMENTLINE", SWIG_From_int((int)(2)));
20673 }
20674 {
20675 PyDict_SetItemString(d,"STC_SN_COMMENTLINEBANG", SWIG_From_int((int)(3)));
20676 }
20677 {
20678 PyDict_SetItemString(d,"STC_SN_NUMBER", SWIG_From_int((int)(4)));
20679 }
20680 {
20681 PyDict_SetItemString(d,"STC_SN_WORD", SWIG_From_int((int)(5)));
20682 }
20683 {
20684 PyDict_SetItemString(d,"STC_SN_STRING", SWIG_From_int((int)(6)));
20685 }
20686 {
20687 PyDict_SetItemString(d,"STC_SN_WORD2", SWIG_From_int((int)(7)));
20688 }
20689 {
20690 PyDict_SetItemString(d,"STC_SN_WORD3", SWIG_From_int((int)(8)));
20691 }
20692 {
20693 PyDict_SetItemString(d,"STC_SN_PREPROCESSOR", SWIG_From_int((int)(9)));
20694 }
20695 {
20696 PyDict_SetItemString(d,"STC_SN_OPERATOR", SWIG_From_int((int)(10)));
20697 }
20698 {
20699 PyDict_SetItemString(d,"STC_SN_IDENTIFIER", SWIG_From_int((int)(11)));
20700 }
20701 {
20702 PyDict_SetItemString(d,"STC_SN_STRINGEOL", SWIG_From_int((int)(12)));
20703 }
20704 {
20705 PyDict_SetItemString(d,"STC_SN_REGEXTAG", SWIG_From_int((int)(13)));
20706 }
20707 {
20708 PyDict_SetItemString(d,"STC_SN_SIGNAL", SWIG_From_int((int)(14)));
20709 }
20710 {
20711 PyDict_SetItemString(d,"STC_SN_USER", SWIG_From_int((int)(19)));
20712 }
20713 {
20714 PyDict_SetItemString(d,"STC_AU3_DEFAULT", SWIG_From_int((int)(0)));
20715 }
20716 {
20717 PyDict_SetItemString(d,"STC_AU3_COMMENT", SWIG_From_int((int)(1)));
20718 }
20719 {
20720 PyDict_SetItemString(d,"STC_AU3_COMMENTBLOCK", SWIG_From_int((int)(2)));
20721 }
20722 {
20723 PyDict_SetItemString(d,"STC_AU3_NUMBER", SWIG_From_int((int)(3)));
20724 }
20725 {
20726 PyDict_SetItemString(d,"STC_AU3_FUNCTION", SWIG_From_int((int)(4)));
20727 }
20728 {
20729 PyDict_SetItemString(d,"STC_AU3_KEYWORD", SWIG_From_int((int)(5)));
20730 }
20731 {
20732 PyDict_SetItemString(d,"STC_AU3_MACRO", SWIG_From_int((int)(6)));
20733 }
20734 {
20735 PyDict_SetItemString(d,"STC_AU3_STRING", SWIG_From_int((int)(7)));
20736 }
20737 {
20738 PyDict_SetItemString(d,"STC_AU3_OPERATOR", SWIG_From_int((int)(8)));
20739 }
20740 {
20741 PyDict_SetItemString(d,"STC_AU3_VARIABLE", SWIG_From_int((int)(9)));
20742 }
20743 {
20744 PyDict_SetItemString(d,"STC_AU3_SENT", SWIG_From_int((int)(10)));
20745 }
20746 {
20747 PyDict_SetItemString(d,"STC_AU3_PREPROCESSOR", SWIG_From_int((int)(11)));
20748 }
20749 {
20750 PyDict_SetItemString(d,"STC_AU3_SPECIAL", SWIG_From_int((int)(12)));
20751 }
20752 {
20753 PyDict_SetItemString(d,"STC_APDL_DEFAULT", SWIG_From_int((int)(0)));
20754 }
20755 {
20756 PyDict_SetItemString(d,"STC_APDL_COMMENT", SWIG_From_int((int)(1)));
20757 }
20758 {
20759 PyDict_SetItemString(d,"STC_APDL_COMMENTBLOCK", SWIG_From_int((int)(2)));
20760 }
20761 {
20762 PyDict_SetItemString(d,"STC_APDL_NUMBER", SWIG_From_int((int)(3)));
20763 }
20764 {
20765 PyDict_SetItemString(d,"STC_APDL_STRING", SWIG_From_int((int)(4)));
20766 }
20767 {
20768 PyDict_SetItemString(d,"STC_APDL_OPERATOR", SWIG_From_int((int)(5)));
20769 }
20770 {
20771 PyDict_SetItemString(d,"STC_APDL_WORD", SWIG_From_int((int)(6)));
20772 }
20773 {
20774 PyDict_SetItemString(d,"STC_APDL_PROCESSOR", SWIG_From_int((int)(7)));
20775 }
20776 {
20777 PyDict_SetItemString(d,"STC_APDL_COMMAND", SWIG_From_int((int)(8)));
20778 }
20779 {
20780 PyDict_SetItemString(d,"STC_APDL_SLASHCOMMAND", SWIG_From_int((int)(9)));
20781 }
20782 {
20783 PyDict_SetItemString(d,"STC_APDL_STARCOMMAND", SWIG_From_int((int)(10)));
20784 }
20785 {
20786 PyDict_SetItemString(d,"STC_APDL_ARGUMENT", SWIG_From_int((int)(11)));
20787 }
20788 {
20789 PyDict_SetItemString(d,"STC_APDL_FUNCTION", SWIG_From_int((int)(12)));
20790 }
20791 {
20792 PyDict_SetItemString(d,"STC_SH_DEFAULT", SWIG_From_int((int)(0)));
20793 }
20794 {
20795 PyDict_SetItemString(d,"STC_SH_ERROR", SWIG_From_int((int)(1)));
20796 }
20797 {
20798 PyDict_SetItemString(d,"STC_SH_COMMENTLINE", SWIG_From_int((int)(2)));
20799 }
20800 {
20801 PyDict_SetItemString(d,"STC_SH_NUMBER", SWIG_From_int((int)(3)));
20802 }
20803 {
20804 PyDict_SetItemString(d,"STC_SH_WORD", SWIG_From_int((int)(4)));
20805 }
20806 {
20807 PyDict_SetItemString(d,"STC_SH_STRING", SWIG_From_int((int)(5)));
20808 }
20809 {
20810 PyDict_SetItemString(d,"STC_SH_CHARACTER", SWIG_From_int((int)(6)));
20811 }
20812 {
20813 PyDict_SetItemString(d,"STC_SH_OPERATOR", SWIG_From_int((int)(7)));
20814 }
20815 {
20816 PyDict_SetItemString(d,"STC_SH_IDENTIFIER", SWIG_From_int((int)(8)));
20817 }
20818 {
20819 PyDict_SetItemString(d,"STC_SH_SCALAR", SWIG_From_int((int)(9)));
20820 }
20821 {
20822 PyDict_SetItemString(d,"STC_SH_PARAM", SWIG_From_int((int)(10)));
20823 }
20824 {
20825 PyDict_SetItemString(d,"STC_SH_BACKTICKS", SWIG_From_int((int)(11)));
20826 }
20827 {
20828 PyDict_SetItemString(d,"STC_SH_HERE_DELIM", SWIG_From_int((int)(12)));
20829 }
20830 {
20831 PyDict_SetItemString(d,"STC_SH_HERE_Q", SWIG_From_int((int)(13)));
20832 }
20833 {
20834 PyDict_SetItemString(d,"STC_ASN1_DEFAULT", SWIG_From_int((int)(0)));
20835 }
20836 {
20837 PyDict_SetItemString(d,"STC_ASN1_COMMENT", SWIG_From_int((int)(1)));
20838 }
20839 {
20840 PyDict_SetItemString(d,"STC_ASN1_IDENTIFIER", SWIG_From_int((int)(2)));
20841 }
20842 {
20843 PyDict_SetItemString(d,"STC_ASN1_STRING", SWIG_From_int((int)(3)));
20844 }
20845 {
20846 PyDict_SetItemString(d,"STC_ASN1_OID", SWIG_From_int((int)(4)));
20847 }
20848 {
20849 PyDict_SetItemString(d,"STC_ASN1_SCALAR", SWIG_From_int((int)(5)));
20850 }
20851 {
20852 PyDict_SetItemString(d,"STC_ASN1_KEYWORD", SWIG_From_int((int)(6)));
20853 }
20854 {
20855 PyDict_SetItemString(d,"STC_ASN1_ATTRIBUTE", SWIG_From_int((int)(7)));
20856 }
20857 {
20858 PyDict_SetItemString(d,"STC_ASN1_DESCRIPTOR", SWIG_From_int((int)(8)));
20859 }
20860 {
20861 PyDict_SetItemString(d,"STC_ASN1_TYPE", SWIG_From_int((int)(9)));
20862 }
20863 {
20864 PyDict_SetItemString(d,"STC_ASN1_OPERATOR", SWIG_From_int((int)(10)));
20865 }
20866 {
20867 PyDict_SetItemString(d,"STC_VHDL_DEFAULT", SWIG_From_int((int)(0)));
20868 }
20869 {
20870 PyDict_SetItemString(d,"STC_VHDL_COMMENT", SWIG_From_int((int)(1)));
20871 }
20872 {
20873 PyDict_SetItemString(d,"STC_VHDL_COMMENTLINEBANG", SWIG_From_int((int)(2)));
20874 }
20875 {
20876 PyDict_SetItemString(d,"STC_VHDL_NUMBER", SWIG_From_int((int)(3)));
20877 }
20878 {
20879 PyDict_SetItemString(d,"STC_VHDL_STRING", SWIG_From_int((int)(4)));
20880 }
20881 {
20882 PyDict_SetItemString(d,"STC_VHDL_OPERATOR", SWIG_From_int((int)(5)));
20883 }
20884 {
20885 PyDict_SetItemString(d,"STC_VHDL_IDENTIFIER", SWIG_From_int((int)(6)));
20886 }
20887 {
20888 PyDict_SetItemString(d,"STC_VHDL_STRINGEOL", SWIG_From_int((int)(7)));
20889 }
20890 {
20891 PyDict_SetItemString(d,"STC_VHDL_KEYWORD", SWIG_From_int((int)(8)));
20892 }
20893 {
20894 PyDict_SetItemString(d,"STC_VHDL_STDOPERATOR", SWIG_From_int((int)(9)));
20895 }
20896 {
20897 PyDict_SetItemString(d,"STC_VHDL_ATTRIBUTE", SWIG_From_int((int)(10)));
20898 }
20899 {
20900 PyDict_SetItemString(d,"STC_VHDL_STDFUNCTION", SWIG_From_int((int)(11)));
20901 }
20902 {
20903 PyDict_SetItemString(d,"STC_VHDL_STDPACKAGE", SWIG_From_int((int)(12)));
20904 }
20905 {
20906 PyDict_SetItemString(d,"STC_VHDL_STDTYPE", SWIG_From_int((int)(13)));
20907 }
20908 {
20909 PyDict_SetItemString(d,"STC_VHDL_USERWORD", SWIG_From_int((int)(14)));
20910 }
20911 {
20912 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_From_int((int)(2011)));
20913 }
20914 {
20915 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_From_int((int)(2013)));
20916 }
20917 {
20918 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_From_int((int)(2176)));
20919 }
20920 {
20921 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_From_int((int)(2177)));
20922 }
20923 {
20924 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_From_int((int)(2178)));
20925 }
20926 {
20927 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_From_int((int)(2179)));
20928 }
20929 {
20930 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_From_int((int)(2180)));
20931 }
20932 {
20933 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_From_int((int)(2300)));
20934 }
20935 {
20936 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_From_int((int)(2301)));
20937 }
20938 {
20939 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_From_int((int)(2302)));
20940 }
20941 {
20942 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_From_int((int)(2303)));
20943 }
20944 {
20945 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_From_int((int)(2304)));
20946 }
20947 {
20948 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_From_int((int)(2305)));
20949 }
20950 {
20951 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_From_int((int)(2306)));
20952 }
20953 {
20954 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_From_int((int)(2307)));
20955 }
20956 {
20957 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_From_int((int)(2308)));
20958 }
20959 {
20960 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_From_int((int)(2309)));
20961 }
20962 {
20963 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_From_int((int)(2310)));
20964 }
20965 {
20966 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_From_int((int)(2311)));
20967 }
20968 {
20969 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_From_int((int)(2312)));
20970 }
20971 {
20972 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_From_int((int)(2313)));
20973 }
20974 {
20975 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_From_int((int)(2314)));
20976 }
20977 {
20978 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_From_int((int)(2315)));
20979 }
20980 {
20981 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_From_int((int)(2316)));
20982 }
20983 {
20984 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_From_int((int)(2317)));
20985 }
20986 {
20987 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_From_int((int)(2318)));
20988 }
20989 {
20990 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_From_int((int)(2319)));
20991 }
20992 {
20993 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_From_int((int)(2320)));
20994 }
20995 {
20996 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_From_int((int)(2321)));
20997 }
20998 {
20999 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_From_int((int)(2322)));
21000 }
21001 {
21002 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_From_int((int)(2323)));
21003 }
21004 {
21005 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_From_int((int)(2324)));
21006 }
21007 {
21008 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_From_int((int)(2325)));
21009 }
21010 {
21011 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_From_int((int)(2326)));
21012 }
21013 {
21014 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_From_int((int)(2327)));
21015 }
21016 {
21017 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_From_int((int)(2328)));
21018 }
21019 {
21020 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_From_int((int)(2329)));
21021 }
21022 {
21023 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_From_int((int)(2330)));
21024 }
21025 {
21026 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_From_int((int)(2331)));
21027 }
21028 {
21029 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_From_int((int)(2332)));
21030 }
21031 {
21032 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_From_int((int)(2333)));
21033 }
21034 {
21035 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_From_int((int)(2334)));
21036 }
21037 {
21038 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_From_int((int)(2335)));
21039 }
21040 {
21041 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_From_int((int)(2336)));
21042 }
21043 {
21044 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_From_int((int)(2337)));
21045 }
21046 {
21047 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_From_int((int)(2338)));
21048 }
21049 {
21050 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_From_int((int)(2339)));
21051 }
21052 {
21053 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_From_int((int)(2404)));
21054 }
21055 {
21056 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_From_int((int)(2340)));
21057 }
21058 {
21059 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_From_int((int)(2341)));
21060 }
21061 {
21062 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_From_int((int)(2342)));
21063 }
21064 {
21065 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_From_int((int)(2343)));
21066 }
21067 {
21068 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_From_int((int)(2344)));
21069 }
21070 {
21071 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_From_int((int)(2345)));
21072 }
21073 {
21074 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_From_int((int)(2346)));
21075 }
21076 {
21077 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_From_int((int)(2347)));
21078 }
21079 {
21080 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_From_int((int)(2348)));
21081 }
21082 {
21083 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_From_int((int)(2349)));
21084 }
21085 {
21086 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_From_int((int)(2450)));
21087 }
21088 {
21089 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_From_int((int)(2451)));
21090 }
21091 {
21092 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_From_int((int)(2452)));
21093 }
21094 {
21095 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_From_int((int)(2453)));
21096 }
21097 {
21098 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_From_int((int)(2454)));
21099 }
21100 {
21101 PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_From_int((int)(2455)));
21102 }
21103 {
21104 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_From_int((int)(2390)));
21105 }
21106 {
21107 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_From_int((int)(2391)));
21108 }
21109 {
21110 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_From_int((int)(2392)));
21111 }
21112 {
21113 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_From_int((int)(2393)));
21114 }
21115 {
21116 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_From_int((int)(2395)));
21117 }
21118 {
21119 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_From_int((int)(2396)));
21120 }
21121 {
21122 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_From_int((int)(2413)));
21123 }
21124 {
21125 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_From_int((int)(2414)));
21126 }
21127 {
21128 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_From_int((int)(2415)));
21129 }
21130 {
21131 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_From_int((int)(2416)));
21132 }
21133 {
21134 PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_From_int((int)(2426)));
21135 }
21136 {
21137 PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_From_int((int)(2427)));
21138 }
21139 {
21140 PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_From_int((int)(2428)));
21141 }
21142 {
21143 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_From_int((int)(2429)));
21144 }
21145 {
21146 PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_From_int((int)(2430)));
21147 }
21148 {
21149 PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_From_int((int)(2431)));
21150 }
21151 {
21152 PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_From_int((int)(2432)));
21153 }
21154 {
21155 PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_From_int((int)(2433)));
21156 }
21157 {
21158 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_From_int((int)(2434)));
21159 }
21160 {
21161 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_From_int((int)(2435)));
21162 }
21163 {
21164 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_From_int((int)(2436)));
21165 }
21166 {
21167 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_From_int((int)(2437)));
21168 }
21169 {
21170 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_From_int((int)(2438)));
21171 }
21172 {
21173 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_From_int((int)(2439)));
21174 }
21175 {
21176 PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_From_int((int)(2440)));
21177 }
21178 {
21179 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_From_int((int)(2441)));
21180 }
21181 {
21182 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_From_int((int)(2442)));
21183 }
21184 {
21185 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_From_int((int)(wxEVT_STC_CHANGE)));
21186 }
21187 {
21188 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_From_int((int)(wxEVT_STC_STYLENEEDED)));
21189 }
21190 {
21191 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_From_int((int)(wxEVT_STC_CHARADDED)));
21192 }
21193 {
21194 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTREACHED)));
21195 }
21196 {
21197 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_From_int((int)(wxEVT_STC_SAVEPOINTLEFT)));
21198 }
21199 {
21200 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_From_int((int)(wxEVT_STC_ROMODIFYATTEMPT)));
21201 }
21202 {
21203 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_From_int((int)(wxEVT_STC_KEY)));
21204 }
21205 {
21206 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_From_int((int)(wxEVT_STC_DOUBLECLICK)));
21207 }
21208 {
21209 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_From_int((int)(wxEVT_STC_UPDATEUI)));
21210 }
21211 {
21212 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_From_int((int)(wxEVT_STC_MODIFIED)));
21213 }
21214 {
21215 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_From_int((int)(wxEVT_STC_MACRORECORD)));
21216 }
21217 {
21218 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_From_int((int)(wxEVT_STC_MARGINCLICK)));
21219 }
21220 {
21221 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_From_int((int)(wxEVT_STC_NEEDSHOWN)));
21222 }
21223 {
21224 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_From_int((int)(wxEVT_STC_PAINTED)));
21225 }
21226 {
21227 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_From_int((int)(wxEVT_STC_USERLISTSELECTION)));
21228 }
21229 {
21230 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_From_int((int)(wxEVT_STC_URIDROPPED)));
21231 }
21232 {
21233 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_From_int((int)(wxEVT_STC_DWELLSTART)));
21234 }
21235 {
21236 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_From_int((int)(wxEVT_STC_DWELLEND)));
21237 }
21238 {
21239 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_From_int((int)(wxEVT_STC_START_DRAG)));
21240 }
21241 {
21242 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_From_int((int)(wxEVT_STC_DRAG_OVER)));
21243 }
21244 {
21245 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_From_int((int)(wxEVT_STC_DO_DROP)));
21246 }
21247 {
21248 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_From_int((int)(wxEVT_STC_ZOOM)));
21249 }
21250 {
21251 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_CLICK)));
21252 }
21253 {
21254 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_From_int((int)(wxEVT_STC_HOTSPOT_DCLICK)));
21255 }
21256 {
21257 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_From_int((int)(wxEVT_STC_CALLTIP_CLICK)));
21258 }
21259
21260
21261 }
21262